appwrite-utils-cli 0.0.29 → 0.0.30
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.
|
@@ -36,24 +36,24 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
36
36
|
type: "string";
|
|
37
37
|
key: string;
|
|
38
38
|
size: number;
|
|
39
|
+
format?: string | null | undefined;
|
|
40
|
+
description?: string | Record<string, string> | undefined;
|
|
41
|
+
required?: boolean | undefined;
|
|
39
42
|
array?: boolean | undefined;
|
|
40
43
|
error?: string | undefined;
|
|
41
|
-
required?: boolean | undefined;
|
|
42
44
|
xdefault?: string | null | undefined;
|
|
43
45
|
encrypted?: boolean | undefined;
|
|
44
|
-
format?: string | null | undefined;
|
|
45
|
-
description?: string | Record<string, string> | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
key: string;
|
|
48
48
|
type?: "string" | undefined;
|
|
49
|
+
format?: string | null | undefined;
|
|
50
|
+
description?: string | Record<string, string> | undefined;
|
|
51
|
+
required?: boolean | undefined;
|
|
49
52
|
array?: boolean | undefined;
|
|
50
53
|
error?: string | undefined;
|
|
51
|
-
required?: boolean | undefined;
|
|
52
54
|
size?: number | undefined;
|
|
53
55
|
xdefault?: string | null | undefined;
|
|
54
56
|
encrypted?: boolean | undefined;
|
|
55
|
-
format?: string | null | undefined;
|
|
56
|
-
description?: string | Record<string, string> | undefined;
|
|
57
57
|
}>, z.ZodObject<{
|
|
58
58
|
key: z.ZodString;
|
|
59
59
|
type: z.ZodDefault<z.ZodLiteral<"integer">>;
|
|
@@ -67,21 +67,21 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
type: "integer";
|
|
69
69
|
key: string;
|
|
70
|
+
description?: string | Record<string, string> | null | undefined;
|
|
71
|
+
required?: boolean | undefined;
|
|
70
72
|
array?: boolean | undefined;
|
|
71
73
|
error?: string | undefined;
|
|
72
|
-
required?: boolean | undefined;
|
|
73
74
|
xdefault?: number | null | undefined;
|
|
74
|
-
description?: string | Record<string, string> | null | undefined;
|
|
75
75
|
min?: number | undefined;
|
|
76
76
|
max?: number | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
key: string;
|
|
79
79
|
type?: "integer" | undefined;
|
|
80
|
+
description?: string | Record<string, string> | null | undefined;
|
|
81
|
+
required?: boolean | undefined;
|
|
80
82
|
array?: boolean | undefined;
|
|
81
83
|
error?: string | undefined;
|
|
82
|
-
required?: boolean | undefined;
|
|
83
84
|
xdefault?: number | null | undefined;
|
|
84
|
-
description?: string | Record<string, string> | null | undefined;
|
|
85
85
|
min?: number | undefined;
|
|
86
86
|
max?: number | undefined;
|
|
87
87
|
}>, z.ZodObject<{
|
|
@@ -97,21 +97,21 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
type: "float";
|
|
99
99
|
key: string;
|
|
100
|
+
description?: string | Record<string, string> | null | undefined;
|
|
101
|
+
required?: boolean | undefined;
|
|
100
102
|
array?: boolean | undefined;
|
|
101
103
|
error?: string | undefined;
|
|
102
|
-
required?: boolean | undefined;
|
|
103
104
|
xdefault?: number | null | undefined;
|
|
104
|
-
description?: string | Record<string, string> | null | undefined;
|
|
105
105
|
min?: number | undefined;
|
|
106
106
|
max?: number | undefined;
|
|
107
107
|
}, {
|
|
108
108
|
key: string;
|
|
109
109
|
type?: "float" | undefined;
|
|
110
|
+
description?: string | Record<string, string> | null | undefined;
|
|
111
|
+
required?: boolean | undefined;
|
|
110
112
|
array?: boolean | undefined;
|
|
111
113
|
error?: string | undefined;
|
|
112
|
-
required?: boolean | undefined;
|
|
113
114
|
xdefault?: number | null | undefined;
|
|
114
|
-
description?: string | Record<string, string> | null | undefined;
|
|
115
115
|
min?: number | undefined;
|
|
116
116
|
max?: number | undefined;
|
|
117
117
|
}>, z.ZodObject<{
|
|
@@ -125,19 +125,19 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
type: "boolean";
|
|
127
127
|
key: string;
|
|
128
|
+
description?: string | Record<string, string> | null | undefined;
|
|
129
|
+
required?: boolean | undefined;
|
|
128
130
|
array?: boolean | undefined;
|
|
129
131
|
error?: string | undefined;
|
|
130
|
-
required?: boolean | undefined;
|
|
131
132
|
xdefault?: boolean | null | undefined;
|
|
132
|
-
description?: string | Record<string, string> | null | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
key: string;
|
|
135
135
|
type?: "boolean" | undefined;
|
|
136
|
+
description?: string | Record<string, string> | null | undefined;
|
|
137
|
+
required?: boolean | undefined;
|
|
136
138
|
array?: boolean | undefined;
|
|
137
139
|
error?: string | undefined;
|
|
138
|
-
required?: boolean | undefined;
|
|
139
140
|
xdefault?: boolean | null | undefined;
|
|
140
|
-
description?: string | Record<string, string> | null | undefined;
|
|
141
141
|
}>, z.ZodObject<{
|
|
142
142
|
key: z.ZodString;
|
|
143
143
|
type: z.ZodDefault<z.ZodLiteral<"datetime">>;
|
|
@@ -149,19 +149,19 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
150
|
type: "datetime";
|
|
151
151
|
key: string;
|
|
152
|
+
description?: string | Record<string, string> | null | undefined;
|
|
153
|
+
required?: boolean | undefined;
|
|
152
154
|
array?: boolean | undefined;
|
|
153
155
|
error?: string | undefined;
|
|
154
|
-
required?: boolean | undefined;
|
|
155
156
|
xdefault?: string | null | undefined;
|
|
156
|
-
description?: string | Record<string, string> | null | undefined;
|
|
157
157
|
}, {
|
|
158
158
|
key: string;
|
|
159
159
|
type?: "datetime" | undefined;
|
|
160
|
+
description?: string | Record<string, string> | null | undefined;
|
|
161
|
+
required?: boolean | undefined;
|
|
160
162
|
array?: boolean | undefined;
|
|
161
163
|
error?: string | undefined;
|
|
162
|
-
required?: boolean | undefined;
|
|
163
164
|
xdefault?: string | null | undefined;
|
|
164
|
-
description?: string | Record<string, string> | null | undefined;
|
|
165
165
|
}>, z.ZodObject<{
|
|
166
166
|
key: z.ZodString;
|
|
167
167
|
type: z.ZodDefault<z.ZodLiteral<"email">>;
|
|
@@ -173,19 +173,19 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
174
|
type: "email";
|
|
175
175
|
key: string;
|
|
176
|
+
description?: string | Record<string, string> | null | undefined;
|
|
177
|
+
required?: boolean | undefined;
|
|
176
178
|
array?: boolean | undefined;
|
|
177
179
|
error?: string | undefined;
|
|
178
|
-
required?: boolean | undefined;
|
|
179
180
|
xdefault?: string | null | undefined;
|
|
180
|
-
description?: string | Record<string, string> | null | undefined;
|
|
181
181
|
}, {
|
|
182
182
|
key: string;
|
|
183
183
|
type?: "email" | undefined;
|
|
184
|
+
description?: string | Record<string, string> | null | undefined;
|
|
185
|
+
required?: boolean | undefined;
|
|
184
186
|
array?: boolean | undefined;
|
|
185
187
|
error?: string | undefined;
|
|
186
|
-
required?: boolean | undefined;
|
|
187
188
|
xdefault?: string | null | undefined;
|
|
188
|
-
description?: string | Record<string, string> | null | undefined;
|
|
189
189
|
}>, z.ZodObject<{
|
|
190
190
|
key: z.ZodString;
|
|
191
191
|
type: z.ZodLiteral<"ip">;
|
|
@@ -197,19 +197,19 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
198
|
type: "ip";
|
|
199
199
|
key: string;
|
|
200
|
+
description?: string | Record<string, string> | null | undefined;
|
|
201
|
+
required?: boolean | undefined;
|
|
200
202
|
array?: boolean | undefined;
|
|
201
203
|
error?: string | undefined;
|
|
202
|
-
required?: boolean | undefined;
|
|
203
204
|
xdefault?: string | null | undefined;
|
|
204
|
-
description?: string | Record<string, string> | null | undefined;
|
|
205
205
|
}, {
|
|
206
206
|
type: "ip";
|
|
207
207
|
key: string;
|
|
208
|
+
description?: string | Record<string, string> | null | undefined;
|
|
209
|
+
required?: boolean | undefined;
|
|
208
210
|
array?: boolean | undefined;
|
|
209
211
|
error?: string | undefined;
|
|
210
|
-
required?: boolean | undefined;
|
|
211
212
|
xdefault?: string | null | undefined;
|
|
212
|
-
description?: string | Record<string, string> | null | undefined;
|
|
213
213
|
}>, z.ZodObject<{
|
|
214
214
|
key: z.ZodString;
|
|
215
215
|
type: z.ZodDefault<z.ZodLiteral<"url">>;
|
|
@@ -221,19 +221,19 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
type: "url";
|
|
223
223
|
key: string;
|
|
224
|
+
description?: string | Record<string, string> | null | undefined;
|
|
225
|
+
required?: boolean | undefined;
|
|
224
226
|
array?: boolean | undefined;
|
|
225
227
|
error?: string | undefined;
|
|
226
|
-
required?: boolean | undefined;
|
|
227
228
|
xdefault?: string | null | undefined;
|
|
228
|
-
description?: string | Record<string, string> | null | undefined;
|
|
229
229
|
}, {
|
|
230
230
|
key: string;
|
|
231
231
|
type?: "url" | undefined;
|
|
232
|
+
description?: string | Record<string, string> | null | undefined;
|
|
233
|
+
required?: boolean | undefined;
|
|
232
234
|
array?: boolean | undefined;
|
|
233
235
|
error?: string | undefined;
|
|
234
|
-
required?: boolean | undefined;
|
|
235
236
|
xdefault?: string | null | undefined;
|
|
236
|
-
description?: string | Record<string, string> | null | undefined;
|
|
237
237
|
}>, z.ZodObject<{
|
|
238
238
|
key: z.ZodString;
|
|
239
239
|
type: z.ZodDefault<z.ZodLiteral<"enum">>;
|
|
@@ -247,19 +247,19 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
247
247
|
type: "enum";
|
|
248
248
|
key: string;
|
|
249
249
|
elements: string[];
|
|
250
|
+
description?: string | Record<string, string> | null | undefined;
|
|
251
|
+
required?: boolean | undefined;
|
|
250
252
|
array?: boolean | undefined;
|
|
251
253
|
error?: string | undefined;
|
|
252
|
-
required?: boolean | undefined;
|
|
253
254
|
xdefault?: string | null | undefined;
|
|
254
|
-
description?: string | Record<string, string> | null | undefined;
|
|
255
255
|
}, {
|
|
256
256
|
key: string;
|
|
257
257
|
type?: "enum" | undefined;
|
|
258
|
+
description?: string | Record<string, string> | null | undefined;
|
|
259
|
+
required?: boolean | undefined;
|
|
258
260
|
array?: boolean | undefined;
|
|
259
261
|
error?: string | undefined;
|
|
260
|
-
required?: boolean | undefined;
|
|
261
262
|
xdefault?: string | null | undefined;
|
|
262
|
-
description?: string | Record<string, string> | null | undefined;
|
|
263
263
|
elements?: string[] | undefined;
|
|
264
264
|
}>, z.ZodObject<{
|
|
265
265
|
key: z.ZodString;
|
|
@@ -293,10 +293,10 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
293
293
|
twoWayKey: string;
|
|
294
294
|
onDelete: "setNull" | "cascade" | "restrict";
|
|
295
295
|
side: "parent" | "child";
|
|
296
|
+
description?: string | Record<string, string> | null | undefined;
|
|
297
|
+
required?: boolean | undefined;
|
|
296
298
|
array?: boolean | undefined;
|
|
297
299
|
error?: string | undefined;
|
|
298
|
-
required?: boolean | undefined;
|
|
299
|
-
description?: string | Record<string, string> | null | undefined;
|
|
300
300
|
importMapping?: {
|
|
301
301
|
originalIdField: string;
|
|
302
302
|
targetField?: string | undefined;
|
|
@@ -309,10 +309,10 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
309
309
|
twoWayKey: string;
|
|
310
310
|
side: "parent" | "child";
|
|
311
311
|
type?: "relationship" | undefined;
|
|
312
|
+
description?: string | Record<string, string> | null | undefined;
|
|
313
|
+
required?: boolean | undefined;
|
|
312
314
|
array?: boolean | undefined;
|
|
313
315
|
error?: string | undefined;
|
|
314
|
-
required?: boolean | undefined;
|
|
315
|
-
description?: string | Record<string, string> | null | undefined;
|
|
316
316
|
onDelete?: "setNull" | "cascade" | "restrict" | undefined;
|
|
317
317
|
importMapping?: {
|
|
318
318
|
originalIdField: string;
|
|
@@ -530,82 +530,82 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
530
530
|
type: "string";
|
|
531
531
|
key: string;
|
|
532
532
|
size: number;
|
|
533
|
+
format?: string | null | undefined;
|
|
534
|
+
description?: string | Record<string, string> | undefined;
|
|
535
|
+
required?: boolean | undefined;
|
|
533
536
|
array?: boolean | undefined;
|
|
534
537
|
error?: string | undefined;
|
|
535
|
-
required?: boolean | undefined;
|
|
536
538
|
xdefault?: string | null | undefined;
|
|
537
539
|
encrypted?: boolean | undefined;
|
|
538
|
-
format?: string | null | undefined;
|
|
539
|
-
description?: string | Record<string, string> | undefined;
|
|
540
540
|
} | {
|
|
541
541
|
type: "integer";
|
|
542
542
|
key: string;
|
|
543
|
+
description?: string | Record<string, string> | null | undefined;
|
|
544
|
+
required?: boolean | undefined;
|
|
543
545
|
array?: boolean | undefined;
|
|
544
546
|
error?: string | undefined;
|
|
545
|
-
required?: boolean | undefined;
|
|
546
547
|
xdefault?: number | null | undefined;
|
|
547
|
-
description?: string | Record<string, string> | null | undefined;
|
|
548
548
|
min?: number | undefined;
|
|
549
549
|
max?: number | undefined;
|
|
550
550
|
} | {
|
|
551
551
|
type: "float";
|
|
552
552
|
key: string;
|
|
553
|
+
description?: string | Record<string, string> | null | undefined;
|
|
554
|
+
required?: boolean | undefined;
|
|
553
555
|
array?: boolean | undefined;
|
|
554
556
|
error?: string | undefined;
|
|
555
|
-
required?: boolean | undefined;
|
|
556
557
|
xdefault?: number | null | undefined;
|
|
557
|
-
description?: string | Record<string, string> | null | undefined;
|
|
558
558
|
min?: number | undefined;
|
|
559
559
|
max?: number | undefined;
|
|
560
560
|
} | {
|
|
561
561
|
type: "boolean";
|
|
562
562
|
key: string;
|
|
563
|
+
description?: string | Record<string, string> | null | undefined;
|
|
564
|
+
required?: boolean | undefined;
|
|
563
565
|
array?: boolean | undefined;
|
|
564
566
|
error?: string | undefined;
|
|
565
|
-
required?: boolean | undefined;
|
|
566
567
|
xdefault?: boolean | null | undefined;
|
|
567
|
-
description?: string | Record<string, string> | null | undefined;
|
|
568
568
|
} | {
|
|
569
569
|
type: "datetime";
|
|
570
570
|
key: string;
|
|
571
|
+
description?: string | Record<string, string> | null | undefined;
|
|
572
|
+
required?: boolean | undefined;
|
|
571
573
|
array?: boolean | undefined;
|
|
572
574
|
error?: string | undefined;
|
|
573
|
-
required?: boolean | undefined;
|
|
574
575
|
xdefault?: string | null | undefined;
|
|
575
|
-
description?: string | Record<string, string> | null | undefined;
|
|
576
576
|
} | {
|
|
577
577
|
type: "email";
|
|
578
578
|
key: string;
|
|
579
|
+
description?: string | Record<string, string> | null | undefined;
|
|
580
|
+
required?: boolean | undefined;
|
|
579
581
|
array?: boolean | undefined;
|
|
580
582
|
error?: string | undefined;
|
|
581
|
-
required?: boolean | undefined;
|
|
582
583
|
xdefault?: string | null | undefined;
|
|
583
|
-
description?: string | Record<string, string> | null | undefined;
|
|
584
584
|
} | {
|
|
585
585
|
type: "ip";
|
|
586
586
|
key: string;
|
|
587
|
+
description?: string | Record<string, string> | null | undefined;
|
|
588
|
+
required?: boolean | undefined;
|
|
587
589
|
array?: boolean | undefined;
|
|
588
590
|
error?: string | undefined;
|
|
589
|
-
required?: boolean | undefined;
|
|
590
591
|
xdefault?: string | null | undefined;
|
|
591
|
-
description?: string | Record<string, string> | null | undefined;
|
|
592
592
|
} | {
|
|
593
593
|
type: "url";
|
|
594
594
|
key: string;
|
|
595
|
+
description?: string | Record<string, string> | null | undefined;
|
|
596
|
+
required?: boolean | undefined;
|
|
595
597
|
array?: boolean | undefined;
|
|
596
598
|
error?: string | undefined;
|
|
597
|
-
required?: boolean | undefined;
|
|
598
599
|
xdefault?: string | null | undefined;
|
|
599
|
-
description?: string | Record<string, string> | null | undefined;
|
|
600
600
|
} | {
|
|
601
601
|
type: "enum";
|
|
602
602
|
key: string;
|
|
603
603
|
elements: string[];
|
|
604
|
+
description?: string | Record<string, string> | null | undefined;
|
|
605
|
+
required?: boolean | undefined;
|
|
604
606
|
array?: boolean | undefined;
|
|
605
607
|
error?: string | undefined;
|
|
606
|
-
required?: boolean | undefined;
|
|
607
608
|
xdefault?: string | null | undefined;
|
|
608
|
-
description?: string | Record<string, string> | null | undefined;
|
|
609
609
|
} | {
|
|
610
610
|
type: "relationship";
|
|
611
611
|
key: string;
|
|
@@ -615,10 +615,10 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
615
615
|
twoWayKey: string;
|
|
616
616
|
onDelete: "setNull" | "cascade" | "restrict";
|
|
617
617
|
side: "parent" | "child";
|
|
618
|
+
description?: string | Record<string, string> | null | undefined;
|
|
619
|
+
required?: boolean | undefined;
|
|
618
620
|
array?: boolean | undefined;
|
|
619
621
|
error?: string | undefined;
|
|
620
|
-
required?: boolean | undefined;
|
|
621
|
-
description?: string | Record<string, string> | null | undefined;
|
|
622
622
|
importMapping?: {
|
|
623
623
|
originalIdField: string;
|
|
624
624
|
targetField?: string | undefined;
|
|
@@ -681,82 +681,82 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
681
681
|
attributes?: ({
|
|
682
682
|
key: string;
|
|
683
683
|
type?: "string" | undefined;
|
|
684
|
+
format?: string | null | undefined;
|
|
685
|
+
description?: string | Record<string, string> | undefined;
|
|
686
|
+
required?: boolean | undefined;
|
|
684
687
|
array?: boolean | undefined;
|
|
685
688
|
error?: string | undefined;
|
|
686
|
-
required?: boolean | undefined;
|
|
687
689
|
size?: number | undefined;
|
|
688
690
|
xdefault?: string | null | undefined;
|
|
689
691
|
encrypted?: boolean | undefined;
|
|
690
|
-
format?: string | null | undefined;
|
|
691
|
-
description?: string | Record<string, string> | undefined;
|
|
692
692
|
} | {
|
|
693
693
|
key: string;
|
|
694
694
|
type?: "integer" | undefined;
|
|
695
|
+
description?: string | Record<string, string> | null | undefined;
|
|
696
|
+
required?: boolean | undefined;
|
|
695
697
|
array?: boolean | undefined;
|
|
696
698
|
error?: string | undefined;
|
|
697
|
-
required?: boolean | undefined;
|
|
698
699
|
xdefault?: number | null | undefined;
|
|
699
|
-
description?: string | Record<string, string> | null | undefined;
|
|
700
700
|
min?: number | undefined;
|
|
701
701
|
max?: number | undefined;
|
|
702
702
|
} | {
|
|
703
703
|
key: string;
|
|
704
704
|
type?: "float" | undefined;
|
|
705
|
+
description?: string | Record<string, string> | null | undefined;
|
|
706
|
+
required?: boolean | undefined;
|
|
705
707
|
array?: boolean | undefined;
|
|
706
708
|
error?: string | undefined;
|
|
707
|
-
required?: boolean | undefined;
|
|
708
709
|
xdefault?: number | null | undefined;
|
|
709
|
-
description?: string | Record<string, string> | null | undefined;
|
|
710
710
|
min?: number | undefined;
|
|
711
711
|
max?: number | undefined;
|
|
712
712
|
} | {
|
|
713
713
|
key: string;
|
|
714
714
|
type?: "boolean" | undefined;
|
|
715
|
+
description?: string | Record<string, string> | null | undefined;
|
|
716
|
+
required?: boolean | undefined;
|
|
715
717
|
array?: boolean | undefined;
|
|
716
718
|
error?: string | undefined;
|
|
717
|
-
required?: boolean | undefined;
|
|
718
719
|
xdefault?: boolean | null | undefined;
|
|
719
|
-
description?: string | Record<string, string> | null | undefined;
|
|
720
720
|
} | {
|
|
721
721
|
key: string;
|
|
722
722
|
type?: "datetime" | undefined;
|
|
723
|
+
description?: string | Record<string, string> | null | undefined;
|
|
724
|
+
required?: boolean | undefined;
|
|
723
725
|
array?: boolean | undefined;
|
|
724
726
|
error?: string | undefined;
|
|
725
|
-
required?: boolean | undefined;
|
|
726
727
|
xdefault?: string | null | undefined;
|
|
727
|
-
description?: string | Record<string, string> | null | undefined;
|
|
728
728
|
} | {
|
|
729
729
|
key: string;
|
|
730
730
|
type?: "email" | undefined;
|
|
731
|
+
description?: string | Record<string, string> | null | undefined;
|
|
732
|
+
required?: boolean | undefined;
|
|
731
733
|
array?: boolean | undefined;
|
|
732
734
|
error?: string | undefined;
|
|
733
|
-
required?: boolean | undefined;
|
|
734
735
|
xdefault?: string | null | undefined;
|
|
735
|
-
description?: string | Record<string, string> | null | undefined;
|
|
736
736
|
} | {
|
|
737
737
|
type: "ip";
|
|
738
738
|
key: string;
|
|
739
|
+
description?: string | Record<string, string> | null | undefined;
|
|
740
|
+
required?: boolean | undefined;
|
|
739
741
|
array?: boolean | undefined;
|
|
740
742
|
error?: string | undefined;
|
|
741
|
-
required?: boolean | undefined;
|
|
742
743
|
xdefault?: string | null | undefined;
|
|
743
|
-
description?: string | Record<string, string> | null | undefined;
|
|
744
744
|
} | {
|
|
745
745
|
key: string;
|
|
746
746
|
type?: "url" | undefined;
|
|
747
|
+
description?: string | Record<string, string> | null | undefined;
|
|
748
|
+
required?: boolean | undefined;
|
|
747
749
|
array?: boolean | undefined;
|
|
748
750
|
error?: string | undefined;
|
|
749
|
-
required?: boolean | undefined;
|
|
750
751
|
xdefault?: string | null | undefined;
|
|
751
|
-
description?: string | Record<string, string> | null | undefined;
|
|
752
752
|
} | {
|
|
753
753
|
key: string;
|
|
754
754
|
type?: "enum" | undefined;
|
|
755
|
+
description?: string | Record<string, string> | null | undefined;
|
|
756
|
+
required?: boolean | undefined;
|
|
755
757
|
array?: boolean | undefined;
|
|
756
758
|
error?: string | undefined;
|
|
757
|
-
required?: boolean | undefined;
|
|
758
759
|
xdefault?: string | null | undefined;
|
|
759
|
-
description?: string | Record<string, string> | null | undefined;
|
|
760
760
|
elements?: string[] | undefined;
|
|
761
761
|
} | {
|
|
762
762
|
key: string;
|
|
@@ -766,10 +766,10 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
766
766
|
twoWayKey: string;
|
|
767
767
|
side: "parent" | "child";
|
|
768
768
|
type?: "relationship" | undefined;
|
|
769
|
+
description?: string | Record<string, string> | null | undefined;
|
|
770
|
+
required?: boolean | undefined;
|
|
769
771
|
array?: boolean | undefined;
|
|
770
772
|
error?: string | undefined;
|
|
771
|
-
required?: boolean | undefined;
|
|
772
|
-
description?: string | Record<string, string> | null | undefined;
|
|
773
773
|
onDelete?: "setNull" | "cascade" | "restrict" | undefined;
|
|
774
774
|
importMapping?: {
|
|
775
775
|
originalIdField: string;
|
|
@@ -1122,82 +1122,82 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
1122
1122
|
type: "string";
|
|
1123
1123
|
key: string;
|
|
1124
1124
|
size: number;
|
|
1125
|
+
format?: string | null | undefined;
|
|
1126
|
+
description?: string | Record<string, string> | undefined;
|
|
1127
|
+
required?: boolean | undefined;
|
|
1125
1128
|
array?: boolean | undefined;
|
|
1126
1129
|
error?: string | undefined;
|
|
1127
|
-
required?: boolean | undefined;
|
|
1128
1130
|
xdefault?: string | null | undefined;
|
|
1129
1131
|
encrypted?: boolean | undefined;
|
|
1130
|
-
format?: string | null | undefined;
|
|
1131
|
-
description?: string | Record<string, string> | undefined;
|
|
1132
1132
|
} | {
|
|
1133
1133
|
type: "integer";
|
|
1134
1134
|
key: string;
|
|
1135
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1136
|
+
required?: boolean | undefined;
|
|
1135
1137
|
array?: boolean | undefined;
|
|
1136
1138
|
error?: string | undefined;
|
|
1137
|
-
required?: boolean | undefined;
|
|
1138
1139
|
xdefault?: number | null | undefined;
|
|
1139
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1140
1140
|
min?: number | undefined;
|
|
1141
1141
|
max?: number | undefined;
|
|
1142
1142
|
} | {
|
|
1143
1143
|
type: "float";
|
|
1144
1144
|
key: string;
|
|
1145
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1146
|
+
required?: boolean | undefined;
|
|
1145
1147
|
array?: boolean | undefined;
|
|
1146
1148
|
error?: string | undefined;
|
|
1147
|
-
required?: boolean | undefined;
|
|
1148
1149
|
xdefault?: number | null | undefined;
|
|
1149
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1150
1150
|
min?: number | undefined;
|
|
1151
1151
|
max?: number | undefined;
|
|
1152
1152
|
} | {
|
|
1153
1153
|
type: "boolean";
|
|
1154
1154
|
key: string;
|
|
1155
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1156
|
+
required?: boolean | undefined;
|
|
1155
1157
|
array?: boolean | undefined;
|
|
1156
1158
|
error?: string | undefined;
|
|
1157
|
-
required?: boolean | undefined;
|
|
1158
1159
|
xdefault?: boolean | null | undefined;
|
|
1159
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1160
1160
|
} | {
|
|
1161
1161
|
type: "datetime";
|
|
1162
1162
|
key: string;
|
|
1163
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1164
|
+
required?: boolean | undefined;
|
|
1163
1165
|
array?: boolean | undefined;
|
|
1164
1166
|
error?: string | undefined;
|
|
1165
|
-
required?: boolean | undefined;
|
|
1166
1167
|
xdefault?: string | null | undefined;
|
|
1167
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1168
1168
|
} | {
|
|
1169
1169
|
type: "email";
|
|
1170
1170
|
key: string;
|
|
1171
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1172
|
+
required?: boolean | undefined;
|
|
1171
1173
|
array?: boolean | undefined;
|
|
1172
1174
|
error?: string | undefined;
|
|
1173
|
-
required?: boolean | undefined;
|
|
1174
1175
|
xdefault?: string | null | undefined;
|
|
1175
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1176
1176
|
} | {
|
|
1177
1177
|
type: "ip";
|
|
1178
1178
|
key: string;
|
|
1179
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1180
|
+
required?: boolean | undefined;
|
|
1179
1181
|
array?: boolean | undefined;
|
|
1180
1182
|
error?: string | undefined;
|
|
1181
|
-
required?: boolean | undefined;
|
|
1182
1183
|
xdefault?: string | null | undefined;
|
|
1183
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1184
1184
|
} | {
|
|
1185
1185
|
type: "url";
|
|
1186
1186
|
key: string;
|
|
1187
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1188
|
+
required?: boolean | undefined;
|
|
1187
1189
|
array?: boolean | undefined;
|
|
1188
1190
|
error?: string | undefined;
|
|
1189
|
-
required?: boolean | undefined;
|
|
1190
1191
|
xdefault?: string | null | undefined;
|
|
1191
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1192
1192
|
} | {
|
|
1193
1193
|
type: "enum";
|
|
1194
1194
|
key: string;
|
|
1195
1195
|
elements: string[];
|
|
1196
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1197
|
+
required?: boolean | undefined;
|
|
1196
1198
|
array?: boolean | undefined;
|
|
1197
1199
|
error?: string | undefined;
|
|
1198
|
-
required?: boolean | undefined;
|
|
1199
1200
|
xdefault?: string | null | undefined;
|
|
1200
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1201
1201
|
} | {
|
|
1202
1202
|
type: "relationship";
|
|
1203
1203
|
key: string;
|
|
@@ -1207,10 +1207,10 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
1207
1207
|
twoWayKey: string;
|
|
1208
1208
|
onDelete: "setNull" | "cascade" | "restrict";
|
|
1209
1209
|
side: "parent" | "child";
|
|
1210
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1211
|
+
required?: boolean | undefined;
|
|
1210
1212
|
array?: boolean | undefined;
|
|
1211
1213
|
error?: string | undefined;
|
|
1212
|
-
required?: boolean | undefined;
|
|
1213
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1214
1214
|
importMapping?: {
|
|
1215
1215
|
originalIdField: string;
|
|
1216
1216
|
targetField?: string | undefined;
|
|
@@ -1314,82 +1314,82 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
1314
1314
|
attributes?: ({
|
|
1315
1315
|
key: string;
|
|
1316
1316
|
type?: "string" | undefined;
|
|
1317
|
+
format?: string | null | undefined;
|
|
1318
|
+
description?: string | Record<string, string> | undefined;
|
|
1319
|
+
required?: boolean | undefined;
|
|
1317
1320
|
array?: boolean | undefined;
|
|
1318
1321
|
error?: string | undefined;
|
|
1319
|
-
required?: boolean | undefined;
|
|
1320
1322
|
size?: number | undefined;
|
|
1321
1323
|
xdefault?: string | null | undefined;
|
|
1322
1324
|
encrypted?: boolean | undefined;
|
|
1323
|
-
format?: string | null | undefined;
|
|
1324
|
-
description?: string | Record<string, string> | undefined;
|
|
1325
1325
|
} | {
|
|
1326
1326
|
key: string;
|
|
1327
1327
|
type?: "integer" | undefined;
|
|
1328
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1329
|
+
required?: boolean | undefined;
|
|
1328
1330
|
array?: boolean | undefined;
|
|
1329
1331
|
error?: string | undefined;
|
|
1330
|
-
required?: boolean | undefined;
|
|
1331
1332
|
xdefault?: number | null | undefined;
|
|
1332
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1333
1333
|
min?: number | undefined;
|
|
1334
1334
|
max?: number | undefined;
|
|
1335
1335
|
} | {
|
|
1336
1336
|
key: string;
|
|
1337
1337
|
type?: "float" | undefined;
|
|
1338
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1339
|
+
required?: boolean | undefined;
|
|
1338
1340
|
array?: boolean | undefined;
|
|
1339
1341
|
error?: string | undefined;
|
|
1340
|
-
required?: boolean | undefined;
|
|
1341
1342
|
xdefault?: number | null | undefined;
|
|
1342
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1343
1343
|
min?: number | undefined;
|
|
1344
1344
|
max?: number | undefined;
|
|
1345
1345
|
} | {
|
|
1346
1346
|
key: string;
|
|
1347
1347
|
type?: "boolean" | undefined;
|
|
1348
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1349
|
+
required?: boolean | undefined;
|
|
1348
1350
|
array?: boolean | undefined;
|
|
1349
1351
|
error?: string | undefined;
|
|
1350
|
-
required?: boolean | undefined;
|
|
1351
1352
|
xdefault?: boolean | null | undefined;
|
|
1352
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1353
1353
|
} | {
|
|
1354
1354
|
key: string;
|
|
1355
1355
|
type?: "datetime" | undefined;
|
|
1356
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1357
|
+
required?: boolean | undefined;
|
|
1356
1358
|
array?: boolean | undefined;
|
|
1357
1359
|
error?: string | undefined;
|
|
1358
|
-
required?: boolean | undefined;
|
|
1359
1360
|
xdefault?: string | null | undefined;
|
|
1360
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1361
1361
|
} | {
|
|
1362
1362
|
key: string;
|
|
1363
1363
|
type?: "email" | undefined;
|
|
1364
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1365
|
+
required?: boolean | undefined;
|
|
1364
1366
|
array?: boolean | undefined;
|
|
1365
1367
|
error?: string | undefined;
|
|
1366
|
-
required?: boolean | undefined;
|
|
1367
1368
|
xdefault?: string | null | undefined;
|
|
1368
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1369
1369
|
} | {
|
|
1370
1370
|
type: "ip";
|
|
1371
1371
|
key: string;
|
|
1372
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1373
|
+
required?: boolean | undefined;
|
|
1372
1374
|
array?: boolean | undefined;
|
|
1373
1375
|
error?: string | undefined;
|
|
1374
|
-
required?: boolean | undefined;
|
|
1375
1376
|
xdefault?: string | null | undefined;
|
|
1376
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1377
1377
|
} | {
|
|
1378
1378
|
key: string;
|
|
1379
1379
|
type?: "url" | undefined;
|
|
1380
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1381
|
+
required?: boolean | undefined;
|
|
1380
1382
|
array?: boolean | undefined;
|
|
1381
1383
|
error?: string | undefined;
|
|
1382
|
-
required?: boolean | undefined;
|
|
1383
1384
|
xdefault?: string | null | undefined;
|
|
1384
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1385
1385
|
} | {
|
|
1386
1386
|
key: string;
|
|
1387
1387
|
type?: "enum" | undefined;
|
|
1388
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1389
|
+
required?: boolean | undefined;
|
|
1388
1390
|
array?: boolean | undefined;
|
|
1389
1391
|
error?: string | undefined;
|
|
1390
|
-
required?: boolean | undefined;
|
|
1391
1392
|
xdefault?: string | null | undefined;
|
|
1392
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1393
1393
|
elements?: string[] | undefined;
|
|
1394
1394
|
} | {
|
|
1395
1395
|
key: string;
|
|
@@ -1399,10 +1399,10 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
1399
1399
|
twoWayKey: string;
|
|
1400
1400
|
side: "parent" | "child";
|
|
1401
1401
|
type?: "relationship" | undefined;
|
|
1402
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1403
|
+
required?: boolean | undefined;
|
|
1402
1404
|
array?: boolean | undefined;
|
|
1403
1405
|
error?: string | undefined;
|
|
1404
|
-
required?: boolean | undefined;
|
|
1405
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1406
1406
|
onDelete?: "setNull" | "cascade" | "restrict" | undefined;
|
|
1407
1407
|
importMapping?: {
|
|
1408
1408
|
originalIdField: string;
|
|
@@ -1514,82 +1514,82 @@ export declare class DataLoader {
|
|
|
1514
1514
|
type: "string";
|
|
1515
1515
|
key: string;
|
|
1516
1516
|
size: number;
|
|
1517
|
+
format?: string | null | undefined;
|
|
1518
|
+
description?: string | Record<string, string> | undefined;
|
|
1519
|
+
required?: boolean | undefined;
|
|
1517
1520
|
array?: boolean | undefined;
|
|
1518
1521
|
error?: string | undefined;
|
|
1519
|
-
required?: boolean | undefined;
|
|
1520
1522
|
xdefault?: string | null | undefined;
|
|
1521
1523
|
encrypted?: boolean | undefined;
|
|
1522
|
-
format?: string | null | undefined;
|
|
1523
|
-
description?: string | Record<string, string> | undefined;
|
|
1524
1524
|
} | {
|
|
1525
1525
|
type: "integer";
|
|
1526
1526
|
key: string;
|
|
1527
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1528
|
+
required?: boolean | undefined;
|
|
1527
1529
|
array?: boolean | undefined;
|
|
1528
1530
|
error?: string | undefined;
|
|
1529
|
-
required?: boolean | undefined;
|
|
1530
1531
|
xdefault?: number | null | undefined;
|
|
1531
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1532
1532
|
min?: number | undefined;
|
|
1533
1533
|
max?: number | undefined;
|
|
1534
1534
|
} | {
|
|
1535
1535
|
type: "float";
|
|
1536
1536
|
key: string;
|
|
1537
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1538
|
+
required?: boolean | undefined;
|
|
1537
1539
|
array?: boolean | undefined;
|
|
1538
1540
|
error?: string | undefined;
|
|
1539
|
-
required?: boolean | undefined;
|
|
1540
1541
|
xdefault?: number | null | undefined;
|
|
1541
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1542
1542
|
min?: number | undefined;
|
|
1543
1543
|
max?: number | undefined;
|
|
1544
1544
|
} | {
|
|
1545
1545
|
type: "boolean";
|
|
1546
1546
|
key: string;
|
|
1547
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1548
|
+
required?: boolean | undefined;
|
|
1547
1549
|
array?: boolean | undefined;
|
|
1548
1550
|
error?: string | undefined;
|
|
1549
|
-
required?: boolean | undefined;
|
|
1550
1551
|
xdefault?: boolean | null | undefined;
|
|
1551
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1552
1552
|
} | {
|
|
1553
1553
|
type: "datetime";
|
|
1554
1554
|
key: string;
|
|
1555
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1556
|
+
required?: boolean | undefined;
|
|
1555
1557
|
array?: boolean | undefined;
|
|
1556
1558
|
error?: string | undefined;
|
|
1557
|
-
required?: boolean | undefined;
|
|
1558
1559
|
xdefault?: string | null | undefined;
|
|
1559
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1560
1560
|
} | {
|
|
1561
1561
|
type: "email";
|
|
1562
1562
|
key: string;
|
|
1563
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1564
|
+
required?: boolean | undefined;
|
|
1563
1565
|
array?: boolean | undefined;
|
|
1564
1566
|
error?: string | undefined;
|
|
1565
|
-
required?: boolean | undefined;
|
|
1566
1567
|
xdefault?: string | null | undefined;
|
|
1567
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1568
1568
|
} | {
|
|
1569
1569
|
type: "ip";
|
|
1570
1570
|
key: string;
|
|
1571
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1572
|
+
required?: boolean | undefined;
|
|
1571
1573
|
array?: boolean | undefined;
|
|
1572
1574
|
error?: string | undefined;
|
|
1573
|
-
required?: boolean | undefined;
|
|
1574
1575
|
xdefault?: string | null | undefined;
|
|
1575
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1576
1576
|
} | {
|
|
1577
1577
|
type: "url";
|
|
1578
1578
|
key: string;
|
|
1579
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1580
|
+
required?: boolean | undefined;
|
|
1579
1581
|
array?: boolean | undefined;
|
|
1580
1582
|
error?: string | undefined;
|
|
1581
|
-
required?: boolean | undefined;
|
|
1582
1583
|
xdefault?: string | null | undefined;
|
|
1583
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1584
1584
|
} | {
|
|
1585
1585
|
type: "enum";
|
|
1586
1586
|
key: string;
|
|
1587
1587
|
elements: string[];
|
|
1588
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1589
|
+
required?: boolean | undefined;
|
|
1588
1590
|
array?: boolean | undefined;
|
|
1589
1591
|
error?: string | undefined;
|
|
1590
|
-
required?: boolean | undefined;
|
|
1591
1592
|
xdefault?: string | null | undefined;
|
|
1592
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1593
1593
|
} | {
|
|
1594
1594
|
type: "relationship";
|
|
1595
1595
|
key: string;
|
|
@@ -1599,10 +1599,10 @@ export declare class DataLoader {
|
|
|
1599
1599
|
twoWayKey: string;
|
|
1600
1600
|
onDelete: "setNull" | "cascade" | "restrict";
|
|
1601
1601
|
side: "parent" | "child";
|
|
1602
|
+
description?: string | Record<string, string> | null | undefined;
|
|
1603
|
+
required?: boolean | undefined;
|
|
1602
1604
|
array?: boolean | undefined;
|
|
1603
1605
|
error?: string | undefined;
|
|
1604
|
-
required?: boolean | undefined;
|
|
1605
|
-
description?: string | Record<string, string> | null | undefined;
|
|
1606
1606
|
importMapping?: {
|
|
1607
1607
|
originalIdField: string;
|
|
1608
1608
|
targetField?: string | undefined;
|