@btst/stack 4.4.0 → 4.5.1
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/README.md +2 -2
- package/dist/packages/stack/src/plugins/ai-chat/api/compaction.cjs +166 -39
- package/dist/packages/stack/src/plugins/ai-chat/api/compaction.mjs +167 -40
- package/dist/packages/stack/src/plugins/ai-chat/api/context-checkpoint.cjs +54 -0
- package/dist/packages/stack/src/plugins/ai-chat/api/context-checkpoint.mjs +51 -0
- package/dist/packages/stack/src/plugins/ai-chat/api/getters.cjs +2 -0
- package/dist/packages/stack/src/plugins/ai-chat/api/getters.mjs +2 -0
- package/dist/packages/stack/src/plugins/ai-chat/api/operations.cjs +275 -95
- package/dist/packages/stack/src/plugins/ai-chat/api/operations.mjs +276 -96
- package/dist/packages/stack/src/plugins/ai-chat/api/plugin.cjs +8 -5
- package/dist/packages/stack/src/plugins/ai-chat/api/plugin.mjs +8 -5
- package/dist/packages/stack/src/plugins/ai-chat/api/serializers.cjs +1 -0
- package/dist/packages/stack/src/plugins/ai-chat/api/serializers.mjs +1 -0
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-input.cjs +3 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-input.mjs +3 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-interface.cjs +26 -17
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-interface.mjs +26 -17
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-message.cjs +22 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-message.mjs +22 -2
- package/dist/packages/stack/src/plugins/ai-chat/db.cjs +8 -0
- package/dist/packages/stack/src/plugins/ai-chat/db.mjs +8 -0
- package/dist/packages/stack/src/plugins/ai-chat/history.cjs +47 -0
- package/dist/packages/stack/src/plugins/ai-chat/history.mjs +45 -0
- package/dist/plugins/ai-chat/api/index.d.cts +2 -2
- package/dist/plugins/ai-chat/api/index.d.mts +2 -2
- package/dist/plugins/ai-chat/api/index.d.ts +2 -2
- package/dist/plugins/ai-chat/client/components/index.d.cts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.mts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.d.cts +2 -2
- package/dist/plugins/ai-chat/client/hooks/index.d.mts +2 -2
- package/dist/plugins/ai-chat/client/hooks/index.d.ts +2 -2
- package/dist/plugins/ai-chat/client/index.d.cts +3 -3
- package/dist/plugins/ai-chat/client/index.d.mts +3 -3
- package/dist/plugins/ai-chat/client/index.d.ts +3 -3
- package/dist/plugins/ai-chat/query-keys.d.cts +1 -1
- package/dist/plugins/ai-chat/query-keys.d.mts +1 -1
- package/dist/plugins/ai-chat/query-keys.d.ts +1 -1
- package/dist/plugins/blog/api/index.d.cts +1 -1
- package/dist/plugins/blog/api/index.d.mts +1 -1
- package/dist/plugins/blog/api/index.d.ts +1 -1
- package/dist/plugins/blog/query-keys.d.cts +1 -1
- package/dist/plugins/blog/query-keys.d.mts +1 -1
- package/dist/plugins/blog/query-keys.d.ts +1 -1
- package/dist/plugins/cms/api/index.d.cts +1 -1
- package/dist/plugins/cms/api/index.d.mts +1 -1
- package/dist/plugins/cms/api/index.d.ts +1 -1
- package/dist/plugins/cms/query-keys.d.cts +1 -1
- package/dist/plugins/cms/query-keys.d.mts +1 -1
- package/dist/plugins/cms/query-keys.d.ts +1 -1
- package/dist/plugins/form-builder/api/index.d.cts +1 -1
- package/dist/plugins/form-builder/api/index.d.mts +1 -1
- package/dist/plugins/form-builder/api/index.d.ts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.cts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.mts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.ts +1 -1
- package/dist/plugins/form-builder/query-keys.d.cts +1 -1
- package/dist/plugins/form-builder/query-keys.d.mts +1 -1
- package/dist/plugins/form-builder/query-keys.d.ts +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.d.cts +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.d.mts +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.d.ts +1 -1
- package/dist/plugins/ui-builder/client/index.d.cts +1 -1
- package/dist/plugins/ui-builder/client/index.d.mts +1 -1
- package/dist/plugins/ui-builder/client/index.d.ts +1 -1
- package/dist/plugins/ui-builder/query-keys.d.cts +1 -1
- package/dist/plugins/ui-builder/query-keys.d.mts +1 -1
- package/dist/plugins/ui-builder/query-keys.d.ts +1 -1
- package/dist/shared/{stack.DDQlE2Pm.d.cts → stack.Cei2T2gc.d.cts} +1 -0
- package/dist/shared/{stack.C4zspX0T.d.ts → stack.DDQTbADz.d.ts} +7 -2
- package/dist/shared/{stack.tAUeRAtd.d.mts → stack.DZRZAzcx.d.mts} +1 -0
- package/dist/shared/{stack.ymWsP4HZ.d.cts → stack.IY-ngxuw.d.cts} +7 -2
- package/dist/shared/{stack.DlehgNZZ.d.ts → stack.byjorQi5.d.ts} +1 -0
- package/dist/shared/{stack.Ps3MDhTC.d.mts → stack.mU9iMF2j.d.mts} +7 -2
- package/package.json +1 -1
- package/src/plugins/ai-chat/__tests__/authorization.test.ts +56 -30
- package/src/plugins/ai-chat/__tests__/chat-input-authorization.test.tsx +42 -0
- package/src/plugins/ai-chat/__tests__/classnames-overrides.test.tsx +25 -0
- package/src/plugins/ai-chat/__tests__/client-sweep.test.tsx +101 -0
- package/src/plugins/ai-chat/__tests__/compaction.test.ts +79 -19
- package/src/plugins/ai-chat/__tests__/persisted-compaction.test.ts +948 -0
- package/src/plugins/ai-chat/api/compaction.ts +243 -52
- package/src/plugins/ai-chat/api/context-checkpoint.ts +66 -0
- package/src/plugins/ai-chat/api/getters.ts +2 -0
- package/src/plugins/ai-chat/api/operations.ts +377 -101
- package/src/plugins/ai-chat/api/plugin.ts +14 -8
- package/src/plugins/ai-chat/api/serializers.ts +1 -0
- package/src/plugins/ai-chat/client/components/chat-input.tsx +3 -3
- package/src/plugins/ai-chat/client/components/chat-interface.tsx +43 -23
- package/src/plugins/ai-chat/client/components/chat-message.tsx +32 -2
- package/src/plugins/ai-chat/client/localization/index.ts +1 -0
- package/src/plugins/ai-chat/db.ts +8 -0
- package/src/plugins/ai-chat/history.ts +68 -0
- package/src/plugins/ai-chat/types.ts +2 -0
- package/dist/shared/{stack.B8PG21zX.d.mts → stack.BLYaUcQa.d.mts} +88 -88
- package/dist/shared/{stack.DNw6Hv5o.d.cts → stack.BOZRaVpu.d.cts} +2 -2
- package/dist/shared/{stack.D6Pg-ufX.d.cts → stack.Bf6BGZNk.d.cts} +88 -88
- package/dist/shared/{stack.CGmh-Lpe.d.ts → stack.BuxUQqL8.d.ts} +12 -12
- package/dist/shared/{stack.zch70Loj.d.cts → stack.CX83YNuS.d.cts} +12 -12
- package/dist/shared/{stack.CyalJ0j6.d.ts → stack.CyltNNZZ.d.ts} +88 -88
- package/dist/shared/{stack.Clil75lW.d.ts → stack.DlBoNqYu.d.ts} +2 -2
- package/dist/shared/{stack.DhZtP2JZ.d.mts → stack.Dvy7FmaA.d.mts} +2 -2
- package/dist/shared/{stack.Doy2_wgl.d.mts → stack.Egr3RWhA.d.mts} +12 -12
|
@@ -27,10 +27,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
27
27
|
readonly itemCount: number;
|
|
28
28
|
readonly createdAt: string;
|
|
29
29
|
readonly updatedAt: string;
|
|
30
|
-
readonly id: string;
|
|
31
|
-
readonly name: string;
|
|
32
30
|
readonly slug: string;
|
|
31
|
+
readonly id: string;
|
|
33
32
|
readonly description?: string | undefined;
|
|
33
|
+
readonly name: string;
|
|
34
34
|
readonly jsonSchema: string;
|
|
35
35
|
readonly fieldConfig?: string | undefined;
|
|
36
36
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -45,10 +45,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
45
45
|
}, {
|
|
46
46
|
readonly createdAt: string;
|
|
47
47
|
readonly updatedAt: string;
|
|
48
|
-
readonly id: string;
|
|
49
|
-
readonly name: string;
|
|
50
48
|
readonly slug: string;
|
|
49
|
+
readonly id: string;
|
|
51
50
|
readonly description?: string | undefined;
|
|
51
|
+
readonly name: string;
|
|
52
52
|
readonly jsonSchema: string;
|
|
53
53
|
readonly fieldConfig?: string | undefined;
|
|
54
54
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -79,10 +79,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
79
79
|
readonly contentType?: {
|
|
80
80
|
readonly createdAt: string;
|
|
81
81
|
readonly updatedAt: string;
|
|
82
|
-
readonly id: string;
|
|
83
|
-
readonly name: string;
|
|
84
82
|
readonly slug: string;
|
|
83
|
+
readonly id: string;
|
|
85
84
|
readonly description?: string | undefined;
|
|
85
|
+
readonly name: string;
|
|
86
86
|
readonly jsonSchema: string;
|
|
87
87
|
readonly fieldConfig?: string | undefined;
|
|
88
88
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -92,11 +92,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
92
92
|
};
|
|
93
93
|
readonly createdAt: string;
|
|
94
94
|
readonly updatedAt: string;
|
|
95
|
-
readonly id: string;
|
|
96
95
|
readonly slug: string;
|
|
97
|
-
readonly
|
|
98
|
-
readonly authorId?: string | undefined;
|
|
96
|
+
readonly id: string;
|
|
99
97
|
readonly data: string;
|
|
98
|
+
readonly authorId?: string | undefined;
|
|
99
|
+
readonly contentTypeId: string;
|
|
100
100
|
}[];
|
|
101
101
|
readonly total: number;
|
|
102
102
|
}>;
|
|
@@ -112,10 +112,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
112
112
|
readonly contentType?: {
|
|
113
113
|
readonly createdAt: string;
|
|
114
114
|
readonly updatedAt: string;
|
|
115
|
-
readonly id: string;
|
|
116
|
-
readonly name: string;
|
|
117
115
|
readonly slug: string;
|
|
116
|
+
readonly id: string;
|
|
118
117
|
readonly description?: string | undefined;
|
|
118
|
+
readonly name: string;
|
|
119
119
|
readonly jsonSchema: string;
|
|
120
120
|
readonly fieldConfig?: string | undefined;
|
|
121
121
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -125,11 +125,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
125
125
|
};
|
|
126
126
|
readonly createdAt: string;
|
|
127
127
|
readonly updatedAt: string;
|
|
128
|
-
readonly id: string;
|
|
129
128
|
readonly slug: string;
|
|
130
|
-
readonly
|
|
131
|
-
readonly authorId?: string | undefined;
|
|
129
|
+
readonly id: string;
|
|
132
130
|
readonly data: string;
|
|
131
|
+
readonly authorId?: string | undefined;
|
|
132
|
+
readonly contentTypeId: string;
|
|
133
133
|
}>;
|
|
134
134
|
readonly createContentItem: better_call.StrictEndpoint<"/content/:typeSlug", {
|
|
135
135
|
params: z.ZodObject<{
|
|
@@ -149,10 +149,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
149
149
|
readonly contentType?: {
|
|
150
150
|
readonly createdAt: string;
|
|
151
151
|
readonly updatedAt: string;
|
|
152
|
-
readonly id: string;
|
|
153
|
-
readonly name: string;
|
|
154
152
|
readonly slug: string;
|
|
153
|
+
readonly id: string;
|
|
155
154
|
readonly description?: string | undefined;
|
|
155
|
+
readonly name: string;
|
|
156
156
|
readonly jsonSchema: string;
|
|
157
157
|
readonly fieldConfig?: string | undefined;
|
|
158
158
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -162,11 +162,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
162
162
|
};
|
|
163
163
|
readonly createdAt: string;
|
|
164
164
|
readonly updatedAt: string;
|
|
165
|
-
readonly id: string;
|
|
166
165
|
readonly slug: string;
|
|
167
|
-
readonly
|
|
168
|
-
readonly authorId?: string | undefined;
|
|
166
|
+
readonly id: string;
|
|
169
167
|
readonly data: string;
|
|
168
|
+
readonly authorId?: string | undefined;
|
|
169
|
+
readonly contentTypeId: string;
|
|
170
170
|
}>;
|
|
171
171
|
readonly updateContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
|
|
172
172
|
params: z.ZodObject<{
|
|
@@ -187,10 +187,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
187
187
|
readonly contentType?: {
|
|
188
188
|
readonly createdAt: string;
|
|
189
189
|
readonly updatedAt: string;
|
|
190
|
-
readonly id: string;
|
|
191
|
-
readonly name: string;
|
|
192
190
|
readonly slug: string;
|
|
191
|
+
readonly id: string;
|
|
193
192
|
readonly description?: string | undefined;
|
|
193
|
+
readonly name: string;
|
|
194
194
|
readonly jsonSchema: string;
|
|
195
195
|
readonly fieldConfig?: string | undefined;
|
|
196
196
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -200,11 +200,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
200
200
|
};
|
|
201
201
|
readonly createdAt: string;
|
|
202
202
|
readonly updatedAt: string;
|
|
203
|
-
readonly id: string;
|
|
204
203
|
readonly slug: string;
|
|
205
|
-
readonly
|
|
206
|
-
readonly authorId?: string | undefined;
|
|
204
|
+
readonly id: string;
|
|
207
205
|
readonly data: string;
|
|
206
|
+
readonly authorId?: string | undefined;
|
|
207
|
+
readonly contentTypeId: string;
|
|
208
208
|
}>;
|
|
209
209
|
readonly deleteContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
|
|
210
210
|
params: z.ZodObject<{
|
|
@@ -232,10 +232,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
232
232
|
readonly contentType?: {
|
|
233
233
|
readonly createdAt: string;
|
|
234
234
|
readonly updatedAt: string;
|
|
235
|
-
readonly id: string;
|
|
236
|
-
readonly name: string;
|
|
237
235
|
readonly slug: string;
|
|
236
|
+
readonly id: string;
|
|
238
237
|
readonly description?: string | undefined;
|
|
238
|
+
readonly name: string;
|
|
239
239
|
readonly jsonSchema: string;
|
|
240
240
|
readonly fieldConfig?: string | undefined;
|
|
241
241
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -245,20 +245,20 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
245
245
|
};
|
|
246
246
|
readonly createdAt: string;
|
|
247
247
|
readonly updatedAt: string;
|
|
248
|
-
readonly id: string;
|
|
249
248
|
readonly slug: string;
|
|
250
|
-
readonly
|
|
251
|
-
readonly authorId?: string | undefined;
|
|
249
|
+
readonly id: string;
|
|
252
250
|
readonly data: string;
|
|
251
|
+
readonly authorId?: string | undefined;
|
|
252
|
+
readonly contentTypeId: string;
|
|
253
253
|
}[];
|
|
254
254
|
};
|
|
255
255
|
readonly contentType?: {
|
|
256
256
|
readonly createdAt: string;
|
|
257
257
|
readonly updatedAt: string;
|
|
258
|
-
readonly id: string;
|
|
259
|
-
readonly name: string;
|
|
260
258
|
readonly slug: string;
|
|
259
|
+
readonly id: string;
|
|
261
260
|
readonly description?: string | undefined;
|
|
261
|
+
readonly name: string;
|
|
262
262
|
readonly jsonSchema: string;
|
|
263
263
|
readonly fieldConfig?: string | undefined;
|
|
264
264
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -268,11 +268,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
268
268
|
};
|
|
269
269
|
readonly createdAt: string;
|
|
270
270
|
readonly updatedAt: string;
|
|
271
|
-
readonly id: string;
|
|
272
271
|
readonly slug: string;
|
|
273
|
-
readonly
|
|
274
|
-
readonly authorId?: string | undefined;
|
|
272
|
+
readonly id: string;
|
|
275
273
|
readonly data: string;
|
|
274
|
+
readonly authorId?: string | undefined;
|
|
275
|
+
readonly contentTypeId: string;
|
|
276
276
|
}>;
|
|
277
277
|
readonly listContentByRelation: better_call.StrictEndpoint<"/content/:typeSlug/by-relation", {
|
|
278
278
|
params: z.ZodObject<{
|
|
@@ -298,10 +298,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
298
298
|
readonly contentType?: {
|
|
299
299
|
readonly createdAt: string;
|
|
300
300
|
readonly updatedAt: string;
|
|
301
|
-
readonly id: string;
|
|
302
|
-
readonly name: string;
|
|
303
301
|
readonly slug: string;
|
|
302
|
+
readonly id: string;
|
|
304
303
|
readonly description?: string | undefined;
|
|
304
|
+
readonly name: string;
|
|
305
305
|
readonly jsonSchema: string;
|
|
306
306
|
readonly fieldConfig?: string | undefined;
|
|
307
307
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -311,11 +311,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
311
311
|
};
|
|
312
312
|
readonly createdAt: string;
|
|
313
313
|
readonly updatedAt: string;
|
|
314
|
-
readonly id: string;
|
|
315
314
|
readonly slug: string;
|
|
316
|
-
readonly
|
|
317
|
-
readonly authorId?: string | undefined;
|
|
315
|
+
readonly id: string;
|
|
318
316
|
readonly data: string;
|
|
317
|
+
readonly authorId?: string | undefined;
|
|
318
|
+
readonly contentTypeId: string;
|
|
319
319
|
}[];
|
|
320
320
|
readonly total: number;
|
|
321
321
|
readonly limit: number;
|
|
@@ -367,10 +367,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
367
367
|
readonly contentType?: {
|
|
368
368
|
readonly createdAt: string;
|
|
369
369
|
readonly updatedAt: string;
|
|
370
|
-
readonly id: string;
|
|
371
|
-
readonly name: string;
|
|
372
370
|
readonly slug: string;
|
|
371
|
+
readonly id: string;
|
|
373
372
|
readonly description?: string | undefined;
|
|
373
|
+
readonly name: string;
|
|
374
374
|
readonly jsonSchema: string;
|
|
375
375
|
readonly fieldConfig?: string | undefined;
|
|
376
376
|
readonly autoFormVersion?: number | undefined;
|
|
@@ -380,11 +380,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
380
380
|
};
|
|
381
381
|
readonly createdAt: string;
|
|
382
382
|
readonly updatedAt: string;
|
|
383
|
-
readonly id: string;
|
|
384
383
|
readonly slug: string;
|
|
385
|
-
readonly
|
|
386
|
-
readonly authorId?: string | undefined;
|
|
384
|
+
readonly id: string;
|
|
387
385
|
readonly data: string;
|
|
386
|
+
readonly authorId?: string | undefined;
|
|
387
|
+
readonly contentTypeId: string;
|
|
388
388
|
}[];
|
|
389
389
|
readonly total: number;
|
|
390
390
|
readonly limit: number;
|
|
@@ -399,10 +399,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
399
399
|
itemCount: number;
|
|
400
400
|
createdAt: string;
|
|
401
401
|
updatedAt: string;
|
|
402
|
-
id: string;
|
|
403
|
-
name: string;
|
|
404
402
|
slug: string;
|
|
403
|
+
id: string;
|
|
405
404
|
description?: string | undefined;
|
|
405
|
+
name: string;
|
|
406
406
|
jsonSchema: string;
|
|
407
407
|
fieldConfig?: string | undefined;
|
|
408
408
|
autoFormVersion?: number | undefined;
|
|
@@ -414,10 +414,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
414
414
|
}, z.core.$strip>>, {
|
|
415
415
|
createdAt: string;
|
|
416
416
|
updatedAt: string;
|
|
417
|
-
id: string;
|
|
418
|
-
name: string;
|
|
419
417
|
slug: string;
|
|
418
|
+
id: string;
|
|
420
419
|
description?: string | undefined;
|
|
420
|
+
name: string;
|
|
421
421
|
jsonSchema: string;
|
|
422
422
|
fieldConfig?: string | undefined;
|
|
423
423
|
autoFormVersion?: number | undefined;
|
|
@@ -445,10 +445,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
445
445
|
contentType?: {
|
|
446
446
|
createdAt: string;
|
|
447
447
|
updatedAt: string;
|
|
448
|
-
id: string;
|
|
449
|
-
name: string;
|
|
450
448
|
slug: string;
|
|
449
|
+
id: string;
|
|
451
450
|
description?: string | undefined;
|
|
451
|
+
name: string;
|
|
452
452
|
jsonSchema: string;
|
|
453
453
|
fieldConfig?: string | undefined;
|
|
454
454
|
autoFormVersion?: number | undefined;
|
|
@@ -456,11 +456,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
456
456
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
457
457
|
createdAt: string;
|
|
458
458
|
updatedAt: string;
|
|
459
|
-
id: string;
|
|
460
459
|
slug: string;
|
|
461
|
-
|
|
462
|
-
authorId?: string | undefined;
|
|
460
|
+
id: string;
|
|
463
461
|
data: string;
|
|
462
|
+
authorId?: string | undefined;
|
|
463
|
+
contentTypeId: string;
|
|
464
464
|
}[];
|
|
465
465
|
total: number;
|
|
466
466
|
}, false>;
|
|
@@ -479,10 +479,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
479
479
|
contentType?: {
|
|
480
480
|
createdAt: string;
|
|
481
481
|
updatedAt: string;
|
|
482
|
-
id: string;
|
|
483
|
-
name: string;
|
|
484
482
|
slug: string;
|
|
483
|
+
id: string;
|
|
485
484
|
description?: string | undefined;
|
|
485
|
+
name: string;
|
|
486
486
|
jsonSchema: string;
|
|
487
487
|
fieldConfig?: string | undefined;
|
|
488
488
|
autoFormVersion?: number | undefined;
|
|
@@ -490,11 +490,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
490
490
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
491
491
|
createdAt: string;
|
|
492
492
|
updatedAt: string;
|
|
493
|
-
id: string;
|
|
494
493
|
slug: string;
|
|
495
|
-
|
|
496
|
-
authorId?: string | undefined;
|
|
494
|
+
id: string;
|
|
497
495
|
data: string;
|
|
496
|
+
authorId?: string | undefined;
|
|
497
|
+
contentTypeId: string;
|
|
498
498
|
}, false>;
|
|
499
499
|
readonly createContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
500
500
|
typeSlug: z.ZodString;
|
|
@@ -508,10 +508,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
508
508
|
contentType?: {
|
|
509
509
|
createdAt: string;
|
|
510
510
|
updatedAt: string;
|
|
511
|
-
id: string;
|
|
512
|
-
name: string;
|
|
513
511
|
slug: string;
|
|
512
|
+
id: string;
|
|
514
513
|
description?: string | undefined;
|
|
514
|
+
name: string;
|
|
515
515
|
jsonSchema: string;
|
|
516
516
|
fieldConfig?: string | undefined;
|
|
517
517
|
autoFormVersion?: number | undefined;
|
|
@@ -519,11 +519,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
519
519
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
520
520
|
createdAt: string;
|
|
521
521
|
updatedAt: string;
|
|
522
|
-
id: string;
|
|
523
522
|
slug: string;
|
|
524
|
-
|
|
525
|
-
authorId?: string | undefined;
|
|
523
|
+
id: string;
|
|
526
524
|
data: string;
|
|
525
|
+
authorId?: string | undefined;
|
|
526
|
+
contentTypeId: string;
|
|
527
527
|
}, false>;
|
|
528
528
|
readonly updateContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
529
529
|
typeSlug: z.ZodString;
|
|
@@ -540,10 +540,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
540
540
|
contentType?: {
|
|
541
541
|
createdAt: string;
|
|
542
542
|
updatedAt: string;
|
|
543
|
-
id: string;
|
|
544
|
-
name: string;
|
|
545
543
|
slug: string;
|
|
544
|
+
id: string;
|
|
546
545
|
description?: string | undefined;
|
|
546
|
+
name: string;
|
|
547
547
|
jsonSchema: string;
|
|
548
548
|
fieldConfig?: string | undefined;
|
|
549
549
|
autoFormVersion?: number | undefined;
|
|
@@ -551,11 +551,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
551
551
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
552
552
|
createdAt: string;
|
|
553
553
|
updatedAt: string;
|
|
554
|
-
id: string;
|
|
555
554
|
slug: string;
|
|
556
|
-
|
|
557
|
-
authorId?: string | undefined;
|
|
555
|
+
id: string;
|
|
558
556
|
data: string;
|
|
557
|
+
authorId?: string | undefined;
|
|
558
|
+
contentTypeId: string;
|
|
559
559
|
}, false>;
|
|
560
560
|
readonly deleteContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
561
561
|
typeSlug: z.ZodString;
|
|
@@ -584,10 +584,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
584
584
|
contentType?: {
|
|
585
585
|
createdAt: string;
|
|
586
586
|
updatedAt: string;
|
|
587
|
-
id: string;
|
|
588
|
-
name: string;
|
|
589
587
|
slug: string;
|
|
588
|
+
id: string;
|
|
590
589
|
description?: string | undefined;
|
|
590
|
+
name: string;
|
|
591
591
|
jsonSchema: string;
|
|
592
592
|
fieldConfig?: string | undefined;
|
|
593
593
|
autoFormVersion?: number | undefined;
|
|
@@ -595,20 +595,20 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
595
595
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
596
596
|
createdAt: string;
|
|
597
597
|
updatedAt: string;
|
|
598
|
-
id: string;
|
|
599
598
|
slug: string;
|
|
600
|
-
|
|
601
|
-
authorId?: string | undefined;
|
|
599
|
+
id: string;
|
|
602
600
|
data: string;
|
|
601
|
+
authorId?: string | undefined;
|
|
602
|
+
contentTypeId: string;
|
|
603
603
|
}[];
|
|
604
604
|
};
|
|
605
605
|
contentType?: {
|
|
606
606
|
createdAt: string;
|
|
607
607
|
updatedAt: string;
|
|
608
|
-
id: string;
|
|
609
|
-
name: string;
|
|
610
608
|
slug: string;
|
|
609
|
+
id: string;
|
|
611
610
|
description?: string | undefined;
|
|
611
|
+
name: string;
|
|
612
612
|
jsonSchema: string;
|
|
613
613
|
fieldConfig?: string | undefined;
|
|
614
614
|
autoFormVersion?: number | undefined;
|
|
@@ -616,11 +616,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
616
616
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
617
617
|
createdAt: string;
|
|
618
618
|
updatedAt: string;
|
|
619
|
-
id: string;
|
|
620
619
|
slug: string;
|
|
621
|
-
|
|
622
|
-
authorId?: string | undefined;
|
|
620
|
+
id: string;
|
|
623
621
|
data: string;
|
|
622
|
+
authorId?: string | undefined;
|
|
623
|
+
contentTypeId: string;
|
|
624
624
|
}, false>;
|
|
625
625
|
readonly listContentByRelation: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
626
626
|
typeSlug: z.ZodString;
|
|
@@ -643,10 +643,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
643
643
|
contentType?: {
|
|
644
644
|
createdAt: string;
|
|
645
645
|
updatedAt: string;
|
|
646
|
-
id: string;
|
|
647
|
-
name: string;
|
|
648
646
|
slug: string;
|
|
647
|
+
id: string;
|
|
649
648
|
description?: string | undefined;
|
|
649
|
+
name: string;
|
|
650
650
|
jsonSchema: string;
|
|
651
651
|
fieldConfig?: string | undefined;
|
|
652
652
|
autoFormVersion?: number | undefined;
|
|
@@ -654,11 +654,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
654
654
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
655
655
|
createdAt: string;
|
|
656
656
|
updatedAt: string;
|
|
657
|
-
id: string;
|
|
658
657
|
slug: string;
|
|
659
|
-
|
|
660
|
-
authorId?: string | undefined;
|
|
658
|
+
id: string;
|
|
661
659
|
data: string;
|
|
660
|
+
authorId?: string | undefined;
|
|
661
|
+
contentTypeId: string;
|
|
662
662
|
}[];
|
|
663
663
|
total: number;
|
|
664
664
|
limit: number;
|
|
@@ -701,10 +701,10 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
701
701
|
contentType?: {
|
|
702
702
|
createdAt: string;
|
|
703
703
|
updatedAt: string;
|
|
704
|
-
id: string;
|
|
705
|
-
name: string;
|
|
706
704
|
slug: string;
|
|
705
|
+
id: string;
|
|
707
706
|
description?: string | undefined;
|
|
707
|
+
name: string;
|
|
708
708
|
jsonSchema: string;
|
|
709
709
|
fieldConfig?: string | undefined;
|
|
710
710
|
autoFormVersion?: number | undefined;
|
|
@@ -712,11 +712,11 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
|
|
|
712
712
|
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
713
713
|
createdAt: string;
|
|
714
714
|
updatedAt: string;
|
|
715
|
-
id: string;
|
|
716
715
|
slug: string;
|
|
717
|
-
|
|
718
|
-
authorId?: string | undefined;
|
|
716
|
+
id: string;
|
|
719
717
|
data: string;
|
|
718
|
+
authorId?: string | undefined;
|
|
719
|
+
contentTypeId: string;
|
|
720
720
|
}[];
|
|
721
721
|
total: number;
|
|
722
722
|
limit: number;
|
|
@@ -900,8 +900,8 @@ declare const blogResources: {
|
|
|
900
900
|
method: "POST";
|
|
901
901
|
input: (vars: PostCreateInput) => {
|
|
902
902
|
body: {
|
|
903
|
-
title: string;
|
|
904
903
|
published: boolean;
|
|
904
|
+
title: string;
|
|
905
905
|
content: string;
|
|
906
906
|
excerpt: string;
|
|
907
907
|
tags: ({
|
|
@@ -1072,8 +1072,8 @@ declare function createBlogQueryKeys(client: ReturnType<typeof createApiClient<B
|
|
|
1072
1072
|
method: "POST";
|
|
1073
1073
|
input: (vars: PostCreateInput) => {
|
|
1074
1074
|
body: {
|
|
1075
|
-
title: string;
|
|
1076
1075
|
published: boolean;
|
|
1076
|
+
title: string;
|
|
1077
1077
|
content: string;
|
|
1078
1078
|
excerpt: string;
|
|
1079
1079
|
tags: ({
|
|
@@ -900,8 +900,8 @@ declare const blogResources: {
|
|
|
900
900
|
method: "POST";
|
|
901
901
|
input: (vars: PostCreateInput) => {
|
|
902
902
|
body: {
|
|
903
|
-
title: string;
|
|
904
903
|
published: boolean;
|
|
904
|
+
title: string;
|
|
905
905
|
content: string;
|
|
906
906
|
excerpt: string;
|
|
907
907
|
tags: ({
|
|
@@ -1072,8 +1072,8 @@ declare function createBlogQueryKeys(client: ReturnType<typeof createApiClient<B
|
|
|
1072
1072
|
method: "POST";
|
|
1073
1073
|
input: (vars: PostCreateInput) => {
|
|
1074
1074
|
body: {
|
|
1075
|
-
title: string;
|
|
1076
1075
|
published: boolean;
|
|
1076
|
+
title: string;
|
|
1077
1077
|
content: string;
|
|
1078
1078
|
excerpt: string;
|
|
1079
1079
|
tags: ({
|
|
@@ -127,11 +127,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
|
|
|
127
127
|
readonly status: Form["status"];
|
|
128
128
|
readonly createdAt: string;
|
|
129
129
|
readonly updatedAt: string;
|
|
130
|
-
readonly id: string;
|
|
131
|
-
readonly name: string;
|
|
132
130
|
readonly schema: string;
|
|
131
|
+
readonly id: string;
|
|
133
132
|
readonly description?: string | undefined;
|
|
134
133
|
readonly slug: string;
|
|
134
|
+
readonly name: string;
|
|
135
135
|
readonly successMessage?: string | undefined;
|
|
136
136
|
readonly redirectUrl?: string | undefined;
|
|
137
137
|
readonly createdBy?: string | undefined;
|
|
@@ -151,11 +151,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
|
|
|
151
151
|
readonly status: Form["status"];
|
|
152
152
|
readonly createdAt: string;
|
|
153
153
|
readonly updatedAt: string;
|
|
154
|
-
readonly id: string;
|
|
155
|
-
readonly name: string;
|
|
156
154
|
readonly schema: string;
|
|
155
|
+
readonly id: string;
|
|
157
156
|
readonly description?: string | undefined;
|
|
158
157
|
readonly slug: string;
|
|
158
|
+
readonly name: string;
|
|
159
159
|
readonly successMessage?: string | undefined;
|
|
160
160
|
readonly redirectUrl?: string | undefined;
|
|
161
161
|
readonly createdBy?: string | undefined;
|
|
@@ -171,11 +171,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
|
|
|
171
171
|
readonly status: Form["status"];
|
|
172
172
|
readonly createdAt: string;
|
|
173
173
|
readonly updatedAt: string;
|
|
174
|
-
readonly id: string;
|
|
175
|
-
readonly name: string;
|
|
176
174
|
readonly schema: string;
|
|
175
|
+
readonly id: string;
|
|
177
176
|
readonly description?: string | undefined;
|
|
178
177
|
readonly slug: string;
|
|
178
|
+
readonly name: string;
|
|
179
179
|
readonly successMessage?: string | undefined;
|
|
180
180
|
readonly redirectUrl?: string | undefined;
|
|
181
181
|
readonly createdBy?: string | undefined;
|
|
@@ -191,11 +191,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
|
|
|
191
191
|
readonly status: Form["status"];
|
|
192
192
|
readonly createdAt: string;
|
|
193
193
|
readonly updatedAt: string;
|
|
194
|
-
readonly id: string;
|
|
195
|
-
readonly name: string;
|
|
196
194
|
readonly schema: string;
|
|
195
|
+
readonly id: string;
|
|
197
196
|
readonly description?: string | undefined;
|
|
198
197
|
readonly slug: string;
|
|
198
|
+
readonly name: string;
|
|
199
199
|
readonly successMessage?: string | undefined;
|
|
200
200
|
readonly redirectUrl?: string | undefined;
|
|
201
201
|
readonly createdBy?: string | undefined;
|
|
@@ -225,11 +225,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
|
|
|
225
225
|
readonly status: Form["status"];
|
|
226
226
|
readonly createdAt: string;
|
|
227
227
|
readonly updatedAt: string;
|
|
228
|
-
readonly id: string;
|
|
229
|
-
readonly name: string;
|
|
230
228
|
readonly schema: string;
|
|
229
|
+
readonly id: string;
|
|
231
230
|
readonly description?: string | undefined;
|
|
232
231
|
readonly slug: string;
|
|
232
|
+
readonly name: string;
|
|
233
233
|
readonly successMessage?: string | undefined;
|
|
234
234
|
readonly redirectUrl?: string | undefined;
|
|
235
235
|
readonly createdBy?: string | undefined;
|
|
@@ -259,11 +259,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
|
|
|
259
259
|
readonly status: Form["status"];
|
|
260
260
|
readonly createdAt: string;
|
|
261
261
|
readonly updatedAt: string;
|
|
262
|
-
readonly id: string;
|
|
263
|
-
readonly name: string;
|
|
264
262
|
readonly schema: string;
|
|
263
|
+
readonly id: string;
|
|
265
264
|
readonly description?: string | undefined;
|
|
266
265
|
readonly slug: string;
|
|
266
|
+
readonly name: string;
|
|
267
267
|
readonly successMessage?: string | undefined;
|
|
268
268
|
readonly redirectUrl?: string | undefined;
|
|
269
269
|
readonly createdBy?: string | undefined;
|