@carlonicora/nextjs-jsonapi 3.22.0 → 3.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-VEEMWB2J.js → BlockNoteEditor-BUSOUPQ7.js} +19 -19
- package/dist/{BlockNoteEditor-VEEMWB2J.js.map → BlockNoteEditor-BUSOUPQ7.js.map} +1 -1
- package/dist/{BlockNoteEditor-5QBGVWE7.mjs → BlockNoteEditor-W42IQTGL.mjs} +4 -4
- package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs → BlockNoteViewer-FQ23TZ3J.mjs} +2 -2
- package/dist/{BlockNoteViewer-XCGBX4ST.js → BlockNoteViewer-MCX53AR4.js} +3 -3
- package/dist/{BlockNoteViewer-XCGBX4ST.js.map → BlockNoteViewer-MCX53AR4.js.map} +1 -1
- package/dist/{HandbookSectionInterface-DqU_d0sy.d.mts → HandbookSectionInterface-BYsmnPEz.d.mts} +36 -0
- package/dist/{HandbookSectionInterface-DFj2zErb.d.ts → HandbookSectionInterface-OePKPbqN.d.ts} +36 -0
- package/dist/billing/index.js +401 -401
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-SYQMVTIC.js → chunk-FXWO5J2R.js} +7 -7
- package/dist/{chunk-SYQMVTIC.js.map → chunk-FXWO5J2R.js.map} +1 -1
- package/dist/{chunk-5G7I3OUB.mjs → chunk-GFLEFIAW.mjs} +25 -6
- package/dist/{chunk-5G7I3OUB.mjs.map → chunk-GFLEFIAW.mjs.map} +1 -1
- package/dist/{chunk-U55JQ4NY.mjs → chunk-JZUBFAAY.mjs} +2 -2
- package/dist/{chunk-CK47KSFV.mjs → chunk-O5MKEU7G.mjs} +56 -2
- package/dist/chunk-O5MKEU7G.mjs.map +1 -0
- package/dist/{chunk-XYSWOW5G.js → chunk-VR65NRE4.js} +844 -825
- package/dist/chunk-VR65NRE4.js.map +1 -0
- package/dist/{chunk-MWZCCOTS.js → chunk-YCHPWXHD.js} +56 -2
- package/dist/chunk-YCHPWXHD.js.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +101 -101
- package/dist/features/tokenusage/index.mjs +3 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/features/ai-connection/components/forms/AiConnectionEditor.tsx +1 -0
- package/src/features/ai-connection/components/lists/AiConnectionTypeCard.tsx +9 -0
- package/src/features/ai-connection/data/__tests__/ai-connection.test.ts +51 -0
- package/src/features/ai-connection/data/ai-connection.interface.ts +18 -0
- package/src/features/ai-connection/data/ai-connection.ts +63 -0
- package/src/features/ai-connection/i18n-keys.ts +9 -0
- package/dist/chunk-CK47KSFV.mjs.map +0 -1
- package/dist/chunk-MWZCCOTS.js.map +0 -1
- package/dist/chunk-XYSWOW5G.js.map +0 -1
- /package/dist/{BlockNoteEditor-5QBGVWE7.mjs.map → BlockNoteEditor-W42IQTGL.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs.map → BlockNoteViewer-FQ23TZ3J.mjs.map} +0 -0
- /package/dist/{chunk-U55JQ4NY.mjs.map → chunk-JZUBFAAY.mjs.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
AbstractService,
|
|
3
3
|
EndpointCreator,
|
|
4
4
|
Modules
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-O5MKEU7G.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ENV,
|
|
8
8
|
setBootstrapper
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
ACTION_TYPES,
|
|
292
292
|
RbacService
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-JZUBFAAY.mjs.map
|
|
@@ -5030,6 +5030,15 @@ var AiConnection = class extends AbstractApiData {
|
|
|
5030
5030
|
_language;
|
|
5031
5031
|
_directFormat;
|
|
5032
5032
|
_directProvider;
|
|
5033
|
+
_costPerImage;
|
|
5034
|
+
_negativePrompt;
|
|
5035
|
+
_width;
|
|
5036
|
+
_height;
|
|
5037
|
+
_steps;
|
|
5038
|
+
_cfgScale;
|
|
5039
|
+
_safeMode;
|
|
5040
|
+
_hideWatermark;
|
|
5041
|
+
_imageFormat;
|
|
5033
5042
|
_hasApiKey;
|
|
5034
5043
|
_hasGoogleCredentials;
|
|
5035
5044
|
_companyId;
|
|
@@ -5102,6 +5111,33 @@ var AiConnection = class extends AbstractApiData {
|
|
|
5102
5111
|
get directProvider() {
|
|
5103
5112
|
return this._directProvider;
|
|
5104
5113
|
}
|
|
5114
|
+
get costPerImage() {
|
|
5115
|
+
return this._costPerImage;
|
|
5116
|
+
}
|
|
5117
|
+
get negativePrompt() {
|
|
5118
|
+
return this._negativePrompt;
|
|
5119
|
+
}
|
|
5120
|
+
get width() {
|
|
5121
|
+
return this._width;
|
|
5122
|
+
}
|
|
5123
|
+
get height() {
|
|
5124
|
+
return this._height;
|
|
5125
|
+
}
|
|
5126
|
+
get steps() {
|
|
5127
|
+
return this._steps;
|
|
5128
|
+
}
|
|
5129
|
+
get cfgScale() {
|
|
5130
|
+
return this._cfgScale;
|
|
5131
|
+
}
|
|
5132
|
+
get safeMode() {
|
|
5133
|
+
return this._safeMode;
|
|
5134
|
+
}
|
|
5135
|
+
get hideWatermark() {
|
|
5136
|
+
return this._hideWatermark;
|
|
5137
|
+
}
|
|
5138
|
+
get imageFormat() {
|
|
5139
|
+
return this._imageFormat;
|
|
5140
|
+
}
|
|
5105
5141
|
get hasApiKey() {
|
|
5106
5142
|
return this._hasApiKey ?? false;
|
|
5107
5143
|
}
|
|
@@ -5137,6 +5173,15 @@ var AiConnection = class extends AbstractApiData {
|
|
|
5137
5173
|
this._language = attributes.language;
|
|
5138
5174
|
this._directFormat = attributes.directFormat;
|
|
5139
5175
|
this._directProvider = attributes.directProvider;
|
|
5176
|
+
this._costPerImage = attributes.costPerImage;
|
|
5177
|
+
this._negativePrompt = attributes.negativePrompt;
|
|
5178
|
+
this._width = attributes.width;
|
|
5179
|
+
this._height = attributes.height;
|
|
5180
|
+
this._steps = attributes.steps;
|
|
5181
|
+
this._cfgScale = attributes.cfgScale;
|
|
5182
|
+
this._safeMode = attributes.safeMode;
|
|
5183
|
+
this._hideWatermark = attributes.hideWatermark;
|
|
5184
|
+
this._imageFormat = attributes.imageFormat;
|
|
5140
5185
|
this._hasApiKey = attributes.hasApiKey;
|
|
5141
5186
|
this._hasGoogleCredentials = attributes.hasGoogleCredentials;
|
|
5142
5187
|
this._companyId = attributes.companyId;
|
|
@@ -5178,7 +5223,16 @@ var AiConnection = class extends AbstractApiData {
|
|
|
5178
5223
|
"directUrl",
|
|
5179
5224
|
"language",
|
|
5180
5225
|
"directFormat",
|
|
5181
|
-
"directProvider"
|
|
5226
|
+
"directProvider",
|
|
5227
|
+
"costPerImage",
|
|
5228
|
+
"negativePrompt",
|
|
5229
|
+
"width",
|
|
5230
|
+
"height",
|
|
5231
|
+
"steps",
|
|
5232
|
+
"cfgScale",
|
|
5233
|
+
"safeMode",
|
|
5234
|
+
"hideWatermark",
|
|
5235
|
+
"imageFormat"
|
|
5182
5236
|
].forEach(setIfDefined);
|
|
5183
5237
|
if (data.apiKey) response.data.attributes.apiKey = data.apiKey;
|
|
5184
5238
|
if (data.googleCredentialsBase64) {
|
|
@@ -9711,4 +9765,4 @@ export {
|
|
|
9711
9765
|
AuditLogService,
|
|
9712
9766
|
AuditLogModule
|
|
9713
9767
|
};
|
|
9714
|
-
//# sourceMappingURL=chunk-
|
|
9768
|
+
//# sourceMappingURL=chunk-O5MKEU7G.mjs.map
|