nextjs-cms 0.5.1 → 0.5.2
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.
|
@@ -346,8 +346,8 @@ declare const selectFieldConfigSchema: z.ZodIntersection<z.ZodUnion<readonly [z.
|
|
|
346
346
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
347
347
|
type: z.ZodLiteral<"select">;
|
|
348
348
|
optionsType: z.ZodEnum<{
|
|
349
|
-
db: "db";
|
|
350
349
|
section: "section";
|
|
350
|
+
db: "db";
|
|
351
351
|
static: "static";
|
|
352
352
|
}>;
|
|
353
353
|
build: z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodCustom<SelectField, SelectField>>;
|
|
@@ -117,10 +117,7 @@ declare const optionsSchema: z.ZodObject<{
|
|
|
117
117
|
*/
|
|
118
118
|
allowRecursiveDelete: z.ZodOptional<z.ZodBoolean>;
|
|
119
119
|
fields: z.ZodUnion<[z.ZodArray<z.ZodCustom<FieldConfig, FieldConfig>>, z.ZodArray<z.ZodCustom<FieldGroupConfig, FieldGroupConfig>>]>;
|
|
120
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
121
120
|
name: z.ZodString;
|
|
122
|
-
order: z.ZodNumber;
|
|
123
|
-
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
124
121
|
db: z.ZodObject<{
|
|
125
122
|
table: z.ZodString;
|
|
126
123
|
identifier: z.ZodOptional<z.ZodCustom<FieldConfig, FieldConfig>>;
|
|
@@ -144,6 +141,9 @@ declare const optionsSchema: z.ZodObject<{
|
|
|
144
141
|
name: z.ZodOptional<z.ZodString>;
|
|
145
142
|
}, z.core.$strict>>>;
|
|
146
143
|
}, z.core.$strict>;
|
|
144
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
145
|
+
order: z.ZodNumber;
|
|
146
|
+
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
147
147
|
icon: z.ZodOptional<z.ZodString>;
|
|
148
148
|
gallery: z.ZodOptional<z.ZodObject<{
|
|
149
149
|
db: z.ZodObject<{
|
|
@@ -214,10 +214,7 @@ export declare const categorySectionConfigSchema: z.ZodObject<{
|
|
|
214
214
|
* @default false
|
|
215
215
|
*/
|
|
216
216
|
allowRecursiveDelete: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
218
217
|
name: z.ZodString;
|
|
219
|
-
order: z.ZodNumber;
|
|
220
|
-
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
221
218
|
db: z.ZodObject<{
|
|
222
219
|
table: z.ZodString;
|
|
223
220
|
identifier: z.ZodOptional<z.ZodCustom<FieldConfig, FieldConfig>>;
|
|
@@ -241,6 +238,9 @@ export declare const categorySectionConfigSchema: z.ZodObject<{
|
|
|
241
238
|
name: z.ZodOptional<z.ZodString>;
|
|
242
239
|
}, z.core.$strict>>>;
|
|
243
240
|
}, z.core.$strict>;
|
|
241
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
242
|
+
order: z.ZodNumber;
|
|
243
|
+
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
244
244
|
icon: z.ZodOptional<z.ZodString>;
|
|
245
245
|
gallery: z.ZodOptional<z.ZodObject<{
|
|
246
246
|
db: z.ZodObject<{
|
|
@@ -351,10 +351,7 @@ declare const optionsSchema: z.ZodObject<{
|
|
|
351
351
|
}>>;
|
|
352
352
|
generateQR: z.ZodOptional<z.ZodBoolean>;
|
|
353
353
|
fields: z.ZodUnion<[z.ZodArray<z.ZodCustom<FieldConfig, FieldConfig>>, z.ZodArray<z.ZodCustom<FieldGroupConfig, FieldGroupConfig>>]>;
|
|
354
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
355
354
|
name: z.ZodString;
|
|
356
|
-
order: z.ZodNumber;
|
|
357
|
-
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
358
355
|
db: z.ZodObject<{
|
|
359
356
|
table: z.ZodString;
|
|
360
357
|
identifier: z.ZodOptional<z.ZodCustom<FieldConfig, FieldConfig>>;
|
|
@@ -378,6 +375,9 @@ declare const optionsSchema: z.ZodObject<{
|
|
|
378
375
|
name: z.ZodOptional<z.ZodString>;
|
|
379
376
|
}, z.core.$strict>>>;
|
|
380
377
|
}, z.core.$strict>;
|
|
378
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
379
|
+
order: z.ZodNumber;
|
|
380
|
+
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
381
381
|
icon: z.ZodOptional<z.ZodString>;
|
|
382
382
|
gallery: z.ZodOptional<z.ZodObject<{
|
|
383
383
|
db: z.ZodObject<{
|
|
@@ -563,10 +563,7 @@ declare const hasItemsSectionConfigSchema: z.ZodObject<{
|
|
|
563
563
|
adminGenerated?: boolean | "readonly" | undefined;
|
|
564
564
|
}>>;
|
|
565
565
|
generateQR: z.ZodOptional<z.ZodBoolean>;
|
|
566
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
567
566
|
name: z.ZodString;
|
|
568
|
-
order: z.ZodNumber;
|
|
569
|
-
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
570
567
|
db: z.ZodObject<{
|
|
571
568
|
table: z.ZodString;
|
|
572
569
|
identifier: z.ZodOptional<z.ZodCustom<FieldConfig, FieldConfig>>;
|
|
@@ -590,6 +587,9 @@ declare const hasItemsSectionConfigSchema: z.ZodObject<{
|
|
|
590
587
|
name: z.ZodOptional<z.ZodString>;
|
|
591
588
|
}, z.core.$strict>>>;
|
|
592
589
|
}, z.core.$strict>;
|
|
590
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
591
|
+
order: z.ZodNumber;
|
|
592
|
+
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
593
593
|
icon: z.ZodOptional<z.ZodString>;
|
|
594
594
|
gallery: z.ZodOptional<z.ZodObject<{
|
|
595
595
|
db: z.ZodObject<{
|
|
@@ -62,10 +62,7 @@ export declare const baseSectionOptionsSchema: z.ZodObject<{
|
|
|
62
62
|
*/
|
|
63
63
|
export declare const baseHelperFunctionOptionsSchema: z.ZodObject<{
|
|
64
64
|
fields: z.ZodUnion<[z.ZodArray<z.ZodCustom<FieldConfig, FieldConfig>>, z.ZodArray<z.ZodCustom<FieldGroupConfig, FieldGroupConfig>>]>;
|
|
65
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<Variant, Variant>>>;
|
|
66
65
|
name: z.ZodString;
|
|
67
|
-
order: z.ZodNumber;
|
|
68
|
-
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
69
66
|
db: z.ZodObject<{
|
|
70
67
|
table: z.ZodString;
|
|
71
68
|
identifier: z.ZodOptional<z.ZodCustom<FieldConfig, FieldConfig>>;
|
|
@@ -89,6 +86,9 @@ export declare const baseHelperFunctionOptionsSchema: z.ZodObject<{
|
|
|
89
86
|
name: z.ZodOptional<z.ZodString>;
|
|
90
87
|
}, z.core.$strict>>>;
|
|
91
88
|
}, z.core.$strict>;
|
|
89
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<Variant, Variant>>>;
|
|
90
|
+
order: z.ZodNumber;
|
|
91
|
+
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
92
92
|
icon: z.ZodOptional<z.ZodString>;
|
|
93
93
|
gallery: z.ZodOptional<z.ZodObject<{
|
|
94
94
|
db: z.ZodObject<{
|
|
@@ -22,8 +22,8 @@ declare const optionsSchema: z.ZodObject<{
|
|
|
22
22
|
table: z.ZodString;
|
|
23
23
|
}, z.core.$strict>;
|
|
24
24
|
fields: z.ZodUnion<[z.ZodArray<z.ZodCustom<FieldConfig, FieldConfig>>, z.ZodArray<z.ZodCustom<FieldGroupConfig, FieldGroupConfig>>]>;
|
|
25
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
26
25
|
name: z.ZodString;
|
|
26
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
27
27
|
order: z.ZodNumber;
|
|
28
28
|
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
29
29
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -53,8 +53,8 @@ declare const simpleSectionConfigSchema: z.ZodObject<{
|
|
|
53
53
|
db: z.ZodObject<{
|
|
54
54
|
table: z.ZodString;
|
|
55
55
|
}, z.core.$strict>;
|
|
56
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
57
56
|
name: z.ZodString;
|
|
57
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types").Variant, import("../types").Variant>>>;
|
|
58
58
|
order: z.ZodNumber;
|
|
59
59
|
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
60
60
|
icon: z.ZodOptional<z.ZodString>;
|