appwrite-utils-cli 0.0.269 → 0.0.271
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 +22 -1
- package/dist/main.js +18 -1
- package/dist/migrations/appwriteToX.d.ts +11 -0
- package/dist/migrations/appwriteToX.js +8 -1
- package/dist/migrations/attributes.js +5 -3
- package/dist/migrations/backup.d.ts +48 -2
- package/dist/migrations/dataLoader.d.ts +106 -12
- package/dist/migrations/openapi.d.ts +4 -0
- package/dist/migrations/openapi.js +44 -0
- package/dist/migrations/relationships.d.ts +1 -0
- package/dist/migrations/schema.d.ts +358 -49
- package/dist/migrations/schema.js +67 -10
- package/dist/migrations/schemaStrings.js +47 -41
- package/dist/schemas/authUser.d.ts +3 -3
- package/dist/utilsController.d.ts +4 -1
- package/dist/utilsController.js +18 -6
- package/package.json +2 -1
- package/src/main.ts +18 -1
- package/src/migrations/appwriteToX.ts +12 -1
- package/src/migrations/attributes.ts +7 -3
- package/src/migrations/openapi.ts +69 -0
- package/src/migrations/schema.ts +89 -10
- package/src/migrations/schemaStrings.ts +49 -42
- package/src/utilsController.ts +22 -6
@@ -8,6 +8,8 @@ declare const stringAttributeSchema: z.ZodObject<{
|
|
8
8
|
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
9
9
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
10
10
|
encrypted: z.ZodOptional<z.ZodBoolean>;
|
11
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
12
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
11
13
|
}, "strip", z.ZodTypeAny, {
|
12
14
|
key: string;
|
13
15
|
type: "string";
|
@@ -17,6 +19,8 @@ declare const stringAttributeSchema: z.ZodObject<{
|
|
17
19
|
size: number;
|
18
20
|
xdefault?: string | null | undefined;
|
19
21
|
encrypted?: boolean | undefined;
|
22
|
+
format?: string | null | undefined;
|
23
|
+
description?: string | Record<string, string> | null | undefined;
|
20
24
|
}, {
|
21
25
|
key: string;
|
22
26
|
type?: "string" | undefined;
|
@@ -26,6 +30,8 @@ declare const stringAttributeSchema: z.ZodObject<{
|
|
26
30
|
size?: number | undefined;
|
27
31
|
xdefault?: string | null | undefined;
|
28
32
|
encrypted?: boolean | undefined;
|
33
|
+
format?: string | null | undefined;
|
34
|
+
description?: string | Record<string, string> | null | undefined;
|
29
35
|
}>;
|
30
36
|
type StringAttribute = z.infer<typeof stringAttributeSchema>;
|
31
37
|
declare const integerAttributeSchema: z.ZodObject<{
|
@@ -37,6 +43,7 @@ declare const integerAttributeSchema: z.ZodObject<{
|
|
37
43
|
min: z.ZodOptional<z.ZodNumber>;
|
38
44
|
max: z.ZodOptional<z.ZodNumber>;
|
39
45
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
46
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
40
47
|
}, "strip", z.ZodTypeAny, {
|
41
48
|
key: string;
|
42
49
|
type: "integer";
|
@@ -46,6 +53,7 @@ declare const integerAttributeSchema: z.ZodObject<{
|
|
46
53
|
min?: number | undefined;
|
47
54
|
max?: number | undefined;
|
48
55
|
xdefault?: number | null | undefined;
|
56
|
+
description?: string | Record<string, string> | null | undefined;
|
49
57
|
}, {
|
50
58
|
key: string;
|
51
59
|
type?: "integer" | undefined;
|
@@ -55,6 +63,7 @@ declare const integerAttributeSchema: z.ZodObject<{
|
|
55
63
|
min?: number | undefined;
|
56
64
|
max?: number | undefined;
|
57
65
|
xdefault?: number | null | undefined;
|
66
|
+
description?: string | Record<string, string> | null | undefined;
|
58
67
|
}>;
|
59
68
|
type IntegerAttribute = z.infer<typeof integerAttributeSchema>;
|
60
69
|
declare const floatAttributeSchema: z.ZodObject<{
|
@@ -66,6 +75,7 @@ declare const floatAttributeSchema: z.ZodObject<{
|
|
66
75
|
min: z.ZodOptional<z.ZodNumber>;
|
67
76
|
max: z.ZodOptional<z.ZodNumber>;
|
68
77
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
78
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
69
79
|
}, "strip", z.ZodTypeAny, {
|
70
80
|
key: string;
|
71
81
|
type: "float";
|
@@ -75,6 +85,7 @@ declare const floatAttributeSchema: z.ZodObject<{
|
|
75
85
|
min?: number | undefined;
|
76
86
|
max?: number | undefined;
|
77
87
|
xdefault?: number | null | undefined;
|
88
|
+
description?: string | Record<string, string> | null | undefined;
|
78
89
|
}, {
|
79
90
|
key: string;
|
80
91
|
type?: "float" | undefined;
|
@@ -84,6 +95,7 @@ declare const floatAttributeSchema: z.ZodObject<{
|
|
84
95
|
min?: number | undefined;
|
85
96
|
max?: number | undefined;
|
86
97
|
xdefault?: number | null | undefined;
|
98
|
+
description?: string | Record<string, string> | null | undefined;
|
87
99
|
}>;
|
88
100
|
type FloatAttribute = z.infer<typeof floatAttributeSchema>;
|
89
101
|
declare const booleanAttributeSchema: z.ZodObject<{
|
@@ -93,6 +105,7 @@ declare const booleanAttributeSchema: z.ZodObject<{
|
|
93
105
|
required: z.ZodDefault<z.ZodBoolean>;
|
94
106
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
95
107
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
108
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
96
109
|
}, "strip", z.ZodTypeAny, {
|
97
110
|
key: string;
|
98
111
|
type: "boolean";
|
@@ -100,6 +113,7 @@ declare const booleanAttributeSchema: z.ZodObject<{
|
|
100
113
|
required: boolean;
|
101
114
|
array: boolean;
|
102
115
|
xdefault?: boolean | null | undefined;
|
116
|
+
description?: string | Record<string, string> | null | undefined;
|
103
117
|
}, {
|
104
118
|
key: string;
|
105
119
|
type?: "boolean" | undefined;
|
@@ -107,6 +121,7 @@ declare const booleanAttributeSchema: z.ZodObject<{
|
|
107
121
|
required?: boolean | undefined;
|
108
122
|
array?: boolean | undefined;
|
109
123
|
xdefault?: boolean | null | undefined;
|
124
|
+
description?: string | Record<string, string> | null | undefined;
|
110
125
|
}>;
|
111
126
|
type BooleanAttribute = z.infer<typeof booleanAttributeSchema>;
|
112
127
|
declare const datetimeAttributeSchema: z.ZodObject<{
|
@@ -116,6 +131,7 @@ declare const datetimeAttributeSchema: z.ZodObject<{
|
|
116
131
|
required: z.ZodDefault<z.ZodBoolean>;
|
117
132
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
118
133
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
134
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
119
135
|
}, "strip", z.ZodTypeAny, {
|
120
136
|
key: string;
|
121
137
|
type: "datetime";
|
@@ -123,6 +139,7 @@ declare const datetimeAttributeSchema: z.ZodObject<{
|
|
123
139
|
required: boolean;
|
124
140
|
array: boolean;
|
125
141
|
xdefault?: string | null | undefined;
|
142
|
+
description?: string | Record<string, string> | null | undefined;
|
126
143
|
}, {
|
127
144
|
key: string;
|
128
145
|
type?: "datetime" | undefined;
|
@@ -130,6 +147,7 @@ declare const datetimeAttributeSchema: z.ZodObject<{
|
|
130
147
|
required?: boolean | undefined;
|
131
148
|
array?: boolean | undefined;
|
132
149
|
xdefault?: string | null | undefined;
|
150
|
+
description?: string | Record<string, string> | null | undefined;
|
133
151
|
}>;
|
134
152
|
type DatetimeAttribute = z.infer<typeof datetimeAttributeSchema>;
|
135
153
|
declare const emailAttributeSchema: z.ZodObject<{
|
@@ -139,6 +157,7 @@ declare const emailAttributeSchema: z.ZodObject<{
|
|
139
157
|
required: z.ZodDefault<z.ZodBoolean>;
|
140
158
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
141
159
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
160
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
142
161
|
}, "strip", z.ZodTypeAny, {
|
143
162
|
key: string;
|
144
163
|
type: "email";
|
@@ -146,6 +165,7 @@ declare const emailAttributeSchema: z.ZodObject<{
|
|
146
165
|
required: boolean;
|
147
166
|
array: boolean;
|
148
167
|
xdefault?: string | null | undefined;
|
168
|
+
description?: string | Record<string, string> | null | undefined;
|
149
169
|
}, {
|
150
170
|
key: string;
|
151
171
|
type?: "email" | undefined;
|
@@ -153,6 +173,7 @@ declare const emailAttributeSchema: z.ZodObject<{
|
|
153
173
|
required?: boolean | undefined;
|
154
174
|
array?: boolean | undefined;
|
155
175
|
xdefault?: string | null | undefined;
|
176
|
+
description?: string | Record<string, string> | null | undefined;
|
156
177
|
}>;
|
157
178
|
type EmailAttribute = z.infer<typeof emailAttributeSchema>;
|
158
179
|
declare const ipAttributeSchema: z.ZodObject<{
|
@@ -162,6 +183,7 @@ declare const ipAttributeSchema: z.ZodObject<{
|
|
162
183
|
required: z.ZodDefault<z.ZodBoolean>;
|
163
184
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
164
185
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
186
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
165
187
|
}, "strip", z.ZodTypeAny, {
|
166
188
|
key: string;
|
167
189
|
type: "ip";
|
@@ -169,6 +191,7 @@ declare const ipAttributeSchema: z.ZodObject<{
|
|
169
191
|
required: boolean;
|
170
192
|
array: boolean;
|
171
193
|
xdefault?: string | null | undefined;
|
194
|
+
description?: string | Record<string, string> | null | undefined;
|
172
195
|
}, {
|
173
196
|
key: string;
|
174
197
|
type: "ip";
|
@@ -176,6 +199,7 @@ declare const ipAttributeSchema: z.ZodObject<{
|
|
176
199
|
required?: boolean | undefined;
|
177
200
|
array?: boolean | undefined;
|
178
201
|
xdefault?: string | null | undefined;
|
202
|
+
description?: string | Record<string, string> | null | undefined;
|
179
203
|
}>;
|
180
204
|
type IpAttribute = z.infer<typeof ipAttributeSchema>;
|
181
205
|
declare const urlAttributeSchema: z.ZodObject<{
|
@@ -185,6 +209,7 @@ declare const urlAttributeSchema: z.ZodObject<{
|
|
185
209
|
required: z.ZodDefault<z.ZodBoolean>;
|
186
210
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
187
211
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
212
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
188
213
|
}, "strip", z.ZodTypeAny, {
|
189
214
|
key: string;
|
190
215
|
type: "url";
|
@@ -192,6 +217,7 @@ declare const urlAttributeSchema: z.ZodObject<{
|
|
192
217
|
required: boolean;
|
193
218
|
array: boolean;
|
194
219
|
xdefault?: string | null | undefined;
|
220
|
+
description?: string | Record<string, string> | null | undefined;
|
195
221
|
}, {
|
196
222
|
key: string;
|
197
223
|
type?: "url" | undefined;
|
@@ -199,6 +225,7 @@ declare const urlAttributeSchema: z.ZodObject<{
|
|
199
225
|
required?: boolean | undefined;
|
200
226
|
array?: boolean | undefined;
|
201
227
|
xdefault?: string | null | undefined;
|
228
|
+
description?: string | Record<string, string> | null | undefined;
|
202
229
|
}>;
|
203
230
|
type UrlAttribute = z.infer<typeof urlAttributeSchema>;
|
204
231
|
declare const enumAttributeSchema: z.ZodObject<{
|
@@ -209,6 +236,7 @@ declare const enumAttributeSchema: z.ZodObject<{
|
|
209
236
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
210
237
|
elements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
211
238
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
239
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
212
240
|
}, "strip", z.ZodTypeAny, {
|
213
241
|
key: string;
|
214
242
|
type: "enum";
|
@@ -217,6 +245,7 @@ declare const enumAttributeSchema: z.ZodObject<{
|
|
217
245
|
array: boolean;
|
218
246
|
elements: string[];
|
219
247
|
xdefault?: string | null | undefined;
|
248
|
+
description?: string | Record<string, string> | null | undefined;
|
220
249
|
}, {
|
221
250
|
key: string;
|
222
251
|
type?: "enum" | undefined;
|
@@ -225,6 +254,7 @@ declare const enumAttributeSchema: z.ZodObject<{
|
|
225
254
|
array?: boolean | undefined;
|
226
255
|
elements?: string[] | undefined;
|
227
256
|
xdefault?: string | null | undefined;
|
257
|
+
description?: string | Record<string, string> | null | undefined;
|
228
258
|
}>;
|
229
259
|
type EnumAttribute = z.infer<typeof enumAttributeSchema>;
|
230
260
|
declare const relationshipAttributeSchema: z.ZodObject<{
|
@@ -249,6 +279,7 @@ declare const relationshipAttributeSchema: z.ZodObject<{
|
|
249
279
|
originalIdField: string;
|
250
280
|
targetField?: string | undefined;
|
251
281
|
}>>;
|
282
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
252
283
|
}, "strip", z.ZodTypeAny, {
|
253
284
|
key: string;
|
254
285
|
type: "relationship";
|
@@ -265,6 +296,7 @@ declare const relationshipAttributeSchema: z.ZodObject<{
|
|
265
296
|
originalIdField: string;
|
266
297
|
targetField?: string | undefined;
|
267
298
|
} | undefined;
|
299
|
+
description?: string | Record<string, string> | null | undefined;
|
268
300
|
}, {
|
269
301
|
key: string;
|
270
302
|
relatedCollection: string;
|
@@ -281,6 +313,7 @@ declare const relationshipAttributeSchema: z.ZodObject<{
|
|
281
313
|
originalIdField: string;
|
282
314
|
targetField?: string | undefined;
|
283
315
|
} | undefined;
|
316
|
+
description?: string | Record<string, string> | null | undefined;
|
284
317
|
}>;
|
285
318
|
export type RelationshipAttribute = z.infer<typeof relationshipAttributeSchema>;
|
286
319
|
export declare const createRelationshipAttributes: (relatedCollection: string, relationType: "oneToMany" | "manyToOne" | "oneToOne" | "manyToMany", twoWay: boolean, twoWayKey: string, onDelete: "setNull" | "cascade" | "restrict", side: "parent" | "child") => {
|
@@ -299,8 +332,9 @@ export declare const createRelationshipAttributes: (relatedCollection: string, r
|
|
299
332
|
originalIdField: string;
|
300
333
|
targetField?: string | undefined;
|
301
334
|
} | undefined;
|
335
|
+
description?: string | Record<string, string> | null | undefined;
|
302
336
|
};
|
303
|
-
export declare const attributeSchema: z.
|
337
|
+
export declare const attributeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
304
338
|
key: z.ZodString;
|
305
339
|
type: z.ZodDefault<z.ZodLiteral<"string">>;
|
306
340
|
error: z.ZodDefault<z.ZodString>;
|
@@ -309,6 +343,8 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
309
343
|
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
310
344
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
311
345
|
encrypted: z.ZodOptional<z.ZodBoolean>;
|
346
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
347
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
312
348
|
}, "strip", z.ZodTypeAny, {
|
313
349
|
key: string;
|
314
350
|
type: "string";
|
@@ -318,6 +354,8 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
318
354
|
size: number;
|
319
355
|
xdefault?: string | null | undefined;
|
320
356
|
encrypted?: boolean | undefined;
|
357
|
+
format?: string | null | undefined;
|
358
|
+
description?: string | Record<string, string> | null | undefined;
|
321
359
|
}, {
|
322
360
|
key: string;
|
323
361
|
type?: "string" | undefined;
|
@@ -327,6 +365,8 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
327
365
|
size?: number | undefined;
|
328
366
|
xdefault?: string | null | undefined;
|
329
367
|
encrypted?: boolean | undefined;
|
368
|
+
format?: string | null | undefined;
|
369
|
+
description?: string | Record<string, string> | null | undefined;
|
330
370
|
}>, z.ZodObject<{
|
331
371
|
key: z.ZodString;
|
332
372
|
type: z.ZodDefault<z.ZodLiteral<"integer">>;
|
@@ -336,6 +376,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
336
376
|
min: z.ZodOptional<z.ZodNumber>;
|
337
377
|
max: z.ZodOptional<z.ZodNumber>;
|
338
378
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
379
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
339
380
|
}, "strip", z.ZodTypeAny, {
|
340
381
|
key: string;
|
341
382
|
type: "integer";
|
@@ -345,6 +386,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
345
386
|
min?: number | undefined;
|
346
387
|
max?: number | undefined;
|
347
388
|
xdefault?: number | null | undefined;
|
389
|
+
description?: string | Record<string, string> | null | undefined;
|
348
390
|
}, {
|
349
391
|
key: string;
|
350
392
|
type?: "integer" | undefined;
|
@@ -354,7 +396,8 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
354
396
|
min?: number | undefined;
|
355
397
|
max?: number | undefined;
|
356
398
|
xdefault?: number | null | undefined;
|
357
|
-
|
399
|
+
description?: string | Record<string, string> | null | undefined;
|
400
|
+
}>, z.ZodObject<{
|
358
401
|
key: z.ZodString;
|
359
402
|
type: z.ZodDefault<z.ZodLiteral<"float">>;
|
360
403
|
error: z.ZodDefault<z.ZodString>;
|
@@ -363,6 +406,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
363
406
|
min: z.ZodOptional<z.ZodNumber>;
|
364
407
|
max: z.ZodOptional<z.ZodNumber>;
|
365
408
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
409
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
366
410
|
}, "strip", z.ZodTypeAny, {
|
367
411
|
key: string;
|
368
412
|
type: "float";
|
@@ -372,6 +416,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
372
416
|
min?: number | undefined;
|
373
417
|
max?: number | undefined;
|
374
418
|
xdefault?: number | null | undefined;
|
419
|
+
description?: string | Record<string, string> | null | undefined;
|
375
420
|
}, {
|
376
421
|
key: string;
|
377
422
|
type?: "float" | undefined;
|
@@ -381,13 +426,15 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
381
426
|
min?: number | undefined;
|
382
427
|
max?: number | undefined;
|
383
428
|
xdefault?: number | null | undefined;
|
384
|
-
|
429
|
+
description?: string | Record<string, string> | null | undefined;
|
430
|
+
}>, z.ZodObject<{
|
385
431
|
key: z.ZodString;
|
386
432
|
type: z.ZodDefault<z.ZodLiteral<"boolean">>;
|
387
433
|
error: z.ZodDefault<z.ZodString>;
|
388
434
|
required: z.ZodDefault<z.ZodBoolean>;
|
389
435
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
390
436
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
437
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
391
438
|
}, "strip", z.ZodTypeAny, {
|
392
439
|
key: string;
|
393
440
|
type: "boolean";
|
@@ -395,6 +442,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
395
442
|
required: boolean;
|
396
443
|
array: boolean;
|
397
444
|
xdefault?: boolean | null | undefined;
|
445
|
+
description?: string | Record<string, string> | null | undefined;
|
398
446
|
}, {
|
399
447
|
key: string;
|
400
448
|
type?: "boolean" | undefined;
|
@@ -402,13 +450,15 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
402
450
|
required?: boolean | undefined;
|
403
451
|
array?: boolean | undefined;
|
404
452
|
xdefault?: boolean | null | undefined;
|
405
|
-
|
453
|
+
description?: string | Record<string, string> | null | undefined;
|
454
|
+
}>, z.ZodObject<{
|
406
455
|
key: z.ZodString;
|
407
456
|
type: z.ZodDefault<z.ZodLiteral<"datetime">>;
|
408
457
|
error: z.ZodDefault<z.ZodString>;
|
409
458
|
required: z.ZodDefault<z.ZodBoolean>;
|
410
459
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
411
460
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
461
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
412
462
|
}, "strip", z.ZodTypeAny, {
|
413
463
|
key: string;
|
414
464
|
type: "datetime";
|
@@ -416,6 +466,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
416
466
|
required: boolean;
|
417
467
|
array: boolean;
|
418
468
|
xdefault?: string | null | undefined;
|
469
|
+
description?: string | Record<string, string> | null | undefined;
|
419
470
|
}, {
|
420
471
|
key: string;
|
421
472
|
type?: "datetime" | undefined;
|
@@ -423,13 +474,15 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
423
474
|
required?: boolean | undefined;
|
424
475
|
array?: boolean | undefined;
|
425
476
|
xdefault?: string | null | undefined;
|
426
|
-
|
477
|
+
description?: string | Record<string, string> | null | undefined;
|
478
|
+
}>, z.ZodObject<{
|
427
479
|
key: z.ZodString;
|
428
480
|
type: z.ZodDefault<z.ZodLiteral<"email">>;
|
429
481
|
error: z.ZodDefault<z.ZodString>;
|
430
482
|
required: z.ZodDefault<z.ZodBoolean>;
|
431
483
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
432
484
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
485
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
433
486
|
}, "strip", z.ZodTypeAny, {
|
434
487
|
key: string;
|
435
488
|
type: "email";
|
@@ -437,6 +490,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
437
490
|
required: boolean;
|
438
491
|
array: boolean;
|
439
492
|
xdefault?: string | null | undefined;
|
493
|
+
description?: string | Record<string, string> | null | undefined;
|
440
494
|
}, {
|
441
495
|
key: string;
|
442
496
|
type?: "email" | undefined;
|
@@ -444,13 +498,15 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
444
498
|
required?: boolean | undefined;
|
445
499
|
array?: boolean | undefined;
|
446
500
|
xdefault?: string | null | undefined;
|
447
|
-
|
501
|
+
description?: string | Record<string, string> | null | undefined;
|
502
|
+
}>, z.ZodObject<{
|
448
503
|
key: z.ZodString;
|
449
504
|
type: z.ZodLiteral<"ip">;
|
450
505
|
error: z.ZodDefault<z.ZodString>;
|
451
506
|
required: z.ZodDefault<z.ZodBoolean>;
|
452
507
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
453
508
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
509
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
454
510
|
}, "strip", z.ZodTypeAny, {
|
455
511
|
key: string;
|
456
512
|
type: "ip";
|
@@ -458,6 +514,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
458
514
|
required: boolean;
|
459
515
|
array: boolean;
|
460
516
|
xdefault?: string | null | undefined;
|
517
|
+
description?: string | Record<string, string> | null | undefined;
|
461
518
|
}, {
|
462
519
|
key: string;
|
463
520
|
type: "ip";
|
@@ -465,13 +522,15 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
465
522
|
required?: boolean | undefined;
|
466
523
|
array?: boolean | undefined;
|
467
524
|
xdefault?: string | null | undefined;
|
468
|
-
|
525
|
+
description?: string | Record<string, string> | null | undefined;
|
526
|
+
}>, z.ZodObject<{
|
469
527
|
key: z.ZodString;
|
470
528
|
type: z.ZodDefault<z.ZodLiteral<"url">>;
|
471
529
|
error: z.ZodDefault<z.ZodString>;
|
472
530
|
required: z.ZodDefault<z.ZodBoolean>;
|
473
531
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
474
532
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
533
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
475
534
|
}, "strip", z.ZodTypeAny, {
|
476
535
|
key: string;
|
477
536
|
type: "url";
|
@@ -479,6 +538,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
479
538
|
required: boolean;
|
480
539
|
array: boolean;
|
481
540
|
xdefault?: string | null | undefined;
|
541
|
+
description?: string | Record<string, string> | null | undefined;
|
482
542
|
}, {
|
483
543
|
key: string;
|
484
544
|
type?: "url" | undefined;
|
@@ -486,7 +546,8 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
486
546
|
required?: boolean | undefined;
|
487
547
|
array?: boolean | undefined;
|
488
548
|
xdefault?: string | null | undefined;
|
489
|
-
|
549
|
+
description?: string | Record<string, string> | null | undefined;
|
550
|
+
}>, z.ZodObject<{
|
490
551
|
key: z.ZodString;
|
491
552
|
type: z.ZodDefault<z.ZodLiteral<"enum">>;
|
492
553
|
error: z.ZodDefault<z.ZodString>;
|
@@ -494,6 +555,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
494
555
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
495
556
|
elements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
496
557
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
558
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
497
559
|
}, "strip", z.ZodTypeAny, {
|
498
560
|
key: string;
|
499
561
|
type: "enum";
|
@@ -502,6 +564,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
502
564
|
array: boolean;
|
503
565
|
elements: string[];
|
504
566
|
xdefault?: string | null | undefined;
|
567
|
+
description?: string | Record<string, string> | null | undefined;
|
505
568
|
}, {
|
506
569
|
key: string;
|
507
570
|
type?: "enum" | undefined;
|
@@ -510,7 +573,8 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
510
573
|
array?: boolean | undefined;
|
511
574
|
elements?: string[] | undefined;
|
512
575
|
xdefault?: string | null | undefined;
|
513
|
-
|
576
|
+
description?: string | Record<string, string> | null | undefined;
|
577
|
+
}>, z.ZodObject<{
|
514
578
|
key: z.ZodString;
|
515
579
|
type: z.ZodDefault<z.ZodLiteral<"relationship">>;
|
516
580
|
error: z.ZodDefault<z.ZodString>;
|
@@ -532,6 +596,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
532
596
|
originalIdField: string;
|
533
597
|
targetField?: string | undefined;
|
534
598
|
}>>;
|
599
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
535
600
|
}, "strip", z.ZodTypeAny, {
|
536
601
|
key: string;
|
537
602
|
type: "relationship";
|
@@ -548,6 +613,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
548
613
|
originalIdField: string;
|
549
614
|
targetField?: string | undefined;
|
550
615
|
} | undefined;
|
616
|
+
description?: string | Record<string, string> | null | undefined;
|
551
617
|
}, {
|
552
618
|
key: string;
|
553
619
|
relatedCollection: string;
|
@@ -564,6 +630,7 @@ export declare const attributeSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodU
|
|
564
630
|
originalIdField: string;
|
565
631
|
targetField?: string | undefined;
|
566
632
|
} | undefined;
|
633
|
+
description?: string | Record<string, string> | null | undefined;
|
567
634
|
}>]>;
|
568
635
|
export declare const parseAttribute: (attribute: StringAttribute | IntegerAttribute | FloatAttribute | BooleanAttribute | DatetimeAttribute | EmailAttribute | IpAttribute | UrlAttribute | EnumAttribute | RelationshipAttribute) => {
|
569
636
|
key: string;
|
@@ -574,6 +641,8 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
574
641
|
size: number;
|
575
642
|
xdefault?: string | null | undefined;
|
576
643
|
encrypted?: boolean | undefined;
|
644
|
+
format?: string | null | undefined;
|
645
|
+
description?: string | Record<string, string> | null | undefined;
|
577
646
|
} | {
|
578
647
|
key: string;
|
579
648
|
type: "integer";
|
@@ -583,6 +652,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
583
652
|
min?: number | undefined;
|
584
653
|
max?: number | undefined;
|
585
654
|
xdefault?: number | null | undefined;
|
655
|
+
description?: string | Record<string, string> | null | undefined;
|
586
656
|
} | {
|
587
657
|
key: string;
|
588
658
|
type: "float";
|
@@ -592,6 +662,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
592
662
|
min?: number | undefined;
|
593
663
|
max?: number | undefined;
|
594
664
|
xdefault?: number | null | undefined;
|
665
|
+
description?: string | Record<string, string> | null | undefined;
|
595
666
|
} | {
|
596
667
|
key: string;
|
597
668
|
type: "boolean";
|
@@ -599,6 +670,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
599
670
|
required: boolean;
|
600
671
|
array: boolean;
|
601
672
|
xdefault?: boolean | null | undefined;
|
673
|
+
description?: string | Record<string, string> | null | undefined;
|
602
674
|
} | {
|
603
675
|
key: string;
|
604
676
|
type: "datetime";
|
@@ -606,6 +678,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
606
678
|
required: boolean;
|
607
679
|
array: boolean;
|
608
680
|
xdefault?: string | null | undefined;
|
681
|
+
description?: string | Record<string, string> | null | undefined;
|
609
682
|
} | {
|
610
683
|
key: string;
|
611
684
|
type: "email";
|
@@ -613,6 +686,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
613
686
|
required: boolean;
|
614
687
|
array: boolean;
|
615
688
|
xdefault?: string | null | undefined;
|
689
|
+
description?: string | Record<string, string> | null | undefined;
|
616
690
|
} | {
|
617
691
|
key: string;
|
618
692
|
type: "ip";
|
@@ -620,6 +694,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
620
694
|
required: boolean;
|
621
695
|
array: boolean;
|
622
696
|
xdefault?: string | null | undefined;
|
697
|
+
description?: string | Record<string, string> | null | undefined;
|
623
698
|
} | {
|
624
699
|
key: string;
|
625
700
|
type: "url";
|
@@ -627,6 +702,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
627
702
|
required: boolean;
|
628
703
|
array: boolean;
|
629
704
|
xdefault?: string | null | undefined;
|
705
|
+
description?: string | Record<string, string> | null | undefined;
|
630
706
|
} | {
|
631
707
|
key: string;
|
632
708
|
type: "enum";
|
@@ -635,6 +711,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
635
711
|
array: boolean;
|
636
712
|
elements: string[];
|
637
713
|
xdefault?: string | null | undefined;
|
714
|
+
description?: string | Record<string, string> | null | undefined;
|
638
715
|
} | {
|
639
716
|
key: string;
|
640
717
|
type: "relationship";
|
@@ -651,6 +728,7 @@ export declare const parseAttribute: (attribute: StringAttribute | IntegerAttrib
|
|
651
728
|
originalIdField: string;
|
652
729
|
targetField?: string | undefined;
|
653
730
|
} | undefined;
|
731
|
+
description?: string | Record<string, string> | null | undefined;
|
654
732
|
};
|
655
733
|
export type Attribute = z.infer<typeof attributeSchema>;
|
656
734
|
export declare const indexSchema: z.ZodObject<{
|
@@ -1146,7 +1224,7 @@ export declare const permissionsSchema: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.Z
|
|
1146
1224
|
permission: string;
|
1147
1225
|
target: string;
|
1148
1226
|
}, string>]>, "many">>;
|
1149
|
-
export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.
|
1227
|
+
export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
1150
1228
|
key: z.ZodString;
|
1151
1229
|
type: z.ZodDefault<z.ZodLiteral<"string">>;
|
1152
1230
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1155,6 +1233,8 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1155
1233
|
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
1156
1234
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1157
1235
|
encrypted: z.ZodOptional<z.ZodBoolean>;
|
1236
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1237
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1158
1238
|
}, "strip", z.ZodTypeAny, {
|
1159
1239
|
key: string;
|
1160
1240
|
type: "string";
|
@@ -1164,6 +1244,8 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1164
1244
|
size: number;
|
1165
1245
|
xdefault?: string | null | undefined;
|
1166
1246
|
encrypted?: boolean | undefined;
|
1247
|
+
format?: string | null | undefined;
|
1248
|
+
description?: string | Record<string, string> | null | undefined;
|
1167
1249
|
}, {
|
1168
1250
|
key: string;
|
1169
1251
|
type?: "string" | undefined;
|
@@ -1173,6 +1255,8 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1173
1255
|
size?: number | undefined;
|
1174
1256
|
xdefault?: string | null | undefined;
|
1175
1257
|
encrypted?: boolean | undefined;
|
1258
|
+
format?: string | null | undefined;
|
1259
|
+
description?: string | Record<string, string> | null | undefined;
|
1176
1260
|
}>, z.ZodObject<{
|
1177
1261
|
key: z.ZodString;
|
1178
1262
|
type: z.ZodDefault<z.ZodLiteral<"integer">>;
|
@@ -1182,6 +1266,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1182
1266
|
min: z.ZodOptional<z.ZodNumber>;
|
1183
1267
|
max: z.ZodOptional<z.ZodNumber>;
|
1184
1268
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1269
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1185
1270
|
}, "strip", z.ZodTypeAny, {
|
1186
1271
|
key: string;
|
1187
1272
|
type: "integer";
|
@@ -1191,6 +1276,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1191
1276
|
min?: number | undefined;
|
1192
1277
|
max?: number | undefined;
|
1193
1278
|
xdefault?: number | null | undefined;
|
1279
|
+
description?: string | Record<string, string> | null | undefined;
|
1194
1280
|
}, {
|
1195
1281
|
key: string;
|
1196
1282
|
type?: "integer" | undefined;
|
@@ -1200,7 +1286,8 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1200
1286
|
min?: number | undefined;
|
1201
1287
|
max?: number | undefined;
|
1202
1288
|
xdefault?: number | null | undefined;
|
1203
|
-
|
1289
|
+
description?: string | Record<string, string> | null | undefined;
|
1290
|
+
}>, z.ZodObject<{
|
1204
1291
|
key: z.ZodString;
|
1205
1292
|
type: z.ZodDefault<z.ZodLiteral<"float">>;
|
1206
1293
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1209,6 +1296,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1209
1296
|
min: z.ZodOptional<z.ZodNumber>;
|
1210
1297
|
max: z.ZodOptional<z.ZodNumber>;
|
1211
1298
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1299
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1212
1300
|
}, "strip", z.ZodTypeAny, {
|
1213
1301
|
key: string;
|
1214
1302
|
type: "float";
|
@@ -1218,6 +1306,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1218
1306
|
min?: number | undefined;
|
1219
1307
|
max?: number | undefined;
|
1220
1308
|
xdefault?: number | null | undefined;
|
1309
|
+
description?: string | Record<string, string> | null | undefined;
|
1221
1310
|
}, {
|
1222
1311
|
key: string;
|
1223
1312
|
type?: "float" | undefined;
|
@@ -1227,13 +1316,15 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1227
1316
|
min?: number | undefined;
|
1228
1317
|
max?: number | undefined;
|
1229
1318
|
xdefault?: number | null | undefined;
|
1230
|
-
|
1319
|
+
description?: string | Record<string, string> | null | undefined;
|
1320
|
+
}>, z.ZodObject<{
|
1231
1321
|
key: z.ZodString;
|
1232
1322
|
type: z.ZodDefault<z.ZodLiteral<"boolean">>;
|
1233
1323
|
error: z.ZodDefault<z.ZodString>;
|
1234
1324
|
required: z.ZodDefault<z.ZodBoolean>;
|
1235
1325
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1236
1326
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
1327
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1237
1328
|
}, "strip", z.ZodTypeAny, {
|
1238
1329
|
key: string;
|
1239
1330
|
type: "boolean";
|
@@ -1241,6 +1332,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1241
1332
|
required: boolean;
|
1242
1333
|
array: boolean;
|
1243
1334
|
xdefault?: boolean | null | undefined;
|
1335
|
+
description?: string | Record<string, string> | null | undefined;
|
1244
1336
|
}, {
|
1245
1337
|
key: string;
|
1246
1338
|
type?: "boolean" | undefined;
|
@@ -1248,13 +1340,15 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1248
1340
|
required?: boolean | undefined;
|
1249
1341
|
array?: boolean | undefined;
|
1250
1342
|
xdefault?: boolean | null | undefined;
|
1251
|
-
|
1343
|
+
description?: string | Record<string, string> | null | undefined;
|
1344
|
+
}>, z.ZodObject<{
|
1252
1345
|
key: z.ZodString;
|
1253
1346
|
type: z.ZodDefault<z.ZodLiteral<"datetime">>;
|
1254
1347
|
error: z.ZodDefault<z.ZodString>;
|
1255
1348
|
required: z.ZodDefault<z.ZodBoolean>;
|
1256
1349
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1257
1350
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1351
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1258
1352
|
}, "strip", z.ZodTypeAny, {
|
1259
1353
|
key: string;
|
1260
1354
|
type: "datetime";
|
@@ -1262,6 +1356,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1262
1356
|
required: boolean;
|
1263
1357
|
array: boolean;
|
1264
1358
|
xdefault?: string | null | undefined;
|
1359
|
+
description?: string | Record<string, string> | null | undefined;
|
1265
1360
|
}, {
|
1266
1361
|
key: string;
|
1267
1362
|
type?: "datetime" | undefined;
|
@@ -1269,13 +1364,15 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1269
1364
|
required?: boolean | undefined;
|
1270
1365
|
array?: boolean | undefined;
|
1271
1366
|
xdefault?: string | null | undefined;
|
1272
|
-
|
1367
|
+
description?: string | Record<string, string> | null | undefined;
|
1368
|
+
}>, z.ZodObject<{
|
1273
1369
|
key: z.ZodString;
|
1274
1370
|
type: z.ZodDefault<z.ZodLiteral<"email">>;
|
1275
1371
|
error: z.ZodDefault<z.ZodString>;
|
1276
1372
|
required: z.ZodDefault<z.ZodBoolean>;
|
1277
1373
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1278
1374
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1375
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1279
1376
|
}, "strip", z.ZodTypeAny, {
|
1280
1377
|
key: string;
|
1281
1378
|
type: "email";
|
@@ -1283,6 +1380,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1283
1380
|
required: boolean;
|
1284
1381
|
array: boolean;
|
1285
1382
|
xdefault?: string | null | undefined;
|
1383
|
+
description?: string | Record<string, string> | null | undefined;
|
1286
1384
|
}, {
|
1287
1385
|
key: string;
|
1288
1386
|
type?: "email" | undefined;
|
@@ -1290,13 +1388,15 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1290
1388
|
required?: boolean | undefined;
|
1291
1389
|
array?: boolean | undefined;
|
1292
1390
|
xdefault?: string | null | undefined;
|
1293
|
-
|
1391
|
+
description?: string | Record<string, string> | null | undefined;
|
1392
|
+
}>, z.ZodObject<{
|
1294
1393
|
key: z.ZodString;
|
1295
1394
|
type: z.ZodLiteral<"ip">;
|
1296
1395
|
error: z.ZodDefault<z.ZodString>;
|
1297
1396
|
required: z.ZodDefault<z.ZodBoolean>;
|
1298
1397
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1299
1398
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1399
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1300
1400
|
}, "strip", z.ZodTypeAny, {
|
1301
1401
|
key: string;
|
1302
1402
|
type: "ip";
|
@@ -1304,6 +1404,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1304
1404
|
required: boolean;
|
1305
1405
|
array: boolean;
|
1306
1406
|
xdefault?: string | null | undefined;
|
1407
|
+
description?: string | Record<string, string> | null | undefined;
|
1307
1408
|
}, {
|
1308
1409
|
key: string;
|
1309
1410
|
type: "ip";
|
@@ -1311,13 +1412,15 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1311
1412
|
required?: boolean | undefined;
|
1312
1413
|
array?: boolean | undefined;
|
1313
1414
|
xdefault?: string | null | undefined;
|
1314
|
-
|
1415
|
+
description?: string | Record<string, string> | null | undefined;
|
1416
|
+
}>, z.ZodObject<{
|
1315
1417
|
key: z.ZodString;
|
1316
1418
|
type: z.ZodDefault<z.ZodLiteral<"url">>;
|
1317
1419
|
error: z.ZodDefault<z.ZodString>;
|
1318
1420
|
required: z.ZodDefault<z.ZodBoolean>;
|
1319
1421
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1320
1422
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1423
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1321
1424
|
}, "strip", z.ZodTypeAny, {
|
1322
1425
|
key: string;
|
1323
1426
|
type: "url";
|
@@ -1325,6 +1428,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1325
1428
|
required: boolean;
|
1326
1429
|
array: boolean;
|
1327
1430
|
xdefault?: string | null | undefined;
|
1431
|
+
description?: string | Record<string, string> | null | undefined;
|
1328
1432
|
}, {
|
1329
1433
|
key: string;
|
1330
1434
|
type?: "url" | undefined;
|
@@ -1332,7 +1436,8 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1332
1436
|
required?: boolean | undefined;
|
1333
1437
|
array?: boolean | undefined;
|
1334
1438
|
xdefault?: string | null | undefined;
|
1335
|
-
|
1439
|
+
description?: string | Record<string, string> | null | undefined;
|
1440
|
+
}>, z.ZodObject<{
|
1336
1441
|
key: z.ZodString;
|
1337
1442
|
type: z.ZodDefault<z.ZodLiteral<"enum">>;
|
1338
1443
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1340,6 +1445,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1340
1445
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1341
1446
|
elements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
1342
1447
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1448
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1343
1449
|
}, "strip", z.ZodTypeAny, {
|
1344
1450
|
key: string;
|
1345
1451
|
type: "enum";
|
@@ -1348,6 +1454,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1348
1454
|
array: boolean;
|
1349
1455
|
elements: string[];
|
1350
1456
|
xdefault?: string | null | undefined;
|
1457
|
+
description?: string | Record<string, string> | null | undefined;
|
1351
1458
|
}, {
|
1352
1459
|
key: string;
|
1353
1460
|
type?: "enum" | undefined;
|
@@ -1356,7 +1463,8 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1356
1463
|
array?: boolean | undefined;
|
1357
1464
|
elements?: string[] | undefined;
|
1358
1465
|
xdefault?: string | null | undefined;
|
1359
|
-
|
1466
|
+
description?: string | Record<string, string> | null | undefined;
|
1467
|
+
}>, z.ZodObject<{
|
1360
1468
|
key: z.ZodString;
|
1361
1469
|
type: z.ZodDefault<z.ZodLiteral<"relationship">>;
|
1362
1470
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1378,6 +1486,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1378
1486
|
originalIdField: string;
|
1379
1487
|
targetField?: string | undefined;
|
1380
1488
|
}>>;
|
1489
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1381
1490
|
}, "strip", z.ZodTypeAny, {
|
1382
1491
|
key: string;
|
1383
1492
|
type: "relationship";
|
@@ -1394,6 +1503,7 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1394
1503
|
originalIdField: string;
|
1395
1504
|
targetField?: string | undefined;
|
1396
1505
|
} | undefined;
|
1506
|
+
description?: string | Record<string, string> | null | undefined;
|
1397
1507
|
}, {
|
1398
1508
|
key: string;
|
1399
1509
|
relatedCollection: string;
|
@@ -1410,12 +1520,14 @@ export declare const attributesSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.Zod
|
|
1410
1520
|
originalIdField: string;
|
1411
1521
|
targetField?: string | undefined;
|
1412
1522
|
} | undefined;
|
1523
|
+
description?: string | Record<string, string> | null | undefined;
|
1413
1524
|
}>]>, "many">>;
|
1414
1525
|
export declare const collectionSchema: z.ZodObject<{
|
1415
1526
|
name: z.ZodString;
|
1416
1527
|
$id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
1417
1528
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
1418
1529
|
documentSecurity: z.ZodDefault<z.ZodBoolean>;
|
1530
|
+
description: z.ZodOptional<z.ZodString>;
|
1419
1531
|
$createdAt: z.ZodString;
|
1420
1532
|
$updatedAt: z.ZodString;
|
1421
1533
|
$permissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
@@ -1428,7 +1540,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1428
1540
|
permission: string;
|
1429
1541
|
target: string;
|
1430
1542
|
}>, "many">>;
|
1431
|
-
attributes: z.ZodDefault<z.ZodArray<z.
|
1543
|
+
attributes: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
1432
1544
|
key: z.ZodString;
|
1433
1545
|
type: z.ZodDefault<z.ZodLiteral<"string">>;
|
1434
1546
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1437,6 +1549,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1437
1549
|
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
1438
1550
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1439
1551
|
encrypted: z.ZodOptional<z.ZodBoolean>;
|
1552
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1553
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1440
1554
|
}, "strip", z.ZodTypeAny, {
|
1441
1555
|
key: string;
|
1442
1556
|
type: "string";
|
@@ -1446,6 +1560,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1446
1560
|
size: number;
|
1447
1561
|
xdefault?: string | null | undefined;
|
1448
1562
|
encrypted?: boolean | undefined;
|
1563
|
+
format?: string | null | undefined;
|
1564
|
+
description?: string | Record<string, string> | null | undefined;
|
1449
1565
|
}, {
|
1450
1566
|
key: string;
|
1451
1567
|
type?: "string" | undefined;
|
@@ -1455,6 +1571,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1455
1571
|
size?: number | undefined;
|
1456
1572
|
xdefault?: string | null | undefined;
|
1457
1573
|
encrypted?: boolean | undefined;
|
1574
|
+
format?: string | null | undefined;
|
1575
|
+
description?: string | Record<string, string> | null | undefined;
|
1458
1576
|
}>, z.ZodObject<{
|
1459
1577
|
key: z.ZodString;
|
1460
1578
|
type: z.ZodDefault<z.ZodLiteral<"integer">>;
|
@@ -1464,6 +1582,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1464
1582
|
min: z.ZodOptional<z.ZodNumber>;
|
1465
1583
|
max: z.ZodOptional<z.ZodNumber>;
|
1466
1584
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1585
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1467
1586
|
}, "strip", z.ZodTypeAny, {
|
1468
1587
|
key: string;
|
1469
1588
|
type: "integer";
|
@@ -1473,6 +1592,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1473
1592
|
min?: number | undefined;
|
1474
1593
|
max?: number | undefined;
|
1475
1594
|
xdefault?: number | null | undefined;
|
1595
|
+
description?: string | Record<string, string> | null | undefined;
|
1476
1596
|
}, {
|
1477
1597
|
key: string;
|
1478
1598
|
type?: "integer" | undefined;
|
@@ -1482,7 +1602,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1482
1602
|
min?: number | undefined;
|
1483
1603
|
max?: number | undefined;
|
1484
1604
|
xdefault?: number | null | undefined;
|
1485
|
-
|
1605
|
+
description?: string | Record<string, string> | null | undefined;
|
1606
|
+
}>, z.ZodObject<{
|
1486
1607
|
key: z.ZodString;
|
1487
1608
|
type: z.ZodDefault<z.ZodLiteral<"float">>;
|
1488
1609
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1491,6 +1612,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1491
1612
|
min: z.ZodOptional<z.ZodNumber>;
|
1492
1613
|
max: z.ZodOptional<z.ZodNumber>;
|
1493
1614
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1615
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1494
1616
|
}, "strip", z.ZodTypeAny, {
|
1495
1617
|
key: string;
|
1496
1618
|
type: "float";
|
@@ -1500,6 +1622,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1500
1622
|
min?: number | undefined;
|
1501
1623
|
max?: number | undefined;
|
1502
1624
|
xdefault?: number | null | undefined;
|
1625
|
+
description?: string | Record<string, string> | null | undefined;
|
1503
1626
|
}, {
|
1504
1627
|
key: string;
|
1505
1628
|
type?: "float" | undefined;
|
@@ -1509,13 +1632,15 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1509
1632
|
min?: number | undefined;
|
1510
1633
|
max?: number | undefined;
|
1511
1634
|
xdefault?: number | null | undefined;
|
1512
|
-
|
1635
|
+
description?: string | Record<string, string> | null | undefined;
|
1636
|
+
}>, z.ZodObject<{
|
1513
1637
|
key: z.ZodString;
|
1514
1638
|
type: z.ZodDefault<z.ZodLiteral<"boolean">>;
|
1515
1639
|
error: z.ZodDefault<z.ZodString>;
|
1516
1640
|
required: z.ZodDefault<z.ZodBoolean>;
|
1517
1641
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1518
1642
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
1643
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1519
1644
|
}, "strip", z.ZodTypeAny, {
|
1520
1645
|
key: string;
|
1521
1646
|
type: "boolean";
|
@@ -1523,6 +1648,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1523
1648
|
required: boolean;
|
1524
1649
|
array: boolean;
|
1525
1650
|
xdefault?: boolean | null | undefined;
|
1651
|
+
description?: string | Record<string, string> | null | undefined;
|
1526
1652
|
}, {
|
1527
1653
|
key: string;
|
1528
1654
|
type?: "boolean" | undefined;
|
@@ -1530,13 +1656,15 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1530
1656
|
required?: boolean | undefined;
|
1531
1657
|
array?: boolean | undefined;
|
1532
1658
|
xdefault?: boolean | null | undefined;
|
1533
|
-
|
1659
|
+
description?: string | Record<string, string> | null | undefined;
|
1660
|
+
}>, z.ZodObject<{
|
1534
1661
|
key: z.ZodString;
|
1535
1662
|
type: z.ZodDefault<z.ZodLiteral<"datetime">>;
|
1536
1663
|
error: z.ZodDefault<z.ZodString>;
|
1537
1664
|
required: z.ZodDefault<z.ZodBoolean>;
|
1538
1665
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1539
1666
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1667
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1540
1668
|
}, "strip", z.ZodTypeAny, {
|
1541
1669
|
key: string;
|
1542
1670
|
type: "datetime";
|
@@ -1544,6 +1672,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1544
1672
|
required: boolean;
|
1545
1673
|
array: boolean;
|
1546
1674
|
xdefault?: string | null | undefined;
|
1675
|
+
description?: string | Record<string, string> | null | undefined;
|
1547
1676
|
}, {
|
1548
1677
|
key: string;
|
1549
1678
|
type?: "datetime" | undefined;
|
@@ -1551,13 +1680,15 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1551
1680
|
required?: boolean | undefined;
|
1552
1681
|
array?: boolean | undefined;
|
1553
1682
|
xdefault?: string | null | undefined;
|
1554
|
-
|
1683
|
+
description?: string | Record<string, string> | null | undefined;
|
1684
|
+
}>, z.ZodObject<{
|
1555
1685
|
key: z.ZodString;
|
1556
1686
|
type: z.ZodDefault<z.ZodLiteral<"email">>;
|
1557
1687
|
error: z.ZodDefault<z.ZodString>;
|
1558
1688
|
required: z.ZodDefault<z.ZodBoolean>;
|
1559
1689
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1560
1690
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1691
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1561
1692
|
}, "strip", z.ZodTypeAny, {
|
1562
1693
|
key: string;
|
1563
1694
|
type: "email";
|
@@ -1565,6 +1696,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1565
1696
|
required: boolean;
|
1566
1697
|
array: boolean;
|
1567
1698
|
xdefault?: string | null | undefined;
|
1699
|
+
description?: string | Record<string, string> | null | undefined;
|
1568
1700
|
}, {
|
1569
1701
|
key: string;
|
1570
1702
|
type?: "email" | undefined;
|
@@ -1572,13 +1704,15 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1572
1704
|
required?: boolean | undefined;
|
1573
1705
|
array?: boolean | undefined;
|
1574
1706
|
xdefault?: string | null | undefined;
|
1575
|
-
|
1707
|
+
description?: string | Record<string, string> | null | undefined;
|
1708
|
+
}>, z.ZodObject<{
|
1576
1709
|
key: z.ZodString;
|
1577
1710
|
type: z.ZodLiteral<"ip">;
|
1578
1711
|
error: z.ZodDefault<z.ZodString>;
|
1579
1712
|
required: z.ZodDefault<z.ZodBoolean>;
|
1580
1713
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1581
1714
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1715
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1582
1716
|
}, "strip", z.ZodTypeAny, {
|
1583
1717
|
key: string;
|
1584
1718
|
type: "ip";
|
@@ -1586,6 +1720,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1586
1720
|
required: boolean;
|
1587
1721
|
array: boolean;
|
1588
1722
|
xdefault?: string | null | undefined;
|
1723
|
+
description?: string | Record<string, string> | null | undefined;
|
1589
1724
|
}, {
|
1590
1725
|
key: string;
|
1591
1726
|
type: "ip";
|
@@ -1593,13 +1728,15 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1593
1728
|
required?: boolean | undefined;
|
1594
1729
|
array?: boolean | undefined;
|
1595
1730
|
xdefault?: string | null | undefined;
|
1596
|
-
|
1731
|
+
description?: string | Record<string, string> | null | undefined;
|
1732
|
+
}>, z.ZodObject<{
|
1597
1733
|
key: z.ZodString;
|
1598
1734
|
type: z.ZodDefault<z.ZodLiteral<"url">>;
|
1599
1735
|
error: z.ZodDefault<z.ZodString>;
|
1600
1736
|
required: z.ZodDefault<z.ZodBoolean>;
|
1601
1737
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1602
1738
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1739
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1603
1740
|
}, "strip", z.ZodTypeAny, {
|
1604
1741
|
key: string;
|
1605
1742
|
type: "url";
|
@@ -1607,6 +1744,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1607
1744
|
required: boolean;
|
1608
1745
|
array: boolean;
|
1609
1746
|
xdefault?: string | null | undefined;
|
1747
|
+
description?: string | Record<string, string> | null | undefined;
|
1610
1748
|
}, {
|
1611
1749
|
key: string;
|
1612
1750
|
type?: "url" | undefined;
|
@@ -1614,7 +1752,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1614
1752
|
required?: boolean | undefined;
|
1615
1753
|
array?: boolean | undefined;
|
1616
1754
|
xdefault?: string | null | undefined;
|
1617
|
-
|
1755
|
+
description?: string | Record<string, string> | null | undefined;
|
1756
|
+
}>, z.ZodObject<{
|
1618
1757
|
key: z.ZodString;
|
1619
1758
|
type: z.ZodDefault<z.ZodLiteral<"enum">>;
|
1620
1759
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1622,6 +1761,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1622
1761
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1623
1762
|
elements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
1624
1763
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1764
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1625
1765
|
}, "strip", z.ZodTypeAny, {
|
1626
1766
|
key: string;
|
1627
1767
|
type: "enum";
|
@@ -1630,6 +1770,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1630
1770
|
array: boolean;
|
1631
1771
|
elements: string[];
|
1632
1772
|
xdefault?: string | null | undefined;
|
1773
|
+
description?: string | Record<string, string> | null | undefined;
|
1633
1774
|
}, {
|
1634
1775
|
key: string;
|
1635
1776
|
type?: "enum" | undefined;
|
@@ -1638,7 +1779,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1638
1779
|
array?: boolean | undefined;
|
1639
1780
|
elements?: string[] | undefined;
|
1640
1781
|
xdefault?: string | null | undefined;
|
1641
|
-
|
1782
|
+
description?: string | Record<string, string> | null | undefined;
|
1783
|
+
}>, z.ZodObject<{
|
1642
1784
|
key: z.ZodString;
|
1643
1785
|
type: z.ZodDefault<z.ZodLiteral<"relationship">>;
|
1644
1786
|
error: z.ZodDefault<z.ZodString>;
|
@@ -1660,6 +1802,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1660
1802
|
originalIdField: string;
|
1661
1803
|
targetField?: string | undefined;
|
1662
1804
|
}>>;
|
1805
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
1663
1806
|
}, "strip", z.ZodTypeAny, {
|
1664
1807
|
key: string;
|
1665
1808
|
type: "relationship";
|
@@ -1676,6 +1819,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1676
1819
|
originalIdField: string;
|
1677
1820
|
targetField?: string | undefined;
|
1678
1821
|
} | undefined;
|
1822
|
+
description?: string | Record<string, string> | null | undefined;
|
1679
1823
|
}, {
|
1680
1824
|
key: string;
|
1681
1825
|
relatedCollection: string;
|
@@ -1692,6 +1836,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1692
1836
|
originalIdField: string;
|
1693
1837
|
targetField?: string | undefined;
|
1694
1838
|
} | undefined;
|
1839
|
+
description?: string | Record<string, string> | null | undefined;
|
1695
1840
|
}>]>, "many">>;
|
1696
1841
|
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
1697
1842
|
key: z.ZodString;
|
@@ -1885,6 +2030,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1885
2030
|
}>, "many">>;
|
1886
2031
|
databaseId: z.ZodOptional<z.ZodString>;
|
1887
2032
|
}, "strip", z.ZodTypeAny, {
|
2033
|
+
name: string;
|
1888
2034
|
attributes: ({
|
1889
2035
|
key: string;
|
1890
2036
|
type: "string";
|
@@ -1894,6 +2040,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1894
2040
|
size: number;
|
1895
2041
|
xdefault?: string | null | undefined;
|
1896
2042
|
encrypted?: boolean | undefined;
|
2043
|
+
format?: string | null | undefined;
|
2044
|
+
description?: string | Record<string, string> | null | undefined;
|
1897
2045
|
} | {
|
1898
2046
|
key: string;
|
1899
2047
|
type: "integer";
|
@@ -1903,6 +2051,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1903
2051
|
min?: number | undefined;
|
1904
2052
|
max?: number | undefined;
|
1905
2053
|
xdefault?: number | null | undefined;
|
2054
|
+
description?: string | Record<string, string> | null | undefined;
|
1906
2055
|
} | {
|
1907
2056
|
key: string;
|
1908
2057
|
type: "float";
|
@@ -1912,6 +2061,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1912
2061
|
min?: number | undefined;
|
1913
2062
|
max?: number | undefined;
|
1914
2063
|
xdefault?: number | null | undefined;
|
2064
|
+
description?: string | Record<string, string> | null | undefined;
|
1915
2065
|
} | {
|
1916
2066
|
key: string;
|
1917
2067
|
type: "boolean";
|
@@ -1919,6 +2069,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1919
2069
|
required: boolean;
|
1920
2070
|
array: boolean;
|
1921
2071
|
xdefault?: boolean | null | undefined;
|
2072
|
+
description?: string | Record<string, string> | null | undefined;
|
1922
2073
|
} | {
|
1923
2074
|
key: string;
|
1924
2075
|
type: "datetime";
|
@@ -1926,6 +2077,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1926
2077
|
required: boolean;
|
1927
2078
|
array: boolean;
|
1928
2079
|
xdefault?: string | null | undefined;
|
2080
|
+
description?: string | Record<string, string> | null | undefined;
|
1929
2081
|
} | {
|
1930
2082
|
key: string;
|
1931
2083
|
type: "email";
|
@@ -1933,6 +2085,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1933
2085
|
required: boolean;
|
1934
2086
|
array: boolean;
|
1935
2087
|
xdefault?: string | null | undefined;
|
2088
|
+
description?: string | Record<string, string> | null | undefined;
|
1936
2089
|
} | {
|
1937
2090
|
key: string;
|
1938
2091
|
type: "ip";
|
@@ -1940,6 +2093,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1940
2093
|
required: boolean;
|
1941
2094
|
array: boolean;
|
1942
2095
|
xdefault?: string | null | undefined;
|
2096
|
+
description?: string | Record<string, string> | null | undefined;
|
1943
2097
|
} | {
|
1944
2098
|
key: string;
|
1945
2099
|
type: "url";
|
@@ -1947,6 +2101,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1947
2101
|
required: boolean;
|
1948
2102
|
array: boolean;
|
1949
2103
|
xdefault?: string | null | undefined;
|
2104
|
+
description?: string | Record<string, string> | null | undefined;
|
1950
2105
|
} | {
|
1951
2106
|
key: string;
|
1952
2107
|
type: "enum";
|
@@ -1955,6 +2110,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1955
2110
|
array: boolean;
|
1956
2111
|
elements: string[];
|
1957
2112
|
xdefault?: string | null | undefined;
|
2113
|
+
description?: string | Record<string, string> | null | undefined;
|
1958
2114
|
} | {
|
1959
2115
|
key: string;
|
1960
2116
|
type: "relationship";
|
@@ -1971,8 +2127,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
1971
2127
|
originalIdField: string;
|
1972
2128
|
targetField?: string | undefined;
|
1973
2129
|
} | undefined;
|
2130
|
+
description?: string | Record<string, string> | null | undefined;
|
1974
2131
|
})[];
|
1975
|
-
name: string;
|
1976
2132
|
$id: string;
|
1977
2133
|
enabled: boolean;
|
1978
2134
|
documentSecurity: boolean;
|
@@ -2024,6 +2180,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2024
2180
|
targetField: string;
|
2025
2181
|
} | undefined;
|
2026
2182
|
}[];
|
2183
|
+
description?: string | undefined;
|
2027
2184
|
databaseId?: string | undefined;
|
2028
2185
|
}, {
|
2029
2186
|
name: string;
|
@@ -2032,6 +2189,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2032
2189
|
$id?: string | undefined;
|
2033
2190
|
enabled?: boolean | undefined;
|
2034
2191
|
documentSecurity?: boolean | undefined;
|
2192
|
+
description?: string | undefined;
|
2035
2193
|
$permissions?: {
|
2036
2194
|
permission: string;
|
2037
2195
|
target: string;
|
@@ -2045,6 +2203,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2045
2203
|
size?: number | undefined;
|
2046
2204
|
xdefault?: string | null | undefined;
|
2047
2205
|
encrypted?: boolean | undefined;
|
2206
|
+
format?: string | null | undefined;
|
2207
|
+
description?: string | Record<string, string> | null | undefined;
|
2048
2208
|
} | {
|
2049
2209
|
key: string;
|
2050
2210
|
type?: "integer" | undefined;
|
@@ -2054,6 +2214,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2054
2214
|
min?: number | undefined;
|
2055
2215
|
max?: number | undefined;
|
2056
2216
|
xdefault?: number | null | undefined;
|
2217
|
+
description?: string | Record<string, string> | null | undefined;
|
2057
2218
|
} | {
|
2058
2219
|
key: string;
|
2059
2220
|
type?: "float" | undefined;
|
@@ -2063,6 +2224,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2063
2224
|
min?: number | undefined;
|
2064
2225
|
max?: number | undefined;
|
2065
2226
|
xdefault?: number | null | undefined;
|
2227
|
+
description?: string | Record<string, string> | null | undefined;
|
2066
2228
|
} | {
|
2067
2229
|
key: string;
|
2068
2230
|
type?: "boolean" | undefined;
|
@@ -2070,6 +2232,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2070
2232
|
required?: boolean | undefined;
|
2071
2233
|
array?: boolean | undefined;
|
2072
2234
|
xdefault?: boolean | null | undefined;
|
2235
|
+
description?: string | Record<string, string> | null | undefined;
|
2073
2236
|
} | {
|
2074
2237
|
key: string;
|
2075
2238
|
type?: "datetime" | undefined;
|
@@ -2077,6 +2240,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2077
2240
|
required?: boolean | undefined;
|
2078
2241
|
array?: boolean | undefined;
|
2079
2242
|
xdefault?: string | null | undefined;
|
2243
|
+
description?: string | Record<string, string> | null | undefined;
|
2080
2244
|
} | {
|
2081
2245
|
key: string;
|
2082
2246
|
type?: "email" | undefined;
|
@@ -2084,6 +2248,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2084
2248
|
required?: boolean | undefined;
|
2085
2249
|
array?: boolean | undefined;
|
2086
2250
|
xdefault?: string | null | undefined;
|
2251
|
+
description?: string | Record<string, string> | null | undefined;
|
2087
2252
|
} | {
|
2088
2253
|
key: string;
|
2089
2254
|
type: "ip";
|
@@ -2091,6 +2256,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2091
2256
|
required?: boolean | undefined;
|
2092
2257
|
array?: boolean | undefined;
|
2093
2258
|
xdefault?: string | null | undefined;
|
2259
|
+
description?: string | Record<string, string> | null | undefined;
|
2094
2260
|
} | {
|
2095
2261
|
key: string;
|
2096
2262
|
type?: "url" | undefined;
|
@@ -2098,6 +2264,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2098
2264
|
required?: boolean | undefined;
|
2099
2265
|
array?: boolean | undefined;
|
2100
2266
|
xdefault?: string | null | undefined;
|
2267
|
+
description?: string | Record<string, string> | null | undefined;
|
2101
2268
|
} | {
|
2102
2269
|
key: string;
|
2103
2270
|
type?: "enum" | undefined;
|
@@ -2106,6 +2273,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2106
2273
|
array?: boolean | undefined;
|
2107
2274
|
elements?: string[] | undefined;
|
2108
2275
|
xdefault?: string | null | undefined;
|
2276
|
+
description?: string | Record<string, string> | null | undefined;
|
2109
2277
|
} | {
|
2110
2278
|
key: string;
|
2111
2279
|
relatedCollection: string;
|
@@ -2122,6 +2290,7 @@ export declare const collectionSchema: z.ZodObject<{
|
|
2122
2290
|
originalIdField: string;
|
2123
2291
|
targetField?: string | undefined;
|
2124
2292
|
} | undefined;
|
2293
|
+
description?: string | Record<string, string> | null | undefined;
|
2125
2294
|
})[] | undefined;
|
2126
2295
|
indexes?: {
|
2127
2296
|
key: string;
|
@@ -2172,6 +2341,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2172
2341
|
$id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
2173
2342
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
2174
2343
|
documentSecurity: z.ZodDefault<z.ZodBoolean>;
|
2344
|
+
description: z.ZodOptional<z.ZodString>;
|
2175
2345
|
$createdAt: z.ZodString;
|
2176
2346
|
$updatedAt: z.ZodString;
|
2177
2347
|
$permissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
@@ -2184,7 +2354,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2184
2354
|
permission: string;
|
2185
2355
|
target: string;
|
2186
2356
|
}>, "many">>;
|
2187
|
-
attributes: z.ZodDefault<z.ZodArray<z.
|
2357
|
+
attributes: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
2188
2358
|
key: z.ZodString;
|
2189
2359
|
type: z.ZodDefault<z.ZodLiteral<"string">>;
|
2190
2360
|
error: z.ZodDefault<z.ZodString>;
|
@@ -2193,6 +2363,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2193
2363
|
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
2194
2364
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2195
2365
|
encrypted: z.ZodOptional<z.ZodBoolean>;
|
2366
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2367
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2196
2368
|
}, "strip", z.ZodTypeAny, {
|
2197
2369
|
key: string;
|
2198
2370
|
type: "string";
|
@@ -2202,6 +2374,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2202
2374
|
size: number;
|
2203
2375
|
xdefault?: string | null | undefined;
|
2204
2376
|
encrypted?: boolean | undefined;
|
2377
|
+
format?: string | null | undefined;
|
2378
|
+
description?: string | Record<string, string> | null | undefined;
|
2205
2379
|
}, {
|
2206
2380
|
key: string;
|
2207
2381
|
type?: "string" | undefined;
|
@@ -2211,6 +2385,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2211
2385
|
size?: number | undefined;
|
2212
2386
|
xdefault?: string | null | undefined;
|
2213
2387
|
encrypted?: boolean | undefined;
|
2388
|
+
format?: string | null | undefined;
|
2389
|
+
description?: string | Record<string, string> | null | undefined;
|
2214
2390
|
}>, z.ZodObject<{
|
2215
2391
|
key: z.ZodString;
|
2216
2392
|
type: z.ZodDefault<z.ZodLiteral<"integer">>;
|
@@ -2220,6 +2396,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2220
2396
|
min: z.ZodOptional<z.ZodNumber>;
|
2221
2397
|
max: z.ZodOptional<z.ZodNumber>;
|
2222
2398
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
2399
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2223
2400
|
}, "strip", z.ZodTypeAny, {
|
2224
2401
|
key: string;
|
2225
2402
|
type: "integer";
|
@@ -2229,6 +2406,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2229
2406
|
min?: number | undefined;
|
2230
2407
|
max?: number | undefined;
|
2231
2408
|
xdefault?: number | null | undefined;
|
2409
|
+
description?: string | Record<string, string> | null | undefined;
|
2232
2410
|
}, {
|
2233
2411
|
key: string;
|
2234
2412
|
type?: "integer" | undefined;
|
@@ -2238,7 +2416,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2238
2416
|
min?: number | undefined;
|
2239
2417
|
max?: number | undefined;
|
2240
2418
|
xdefault?: number | null | undefined;
|
2241
|
-
|
2419
|
+
description?: string | Record<string, string> | null | undefined;
|
2420
|
+
}>, z.ZodObject<{
|
2242
2421
|
key: z.ZodString;
|
2243
2422
|
type: z.ZodDefault<z.ZodLiteral<"float">>;
|
2244
2423
|
error: z.ZodDefault<z.ZodString>;
|
@@ -2247,6 +2426,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2247
2426
|
min: z.ZodOptional<z.ZodNumber>;
|
2248
2427
|
max: z.ZodOptional<z.ZodNumber>;
|
2249
2428
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
2429
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2250
2430
|
}, "strip", z.ZodTypeAny, {
|
2251
2431
|
key: string;
|
2252
2432
|
type: "float";
|
@@ -2256,6 +2436,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2256
2436
|
min?: number | undefined;
|
2257
2437
|
max?: number | undefined;
|
2258
2438
|
xdefault?: number | null | undefined;
|
2439
|
+
description?: string | Record<string, string> | null | undefined;
|
2259
2440
|
}, {
|
2260
2441
|
key: string;
|
2261
2442
|
type?: "float" | undefined;
|
@@ -2265,13 +2446,15 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2265
2446
|
min?: number | undefined;
|
2266
2447
|
max?: number | undefined;
|
2267
2448
|
xdefault?: number | null | undefined;
|
2268
|
-
|
2449
|
+
description?: string | Record<string, string> | null | undefined;
|
2450
|
+
}>, z.ZodObject<{
|
2269
2451
|
key: z.ZodString;
|
2270
2452
|
type: z.ZodDefault<z.ZodLiteral<"boolean">>;
|
2271
2453
|
error: z.ZodDefault<z.ZodString>;
|
2272
2454
|
required: z.ZodDefault<z.ZodBoolean>;
|
2273
2455
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2274
2456
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
2457
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2275
2458
|
}, "strip", z.ZodTypeAny, {
|
2276
2459
|
key: string;
|
2277
2460
|
type: "boolean";
|
@@ -2279,6 +2462,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2279
2462
|
required: boolean;
|
2280
2463
|
array: boolean;
|
2281
2464
|
xdefault?: boolean | null | undefined;
|
2465
|
+
description?: string | Record<string, string> | null | undefined;
|
2282
2466
|
}, {
|
2283
2467
|
key: string;
|
2284
2468
|
type?: "boolean" | undefined;
|
@@ -2286,13 +2470,15 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2286
2470
|
required?: boolean | undefined;
|
2287
2471
|
array?: boolean | undefined;
|
2288
2472
|
xdefault?: boolean | null | undefined;
|
2289
|
-
|
2473
|
+
description?: string | Record<string, string> | null | undefined;
|
2474
|
+
}>, z.ZodObject<{
|
2290
2475
|
key: z.ZodString;
|
2291
2476
|
type: z.ZodDefault<z.ZodLiteral<"datetime">>;
|
2292
2477
|
error: z.ZodDefault<z.ZodString>;
|
2293
2478
|
required: z.ZodDefault<z.ZodBoolean>;
|
2294
2479
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2295
2480
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2481
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2296
2482
|
}, "strip", z.ZodTypeAny, {
|
2297
2483
|
key: string;
|
2298
2484
|
type: "datetime";
|
@@ -2300,6 +2486,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2300
2486
|
required: boolean;
|
2301
2487
|
array: boolean;
|
2302
2488
|
xdefault?: string | null | undefined;
|
2489
|
+
description?: string | Record<string, string> | null | undefined;
|
2303
2490
|
}, {
|
2304
2491
|
key: string;
|
2305
2492
|
type?: "datetime" | undefined;
|
@@ -2307,13 +2494,15 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2307
2494
|
required?: boolean | undefined;
|
2308
2495
|
array?: boolean | undefined;
|
2309
2496
|
xdefault?: string | null | undefined;
|
2310
|
-
|
2497
|
+
description?: string | Record<string, string> | null | undefined;
|
2498
|
+
}>, z.ZodObject<{
|
2311
2499
|
key: z.ZodString;
|
2312
2500
|
type: z.ZodDefault<z.ZodLiteral<"email">>;
|
2313
2501
|
error: z.ZodDefault<z.ZodString>;
|
2314
2502
|
required: z.ZodDefault<z.ZodBoolean>;
|
2315
2503
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2316
2504
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2505
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2317
2506
|
}, "strip", z.ZodTypeAny, {
|
2318
2507
|
key: string;
|
2319
2508
|
type: "email";
|
@@ -2321,6 +2510,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2321
2510
|
required: boolean;
|
2322
2511
|
array: boolean;
|
2323
2512
|
xdefault?: string | null | undefined;
|
2513
|
+
description?: string | Record<string, string> | null | undefined;
|
2324
2514
|
}, {
|
2325
2515
|
key: string;
|
2326
2516
|
type?: "email" | undefined;
|
@@ -2328,13 +2518,15 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2328
2518
|
required?: boolean | undefined;
|
2329
2519
|
array?: boolean | undefined;
|
2330
2520
|
xdefault?: string | null | undefined;
|
2331
|
-
|
2521
|
+
description?: string | Record<string, string> | null | undefined;
|
2522
|
+
}>, z.ZodObject<{
|
2332
2523
|
key: z.ZodString;
|
2333
2524
|
type: z.ZodLiteral<"ip">;
|
2334
2525
|
error: z.ZodDefault<z.ZodString>;
|
2335
2526
|
required: z.ZodDefault<z.ZodBoolean>;
|
2336
2527
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2337
2528
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2529
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2338
2530
|
}, "strip", z.ZodTypeAny, {
|
2339
2531
|
key: string;
|
2340
2532
|
type: "ip";
|
@@ -2342,6 +2534,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2342
2534
|
required: boolean;
|
2343
2535
|
array: boolean;
|
2344
2536
|
xdefault?: string | null | undefined;
|
2537
|
+
description?: string | Record<string, string> | null | undefined;
|
2345
2538
|
}, {
|
2346
2539
|
key: string;
|
2347
2540
|
type: "ip";
|
@@ -2349,13 +2542,15 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2349
2542
|
required?: boolean | undefined;
|
2350
2543
|
array?: boolean | undefined;
|
2351
2544
|
xdefault?: string | null | undefined;
|
2352
|
-
|
2545
|
+
description?: string | Record<string, string> | null | undefined;
|
2546
|
+
}>, z.ZodObject<{
|
2353
2547
|
key: z.ZodString;
|
2354
2548
|
type: z.ZodDefault<z.ZodLiteral<"url">>;
|
2355
2549
|
error: z.ZodDefault<z.ZodString>;
|
2356
2550
|
required: z.ZodDefault<z.ZodBoolean>;
|
2357
2551
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2358
2552
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2553
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2359
2554
|
}, "strip", z.ZodTypeAny, {
|
2360
2555
|
key: string;
|
2361
2556
|
type: "url";
|
@@ -2363,6 +2558,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2363
2558
|
required: boolean;
|
2364
2559
|
array: boolean;
|
2365
2560
|
xdefault?: string | null | undefined;
|
2561
|
+
description?: string | Record<string, string> | null | undefined;
|
2366
2562
|
}, {
|
2367
2563
|
key: string;
|
2368
2564
|
type?: "url" | undefined;
|
@@ -2370,7 +2566,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2370
2566
|
required?: boolean | undefined;
|
2371
2567
|
array?: boolean | undefined;
|
2372
2568
|
xdefault?: string | null | undefined;
|
2373
|
-
|
2569
|
+
description?: string | Record<string, string> | null | undefined;
|
2570
|
+
}>, z.ZodObject<{
|
2374
2571
|
key: z.ZodString;
|
2375
2572
|
type: z.ZodDefault<z.ZodLiteral<"enum">>;
|
2376
2573
|
error: z.ZodDefault<z.ZodString>;
|
@@ -2378,6 +2575,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2378
2575
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2379
2576
|
elements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
2380
2577
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2578
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2381
2579
|
}, "strip", z.ZodTypeAny, {
|
2382
2580
|
key: string;
|
2383
2581
|
type: "enum";
|
@@ -2386,6 +2584,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2386
2584
|
array: boolean;
|
2387
2585
|
elements: string[];
|
2388
2586
|
xdefault?: string | null | undefined;
|
2587
|
+
description?: string | Record<string, string> | null | undefined;
|
2389
2588
|
}, {
|
2390
2589
|
key: string;
|
2391
2590
|
type?: "enum" | undefined;
|
@@ -2394,7 +2593,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2394
2593
|
array?: boolean | undefined;
|
2395
2594
|
elements?: string[] | undefined;
|
2396
2595
|
xdefault?: string | null | undefined;
|
2397
|
-
|
2596
|
+
description?: string | Record<string, string> | null | undefined;
|
2597
|
+
}>, z.ZodObject<{
|
2398
2598
|
key: z.ZodString;
|
2399
2599
|
type: z.ZodDefault<z.ZodLiteral<"relationship">>;
|
2400
2600
|
error: z.ZodDefault<z.ZodString>;
|
@@ -2416,6 +2616,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2416
2616
|
originalIdField: string;
|
2417
2617
|
targetField?: string | undefined;
|
2418
2618
|
}>>;
|
2619
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2419
2620
|
}, "strip", z.ZodTypeAny, {
|
2420
2621
|
key: string;
|
2421
2622
|
type: "relationship";
|
@@ -2432,6 +2633,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2432
2633
|
originalIdField: string;
|
2433
2634
|
targetField?: string | undefined;
|
2434
2635
|
} | undefined;
|
2636
|
+
description?: string | Record<string, string> | null | undefined;
|
2435
2637
|
}, {
|
2436
2638
|
key: string;
|
2437
2639
|
relatedCollection: string;
|
@@ -2448,6 +2650,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2448
2650
|
originalIdField: string;
|
2449
2651
|
targetField?: string | undefined;
|
2450
2652
|
} | undefined;
|
2653
|
+
description?: string | Record<string, string> | null | undefined;
|
2451
2654
|
}>]>, "many">>;
|
2452
2655
|
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
2453
2656
|
key: z.ZodString;
|
@@ -2641,6 +2844,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2641
2844
|
}>, "many">>;
|
2642
2845
|
databaseId: z.ZodOptional<z.ZodString>;
|
2643
2846
|
}, "$createdAt" | "$updatedAt">, "strip", z.ZodTypeAny, {
|
2847
|
+
name: string;
|
2644
2848
|
attributes: ({
|
2645
2849
|
key: string;
|
2646
2850
|
type: "string";
|
@@ -2650,6 +2854,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2650
2854
|
size: number;
|
2651
2855
|
xdefault?: string | null | undefined;
|
2652
2856
|
encrypted?: boolean | undefined;
|
2857
|
+
format?: string | null | undefined;
|
2858
|
+
description?: string | Record<string, string> | null | undefined;
|
2653
2859
|
} | {
|
2654
2860
|
key: string;
|
2655
2861
|
type: "integer";
|
@@ -2659,6 +2865,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2659
2865
|
min?: number | undefined;
|
2660
2866
|
max?: number | undefined;
|
2661
2867
|
xdefault?: number | null | undefined;
|
2868
|
+
description?: string | Record<string, string> | null | undefined;
|
2662
2869
|
} | {
|
2663
2870
|
key: string;
|
2664
2871
|
type: "float";
|
@@ -2668,6 +2875,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2668
2875
|
min?: number | undefined;
|
2669
2876
|
max?: number | undefined;
|
2670
2877
|
xdefault?: number | null | undefined;
|
2878
|
+
description?: string | Record<string, string> | null | undefined;
|
2671
2879
|
} | {
|
2672
2880
|
key: string;
|
2673
2881
|
type: "boolean";
|
@@ -2675,6 +2883,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2675
2883
|
required: boolean;
|
2676
2884
|
array: boolean;
|
2677
2885
|
xdefault?: boolean | null | undefined;
|
2886
|
+
description?: string | Record<string, string> | null | undefined;
|
2678
2887
|
} | {
|
2679
2888
|
key: string;
|
2680
2889
|
type: "datetime";
|
@@ -2682,6 +2891,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2682
2891
|
required: boolean;
|
2683
2892
|
array: boolean;
|
2684
2893
|
xdefault?: string | null | undefined;
|
2894
|
+
description?: string | Record<string, string> | null | undefined;
|
2685
2895
|
} | {
|
2686
2896
|
key: string;
|
2687
2897
|
type: "email";
|
@@ -2689,6 +2899,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2689
2899
|
required: boolean;
|
2690
2900
|
array: boolean;
|
2691
2901
|
xdefault?: string | null | undefined;
|
2902
|
+
description?: string | Record<string, string> | null | undefined;
|
2692
2903
|
} | {
|
2693
2904
|
key: string;
|
2694
2905
|
type: "ip";
|
@@ -2696,6 +2907,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2696
2907
|
required: boolean;
|
2697
2908
|
array: boolean;
|
2698
2909
|
xdefault?: string | null | undefined;
|
2910
|
+
description?: string | Record<string, string> | null | undefined;
|
2699
2911
|
} | {
|
2700
2912
|
key: string;
|
2701
2913
|
type: "url";
|
@@ -2703,6 +2915,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2703
2915
|
required: boolean;
|
2704
2916
|
array: boolean;
|
2705
2917
|
xdefault?: string | null | undefined;
|
2918
|
+
description?: string | Record<string, string> | null | undefined;
|
2706
2919
|
} | {
|
2707
2920
|
key: string;
|
2708
2921
|
type: "enum";
|
@@ -2711,6 +2924,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2711
2924
|
array: boolean;
|
2712
2925
|
elements: string[];
|
2713
2926
|
xdefault?: string | null | undefined;
|
2927
|
+
description?: string | Record<string, string> | null | undefined;
|
2714
2928
|
} | {
|
2715
2929
|
key: string;
|
2716
2930
|
type: "relationship";
|
@@ -2727,8 +2941,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2727
2941
|
originalIdField: string;
|
2728
2942
|
targetField?: string | undefined;
|
2729
2943
|
} | undefined;
|
2944
|
+
description?: string | Record<string, string> | null | undefined;
|
2730
2945
|
})[];
|
2731
|
-
name: string;
|
2732
2946
|
$id: string;
|
2733
2947
|
enabled: boolean;
|
2734
2948
|
documentSecurity: boolean;
|
@@ -2778,9 +2992,11 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2778
2992
|
targetField: string;
|
2779
2993
|
} | undefined;
|
2780
2994
|
}[];
|
2995
|
+
description?: string | undefined;
|
2781
2996
|
databaseId?: string | undefined;
|
2782
2997
|
}, {
|
2783
2998
|
name: string;
|
2999
|
+
description?: string | undefined;
|
2784
3000
|
attributes?: ({
|
2785
3001
|
key: string;
|
2786
3002
|
type?: "string" | undefined;
|
@@ -2790,6 +3006,8 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2790
3006
|
size?: number | undefined;
|
2791
3007
|
xdefault?: string | null | undefined;
|
2792
3008
|
encrypted?: boolean | undefined;
|
3009
|
+
format?: string | null | undefined;
|
3010
|
+
description?: string | Record<string, string> | null | undefined;
|
2793
3011
|
} | {
|
2794
3012
|
key: string;
|
2795
3013
|
type?: "integer" | undefined;
|
@@ -2799,6 +3017,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2799
3017
|
min?: number | undefined;
|
2800
3018
|
max?: number | undefined;
|
2801
3019
|
xdefault?: number | null | undefined;
|
3020
|
+
description?: string | Record<string, string> | null | undefined;
|
2802
3021
|
} | {
|
2803
3022
|
key: string;
|
2804
3023
|
type?: "float" | undefined;
|
@@ -2808,6 +3027,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2808
3027
|
min?: number | undefined;
|
2809
3028
|
max?: number | undefined;
|
2810
3029
|
xdefault?: number | null | undefined;
|
3030
|
+
description?: string | Record<string, string> | null | undefined;
|
2811
3031
|
} | {
|
2812
3032
|
key: string;
|
2813
3033
|
type?: "boolean" | undefined;
|
@@ -2815,6 +3035,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2815
3035
|
required?: boolean | undefined;
|
2816
3036
|
array?: boolean | undefined;
|
2817
3037
|
xdefault?: boolean | null | undefined;
|
3038
|
+
description?: string | Record<string, string> | null | undefined;
|
2818
3039
|
} | {
|
2819
3040
|
key: string;
|
2820
3041
|
type?: "datetime" | undefined;
|
@@ -2822,6 +3043,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2822
3043
|
required?: boolean | undefined;
|
2823
3044
|
array?: boolean | undefined;
|
2824
3045
|
xdefault?: string | null | undefined;
|
3046
|
+
description?: string | Record<string, string> | null | undefined;
|
2825
3047
|
} | {
|
2826
3048
|
key: string;
|
2827
3049
|
type?: "email" | undefined;
|
@@ -2829,6 +3051,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2829
3051
|
required?: boolean | undefined;
|
2830
3052
|
array?: boolean | undefined;
|
2831
3053
|
xdefault?: string | null | undefined;
|
3054
|
+
description?: string | Record<string, string> | null | undefined;
|
2832
3055
|
} | {
|
2833
3056
|
key: string;
|
2834
3057
|
type: "ip";
|
@@ -2836,6 +3059,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2836
3059
|
required?: boolean | undefined;
|
2837
3060
|
array?: boolean | undefined;
|
2838
3061
|
xdefault?: string | null | undefined;
|
3062
|
+
description?: string | Record<string, string> | null | undefined;
|
2839
3063
|
} | {
|
2840
3064
|
key: string;
|
2841
3065
|
type?: "url" | undefined;
|
@@ -2843,6 +3067,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2843
3067
|
required?: boolean | undefined;
|
2844
3068
|
array?: boolean | undefined;
|
2845
3069
|
xdefault?: string | null | undefined;
|
3070
|
+
description?: string | Record<string, string> | null | undefined;
|
2846
3071
|
} | {
|
2847
3072
|
key: string;
|
2848
3073
|
type?: "enum" | undefined;
|
@@ -2851,6 +3076,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2851
3076
|
array?: boolean | undefined;
|
2852
3077
|
elements?: string[] | undefined;
|
2853
3078
|
xdefault?: string | null | undefined;
|
3079
|
+
description?: string | Record<string, string> | null | undefined;
|
2854
3080
|
} | {
|
2855
3081
|
key: string;
|
2856
3082
|
relatedCollection: string;
|
@@ -2867,6 +3093,7 @@ export declare const CollectionCreateSchema: z.ZodObject<Omit<{
|
|
2867
3093
|
originalIdField: string;
|
2868
3094
|
targetField?: string | undefined;
|
2869
3095
|
} | undefined;
|
3096
|
+
description?: string | Record<string, string> | null | undefined;
|
2870
3097
|
})[] | undefined;
|
2871
3098
|
$id?: string | undefined;
|
2872
3099
|
enabled?: boolean | undefined;
|
@@ -2950,6 +3177,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
2950
3177
|
$id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
2951
3178
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
2952
3179
|
documentSecurity: z.ZodDefault<z.ZodBoolean>;
|
3180
|
+
description: z.ZodOptional<z.ZodString>;
|
2953
3181
|
$createdAt: z.ZodString;
|
2954
3182
|
$updatedAt: z.ZodString;
|
2955
3183
|
$permissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
@@ -2962,7 +3190,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
2962
3190
|
permission: string;
|
2963
3191
|
target: string;
|
2964
3192
|
}>, "many">>;
|
2965
|
-
attributes: z.ZodDefault<z.ZodArray<z.
|
3193
|
+
attributes: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
2966
3194
|
key: z.ZodString;
|
2967
3195
|
type: z.ZodDefault<z.ZodLiteral<"string">>;
|
2968
3196
|
error: z.ZodDefault<z.ZodString>;
|
@@ -2971,6 +3199,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
2971
3199
|
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
2972
3200
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2973
3201
|
encrypted: z.ZodOptional<z.ZodBoolean>;
|
3202
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3203
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
2974
3204
|
}, "strip", z.ZodTypeAny, {
|
2975
3205
|
key: string;
|
2976
3206
|
type: "string";
|
@@ -2980,6 +3210,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
2980
3210
|
size: number;
|
2981
3211
|
xdefault?: string | null | undefined;
|
2982
3212
|
encrypted?: boolean | undefined;
|
3213
|
+
format?: string | null | undefined;
|
3214
|
+
description?: string | Record<string, string> | null | undefined;
|
2983
3215
|
}, {
|
2984
3216
|
key: string;
|
2985
3217
|
type?: "string" | undefined;
|
@@ -2989,6 +3221,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
2989
3221
|
size?: number | undefined;
|
2990
3222
|
xdefault?: string | null | undefined;
|
2991
3223
|
encrypted?: boolean | undefined;
|
3224
|
+
format?: string | null | undefined;
|
3225
|
+
description?: string | Record<string, string> | null | undefined;
|
2992
3226
|
}>, z.ZodObject<{
|
2993
3227
|
key: z.ZodString;
|
2994
3228
|
type: z.ZodDefault<z.ZodLiteral<"integer">>;
|
@@ -2998,6 +3232,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
2998
3232
|
min: z.ZodOptional<z.ZodNumber>;
|
2999
3233
|
max: z.ZodOptional<z.ZodNumber>;
|
3000
3234
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
3235
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3001
3236
|
}, "strip", z.ZodTypeAny, {
|
3002
3237
|
key: string;
|
3003
3238
|
type: "integer";
|
@@ -3007,6 +3242,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3007
3242
|
min?: number | undefined;
|
3008
3243
|
max?: number | undefined;
|
3009
3244
|
xdefault?: number | null | undefined;
|
3245
|
+
description?: string | Record<string, string> | null | undefined;
|
3010
3246
|
}, {
|
3011
3247
|
key: string;
|
3012
3248
|
type?: "integer" | undefined;
|
@@ -3016,7 +3252,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3016
3252
|
min?: number | undefined;
|
3017
3253
|
max?: number | undefined;
|
3018
3254
|
xdefault?: number | null | undefined;
|
3019
|
-
|
3255
|
+
description?: string | Record<string, string> | null | undefined;
|
3256
|
+
}>, z.ZodObject<{
|
3020
3257
|
key: z.ZodString;
|
3021
3258
|
type: z.ZodDefault<z.ZodLiteral<"float">>;
|
3022
3259
|
error: z.ZodDefault<z.ZodString>;
|
@@ -3025,6 +3262,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3025
3262
|
min: z.ZodOptional<z.ZodNumber>;
|
3026
3263
|
max: z.ZodOptional<z.ZodNumber>;
|
3027
3264
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
3265
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3028
3266
|
}, "strip", z.ZodTypeAny, {
|
3029
3267
|
key: string;
|
3030
3268
|
type: "float";
|
@@ -3034,6 +3272,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3034
3272
|
min?: number | undefined;
|
3035
3273
|
max?: number | undefined;
|
3036
3274
|
xdefault?: number | null | undefined;
|
3275
|
+
description?: string | Record<string, string> | null | undefined;
|
3037
3276
|
}, {
|
3038
3277
|
key: string;
|
3039
3278
|
type?: "float" | undefined;
|
@@ -3043,13 +3282,15 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3043
3282
|
min?: number | undefined;
|
3044
3283
|
max?: number | undefined;
|
3045
3284
|
xdefault?: number | null | undefined;
|
3046
|
-
|
3285
|
+
description?: string | Record<string, string> | null | undefined;
|
3286
|
+
}>, z.ZodObject<{
|
3047
3287
|
key: z.ZodString;
|
3048
3288
|
type: z.ZodDefault<z.ZodLiteral<"boolean">>;
|
3049
3289
|
error: z.ZodDefault<z.ZodString>;
|
3050
3290
|
required: z.ZodDefault<z.ZodBoolean>;
|
3051
3291
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3052
3292
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
3293
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3053
3294
|
}, "strip", z.ZodTypeAny, {
|
3054
3295
|
key: string;
|
3055
3296
|
type: "boolean";
|
@@ -3057,6 +3298,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3057
3298
|
required: boolean;
|
3058
3299
|
array: boolean;
|
3059
3300
|
xdefault?: boolean | null | undefined;
|
3301
|
+
description?: string | Record<string, string> | null | undefined;
|
3060
3302
|
}, {
|
3061
3303
|
key: string;
|
3062
3304
|
type?: "boolean" | undefined;
|
@@ -3064,13 +3306,15 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3064
3306
|
required?: boolean | undefined;
|
3065
3307
|
array?: boolean | undefined;
|
3066
3308
|
xdefault?: boolean | null | undefined;
|
3067
|
-
|
3309
|
+
description?: string | Record<string, string> | null | undefined;
|
3310
|
+
}>, z.ZodObject<{
|
3068
3311
|
key: z.ZodString;
|
3069
3312
|
type: z.ZodDefault<z.ZodLiteral<"datetime">>;
|
3070
3313
|
error: z.ZodDefault<z.ZodString>;
|
3071
3314
|
required: z.ZodDefault<z.ZodBoolean>;
|
3072
3315
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3073
3316
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3317
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3074
3318
|
}, "strip", z.ZodTypeAny, {
|
3075
3319
|
key: string;
|
3076
3320
|
type: "datetime";
|
@@ -3078,6 +3322,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3078
3322
|
required: boolean;
|
3079
3323
|
array: boolean;
|
3080
3324
|
xdefault?: string | null | undefined;
|
3325
|
+
description?: string | Record<string, string> | null | undefined;
|
3081
3326
|
}, {
|
3082
3327
|
key: string;
|
3083
3328
|
type?: "datetime" | undefined;
|
@@ -3085,13 +3330,15 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3085
3330
|
required?: boolean | undefined;
|
3086
3331
|
array?: boolean | undefined;
|
3087
3332
|
xdefault?: string | null | undefined;
|
3088
|
-
|
3333
|
+
description?: string | Record<string, string> | null | undefined;
|
3334
|
+
}>, z.ZodObject<{
|
3089
3335
|
key: z.ZodString;
|
3090
3336
|
type: z.ZodDefault<z.ZodLiteral<"email">>;
|
3091
3337
|
error: z.ZodDefault<z.ZodString>;
|
3092
3338
|
required: z.ZodDefault<z.ZodBoolean>;
|
3093
3339
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3094
3340
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3341
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3095
3342
|
}, "strip", z.ZodTypeAny, {
|
3096
3343
|
key: string;
|
3097
3344
|
type: "email";
|
@@ -3099,6 +3346,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3099
3346
|
required: boolean;
|
3100
3347
|
array: boolean;
|
3101
3348
|
xdefault?: string | null | undefined;
|
3349
|
+
description?: string | Record<string, string> | null | undefined;
|
3102
3350
|
}, {
|
3103
3351
|
key: string;
|
3104
3352
|
type?: "email" | undefined;
|
@@ -3106,13 +3354,15 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3106
3354
|
required?: boolean | undefined;
|
3107
3355
|
array?: boolean | undefined;
|
3108
3356
|
xdefault?: string | null | undefined;
|
3109
|
-
|
3357
|
+
description?: string | Record<string, string> | null | undefined;
|
3358
|
+
}>, z.ZodObject<{
|
3110
3359
|
key: z.ZodString;
|
3111
3360
|
type: z.ZodLiteral<"ip">;
|
3112
3361
|
error: z.ZodDefault<z.ZodString>;
|
3113
3362
|
required: z.ZodDefault<z.ZodBoolean>;
|
3114
3363
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3115
3364
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3365
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3116
3366
|
}, "strip", z.ZodTypeAny, {
|
3117
3367
|
key: string;
|
3118
3368
|
type: "ip";
|
@@ -3120,6 +3370,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3120
3370
|
required: boolean;
|
3121
3371
|
array: boolean;
|
3122
3372
|
xdefault?: string | null | undefined;
|
3373
|
+
description?: string | Record<string, string> | null | undefined;
|
3123
3374
|
}, {
|
3124
3375
|
key: string;
|
3125
3376
|
type: "ip";
|
@@ -3127,13 +3378,15 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3127
3378
|
required?: boolean | undefined;
|
3128
3379
|
array?: boolean | undefined;
|
3129
3380
|
xdefault?: string | null | undefined;
|
3130
|
-
|
3381
|
+
description?: string | Record<string, string> | null | undefined;
|
3382
|
+
}>, z.ZodObject<{
|
3131
3383
|
key: z.ZodString;
|
3132
3384
|
type: z.ZodDefault<z.ZodLiteral<"url">>;
|
3133
3385
|
error: z.ZodDefault<z.ZodString>;
|
3134
3386
|
required: z.ZodDefault<z.ZodBoolean>;
|
3135
3387
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3136
3388
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3389
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3137
3390
|
}, "strip", z.ZodTypeAny, {
|
3138
3391
|
key: string;
|
3139
3392
|
type: "url";
|
@@ -3141,6 +3394,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3141
3394
|
required: boolean;
|
3142
3395
|
array: boolean;
|
3143
3396
|
xdefault?: string | null | undefined;
|
3397
|
+
description?: string | Record<string, string> | null | undefined;
|
3144
3398
|
}, {
|
3145
3399
|
key: string;
|
3146
3400
|
type?: "url" | undefined;
|
@@ -3148,7 +3402,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3148
3402
|
required?: boolean | undefined;
|
3149
3403
|
array?: boolean | undefined;
|
3150
3404
|
xdefault?: string | null | undefined;
|
3151
|
-
|
3405
|
+
description?: string | Record<string, string> | null | undefined;
|
3406
|
+
}>, z.ZodObject<{
|
3152
3407
|
key: z.ZodString;
|
3153
3408
|
type: z.ZodDefault<z.ZodLiteral<"enum">>;
|
3154
3409
|
error: z.ZodDefault<z.ZodString>;
|
@@ -3156,6 +3411,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3156
3411
|
array: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3157
3412
|
elements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
3158
3413
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3414
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3159
3415
|
}, "strip", z.ZodTypeAny, {
|
3160
3416
|
key: string;
|
3161
3417
|
type: "enum";
|
@@ -3164,6 +3420,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3164
3420
|
array: boolean;
|
3165
3421
|
elements: string[];
|
3166
3422
|
xdefault?: string | null | undefined;
|
3423
|
+
description?: string | Record<string, string> | null | undefined;
|
3167
3424
|
}, {
|
3168
3425
|
key: string;
|
3169
3426
|
type?: "enum" | undefined;
|
@@ -3172,7 +3429,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3172
3429
|
array?: boolean | undefined;
|
3173
3430
|
elements?: string[] | undefined;
|
3174
3431
|
xdefault?: string | null | undefined;
|
3175
|
-
|
3432
|
+
description?: string | Record<string, string> | null | undefined;
|
3433
|
+
}>, z.ZodObject<{
|
3176
3434
|
key: z.ZodString;
|
3177
3435
|
type: z.ZodDefault<z.ZodLiteral<"relationship">>;
|
3178
3436
|
error: z.ZodDefault<z.ZodString>;
|
@@ -3194,6 +3452,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3194
3452
|
originalIdField: string;
|
3195
3453
|
targetField?: string | undefined;
|
3196
3454
|
}>>;
|
3455
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
3197
3456
|
}, "strip", z.ZodTypeAny, {
|
3198
3457
|
key: string;
|
3199
3458
|
type: "relationship";
|
@@ -3210,6 +3469,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3210
3469
|
originalIdField: string;
|
3211
3470
|
targetField?: string | undefined;
|
3212
3471
|
} | undefined;
|
3472
|
+
description?: string | Record<string, string> | null | undefined;
|
3213
3473
|
}, {
|
3214
3474
|
key: string;
|
3215
3475
|
relatedCollection: string;
|
@@ -3226,6 +3486,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3226
3486
|
originalIdField: string;
|
3227
3487
|
targetField?: string | undefined;
|
3228
3488
|
} | undefined;
|
3489
|
+
description?: string | Record<string, string> | null | undefined;
|
3229
3490
|
}>]>, "many">>;
|
3230
3491
|
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
3231
3492
|
key: z.ZodString;
|
@@ -3419,6 +3680,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3419
3680
|
}>, "many">>;
|
3420
3681
|
databaseId: z.ZodOptional<z.ZodString>;
|
3421
3682
|
}, "$createdAt" | "$updatedAt">, "strip", z.ZodTypeAny, {
|
3683
|
+
name: string;
|
3422
3684
|
attributes: ({
|
3423
3685
|
key: string;
|
3424
3686
|
type: "string";
|
@@ -3428,6 +3690,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3428
3690
|
size: number;
|
3429
3691
|
xdefault?: string | null | undefined;
|
3430
3692
|
encrypted?: boolean | undefined;
|
3693
|
+
format?: string | null | undefined;
|
3694
|
+
description?: string | Record<string, string> | null | undefined;
|
3431
3695
|
} | {
|
3432
3696
|
key: string;
|
3433
3697
|
type: "integer";
|
@@ -3437,6 +3701,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3437
3701
|
min?: number | undefined;
|
3438
3702
|
max?: number | undefined;
|
3439
3703
|
xdefault?: number | null | undefined;
|
3704
|
+
description?: string | Record<string, string> | null | undefined;
|
3440
3705
|
} | {
|
3441
3706
|
key: string;
|
3442
3707
|
type: "float";
|
@@ -3446,6 +3711,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3446
3711
|
min?: number | undefined;
|
3447
3712
|
max?: number | undefined;
|
3448
3713
|
xdefault?: number | null | undefined;
|
3714
|
+
description?: string | Record<string, string> | null | undefined;
|
3449
3715
|
} | {
|
3450
3716
|
key: string;
|
3451
3717
|
type: "boolean";
|
@@ -3453,6 +3719,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3453
3719
|
required: boolean;
|
3454
3720
|
array: boolean;
|
3455
3721
|
xdefault?: boolean | null | undefined;
|
3722
|
+
description?: string | Record<string, string> | null | undefined;
|
3456
3723
|
} | {
|
3457
3724
|
key: string;
|
3458
3725
|
type: "datetime";
|
@@ -3460,6 +3727,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3460
3727
|
required: boolean;
|
3461
3728
|
array: boolean;
|
3462
3729
|
xdefault?: string | null | undefined;
|
3730
|
+
description?: string | Record<string, string> | null | undefined;
|
3463
3731
|
} | {
|
3464
3732
|
key: string;
|
3465
3733
|
type: "email";
|
@@ -3467,6 +3735,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3467
3735
|
required: boolean;
|
3468
3736
|
array: boolean;
|
3469
3737
|
xdefault?: string | null | undefined;
|
3738
|
+
description?: string | Record<string, string> | null | undefined;
|
3470
3739
|
} | {
|
3471
3740
|
key: string;
|
3472
3741
|
type: "ip";
|
@@ -3474,6 +3743,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3474
3743
|
required: boolean;
|
3475
3744
|
array: boolean;
|
3476
3745
|
xdefault?: string | null | undefined;
|
3746
|
+
description?: string | Record<string, string> | null | undefined;
|
3477
3747
|
} | {
|
3478
3748
|
key: string;
|
3479
3749
|
type: "url";
|
@@ -3481,6 +3751,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3481
3751
|
required: boolean;
|
3482
3752
|
array: boolean;
|
3483
3753
|
xdefault?: string | null | undefined;
|
3754
|
+
description?: string | Record<string, string> | null | undefined;
|
3484
3755
|
} | {
|
3485
3756
|
key: string;
|
3486
3757
|
type: "enum";
|
@@ -3489,6 +3760,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3489
3760
|
array: boolean;
|
3490
3761
|
elements: string[];
|
3491
3762
|
xdefault?: string | null | undefined;
|
3763
|
+
description?: string | Record<string, string> | null | undefined;
|
3492
3764
|
} | {
|
3493
3765
|
key: string;
|
3494
3766
|
type: "relationship";
|
@@ -3505,8 +3777,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3505
3777
|
originalIdField: string;
|
3506
3778
|
targetField?: string | undefined;
|
3507
3779
|
} | undefined;
|
3780
|
+
description?: string | Record<string, string> | null | undefined;
|
3508
3781
|
})[];
|
3509
|
-
name: string;
|
3510
3782
|
$id: string;
|
3511
3783
|
enabled: boolean;
|
3512
3784
|
documentSecurity: boolean;
|
@@ -3556,9 +3828,11 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3556
3828
|
targetField: string;
|
3557
3829
|
} | undefined;
|
3558
3830
|
}[];
|
3831
|
+
description?: string | undefined;
|
3559
3832
|
databaseId?: string | undefined;
|
3560
3833
|
}, {
|
3561
3834
|
name: string;
|
3835
|
+
description?: string | undefined;
|
3562
3836
|
attributes?: ({
|
3563
3837
|
key: string;
|
3564
3838
|
type?: "string" | undefined;
|
@@ -3568,6 +3842,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3568
3842
|
size?: number | undefined;
|
3569
3843
|
xdefault?: string | null | undefined;
|
3570
3844
|
encrypted?: boolean | undefined;
|
3845
|
+
format?: string | null | undefined;
|
3846
|
+
description?: string | Record<string, string> | null | undefined;
|
3571
3847
|
} | {
|
3572
3848
|
key: string;
|
3573
3849
|
type?: "integer" | undefined;
|
@@ -3577,6 +3853,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3577
3853
|
min?: number | undefined;
|
3578
3854
|
max?: number | undefined;
|
3579
3855
|
xdefault?: number | null | undefined;
|
3856
|
+
description?: string | Record<string, string> | null | undefined;
|
3580
3857
|
} | {
|
3581
3858
|
key: string;
|
3582
3859
|
type?: "float" | undefined;
|
@@ -3586,6 +3863,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3586
3863
|
min?: number | undefined;
|
3587
3864
|
max?: number | undefined;
|
3588
3865
|
xdefault?: number | null | undefined;
|
3866
|
+
description?: string | Record<string, string> | null | undefined;
|
3589
3867
|
} | {
|
3590
3868
|
key: string;
|
3591
3869
|
type?: "boolean" | undefined;
|
@@ -3593,6 +3871,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3593
3871
|
required?: boolean | undefined;
|
3594
3872
|
array?: boolean | undefined;
|
3595
3873
|
xdefault?: boolean | null | undefined;
|
3874
|
+
description?: string | Record<string, string> | null | undefined;
|
3596
3875
|
} | {
|
3597
3876
|
key: string;
|
3598
3877
|
type?: "datetime" | undefined;
|
@@ -3600,6 +3879,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3600
3879
|
required?: boolean | undefined;
|
3601
3880
|
array?: boolean | undefined;
|
3602
3881
|
xdefault?: string | null | undefined;
|
3882
|
+
description?: string | Record<string, string> | null | undefined;
|
3603
3883
|
} | {
|
3604
3884
|
key: string;
|
3605
3885
|
type?: "email" | undefined;
|
@@ -3607,6 +3887,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3607
3887
|
required?: boolean | undefined;
|
3608
3888
|
array?: boolean | undefined;
|
3609
3889
|
xdefault?: string | null | undefined;
|
3890
|
+
description?: string | Record<string, string> | null | undefined;
|
3610
3891
|
} | {
|
3611
3892
|
key: string;
|
3612
3893
|
type: "ip";
|
@@ -3614,6 +3895,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3614
3895
|
required?: boolean | undefined;
|
3615
3896
|
array?: boolean | undefined;
|
3616
3897
|
xdefault?: string | null | undefined;
|
3898
|
+
description?: string | Record<string, string> | null | undefined;
|
3617
3899
|
} | {
|
3618
3900
|
key: string;
|
3619
3901
|
type?: "url" | undefined;
|
@@ -3621,6 +3903,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3621
3903
|
required?: boolean | undefined;
|
3622
3904
|
array?: boolean | undefined;
|
3623
3905
|
xdefault?: string | null | undefined;
|
3906
|
+
description?: string | Record<string, string> | null | undefined;
|
3624
3907
|
} | {
|
3625
3908
|
key: string;
|
3626
3909
|
type?: "enum" | undefined;
|
@@ -3629,6 +3912,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3629
3912
|
array?: boolean | undefined;
|
3630
3913
|
elements?: string[] | undefined;
|
3631
3914
|
xdefault?: string | null | undefined;
|
3915
|
+
description?: string | Record<string, string> | null | undefined;
|
3632
3916
|
} | {
|
3633
3917
|
key: string;
|
3634
3918
|
relatedCollection: string;
|
@@ -3645,6 +3929,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3645
3929
|
originalIdField: string;
|
3646
3930
|
targetField?: string | undefined;
|
3647
3931
|
} | undefined;
|
3932
|
+
description?: string | Record<string, string> | null | undefined;
|
3648
3933
|
})[] | undefined;
|
3649
3934
|
$id?: string | undefined;
|
3650
3935
|
enabled?: boolean | undefined;
|
@@ -3715,6 +4000,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3715
4000
|
$id: string;
|
3716
4001
|
}[];
|
3717
4002
|
collections: {
|
4003
|
+
name: string;
|
3718
4004
|
attributes: ({
|
3719
4005
|
key: string;
|
3720
4006
|
type: "string";
|
@@ -3724,6 +4010,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3724
4010
|
size: number;
|
3725
4011
|
xdefault?: string | null | undefined;
|
3726
4012
|
encrypted?: boolean | undefined;
|
4013
|
+
format?: string | null | undefined;
|
4014
|
+
description?: string | Record<string, string> | null | undefined;
|
3727
4015
|
} | {
|
3728
4016
|
key: string;
|
3729
4017
|
type: "integer";
|
@@ -3733,6 +4021,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3733
4021
|
min?: number | undefined;
|
3734
4022
|
max?: number | undefined;
|
3735
4023
|
xdefault?: number | null | undefined;
|
4024
|
+
description?: string | Record<string, string> | null | undefined;
|
3736
4025
|
} | {
|
3737
4026
|
key: string;
|
3738
4027
|
type: "float";
|
@@ -3742,6 +4031,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3742
4031
|
min?: number | undefined;
|
3743
4032
|
max?: number | undefined;
|
3744
4033
|
xdefault?: number | null | undefined;
|
4034
|
+
description?: string | Record<string, string> | null | undefined;
|
3745
4035
|
} | {
|
3746
4036
|
key: string;
|
3747
4037
|
type: "boolean";
|
@@ -3749,6 +4039,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3749
4039
|
required: boolean;
|
3750
4040
|
array: boolean;
|
3751
4041
|
xdefault?: boolean | null | undefined;
|
4042
|
+
description?: string | Record<string, string> | null | undefined;
|
3752
4043
|
} | {
|
3753
4044
|
key: string;
|
3754
4045
|
type: "datetime";
|
@@ -3756,6 +4047,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3756
4047
|
required: boolean;
|
3757
4048
|
array: boolean;
|
3758
4049
|
xdefault?: string | null | undefined;
|
4050
|
+
description?: string | Record<string, string> | null | undefined;
|
3759
4051
|
} | {
|
3760
4052
|
key: string;
|
3761
4053
|
type: "email";
|
@@ -3763,6 +4055,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3763
4055
|
required: boolean;
|
3764
4056
|
array: boolean;
|
3765
4057
|
xdefault?: string | null | undefined;
|
4058
|
+
description?: string | Record<string, string> | null | undefined;
|
3766
4059
|
} | {
|
3767
4060
|
key: string;
|
3768
4061
|
type: "ip";
|
@@ -3770,6 +4063,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3770
4063
|
required: boolean;
|
3771
4064
|
array: boolean;
|
3772
4065
|
xdefault?: string | null | undefined;
|
4066
|
+
description?: string | Record<string, string> | null | undefined;
|
3773
4067
|
} | {
|
3774
4068
|
key: string;
|
3775
4069
|
type: "url";
|
@@ -3777,6 +4071,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3777
4071
|
required: boolean;
|
3778
4072
|
array: boolean;
|
3779
4073
|
xdefault?: string | null | undefined;
|
4074
|
+
description?: string | Record<string, string> | null | undefined;
|
3780
4075
|
} | {
|
3781
4076
|
key: string;
|
3782
4077
|
type: "enum";
|
@@ -3785,6 +4080,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3785
4080
|
array: boolean;
|
3786
4081
|
elements: string[];
|
3787
4082
|
xdefault?: string | null | undefined;
|
4083
|
+
description?: string | Record<string, string> | null | undefined;
|
3788
4084
|
} | {
|
3789
4085
|
key: string;
|
3790
4086
|
type: "relationship";
|
@@ -3801,8 +4097,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3801
4097
|
originalIdField: string;
|
3802
4098
|
targetField?: string | undefined;
|
3803
4099
|
} | undefined;
|
4100
|
+
description?: string | Record<string, string> | null | undefined;
|
3804
4101
|
})[];
|
3805
|
-
name: string;
|
3806
4102
|
$id: string;
|
3807
4103
|
enabled: boolean;
|
3808
4104
|
documentSecurity: boolean;
|
@@ -3852,6 +4148,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3852
4148
|
targetField: string;
|
3853
4149
|
} | undefined;
|
3854
4150
|
}[];
|
4151
|
+
description?: string | undefined;
|
3855
4152
|
databaseId?: string | undefined;
|
3856
4153
|
}[];
|
3857
4154
|
appwriteClient?: any;
|
@@ -3875,6 +4172,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3875
4172
|
}[] | undefined;
|
3876
4173
|
collections?: {
|
3877
4174
|
name: string;
|
4175
|
+
description?: string | undefined;
|
3878
4176
|
attributes?: ({
|
3879
4177
|
key: string;
|
3880
4178
|
type?: "string" | undefined;
|
@@ -3884,6 +4182,8 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3884
4182
|
size?: number | undefined;
|
3885
4183
|
xdefault?: string | null | undefined;
|
3886
4184
|
encrypted?: boolean | undefined;
|
4185
|
+
format?: string | null | undefined;
|
4186
|
+
description?: string | Record<string, string> | null | undefined;
|
3887
4187
|
} | {
|
3888
4188
|
key: string;
|
3889
4189
|
type?: "integer" | undefined;
|
@@ -3893,6 +4193,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3893
4193
|
min?: number | undefined;
|
3894
4194
|
max?: number | undefined;
|
3895
4195
|
xdefault?: number | null | undefined;
|
4196
|
+
description?: string | Record<string, string> | null | undefined;
|
3896
4197
|
} | {
|
3897
4198
|
key: string;
|
3898
4199
|
type?: "float" | undefined;
|
@@ -3902,6 +4203,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3902
4203
|
min?: number | undefined;
|
3903
4204
|
max?: number | undefined;
|
3904
4205
|
xdefault?: number | null | undefined;
|
4206
|
+
description?: string | Record<string, string> | null | undefined;
|
3905
4207
|
} | {
|
3906
4208
|
key: string;
|
3907
4209
|
type?: "boolean" | undefined;
|
@@ -3909,6 +4211,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3909
4211
|
required?: boolean | undefined;
|
3910
4212
|
array?: boolean | undefined;
|
3911
4213
|
xdefault?: boolean | null | undefined;
|
4214
|
+
description?: string | Record<string, string> | null | undefined;
|
3912
4215
|
} | {
|
3913
4216
|
key: string;
|
3914
4217
|
type?: "datetime" | undefined;
|
@@ -3916,6 +4219,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3916
4219
|
required?: boolean | undefined;
|
3917
4220
|
array?: boolean | undefined;
|
3918
4221
|
xdefault?: string | null | undefined;
|
4222
|
+
description?: string | Record<string, string> | null | undefined;
|
3919
4223
|
} | {
|
3920
4224
|
key: string;
|
3921
4225
|
type?: "email" | undefined;
|
@@ -3923,6 +4227,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3923
4227
|
required?: boolean | undefined;
|
3924
4228
|
array?: boolean | undefined;
|
3925
4229
|
xdefault?: string | null | undefined;
|
4230
|
+
description?: string | Record<string, string> | null | undefined;
|
3926
4231
|
} | {
|
3927
4232
|
key: string;
|
3928
4233
|
type: "ip";
|
@@ -3930,6 +4235,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3930
4235
|
required?: boolean | undefined;
|
3931
4236
|
array?: boolean | undefined;
|
3932
4237
|
xdefault?: string | null | undefined;
|
4238
|
+
description?: string | Record<string, string> | null | undefined;
|
3933
4239
|
} | {
|
3934
4240
|
key: string;
|
3935
4241
|
type?: "url" | undefined;
|
@@ -3937,6 +4243,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3937
4243
|
required?: boolean | undefined;
|
3938
4244
|
array?: boolean | undefined;
|
3939
4245
|
xdefault?: string | null | undefined;
|
4246
|
+
description?: string | Record<string, string> | null | undefined;
|
3940
4247
|
} | {
|
3941
4248
|
key: string;
|
3942
4249
|
type?: "enum" | undefined;
|
@@ -3945,6 +4252,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3945
4252
|
array?: boolean | undefined;
|
3946
4253
|
elements?: string[] | undefined;
|
3947
4254
|
xdefault?: string | null | undefined;
|
4255
|
+
description?: string | Record<string, string> | null | undefined;
|
3948
4256
|
} | {
|
3949
4257
|
key: string;
|
3950
4258
|
relatedCollection: string;
|
@@ -3961,6 +4269,7 @@ export declare const AppwriteConfigSchema: z.ZodObject<{
|
|
3961
4269
|
originalIdField: string;
|
3962
4270
|
targetField?: string | undefined;
|
3963
4271
|
} | undefined;
|
4272
|
+
description?: string | Record<string, string> | null | undefined;
|
3964
4273
|
})[] | undefined;
|
3965
4274
|
$id?: string | undefined;
|
3966
4275
|
enabled?: boolean | undefined;
|