@carlonicora/nextjs-jsonapi 3.21.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.
Files changed (63) hide show
  1. package/dist/{BlockNoteEditor-NRI2TZXY.js → BlockNoteEditor-BUSOUPQ7.js} +19 -19
  2. package/dist/{BlockNoteEditor-NRI2TZXY.js.map → BlockNoteEditor-BUSOUPQ7.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-CSLA3M32.mjs → BlockNoteEditor-W42IQTGL.mjs} +4 -4
  4. package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs → BlockNoteViewer-FQ23TZ3J.mjs} +2 -2
  5. package/dist/{BlockNoteViewer-XCGBX4ST.js → BlockNoteViewer-MCX53AR4.js} +3 -3
  6. package/dist/{BlockNoteViewer-XCGBX4ST.js.map → BlockNoteViewer-MCX53AR4.js.map} +1 -1
  7. package/dist/{HandbookSectionInterface-DqU_d0sy.d.mts → HandbookSectionInterface-BYsmnPEz.d.mts} +36 -0
  8. package/dist/{HandbookSectionInterface-DFj2zErb.d.ts → HandbookSectionInterface-OePKPbqN.d.ts} +36 -0
  9. package/dist/billing/index.js +401 -401
  10. package/dist/billing/index.mjs +3 -3
  11. package/dist/{chunk-SYQMVTIC.js → chunk-FXWO5J2R.js} +7 -7
  12. package/dist/{chunk-SYQMVTIC.js.map → chunk-FXWO5J2R.js.map} +1 -1
  13. package/dist/{chunk-HSVAW3DQ.mjs → chunk-GFLEFIAW.mjs} +35 -9
  14. package/dist/chunk-GFLEFIAW.mjs.map +1 -0
  15. package/dist/{chunk-U55JQ4NY.mjs → chunk-JZUBFAAY.mjs} +2 -2
  16. package/dist/{chunk-CK47KSFV.mjs → chunk-O5MKEU7G.mjs} +56 -2
  17. package/dist/chunk-O5MKEU7G.mjs.map +1 -0
  18. package/dist/{chunk-U32IWQZM.js → chunk-VR65NRE4.js} +853 -827
  19. package/dist/chunk-VR65NRE4.js.map +1 -0
  20. package/dist/{chunk-MWZCCOTS.js → chunk-YCHPWXHD.js} +56 -2
  21. package/dist/chunk-YCHPWXHD.js.map +1 -0
  22. package/dist/client/index.js +4 -4
  23. package/dist/client/index.mjs +3 -3
  24. package/dist/components/index.d.mts +6 -4
  25. package/dist/components/index.d.ts +6 -4
  26. package/dist/components/index.js +6 -4
  27. package/dist/components/index.js.map +1 -1
  28. package/dist/components/index.mjs +5 -3
  29. package/dist/contexts/index.js +4 -4
  30. package/dist/contexts/index.mjs +3 -3
  31. package/dist/core/index.d.mts +2 -2
  32. package/dist/core/index.d.ts +2 -2
  33. package/dist/core/index.js +2 -2
  34. package/dist/core/index.mjs +1 -1
  35. package/dist/features/help/index.js +37 -37
  36. package/dist/features/help/index.mjs +3 -3
  37. package/dist/features/tokenusage/index.js +101 -101
  38. package/dist/features/tokenusage/index.mjs +3 -3
  39. package/dist/index.d.mts +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.js +3 -3
  42. package/dist/index.mjs +2 -2
  43. package/dist/server/index.js +3 -3
  44. package/dist/server/index.mjs +1 -1
  45. package/package.json +1 -1
  46. package/src/components/containers/RoundPageContainer.tsx +6 -2
  47. package/src/components/containers/__tests__/RoundPageContainer.padding.spec.tsx +64 -0
  48. package/src/components/navigations/Header.tsx +3 -2
  49. package/src/components/navigations/__tests__/Header.spec.tsx +60 -0
  50. package/src/features/ai-connection/components/forms/AiConnectionEditor.tsx +1 -0
  51. package/src/features/ai-connection/components/lists/AiConnectionTypeCard.tsx +9 -0
  52. package/src/features/ai-connection/data/__tests__/ai-connection.test.ts +51 -0
  53. package/src/features/ai-connection/data/ai-connection.interface.ts +18 -0
  54. package/src/features/ai-connection/data/ai-connection.ts +63 -0
  55. package/src/features/ai-connection/i18n-keys.ts +9 -0
  56. package/src/shadcnui/ui/sidebar.tsx +6 -0
  57. package/dist/chunk-CK47KSFV.mjs.map +0 -1
  58. package/dist/chunk-HSVAW3DQ.mjs.map +0 -1
  59. package/dist/chunk-MWZCCOTS.js.map +0 -1
  60. package/dist/chunk-U32IWQZM.js.map +0 -1
  61. /package/dist/{BlockNoteEditor-CSLA3M32.mjs.map → BlockNoteEditor-W42IQTGL.mjs.map} +0 -0
  62. /package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs.map → BlockNoteViewer-FQ23TZ3J.mjs.map} +0 -0
  63. /package/dist/{chunk-U55JQ4NY.mjs.map → chunk-JZUBFAAY.mjs.map} +0 -0
@@ -106,6 +106,15 @@ interface AiConnectionInterface extends ApiDataInterface {
106
106
  get language(): string | undefined;
107
107
  get directFormat(): string | undefined;
108
108
  get directProvider(): string | undefined;
109
+ get costPerImage(): number | undefined;
110
+ get negativePrompt(): string | undefined;
111
+ get width(): number | undefined;
112
+ get height(): number | undefined;
113
+ get steps(): number | undefined;
114
+ get cfgScale(): number | undefined;
115
+ get safeMode(): boolean | undefined;
116
+ get hideWatermark(): boolean | undefined;
117
+ get imageFormat(): string | undefined;
109
118
  /** Secrets are never serialised — the API returns presence flags instead. */
110
119
  get hasApiKey(): boolean;
111
120
  get hasGoogleCredentials(): boolean;
@@ -140,6 +149,15 @@ type AiConnectionInput = {
140
149
  language?: string;
141
150
  directFormat?: string;
142
151
  directProvider?: string;
152
+ costPerImage?: number;
153
+ negativePrompt?: string;
154
+ width?: number;
155
+ height?: number;
156
+ steps?: number;
157
+ cfgScale?: number;
158
+ safeMode?: boolean;
159
+ hideWatermark?: boolean;
160
+ imageFormat?: string;
143
161
  /** Set on creation only — scope is immutable thereafter. */
144
162
  companyId?: string;
145
163
  };
@@ -168,6 +186,15 @@ declare class AiConnection extends AbstractApiData implements AiConnectionInterf
168
186
  private _language?;
169
187
  private _directFormat?;
170
188
  private _directProvider?;
189
+ private _costPerImage?;
190
+ private _negativePrompt?;
191
+ private _width?;
192
+ private _height?;
193
+ private _steps?;
194
+ private _cfgScale?;
195
+ private _safeMode?;
196
+ private _hideWatermark?;
197
+ private _imageFormat?;
171
198
  private _hasApiKey?;
172
199
  private _hasGoogleCredentials?;
173
200
  private _companyId?;
@@ -194,6 +221,15 @@ declare class AiConnection extends AbstractApiData implements AiConnectionInterf
194
221
  get language(): string | undefined;
195
222
  get directFormat(): string | undefined;
196
223
  get directProvider(): string | undefined;
224
+ get costPerImage(): number | undefined;
225
+ get negativePrompt(): string | undefined;
226
+ get width(): number | undefined;
227
+ get height(): number | undefined;
228
+ get steps(): number | undefined;
229
+ get cfgScale(): number | undefined;
230
+ get safeMode(): boolean | undefined;
231
+ get hideWatermark(): boolean | undefined;
232
+ get imageFormat(): string | undefined;
197
233
  get hasApiKey(): boolean;
198
234
  get hasGoogleCredentials(): boolean;
199
235
  get companyId(): string | undefined;