strapi-plugin-navigation 3.0.15 → 3.1.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/README.md +47 -1
- package/dist/_chunks/ca-CSdZD9Oe.js +1 -0
- package/dist/_chunks/{ca-DVB9tv4s.mjs → ca-htynOC4E.mjs} +27 -3
- package/dist/_chunks/en-BuevNT8U.js +1 -0
- package/dist/_chunks/{en--XL9UqS_.mjs → en-DU6wb-rd.mjs} +27 -3
- package/dist/_chunks/fr-cFTbGuHW.js +1 -0
- package/dist/_chunks/{fr-B3UeLLGy.mjs → fr-v8w2-ufp.mjs} +27 -3
- package/dist/admin/index.js +339 -332
- package/dist/admin/index.mjs +9270 -9021
- package/dist/admin/src/api/client.d.ts +13 -1
- package/dist/admin/src/api/validators.d.ts +128 -14
- package/dist/admin/src/pages/HomePage/components/ChangeLanguageDialog/index.d.ts +13 -0
- package/dist/admin/src/pages/HomePage/components/NavigationItemForm/utils/form.d.ts +6 -6
- package/dist/admin/src/pages/HomePage/hooks/index.d.ts +14 -3
- package/dist/admin/src/pages/SettingsPage/components/CustomFieldForm/index.d.ts +1 -1
- package/dist/admin/src/pages/SettingsPage/hooks/index.d.ts +43 -1
- package/dist/admin/src/schemas/config.d.ts +93 -3
- package/dist/admin/src/translations/ca.d.ts +24 -0
- package/dist/admin/src/translations/en.d.ts +24 -0
- package/dist/admin/src/translations/es.d.ts +24 -0
- package/dist/admin/src/translations/fr.d.ts +24 -0
- package/dist/admin/src/translations/tr.d.ts +24 -0
- package/dist/server/index.js +36 -36
- package/dist/server/index.mjs +3331 -3492
- package/dist/server/src/config/setup.d.ts +6 -0
- package/dist/server/src/controllers/admin.d.ts +875 -2
- package/dist/server/src/controllers/client.d.ts +12 -0
- package/dist/server/src/controllers/validators.d.ts +2 -2
- package/dist/server/src/index.d.ts +885 -0
- package/dist/server/src/schemas/config.d.ts +93 -3
- package/dist/server/src/schemas/index.d.ts +1296 -2
- package/dist/server/src/schemas/navigation.d.ts +5 -5
- package/dist/server/src/services/admin/admin.d.ts +1 -0
- package/dist/server/src/services/common/common.d.ts +859 -0
- package/dist/server/src/services/index.d.ts +884 -0
- package/package.json +6 -8
- package/dist/_chunks/ca-BzGBgdJx.js +0 -1
- package/dist/_chunks/en-CKowl_sX.js +0 -1
- package/dist/_chunks/fr-BjVniZne.js +0 -1
|
@@ -3,23 +3,31 @@ export type NavigationItemCustomFieldBase = z.infer<typeof navigationCustomField
|
|
|
3
3
|
declare const navigationCustomFieldBase: z.ZodObject<{
|
|
4
4
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
5
5
|
label: z.ZodString;
|
|
6
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
6
8
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
7
9
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8
10
|
}, "strip", z.ZodTypeAny, {
|
|
9
11
|
name: string;
|
|
10
12
|
label: string;
|
|
13
|
+
placeholder?: string | undefined;
|
|
11
14
|
required?: boolean | undefined;
|
|
15
|
+
description?: string | undefined;
|
|
12
16
|
enabled?: boolean | undefined;
|
|
13
17
|
}, {
|
|
14
18
|
name: string;
|
|
15
19
|
label: string;
|
|
20
|
+
placeholder?: string | undefined;
|
|
16
21
|
required?: boolean | undefined;
|
|
22
|
+
description?: string | undefined;
|
|
17
23
|
enabled?: boolean | undefined;
|
|
18
24
|
}>;
|
|
19
25
|
export type NavigationItemCustomFieldSelect = z.infer<typeof navigationItemCustomFieldSelect>;
|
|
20
26
|
declare const navigationItemCustomFieldSelect: z.ZodObject<{
|
|
21
27
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
22
28
|
label: z.ZodString;
|
|
29
|
+
description: z.ZodOptional<z.ZodString>;
|
|
30
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
23
31
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
24
32
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
25
33
|
} & {
|
|
@@ -32,7 +40,9 @@ declare const navigationItemCustomFieldSelect: z.ZodObject<{
|
|
|
32
40
|
label: string;
|
|
33
41
|
options: string[];
|
|
34
42
|
multi: boolean;
|
|
43
|
+
placeholder?: string | undefined;
|
|
35
44
|
required?: boolean | undefined;
|
|
45
|
+
description?: string | undefined;
|
|
36
46
|
enabled?: boolean | undefined;
|
|
37
47
|
}, {
|
|
38
48
|
name: string;
|
|
@@ -40,13 +50,17 @@ declare const navigationItemCustomFieldSelect: z.ZodObject<{
|
|
|
40
50
|
label: string;
|
|
41
51
|
options: string[];
|
|
42
52
|
multi: boolean;
|
|
53
|
+
placeholder?: string | undefined;
|
|
43
54
|
required?: boolean | undefined;
|
|
55
|
+
description?: string | undefined;
|
|
44
56
|
enabled?: boolean | undefined;
|
|
45
57
|
}>;
|
|
46
58
|
export type NavigationItemCustomFieldPrimitive = z.infer<typeof navigationItemCustomFieldPrimitive>;
|
|
47
59
|
declare const navigationItemCustomFieldPrimitive: z.ZodObject<{
|
|
48
60
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
49
61
|
label: z.ZodString;
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
50
64
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
51
65
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
52
66
|
} & {
|
|
@@ -57,16 +71,20 @@ declare const navigationItemCustomFieldPrimitive: z.ZodObject<{
|
|
|
57
71
|
name: string;
|
|
58
72
|
type: "string" | "boolean";
|
|
59
73
|
label: string;
|
|
74
|
+
placeholder?: string | undefined;
|
|
60
75
|
required?: boolean | undefined;
|
|
61
76
|
options?: string[] | undefined;
|
|
77
|
+
description?: string | undefined;
|
|
62
78
|
enabled?: boolean | undefined;
|
|
63
79
|
multi?: false | undefined;
|
|
64
80
|
}, {
|
|
65
81
|
name: string;
|
|
66
82
|
type: "string" | "boolean";
|
|
67
83
|
label: string;
|
|
84
|
+
placeholder?: string | undefined;
|
|
68
85
|
required?: boolean | undefined;
|
|
69
86
|
options?: string[] | undefined;
|
|
87
|
+
description?: string | undefined;
|
|
70
88
|
enabled?: boolean | undefined;
|
|
71
89
|
multi?: false | undefined;
|
|
72
90
|
}>;
|
|
@@ -74,6 +92,8 @@ export type NavigationItemCustomFieldMedia = z.infer<typeof navigationItemCustom
|
|
|
74
92
|
declare const navigationItemCustomFieldMedia: z.ZodObject<{
|
|
75
93
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
76
94
|
label: z.ZodString;
|
|
95
|
+
description: z.ZodOptional<z.ZodString>;
|
|
96
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
77
97
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
78
98
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
79
99
|
} & {
|
|
@@ -84,23 +104,29 @@ declare const navigationItemCustomFieldMedia: z.ZodObject<{
|
|
|
84
104
|
name: string;
|
|
85
105
|
type: "media";
|
|
86
106
|
label: string;
|
|
107
|
+
placeholder?: string | undefined;
|
|
87
108
|
required?: boolean | undefined;
|
|
88
109
|
options?: string[] | undefined;
|
|
110
|
+
description?: string | undefined;
|
|
89
111
|
enabled?: boolean | undefined;
|
|
90
112
|
multi?: false | undefined;
|
|
91
113
|
}, {
|
|
92
114
|
name: string;
|
|
93
115
|
type: "media";
|
|
94
116
|
label: string;
|
|
117
|
+
placeholder?: string | undefined;
|
|
95
118
|
required?: boolean | undefined;
|
|
96
119
|
options?: string[] | undefined;
|
|
120
|
+
description?: string | undefined;
|
|
97
121
|
enabled?: boolean | undefined;
|
|
98
122
|
multi?: false | undefined;
|
|
99
123
|
}>;
|
|
100
124
|
export type NavigationItemCustomField = z.infer<typeof navigationItemCustomField>;
|
|
101
|
-
export declare const navigationItemCustomField: z.
|
|
125
|
+
export declare const navigationItemCustomField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
102
126
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
103
127
|
label: z.ZodString;
|
|
128
|
+
description: z.ZodOptional<z.ZodString>;
|
|
129
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
104
130
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
105
131
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
106
132
|
} & {
|
|
@@ -111,21 +137,27 @@ export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<{
|
|
|
111
137
|
name: string;
|
|
112
138
|
type: "string" | "boolean";
|
|
113
139
|
label: string;
|
|
140
|
+
placeholder?: string | undefined;
|
|
114
141
|
required?: boolean | undefined;
|
|
115
142
|
options?: string[] | undefined;
|
|
143
|
+
description?: string | undefined;
|
|
116
144
|
enabled?: boolean | undefined;
|
|
117
145
|
multi?: false | undefined;
|
|
118
146
|
}, {
|
|
119
147
|
name: string;
|
|
120
148
|
type: "string" | "boolean";
|
|
121
149
|
label: string;
|
|
150
|
+
placeholder?: string | undefined;
|
|
122
151
|
required?: boolean | undefined;
|
|
123
152
|
options?: string[] | undefined;
|
|
153
|
+
description?: string | undefined;
|
|
124
154
|
enabled?: boolean | undefined;
|
|
125
155
|
multi?: false | undefined;
|
|
126
156
|
}>, z.ZodObject<{
|
|
127
157
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
128
158
|
label: z.ZodString;
|
|
159
|
+
description: z.ZodOptional<z.ZodString>;
|
|
160
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
129
161
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
130
162
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
131
163
|
} & {
|
|
@@ -136,21 +168,27 @@ export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<{
|
|
|
136
168
|
name: string;
|
|
137
169
|
type: "media";
|
|
138
170
|
label: string;
|
|
171
|
+
placeholder?: string | undefined;
|
|
139
172
|
required?: boolean | undefined;
|
|
140
173
|
options?: string[] | undefined;
|
|
174
|
+
description?: string | undefined;
|
|
141
175
|
enabled?: boolean | undefined;
|
|
142
176
|
multi?: false | undefined;
|
|
143
177
|
}, {
|
|
144
178
|
name: string;
|
|
145
179
|
type: "media";
|
|
146
180
|
label: string;
|
|
181
|
+
placeholder?: string | undefined;
|
|
147
182
|
required?: boolean | undefined;
|
|
148
183
|
options?: string[] | undefined;
|
|
184
|
+
description?: string | undefined;
|
|
149
185
|
enabled?: boolean | undefined;
|
|
150
186
|
multi?: false | undefined;
|
|
151
187
|
}>, z.ZodObject<{
|
|
152
188
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
153
189
|
label: z.ZodString;
|
|
190
|
+
description: z.ZodOptional<z.ZodString>;
|
|
191
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
154
192
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
155
193
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
156
194
|
} & {
|
|
@@ -163,7 +201,9 @@ export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<{
|
|
|
163
201
|
label: string;
|
|
164
202
|
options: string[];
|
|
165
203
|
multi: boolean;
|
|
204
|
+
placeholder?: string | undefined;
|
|
166
205
|
required?: boolean | undefined;
|
|
206
|
+
description?: string | undefined;
|
|
167
207
|
enabled?: boolean | undefined;
|
|
168
208
|
}, {
|
|
169
209
|
name: string;
|
|
@@ -171,13 +211,17 @@ export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<{
|
|
|
171
211
|
label: string;
|
|
172
212
|
options: string[];
|
|
173
213
|
multi: boolean;
|
|
214
|
+
placeholder?: string | undefined;
|
|
174
215
|
required?: boolean | undefined;
|
|
216
|
+
description?: string | undefined;
|
|
175
217
|
enabled?: boolean | undefined;
|
|
176
218
|
}>]>;
|
|
177
219
|
export type NavigationItemAdditionalField = z.infer<typeof navigationItemAdditionalField>;
|
|
178
|
-
export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"audience">, z.
|
|
220
|
+
export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
179
221
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
180
222
|
label: z.ZodString;
|
|
223
|
+
description: z.ZodOptional<z.ZodString>;
|
|
224
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
181
225
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
182
226
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
183
227
|
} & {
|
|
@@ -188,21 +232,27 @@ export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"au
|
|
|
188
232
|
name: string;
|
|
189
233
|
type: "string" | "boolean";
|
|
190
234
|
label: string;
|
|
235
|
+
placeholder?: string | undefined;
|
|
191
236
|
required?: boolean | undefined;
|
|
192
237
|
options?: string[] | undefined;
|
|
238
|
+
description?: string | undefined;
|
|
193
239
|
enabled?: boolean | undefined;
|
|
194
240
|
multi?: false | undefined;
|
|
195
241
|
}, {
|
|
196
242
|
name: string;
|
|
197
243
|
type: "string" | "boolean";
|
|
198
244
|
label: string;
|
|
245
|
+
placeholder?: string | undefined;
|
|
199
246
|
required?: boolean | undefined;
|
|
200
247
|
options?: string[] | undefined;
|
|
248
|
+
description?: string | undefined;
|
|
201
249
|
enabled?: boolean | undefined;
|
|
202
250
|
multi?: false | undefined;
|
|
203
251
|
}>, z.ZodObject<{
|
|
204
252
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
205
253
|
label: z.ZodString;
|
|
254
|
+
description: z.ZodOptional<z.ZodString>;
|
|
255
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
206
256
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
207
257
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
208
258
|
} & {
|
|
@@ -213,21 +263,27 @@ export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"au
|
|
|
213
263
|
name: string;
|
|
214
264
|
type: "media";
|
|
215
265
|
label: string;
|
|
266
|
+
placeholder?: string | undefined;
|
|
216
267
|
required?: boolean | undefined;
|
|
217
268
|
options?: string[] | undefined;
|
|
269
|
+
description?: string | undefined;
|
|
218
270
|
enabled?: boolean | undefined;
|
|
219
271
|
multi?: false | undefined;
|
|
220
272
|
}, {
|
|
221
273
|
name: string;
|
|
222
274
|
type: "media";
|
|
223
275
|
label: string;
|
|
276
|
+
placeholder?: string | undefined;
|
|
224
277
|
required?: boolean | undefined;
|
|
225
278
|
options?: string[] | undefined;
|
|
279
|
+
description?: string | undefined;
|
|
226
280
|
enabled?: boolean | undefined;
|
|
227
281
|
multi?: false | undefined;
|
|
228
282
|
}>, z.ZodObject<{
|
|
229
283
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
230
284
|
label: z.ZodString;
|
|
285
|
+
description: z.ZodOptional<z.ZodString>;
|
|
286
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
231
287
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
232
288
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
233
289
|
} & {
|
|
@@ -240,7 +296,9 @@ export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"au
|
|
|
240
296
|
label: string;
|
|
241
297
|
options: string[];
|
|
242
298
|
multi: boolean;
|
|
299
|
+
placeholder?: string | undefined;
|
|
243
300
|
required?: boolean | undefined;
|
|
301
|
+
description?: string | undefined;
|
|
244
302
|
enabled?: boolean | undefined;
|
|
245
303
|
}, {
|
|
246
304
|
name: string;
|
|
@@ -248,14 +306,18 @@ export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"au
|
|
|
248
306
|
label: string;
|
|
249
307
|
options: string[];
|
|
250
308
|
multi: boolean;
|
|
309
|
+
placeholder?: string | undefined;
|
|
251
310
|
required?: boolean | undefined;
|
|
311
|
+
description?: string | undefined;
|
|
252
312
|
enabled?: boolean | undefined;
|
|
253
313
|
}>]>]>;
|
|
254
314
|
export type ConfigSchema = z.infer<typeof configSchema>;
|
|
255
315
|
export declare const configSchema: z.ZodObject<{
|
|
256
|
-
additionalFields: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"audience">, z.
|
|
316
|
+
additionalFields: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
257
317
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
258
318
|
label: z.ZodString;
|
|
319
|
+
description: z.ZodOptional<z.ZodString>;
|
|
320
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
259
321
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
260
322
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
261
323
|
} & {
|
|
@@ -266,21 +328,27 @@ export declare const configSchema: z.ZodObject<{
|
|
|
266
328
|
name: string;
|
|
267
329
|
type: "string" | "boolean";
|
|
268
330
|
label: string;
|
|
331
|
+
placeholder?: string | undefined;
|
|
269
332
|
required?: boolean | undefined;
|
|
270
333
|
options?: string[] | undefined;
|
|
334
|
+
description?: string | undefined;
|
|
271
335
|
enabled?: boolean | undefined;
|
|
272
336
|
multi?: false | undefined;
|
|
273
337
|
}, {
|
|
274
338
|
name: string;
|
|
275
339
|
type: "string" | "boolean";
|
|
276
340
|
label: string;
|
|
341
|
+
placeholder?: string | undefined;
|
|
277
342
|
required?: boolean | undefined;
|
|
278
343
|
options?: string[] | undefined;
|
|
344
|
+
description?: string | undefined;
|
|
279
345
|
enabled?: boolean | undefined;
|
|
280
346
|
multi?: false | undefined;
|
|
281
347
|
}>, z.ZodObject<{
|
|
282
348
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
283
349
|
label: z.ZodString;
|
|
350
|
+
description: z.ZodOptional<z.ZodString>;
|
|
351
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
284
352
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
285
353
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
286
354
|
} & {
|
|
@@ -291,21 +359,27 @@ export declare const configSchema: z.ZodObject<{
|
|
|
291
359
|
name: string;
|
|
292
360
|
type: "media";
|
|
293
361
|
label: string;
|
|
362
|
+
placeholder?: string | undefined;
|
|
294
363
|
required?: boolean | undefined;
|
|
295
364
|
options?: string[] | undefined;
|
|
365
|
+
description?: string | undefined;
|
|
296
366
|
enabled?: boolean | undefined;
|
|
297
367
|
multi?: false | undefined;
|
|
298
368
|
}, {
|
|
299
369
|
name: string;
|
|
300
370
|
type: "media";
|
|
301
371
|
label: string;
|
|
372
|
+
placeholder?: string | undefined;
|
|
302
373
|
required?: boolean | undefined;
|
|
303
374
|
options?: string[] | undefined;
|
|
375
|
+
description?: string | undefined;
|
|
304
376
|
enabled?: boolean | undefined;
|
|
305
377
|
multi?: false | undefined;
|
|
306
378
|
}>, z.ZodObject<{
|
|
307
379
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
308
380
|
label: z.ZodString;
|
|
381
|
+
description: z.ZodOptional<z.ZodString>;
|
|
382
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
309
383
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
310
384
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
311
385
|
} & {
|
|
@@ -318,7 +392,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
318
392
|
label: string;
|
|
319
393
|
options: string[];
|
|
320
394
|
multi: boolean;
|
|
395
|
+
placeholder?: string | undefined;
|
|
321
396
|
required?: boolean | undefined;
|
|
397
|
+
description?: string | undefined;
|
|
322
398
|
enabled?: boolean | undefined;
|
|
323
399
|
}, {
|
|
324
400
|
name: string;
|
|
@@ -326,7 +402,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
326
402
|
label: string;
|
|
327
403
|
options: string[];
|
|
328
404
|
multi: boolean;
|
|
405
|
+
placeholder?: string | undefined;
|
|
329
406
|
required?: boolean | undefined;
|
|
407
|
+
description?: string | undefined;
|
|
330
408
|
enabled?: boolean | undefined;
|
|
331
409
|
}>]>]>, "many">;
|
|
332
410
|
allowedLevels: z.ZodNumber;
|
|
@@ -368,22 +446,28 @@ export declare const configSchema: z.ZodObject<{
|
|
|
368
446
|
label: string;
|
|
369
447
|
options: string[];
|
|
370
448
|
multi: boolean;
|
|
449
|
+
placeholder?: string | undefined;
|
|
371
450
|
required?: boolean | undefined;
|
|
451
|
+
description?: string | undefined;
|
|
372
452
|
enabled?: boolean | undefined;
|
|
373
453
|
} | {
|
|
374
454
|
name: string;
|
|
375
455
|
type: "string" | "boolean";
|
|
376
456
|
label: string;
|
|
457
|
+
placeholder?: string | undefined;
|
|
377
458
|
required?: boolean | undefined;
|
|
378
459
|
options?: string[] | undefined;
|
|
460
|
+
description?: string | undefined;
|
|
379
461
|
enabled?: boolean | undefined;
|
|
380
462
|
multi?: false | undefined;
|
|
381
463
|
} | {
|
|
382
464
|
name: string;
|
|
383
465
|
type: "media";
|
|
384
466
|
label: string;
|
|
467
|
+
placeholder?: string | undefined;
|
|
385
468
|
required?: boolean | undefined;
|
|
386
469
|
options?: string[] | undefined;
|
|
470
|
+
description?: string | undefined;
|
|
387
471
|
enabled?: boolean | undefined;
|
|
388
472
|
multi?: false | undefined;
|
|
389
473
|
})[];
|
|
@@ -412,22 +496,28 @@ export declare const configSchema: z.ZodObject<{
|
|
|
412
496
|
label: string;
|
|
413
497
|
options: string[];
|
|
414
498
|
multi: boolean;
|
|
499
|
+
placeholder?: string | undefined;
|
|
415
500
|
required?: boolean | undefined;
|
|
501
|
+
description?: string | undefined;
|
|
416
502
|
enabled?: boolean | undefined;
|
|
417
503
|
} | {
|
|
418
504
|
name: string;
|
|
419
505
|
type: "string" | "boolean";
|
|
420
506
|
label: string;
|
|
507
|
+
placeholder?: string | undefined;
|
|
421
508
|
required?: boolean | undefined;
|
|
422
509
|
options?: string[] | undefined;
|
|
510
|
+
description?: string | undefined;
|
|
423
511
|
enabled?: boolean | undefined;
|
|
424
512
|
multi?: false | undefined;
|
|
425
513
|
} | {
|
|
426
514
|
name: string;
|
|
427
515
|
type: "media";
|
|
428
516
|
label: string;
|
|
517
|
+
placeholder?: string | undefined;
|
|
429
518
|
required?: boolean | undefined;
|
|
430
519
|
options?: string[] | undefined;
|
|
520
|
+
description?: string | undefined;
|
|
431
521
|
enabled?: boolean | undefined;
|
|
432
522
|
multi?: false | undefined;
|
|
433
523
|
})[];
|
|
@@ -197,6 +197,9 @@ declare const ca: {
|
|
|
197
197
|
published: string;
|
|
198
198
|
};
|
|
199
199
|
};
|
|
200
|
+
update: {
|
|
201
|
+
error: string;
|
|
202
|
+
};
|
|
200
203
|
};
|
|
201
204
|
error: {
|
|
202
205
|
common: string;
|
|
@@ -343,11 +346,24 @@ declare const ca: {
|
|
|
343
346
|
label: string;
|
|
344
347
|
placeholder: string;
|
|
345
348
|
description: string;
|
|
349
|
+
requiredError: string;
|
|
350
|
+
noSpaceError: string;
|
|
346
351
|
};
|
|
347
352
|
label: {
|
|
348
353
|
label: string;
|
|
349
354
|
placeholder: string;
|
|
350
355
|
description: string;
|
|
356
|
+
requiredError: string;
|
|
357
|
+
};
|
|
358
|
+
description: {
|
|
359
|
+
label: string;
|
|
360
|
+
placeholder: string;
|
|
361
|
+
description: string;
|
|
362
|
+
};
|
|
363
|
+
placeholder: {
|
|
364
|
+
label: string;
|
|
365
|
+
placeholder: string;
|
|
366
|
+
description: string;
|
|
351
367
|
};
|
|
352
368
|
type: {
|
|
353
369
|
label: string;
|
|
@@ -359,6 +375,7 @@ declare const ca: {
|
|
|
359
375
|
options: {
|
|
360
376
|
label: string;
|
|
361
377
|
description: string;
|
|
378
|
+
requiredError: string;
|
|
362
379
|
};
|
|
363
380
|
multi: {
|
|
364
381
|
label: string;
|
|
@@ -435,6 +452,13 @@ declare const ca: {
|
|
|
435
452
|
content: string;
|
|
436
453
|
};
|
|
437
454
|
};
|
|
455
|
+
changeLanguage: {
|
|
456
|
+
confirmation: {
|
|
457
|
+
header: string;
|
|
458
|
+
confirm: string;
|
|
459
|
+
content: string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
438
462
|
};
|
|
439
463
|
};
|
|
440
464
|
};
|
|
@@ -201,6 +201,9 @@ declare const en: {
|
|
|
201
201
|
published: string;
|
|
202
202
|
};
|
|
203
203
|
};
|
|
204
|
+
update: {
|
|
205
|
+
error: string;
|
|
206
|
+
};
|
|
204
207
|
};
|
|
205
208
|
error: {
|
|
206
209
|
common: string;
|
|
@@ -347,11 +350,24 @@ declare const en: {
|
|
|
347
350
|
label: string;
|
|
348
351
|
placeholder: string;
|
|
349
352
|
description: string;
|
|
353
|
+
requiredError: string;
|
|
354
|
+
noSpaceError: string;
|
|
350
355
|
};
|
|
351
356
|
label: {
|
|
352
357
|
label: string;
|
|
353
358
|
placeholder: string;
|
|
354
359
|
description: string;
|
|
360
|
+
requiredError: string;
|
|
361
|
+
};
|
|
362
|
+
description: {
|
|
363
|
+
label: string;
|
|
364
|
+
placeholder: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
placeholder: {
|
|
368
|
+
label: string;
|
|
369
|
+
placeholder: string;
|
|
370
|
+
description: string;
|
|
355
371
|
};
|
|
356
372
|
type: {
|
|
357
373
|
label: string;
|
|
@@ -364,6 +380,7 @@ declare const en: {
|
|
|
364
380
|
options: {
|
|
365
381
|
label: string;
|
|
366
382
|
description: string;
|
|
383
|
+
requiredError: string;
|
|
367
384
|
};
|
|
368
385
|
multi: {
|
|
369
386
|
label: string;
|
|
@@ -441,6 +458,13 @@ declare const en: {
|
|
|
441
458
|
content: string;
|
|
442
459
|
};
|
|
443
460
|
};
|
|
461
|
+
changeLanguage: {
|
|
462
|
+
confirmation: {
|
|
463
|
+
header: string;
|
|
464
|
+
confirm: string;
|
|
465
|
+
content: string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
444
468
|
};
|
|
445
469
|
};
|
|
446
470
|
};
|
|
@@ -201,6 +201,9 @@ declare const en: {
|
|
|
201
201
|
published: string;
|
|
202
202
|
};
|
|
203
203
|
};
|
|
204
|
+
update: {
|
|
205
|
+
error: string;
|
|
206
|
+
};
|
|
204
207
|
};
|
|
205
208
|
error: {
|
|
206
209
|
common: string;
|
|
@@ -347,11 +350,24 @@ declare const en: {
|
|
|
347
350
|
label: string;
|
|
348
351
|
placeholder: string;
|
|
349
352
|
description: string;
|
|
353
|
+
requiredError: string;
|
|
354
|
+
noSpaceError: string;
|
|
350
355
|
};
|
|
351
356
|
label: {
|
|
352
357
|
label: string;
|
|
353
358
|
placeholder: string;
|
|
354
359
|
description: string;
|
|
360
|
+
requiredError: string;
|
|
361
|
+
};
|
|
362
|
+
description: {
|
|
363
|
+
label: string;
|
|
364
|
+
placeholder: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
placeholder: {
|
|
368
|
+
label: string;
|
|
369
|
+
placeholder: string;
|
|
370
|
+
description: string;
|
|
355
371
|
};
|
|
356
372
|
type: {
|
|
357
373
|
label: string;
|
|
@@ -364,6 +380,7 @@ declare const en: {
|
|
|
364
380
|
options: {
|
|
365
381
|
label: string;
|
|
366
382
|
description: string;
|
|
383
|
+
requiredError: string;
|
|
367
384
|
};
|
|
368
385
|
multi: {
|
|
369
386
|
label: string;
|
|
@@ -441,6 +458,13 @@ declare const en: {
|
|
|
441
458
|
content: string;
|
|
442
459
|
};
|
|
443
460
|
};
|
|
461
|
+
changeLanguage: {
|
|
462
|
+
confirmation: {
|
|
463
|
+
header: string;
|
|
464
|
+
confirm: string;
|
|
465
|
+
content: string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
444
468
|
};
|
|
445
469
|
};
|
|
446
470
|
};
|
|
@@ -201,6 +201,9 @@ declare const fr: {
|
|
|
201
201
|
published: string;
|
|
202
202
|
};
|
|
203
203
|
};
|
|
204
|
+
update: {
|
|
205
|
+
error: string;
|
|
206
|
+
};
|
|
204
207
|
};
|
|
205
208
|
error: {
|
|
206
209
|
common: string;
|
|
@@ -347,11 +350,24 @@ declare const fr: {
|
|
|
347
350
|
label: string;
|
|
348
351
|
placeholder: string;
|
|
349
352
|
description: string;
|
|
353
|
+
requiredError: string;
|
|
354
|
+
noSpaceError: string;
|
|
350
355
|
};
|
|
351
356
|
label: {
|
|
352
357
|
label: string;
|
|
353
358
|
placeholder: string;
|
|
354
359
|
description: string;
|
|
360
|
+
requiredError: string;
|
|
361
|
+
};
|
|
362
|
+
description: {
|
|
363
|
+
label: string;
|
|
364
|
+
placeholder: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
placeholder: {
|
|
368
|
+
label: string;
|
|
369
|
+
placeholder: string;
|
|
370
|
+
description: string;
|
|
355
371
|
};
|
|
356
372
|
type: {
|
|
357
373
|
label: string;
|
|
@@ -364,6 +380,7 @@ declare const fr: {
|
|
|
364
380
|
options: {
|
|
365
381
|
label: string;
|
|
366
382
|
description: string;
|
|
383
|
+
requiredError: string;
|
|
367
384
|
};
|
|
368
385
|
multi: {
|
|
369
386
|
label: string;
|
|
@@ -441,6 +458,13 @@ declare const fr: {
|
|
|
441
458
|
content: string;
|
|
442
459
|
};
|
|
443
460
|
};
|
|
461
|
+
changeLanguage: {
|
|
462
|
+
confirmation: {
|
|
463
|
+
header: string;
|
|
464
|
+
confirm: string;
|
|
465
|
+
content: string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
444
468
|
};
|
|
445
469
|
};
|
|
446
470
|
};
|
|
@@ -201,6 +201,9 @@ declare const tr: {
|
|
|
201
201
|
published: string;
|
|
202
202
|
};
|
|
203
203
|
};
|
|
204
|
+
update: {
|
|
205
|
+
error: string;
|
|
206
|
+
};
|
|
204
207
|
};
|
|
205
208
|
error: {
|
|
206
209
|
common: string;
|
|
@@ -347,11 +350,24 @@ declare const tr: {
|
|
|
347
350
|
label: string;
|
|
348
351
|
placeholder: string;
|
|
349
352
|
description: string;
|
|
353
|
+
requiredError: string;
|
|
354
|
+
noSpaceError: string;
|
|
350
355
|
};
|
|
351
356
|
label: {
|
|
352
357
|
label: string;
|
|
353
358
|
placeholder: string;
|
|
354
359
|
description: string;
|
|
360
|
+
requiredError: string;
|
|
361
|
+
};
|
|
362
|
+
description: {
|
|
363
|
+
label: string;
|
|
364
|
+
placeholder: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
placeholder: {
|
|
368
|
+
label: string;
|
|
369
|
+
placeholder: string;
|
|
370
|
+
description: string;
|
|
355
371
|
};
|
|
356
372
|
type: {
|
|
357
373
|
label: string;
|
|
@@ -364,6 +380,7 @@ declare const tr: {
|
|
|
364
380
|
options: {
|
|
365
381
|
label: string;
|
|
366
382
|
description: string;
|
|
383
|
+
requiredError: string;
|
|
367
384
|
};
|
|
368
385
|
multi: {
|
|
369
386
|
label: string;
|
|
@@ -441,6 +458,13 @@ declare const tr: {
|
|
|
441
458
|
content: string;
|
|
442
459
|
};
|
|
443
460
|
};
|
|
461
|
+
changeLanguage: {
|
|
462
|
+
confirmation: {
|
|
463
|
+
header: string;
|
|
464
|
+
confirm: string;
|
|
465
|
+
content: string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
444
468
|
};
|
|
445
469
|
};
|
|
446
470
|
};
|