@btst/stack 3.0.0-rc.3 → 3.0.0-rc.4

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 (52) hide show
  1. package/dist/plugins/blog/api/index.d.cts +2 -2
  2. package/dist/plugins/blog/api/index.d.mts +2 -2
  3. package/dist/plugins/blog/api/index.d.ts +2 -2
  4. package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
  5. package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
  6. package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
  7. package/dist/plugins/blog/client/index.d.cts +2 -2
  8. package/dist/plugins/blog/client/index.d.mts +2 -2
  9. package/dist/plugins/blog/client/index.d.ts +2 -2
  10. package/dist/plugins/blog/query-keys.d.cts +2 -2
  11. package/dist/plugins/blog/query-keys.d.mts +2 -2
  12. package/dist/plugins/blog/query-keys.d.ts +2 -2
  13. package/dist/plugins/cms/api/index.d.cts +1 -1
  14. package/dist/plugins/cms/api/index.d.mts +1 -1
  15. package/dist/plugins/cms/api/index.d.ts +1 -1
  16. package/dist/plugins/cms/query-keys.d.cts +1 -1
  17. package/dist/plugins/cms/query-keys.d.mts +1 -1
  18. package/dist/plugins/cms/query-keys.d.ts +1 -1
  19. package/dist/plugins/form-builder/api/index.d.cts +1 -1
  20. package/dist/plugins/form-builder/api/index.d.mts +1 -1
  21. package/dist/plugins/form-builder/api/index.d.ts +1 -1
  22. package/dist/plugins/form-builder/client/hooks/index.d.cts +1 -1
  23. package/dist/plugins/form-builder/client/hooks/index.d.mts +1 -1
  24. package/dist/plugins/form-builder/client/hooks/index.d.ts +1 -1
  25. package/dist/plugins/form-builder/query-keys.d.cts +1 -1
  26. package/dist/plugins/form-builder/query-keys.d.mts +1 -1
  27. package/dist/plugins/form-builder/query-keys.d.ts +1 -1
  28. package/dist/plugins/ui-builder/client/hooks/index.d.cts +1 -1
  29. package/dist/plugins/ui-builder/client/hooks/index.d.mts +1 -1
  30. package/dist/plugins/ui-builder/client/hooks/index.d.ts +1 -1
  31. package/dist/plugins/ui-builder/client/index.d.cts +1 -1
  32. package/dist/plugins/ui-builder/client/index.d.mts +1 -1
  33. package/dist/plugins/ui-builder/client/index.d.ts +1 -1
  34. package/dist/plugins/ui-builder/query-keys.d.cts +1 -1
  35. package/dist/plugins/ui-builder/query-keys.d.mts +1 -1
  36. package/dist/plugins/ui-builder/query-keys.d.ts +1 -1
  37. package/dist/shared/{stack.CjCSDfWy.d.mts → stack.94kN3pEK.d.mts} +5 -5
  38. package/dist/shared/{stack.BGzgFx3R.d.cts → stack.BTStHVTy.d.cts} +5 -5
  39. package/dist/shared/{stack.Dvy7FmaA.d.mts → stack.BggTHKlo.d.mts} +35 -35
  40. package/dist/shared/{stack.BOZRaVpu.d.cts → stack.CtrnoQgH.d.cts} +35 -35
  41. package/dist/shared/{stack.Dpg_JjIo.d.ts → stack.DfrRYOIl.d.ts} +5 -5
  42. package/dist/shared/{stack.DlBoNqYu.d.ts → stack.lPKwd_v0.d.ts} +35 -35
  43. package/package.json +1 -1
  44. package/dist/shared/{stack.CyalJ0j6.d.ts → stack.BMlTZnZp.d.ts} +16 -16
  45. package/dist/shared/{stack.D6Pg-ufX.d.cts → stack.BV0uNV4f.d.cts} +16 -16
  46. package/dist/shared/{stack.BuxUQqL8.d.ts → stack.CGmh-Lpe.d.ts} +12 -12
  47. package/dist/shared/{stack.Csi-4Mgz.d.cts → stack.CKc_Bais.d.cts} +7 -7
  48. package/dist/shared/{stack.Csi-4Mgz.d.mts → stack.CKc_Bais.d.mts} +7 -7
  49. package/dist/shared/{stack.Csi-4Mgz.d.ts → stack.CKc_Bais.d.ts} +7 -7
  50. package/dist/shared/{stack.Egr3RWhA.d.mts → stack.Doy2_wgl.d.mts} +12 -12
  51. package/dist/shared/{stack.B8PG21zX.d.mts → stack.lsbdKRj7.d.mts} +16 -16
  52. package/dist/shared/{stack.CX83YNuS.d.cts → stack.zch70Loj.d.cts} +12 -12
@@ -95,8 +95,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
95
95
  readonly id: string;
96
96
  readonly slug: string;
97
97
  readonly contentTypeId: string;
98
- readonly authorId?: string | undefined;
99
98
  readonly data: string;
99
+ readonly authorId?: string | undefined;
100
100
  }[];
101
101
  readonly total: number;
102
102
  }>;
@@ -128,8 +128,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
128
128
  readonly id: string;
129
129
  readonly slug: string;
130
130
  readonly contentTypeId: string;
131
- readonly authorId?: string | undefined;
132
131
  readonly data: string;
132
+ readonly authorId?: string | undefined;
133
133
  }>;
134
134
  readonly createContentItem: better_call.StrictEndpoint<"/content/:typeSlug", {
135
135
  params: z.ZodObject<{
@@ -165,8 +165,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
165
165
  readonly id: string;
166
166
  readonly slug: string;
167
167
  readonly contentTypeId: string;
168
- readonly authorId?: string | undefined;
169
168
  readonly data: string;
169
+ readonly authorId?: string | undefined;
170
170
  }>;
171
171
  readonly updateContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
172
172
  params: z.ZodObject<{
@@ -203,8 +203,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
203
203
  readonly id: string;
204
204
  readonly slug: string;
205
205
  readonly contentTypeId: string;
206
- readonly authorId?: string | undefined;
207
206
  readonly data: string;
207
+ readonly authorId?: string | undefined;
208
208
  }>;
209
209
  readonly deleteContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
210
210
  params: z.ZodObject<{
@@ -248,8 +248,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
248
248
  readonly id: string;
249
249
  readonly slug: string;
250
250
  readonly contentTypeId: string;
251
- readonly authorId?: string | undefined;
252
251
  readonly data: string;
252
+ readonly authorId?: string | undefined;
253
253
  }[];
254
254
  };
255
255
  readonly contentType?: {
@@ -271,8 +271,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
271
271
  readonly id: string;
272
272
  readonly slug: string;
273
273
  readonly contentTypeId: string;
274
- readonly authorId?: string | undefined;
275
274
  readonly data: string;
275
+ readonly authorId?: string | undefined;
276
276
  }>;
277
277
  readonly listContentByRelation: better_call.StrictEndpoint<"/content/:typeSlug/by-relation", {
278
278
  params: z.ZodObject<{
@@ -314,8 +314,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
314
314
  readonly id: string;
315
315
  readonly slug: string;
316
316
  readonly contentTypeId: string;
317
- readonly authorId?: string | undefined;
318
317
  readonly data: string;
318
+ readonly authorId?: string | undefined;
319
319
  }[];
320
320
  readonly total: number;
321
321
  readonly limit: number;
@@ -383,8 +383,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
383
383
  readonly id: string;
384
384
  readonly slug: string;
385
385
  readonly contentTypeId: string;
386
- readonly authorId?: string | undefined;
387
386
  readonly data: string;
387
+ readonly authorId?: string | undefined;
388
388
  }[];
389
389
  readonly total: number;
390
390
  readonly limit: number;
@@ -459,8 +459,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
459
459
  id: string;
460
460
  slug: string;
461
461
  contentTypeId: string;
462
- authorId?: string | undefined;
463
462
  data: string;
463
+ authorId?: string | undefined;
464
464
  }[];
465
465
  total: number;
466
466
  }, false>;
@@ -493,8 +493,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
493
493
  id: string;
494
494
  slug: string;
495
495
  contentTypeId: string;
496
- authorId?: string | undefined;
497
496
  data: string;
497
+ authorId?: string | undefined;
498
498
  }, false>;
499
499
  readonly createContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
500
500
  typeSlug: z.ZodString;
@@ -522,8 +522,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
522
522
  id: string;
523
523
  slug: string;
524
524
  contentTypeId: string;
525
- authorId?: string | undefined;
526
525
  data: string;
526
+ authorId?: string | undefined;
527
527
  }, false>;
528
528
  readonly updateContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
529
529
  typeSlug: z.ZodString;
@@ -554,8 +554,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
554
554
  id: string;
555
555
  slug: string;
556
556
  contentTypeId: string;
557
- authorId?: string | undefined;
558
557
  data: string;
558
+ authorId?: string | undefined;
559
559
  }, false>;
560
560
  readonly deleteContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
561
561
  typeSlug: z.ZodString;
@@ -598,8 +598,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
598
598
  id: string;
599
599
  slug: string;
600
600
  contentTypeId: string;
601
- authorId?: string | undefined;
602
601
  data: string;
602
+ authorId?: string | undefined;
603
603
  }[];
604
604
  };
605
605
  contentType?: {
@@ -619,8 +619,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
619
619
  id: string;
620
620
  slug: string;
621
621
  contentTypeId: string;
622
- authorId?: string | undefined;
623
622
  data: string;
623
+ authorId?: string | undefined;
624
624
  }, false>;
625
625
  readonly listContentByRelation: _btst_stack_plugins_api.Operation<z.ZodObject<{
626
626
  typeSlug: z.ZodString;
@@ -657,8 +657,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
657
657
  id: string;
658
658
  slug: string;
659
659
  contentTypeId: string;
660
- authorId?: string | undefined;
661
660
  data: string;
661
+ authorId?: string | undefined;
662
662
  }[];
663
663
  total: number;
664
664
  limit: number;
@@ -715,8 +715,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
715
715
  id: string;
716
716
  slug: string;
717
717
  contentTypeId: string;
718
- authorId?: string | undefined;
719
718
  data: string;
719
+ authorId?: string | undefined;
720
720
  }[];
721
721
  total: number;
722
722
  limit: number;
@@ -95,8 +95,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
95
95
  readonly id: string;
96
96
  readonly slug: string;
97
97
  readonly contentTypeId: string;
98
- readonly authorId?: string | undefined;
99
98
  readonly data: string;
99
+ readonly authorId?: string | undefined;
100
100
  }[];
101
101
  readonly total: number;
102
102
  }>;
@@ -128,8 +128,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
128
128
  readonly id: string;
129
129
  readonly slug: string;
130
130
  readonly contentTypeId: string;
131
- readonly authorId?: string | undefined;
132
131
  readonly data: string;
132
+ readonly authorId?: string | undefined;
133
133
  }>;
134
134
  readonly createContentItem: better_call.StrictEndpoint<"/content/:typeSlug", {
135
135
  params: z.ZodObject<{
@@ -165,8 +165,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
165
165
  readonly id: string;
166
166
  readonly slug: string;
167
167
  readonly contentTypeId: string;
168
- readonly authorId?: string | undefined;
169
168
  readonly data: string;
169
+ readonly authorId?: string | undefined;
170
170
  }>;
171
171
  readonly updateContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
172
172
  params: z.ZodObject<{
@@ -203,8 +203,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
203
203
  readonly id: string;
204
204
  readonly slug: string;
205
205
  readonly contentTypeId: string;
206
- readonly authorId?: string | undefined;
207
206
  readonly data: string;
207
+ readonly authorId?: string | undefined;
208
208
  }>;
209
209
  readonly deleteContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
210
210
  params: z.ZodObject<{
@@ -248,8 +248,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
248
248
  readonly id: string;
249
249
  readonly slug: string;
250
250
  readonly contentTypeId: string;
251
- readonly authorId?: string | undefined;
252
251
  readonly data: string;
252
+ readonly authorId?: string | undefined;
253
253
  }[];
254
254
  };
255
255
  readonly contentType?: {
@@ -271,8 +271,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
271
271
  readonly id: string;
272
272
  readonly slug: string;
273
273
  readonly contentTypeId: string;
274
- readonly authorId?: string | undefined;
275
274
  readonly data: string;
275
+ readonly authorId?: string | undefined;
276
276
  }>;
277
277
  readonly listContentByRelation: better_call.StrictEndpoint<"/content/:typeSlug/by-relation", {
278
278
  params: z.ZodObject<{
@@ -314,8 +314,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
314
314
  readonly id: string;
315
315
  readonly slug: string;
316
316
  readonly contentTypeId: string;
317
- readonly authorId?: string | undefined;
318
317
  readonly data: string;
318
+ readonly authorId?: string | undefined;
319
319
  }[];
320
320
  readonly total: number;
321
321
  readonly limit: number;
@@ -383,8 +383,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
383
383
  readonly id: string;
384
384
  readonly slug: string;
385
385
  readonly contentTypeId: string;
386
- readonly authorId?: string | undefined;
387
386
  readonly data: string;
387
+ readonly authorId?: string | undefined;
388
388
  }[];
389
389
  readonly total: number;
390
390
  readonly limit: number;
@@ -459,8 +459,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
459
459
  id: string;
460
460
  slug: string;
461
461
  contentTypeId: string;
462
- authorId?: string | undefined;
463
462
  data: string;
463
+ authorId?: string | undefined;
464
464
  }[];
465
465
  total: number;
466
466
  }, false>;
@@ -493,8 +493,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
493
493
  id: string;
494
494
  slug: string;
495
495
  contentTypeId: string;
496
- authorId?: string | undefined;
497
496
  data: string;
497
+ authorId?: string | undefined;
498
498
  }, false>;
499
499
  readonly createContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
500
500
  typeSlug: z.ZodString;
@@ -522,8 +522,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
522
522
  id: string;
523
523
  slug: string;
524
524
  contentTypeId: string;
525
- authorId?: string | undefined;
526
525
  data: string;
526
+ authorId?: string | undefined;
527
527
  }, false>;
528
528
  readonly updateContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
529
529
  typeSlug: z.ZodString;
@@ -554,8 +554,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
554
554
  id: string;
555
555
  slug: string;
556
556
  contentTypeId: string;
557
- authorId?: string | undefined;
558
557
  data: string;
558
+ authorId?: string | undefined;
559
559
  }, false>;
560
560
  readonly deleteContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
561
561
  typeSlug: z.ZodString;
@@ -598,8 +598,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
598
598
  id: string;
599
599
  slug: string;
600
600
  contentTypeId: string;
601
- authorId?: string | undefined;
602
601
  data: string;
602
+ authorId?: string | undefined;
603
603
  }[];
604
604
  };
605
605
  contentType?: {
@@ -619,8 +619,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
619
619
  id: string;
620
620
  slug: string;
621
621
  contentTypeId: string;
622
- authorId?: string | undefined;
623
622
  data: string;
623
+ authorId?: string | undefined;
624
624
  }, false>;
625
625
  readonly listContentByRelation: _btst_stack_plugins_api.Operation<z.ZodObject<{
626
626
  typeSlug: z.ZodString;
@@ -657,8 +657,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
657
657
  id: string;
658
658
  slug: string;
659
659
  contentTypeId: string;
660
- authorId?: string | undefined;
661
660
  data: string;
661
+ authorId?: string | undefined;
662
662
  }[];
663
663
  total: number;
664
664
  limit: number;
@@ -715,8 +715,8 @@ declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugin
715
715
  id: string;
716
716
  slug: string;
717
717
  contentTypeId: string;
718
- authorId?: string | undefined;
719
718
  data: string;
719
+ authorId?: string | undefined;
720
720
  }[];
721
721
  total: number;
722
722
  limit: number;
@@ -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 schema: string;
131
130
  readonly id: string;
131
+ readonly name: string;
132
+ readonly schema: string;
132
133
  readonly description?: string | undefined;
133
134
  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 schema: string;
155
154
  readonly id: string;
155
+ readonly name: string;
156
+ readonly schema: string;
156
157
  readonly description?: string | undefined;
157
158
  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 schema: string;
175
174
  readonly id: string;
175
+ readonly name: string;
176
+ readonly schema: string;
176
177
  readonly description?: string | undefined;
177
178
  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 schema: string;
195
194
  readonly id: string;
195
+ readonly name: string;
196
+ readonly schema: string;
196
197
  readonly description?: string | undefined;
197
198
  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 schema: string;
229
228
  readonly id: string;
229
+ readonly name: string;
230
+ readonly schema: string;
230
231
  readonly description?: string | undefined;
231
232
  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 schema: string;
263
262
  readonly id: string;
263
+ readonly name: string;
264
+ readonly schema: string;
264
265
  readonly description?: string | undefined;
265
266
  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;
@@ -1,13 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const createPostSchema: z.ZodObject<{
4
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5
- name: z.ZodString;
6
- }, z.core.$strip>, z.ZodObject<{
7
- id: z.ZodString;
8
- name: z.ZodString;
9
- slug: z.ZodString;
10
- }, z.core.$strip>]>>>>;
11
4
  slug: z.ZodOptional<z.ZodString>;
12
5
  publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
13
6
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -17,6 +10,13 @@ declare const createPostSchema: z.ZodObject<{
17
10
  excerpt: z.ZodString;
18
11
  image: z.ZodOptional<z.ZodString>;
19
12
  published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14
+ name: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ id: z.ZodString;
17
+ name: z.ZodString;
18
+ slug: z.ZodString;
19
+ }, z.core.$strip>]>>>>;
20
20
  }, z.core.$strip>;
21
21
  declare const updatePostSchema: z.ZodObject<{
22
22
  publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -1,13 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const createPostSchema: z.ZodObject<{
4
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5
- name: z.ZodString;
6
- }, z.core.$strip>, z.ZodObject<{
7
- id: z.ZodString;
8
- name: z.ZodString;
9
- slug: z.ZodString;
10
- }, z.core.$strip>]>>>>;
11
4
  slug: z.ZodOptional<z.ZodString>;
12
5
  publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
13
6
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -17,6 +10,13 @@ declare const createPostSchema: z.ZodObject<{
17
10
  excerpt: z.ZodString;
18
11
  image: z.ZodOptional<z.ZodString>;
19
12
  published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14
+ name: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ id: z.ZodString;
17
+ name: z.ZodString;
18
+ slug: z.ZodString;
19
+ }, z.core.$strip>]>>>>;
20
20
  }, z.core.$strip>;
21
21
  declare const updatePostSchema: z.ZodObject<{
22
22
  publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -1,13 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const createPostSchema: z.ZodObject<{
4
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5
- name: z.ZodString;
6
- }, z.core.$strip>, z.ZodObject<{
7
- id: z.ZodString;
8
- name: z.ZodString;
9
- slug: z.ZodString;
10
- }, z.core.$strip>]>>>>;
11
4
  slug: z.ZodOptional<z.ZodString>;
12
5
  publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
13
6
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -17,6 +10,13 @@ declare const createPostSchema: z.ZodObject<{
17
10
  excerpt: z.ZodString;
18
11
  image: z.ZodOptional<z.ZodString>;
19
12
  published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14
+ name: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ id: z.ZodString;
17
+ name: z.ZodString;
18
+ slug: z.ZodString;
19
+ }, z.core.$strip>]>>>>;
20
20
  }, z.core.$strip>;
21
21
  declare const updatePostSchema: z.ZodObject<{
22
22
  publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -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 schema: string;
131
130
  readonly id: string;
131
+ readonly name: string;
132
+ readonly schema: string;
132
133
  readonly description?: string | undefined;
133
134
  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 schema: string;
155
154
  readonly id: string;
155
+ readonly name: string;
156
+ readonly schema: string;
156
157
  readonly description?: string | undefined;
157
158
  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 schema: string;
175
174
  readonly id: string;
175
+ readonly name: string;
176
+ readonly schema: string;
176
177
  readonly description?: string | undefined;
177
178
  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 schema: string;
195
194
  readonly id: string;
195
+ readonly name: string;
196
+ readonly schema: string;
196
197
  readonly description?: string | undefined;
197
198
  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 schema: string;
229
228
  readonly id: string;
229
+ readonly name: string;
230
+ readonly schema: string;
230
231
  readonly description?: string | undefined;
231
232
  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 schema: string;
263
262
  readonly id: string;
263
+ readonly name: string;
264
+ readonly schema: string;
264
265
  readonly description?: string | undefined;
265
266
  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;