@astrojs/db 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/cli/commands/push/index.d.ts +1 -1
- package/dist/core/cli/commands/push/index.js +26 -114
- package/dist/core/cli/commands/verify/index.d.ts +1 -1
- package/dist/core/cli/commands/verify/index.js +19 -37
- package/dist/core/cli/index.js +8 -5
- package/dist/core/cli/migration-queries.d.ts +8 -13
- package/dist/core/cli/migration-queries.js +59 -115
- package/dist/core/errors.d.ts +2 -1
- package/dist/core/errors.js +12 -8
- package/dist/core/integration/file-url.js +1 -4
- package/dist/core/integration/typegen.js +3 -1
- package/dist/core/types.d.ts +316 -0
- package/dist/core/types.js +3 -1
- package/dist/core/utils.d.ts +0 -1
- package/dist/core/utils.js +0 -4
- package/dist/runtime/config.d.ts +9 -0
- package/dist/runtime/queries.d.ts +5 -0
- package/dist/runtime/queries.js +4 -0
- package/package.json +4 -4
- package/dist/core/cli/commands/gen/index.d.ts +0 -8
- package/dist/core/cli/commands/gen/index.js +0 -47
- package/dist/core/cli/migrations.d.ts +0 -37
- package/dist/core/cli/migrations.js +0 -135
package/dist/core/types.d.ts
CHANGED
|
@@ -10,11 +10,13 @@ declare const booleanColumnSchema: z.ZodObject<{
|
|
|
10
10
|
label: z.ZodOptional<z.ZodString>;
|
|
11
11
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12
12
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13
14
|
collection: z.ZodOptional<z.ZodString>;
|
|
14
15
|
default: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>]>>;
|
|
15
16
|
}, "strip", z.ZodTypeAny, {
|
|
16
17
|
optional: boolean;
|
|
17
18
|
unique: boolean;
|
|
19
|
+
deprecated: boolean;
|
|
18
20
|
name?: string | undefined;
|
|
19
21
|
label?: string | undefined;
|
|
20
22
|
collection?: string | undefined;
|
|
@@ -24,6 +26,7 @@ declare const booleanColumnSchema: z.ZodObject<{
|
|
|
24
26
|
label?: string | undefined;
|
|
25
27
|
optional?: boolean | undefined;
|
|
26
28
|
unique?: boolean | undefined;
|
|
29
|
+
deprecated?: boolean | undefined;
|
|
27
30
|
collection?: string | undefined;
|
|
28
31
|
default?: boolean | SQL<any> | undefined;
|
|
29
32
|
}>;
|
|
@@ -32,6 +35,7 @@ declare const booleanColumnSchema: z.ZodObject<{
|
|
|
32
35
|
schema: {
|
|
33
36
|
optional: boolean;
|
|
34
37
|
unique: boolean;
|
|
38
|
+
deprecated: boolean;
|
|
35
39
|
name?: string | undefined;
|
|
36
40
|
label?: string | undefined;
|
|
37
41
|
collection?: string | undefined;
|
|
@@ -44,6 +48,7 @@ declare const booleanColumnSchema: z.ZodObject<{
|
|
|
44
48
|
label?: string | undefined;
|
|
45
49
|
optional?: boolean | undefined;
|
|
46
50
|
unique?: boolean | undefined;
|
|
51
|
+
deprecated?: boolean | undefined;
|
|
47
52
|
collection?: string | undefined;
|
|
48
53
|
default?: boolean | SQL<any> | undefined;
|
|
49
54
|
};
|
|
@@ -52,10 +57,12 @@ declare const numberColumnBaseSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
52
57
|
label: z.ZodOptional<z.ZodString>;
|
|
53
58
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
54
59
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
60
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
55
61
|
name: z.ZodOptional<z.ZodString>;
|
|
56
62
|
collection: z.ZodOptional<z.ZodString>;
|
|
57
63
|
}, "optional">, "strip", z.ZodTypeAny, {
|
|
58
64
|
unique: boolean;
|
|
65
|
+
deprecated: boolean;
|
|
59
66
|
name?: string | undefined;
|
|
60
67
|
label?: string | undefined;
|
|
61
68
|
collection?: string | undefined;
|
|
@@ -63,6 +70,7 @@ declare const numberColumnBaseSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
63
70
|
name?: string | undefined;
|
|
64
71
|
label?: string | undefined;
|
|
65
72
|
unique?: boolean | undefined;
|
|
73
|
+
deprecated?: boolean | undefined;
|
|
66
74
|
collection?: string | undefined;
|
|
67
75
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
68
76
|
primaryKey: z.ZodDefault<z.ZodOptional<z.ZodLiteral<false>>>;
|
|
@@ -98,6 +106,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
98
106
|
type: z.ZodLiteral<"number">;
|
|
99
107
|
schema: z.ZodType<({
|
|
100
108
|
unique: boolean;
|
|
109
|
+
deprecated: boolean;
|
|
101
110
|
name?: string | undefined;
|
|
102
111
|
label?: string | undefined;
|
|
103
112
|
collection?: string | undefined;
|
|
@@ -114,6 +123,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
114
123
|
type: "number";
|
|
115
124
|
schema: ({
|
|
116
125
|
unique: boolean;
|
|
126
|
+
deprecated: boolean;
|
|
117
127
|
name?: string | undefined;
|
|
118
128
|
label?: string | undefined;
|
|
119
129
|
collection?: string | undefined;
|
|
@@ -123,6 +133,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
123
133
|
default?: number | SerializedSQL | undefined;
|
|
124
134
|
} & any) | ({
|
|
125
135
|
unique: boolean;
|
|
136
|
+
deprecated: boolean;
|
|
126
137
|
name?: string | undefined;
|
|
127
138
|
label?: string | undefined;
|
|
128
139
|
collection?: string | undefined;
|
|
@@ -136,6 +147,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
136
147
|
name?: string | undefined;
|
|
137
148
|
label?: string | undefined;
|
|
138
149
|
unique?: boolean | undefined;
|
|
150
|
+
deprecated?: boolean | undefined;
|
|
139
151
|
collection?: string | undefined;
|
|
140
152
|
} & ({
|
|
141
153
|
primaryKey?: false | undefined;
|
|
@@ -152,6 +164,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
152
164
|
type: "number";
|
|
153
165
|
schema: ({
|
|
154
166
|
unique: boolean;
|
|
167
|
+
deprecated: boolean;
|
|
155
168
|
name?: string | undefined;
|
|
156
169
|
label?: string | undefined;
|
|
157
170
|
collection?: string | undefined;
|
|
@@ -164,6 +177,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
164
177
|
type: "number";
|
|
165
178
|
schema: ({
|
|
166
179
|
unique: boolean;
|
|
180
|
+
deprecated: boolean;
|
|
167
181
|
name?: string | undefined;
|
|
168
182
|
label?: string | undefined;
|
|
169
183
|
collection?: string | undefined;
|
|
@@ -173,6 +187,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
173
187
|
default?: number | SerializedSQL | undefined;
|
|
174
188
|
} & any) | ({
|
|
175
189
|
unique: boolean;
|
|
190
|
+
deprecated: boolean;
|
|
176
191
|
name?: string | undefined;
|
|
177
192
|
label?: string | undefined;
|
|
178
193
|
collection?: string | undefined;
|
|
@@ -184,6 +199,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
184
199
|
} | undefined;
|
|
185
200
|
}) | ({
|
|
186
201
|
unique: boolean;
|
|
202
|
+
deprecated: boolean;
|
|
187
203
|
name?: string | undefined;
|
|
188
204
|
label?: string | undefined;
|
|
189
205
|
collection?: string | undefined;
|
|
@@ -196,6 +212,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
196
212
|
type: "number";
|
|
197
213
|
schema: ({
|
|
198
214
|
unique: boolean;
|
|
215
|
+
deprecated: boolean;
|
|
199
216
|
name?: string | undefined;
|
|
200
217
|
label?: string | undefined;
|
|
201
218
|
collection?: string | undefined;
|
|
@@ -205,6 +222,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
205
222
|
default?: number | SerializedSQL | undefined;
|
|
206
223
|
} & any) | ({
|
|
207
224
|
unique: boolean;
|
|
225
|
+
deprecated: boolean;
|
|
208
226
|
name?: string | undefined;
|
|
209
227
|
label?: string | undefined;
|
|
210
228
|
collection?: string | undefined;
|
|
@@ -221,6 +239,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
221
239
|
name?: string | undefined;
|
|
222
240
|
label?: string | undefined;
|
|
223
241
|
unique?: boolean | undefined;
|
|
242
|
+
deprecated?: boolean | undefined;
|
|
224
243
|
collection?: string | undefined;
|
|
225
244
|
} & {
|
|
226
245
|
primaryKey?: false | undefined;
|
|
@@ -232,6 +251,7 @@ declare const numberColumnSchema: z.ZodObject<{
|
|
|
232
251
|
name?: string | undefined;
|
|
233
252
|
label?: string | undefined;
|
|
234
253
|
unique?: boolean | undefined;
|
|
254
|
+
deprecated?: boolean | undefined;
|
|
235
255
|
collection?: string | undefined;
|
|
236
256
|
} & {
|
|
237
257
|
primaryKey: true;
|
|
@@ -245,11 +265,13 @@ declare const textColumnBaseSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
245
265
|
name: z.ZodOptional<z.ZodString>;
|
|
246
266
|
label: z.ZodOptional<z.ZodString>;
|
|
247
267
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
268
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
248
269
|
collection: z.ZodOptional<z.ZodString>;
|
|
249
270
|
default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>]>>;
|
|
250
271
|
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
251
272
|
}, "strip", z.ZodTypeAny, {
|
|
252
273
|
unique: boolean;
|
|
274
|
+
deprecated: boolean;
|
|
253
275
|
name?: string | undefined;
|
|
254
276
|
label?: string | undefined;
|
|
255
277
|
collection?: string | undefined;
|
|
@@ -259,6 +281,7 @@ declare const textColumnBaseSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
259
281
|
name?: string | undefined;
|
|
260
282
|
label?: string | undefined;
|
|
261
283
|
unique?: boolean | undefined;
|
|
284
|
+
deprecated?: boolean | undefined;
|
|
262
285
|
collection?: string | undefined;
|
|
263
286
|
default?: string | SQL<any> | undefined;
|
|
264
287
|
multiline?: boolean | undefined;
|
|
@@ -290,6 +313,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
290
313
|
type: z.ZodLiteral<"text">;
|
|
291
314
|
schema: z.ZodType<({
|
|
292
315
|
unique: boolean;
|
|
316
|
+
deprecated: boolean;
|
|
293
317
|
name?: string | undefined;
|
|
294
318
|
label?: string | undefined;
|
|
295
319
|
collection?: string | undefined;
|
|
@@ -306,6 +330,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
306
330
|
type: "text";
|
|
307
331
|
schema: ({
|
|
308
332
|
unique: boolean;
|
|
333
|
+
deprecated: boolean;
|
|
309
334
|
name?: string | undefined;
|
|
310
335
|
label?: string | undefined;
|
|
311
336
|
collection?: string | undefined;
|
|
@@ -316,6 +341,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
316
341
|
primaryKey: false;
|
|
317
342
|
} & any) | ({
|
|
318
343
|
unique: boolean;
|
|
344
|
+
deprecated: boolean;
|
|
319
345
|
name?: string | undefined;
|
|
320
346
|
label?: string | undefined;
|
|
321
347
|
collection?: string | undefined;
|
|
@@ -330,6 +356,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
330
356
|
name?: string | undefined;
|
|
331
357
|
label?: string | undefined;
|
|
332
358
|
unique?: boolean | undefined;
|
|
359
|
+
deprecated?: boolean | undefined;
|
|
333
360
|
collection?: string | undefined;
|
|
334
361
|
default?: string | SQL<any> | undefined;
|
|
335
362
|
multiline?: boolean | undefined;
|
|
@@ -346,6 +373,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
346
373
|
type: "text";
|
|
347
374
|
schema: ({
|
|
348
375
|
unique: boolean;
|
|
376
|
+
deprecated: boolean;
|
|
349
377
|
name?: string | undefined;
|
|
350
378
|
label?: string | undefined;
|
|
351
379
|
collection?: string | undefined;
|
|
@@ -359,6 +387,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
359
387
|
type: "text";
|
|
360
388
|
schema: ({
|
|
361
389
|
unique: boolean;
|
|
390
|
+
deprecated: boolean;
|
|
362
391
|
name?: string | undefined;
|
|
363
392
|
label?: string | undefined;
|
|
364
393
|
collection?: string | undefined;
|
|
@@ -369,6 +398,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
369
398
|
primaryKey: false;
|
|
370
399
|
} & any) | ({
|
|
371
400
|
unique: boolean;
|
|
401
|
+
deprecated: boolean;
|
|
372
402
|
name?: string | undefined;
|
|
373
403
|
label?: string | undefined;
|
|
374
404
|
collection?: string | undefined;
|
|
@@ -381,6 +411,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
381
411
|
} | undefined;
|
|
382
412
|
}) | ({
|
|
383
413
|
unique: boolean;
|
|
414
|
+
deprecated: boolean;
|
|
384
415
|
name?: string | undefined;
|
|
385
416
|
label?: string | undefined;
|
|
386
417
|
collection?: string | undefined;
|
|
@@ -394,6 +425,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
394
425
|
type: "text";
|
|
395
426
|
schema: ({
|
|
396
427
|
unique: boolean;
|
|
428
|
+
deprecated: boolean;
|
|
397
429
|
name?: string | undefined;
|
|
398
430
|
label?: string | undefined;
|
|
399
431
|
collection?: string | undefined;
|
|
@@ -404,6 +436,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
404
436
|
primaryKey: false;
|
|
405
437
|
} & any) | ({
|
|
406
438
|
unique: boolean;
|
|
439
|
+
deprecated: boolean;
|
|
407
440
|
name?: string | undefined;
|
|
408
441
|
label?: string | undefined;
|
|
409
442
|
collection?: string | undefined;
|
|
@@ -421,6 +454,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
421
454
|
name?: string | undefined;
|
|
422
455
|
label?: string | undefined;
|
|
423
456
|
unique?: boolean | undefined;
|
|
457
|
+
deprecated?: boolean | undefined;
|
|
424
458
|
collection?: string | undefined;
|
|
425
459
|
default?: string | SQL<any> | undefined;
|
|
426
460
|
multiline?: boolean | undefined;
|
|
@@ -433,6 +467,7 @@ declare const textColumnSchema: z.ZodObject<{
|
|
|
433
467
|
name?: string | undefined;
|
|
434
468
|
label?: string | undefined;
|
|
435
469
|
unique?: boolean | undefined;
|
|
470
|
+
deprecated?: boolean | undefined;
|
|
436
471
|
collection?: string | undefined;
|
|
437
472
|
default?: string | SQL<any> | undefined;
|
|
438
473
|
multiline?: boolean | undefined;
|
|
@@ -450,11 +485,13 @@ declare const dateColumnSchema: z.ZodObject<{
|
|
|
450
485
|
label: z.ZodOptional<z.ZodString>;
|
|
451
486
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
452
487
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
488
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
453
489
|
collection: z.ZodOptional<z.ZodString>;
|
|
454
490
|
default: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>, z.ZodEffects<z.ZodDate, string, Date>]>>;
|
|
455
491
|
}, "strip", z.ZodTypeAny, {
|
|
456
492
|
optional: boolean;
|
|
457
493
|
unique: boolean;
|
|
494
|
+
deprecated: boolean;
|
|
458
495
|
name?: string | undefined;
|
|
459
496
|
label?: string | undefined;
|
|
460
497
|
collection?: string | undefined;
|
|
@@ -464,6 +501,7 @@ declare const dateColumnSchema: z.ZodObject<{
|
|
|
464
501
|
label?: string | undefined;
|
|
465
502
|
optional?: boolean | undefined;
|
|
466
503
|
unique?: boolean | undefined;
|
|
504
|
+
deprecated?: boolean | undefined;
|
|
467
505
|
collection?: string | undefined;
|
|
468
506
|
default?: Date | SQL<any> | undefined;
|
|
469
507
|
}>;
|
|
@@ -472,6 +510,7 @@ declare const dateColumnSchema: z.ZodObject<{
|
|
|
472
510
|
schema: {
|
|
473
511
|
optional: boolean;
|
|
474
512
|
unique: boolean;
|
|
513
|
+
deprecated: boolean;
|
|
475
514
|
name?: string | undefined;
|
|
476
515
|
label?: string | undefined;
|
|
477
516
|
collection?: string | undefined;
|
|
@@ -484,6 +523,7 @@ declare const dateColumnSchema: z.ZodObject<{
|
|
|
484
523
|
label?: string | undefined;
|
|
485
524
|
optional?: boolean | undefined;
|
|
486
525
|
unique?: boolean | undefined;
|
|
526
|
+
deprecated?: boolean | undefined;
|
|
487
527
|
collection?: string | undefined;
|
|
488
528
|
default?: Date | SQL<any> | undefined;
|
|
489
529
|
};
|
|
@@ -495,11 +535,13 @@ declare const jsonColumnSchema: z.ZodObject<{
|
|
|
495
535
|
label: z.ZodOptional<z.ZodString>;
|
|
496
536
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
497
537
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
538
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
498
539
|
collection: z.ZodOptional<z.ZodString>;
|
|
499
540
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
500
541
|
}, "strip", z.ZodTypeAny, {
|
|
501
542
|
optional: boolean;
|
|
502
543
|
unique: boolean;
|
|
544
|
+
deprecated: boolean;
|
|
503
545
|
name?: string | undefined;
|
|
504
546
|
label?: string | undefined;
|
|
505
547
|
collection?: string | undefined;
|
|
@@ -509,6 +551,7 @@ declare const jsonColumnSchema: z.ZodObject<{
|
|
|
509
551
|
label?: string | undefined;
|
|
510
552
|
optional?: boolean | undefined;
|
|
511
553
|
unique?: boolean | undefined;
|
|
554
|
+
deprecated?: boolean | undefined;
|
|
512
555
|
collection?: string | undefined;
|
|
513
556
|
default?: unknown;
|
|
514
557
|
}>;
|
|
@@ -517,6 +560,7 @@ declare const jsonColumnSchema: z.ZodObject<{
|
|
|
517
560
|
schema: {
|
|
518
561
|
optional: boolean;
|
|
519
562
|
unique: boolean;
|
|
563
|
+
deprecated: boolean;
|
|
520
564
|
name?: string | undefined;
|
|
521
565
|
label?: string | undefined;
|
|
522
566
|
collection?: string | undefined;
|
|
@@ -529,6 +573,7 @@ declare const jsonColumnSchema: z.ZodObject<{
|
|
|
529
573
|
label?: string | undefined;
|
|
530
574
|
optional?: boolean | undefined;
|
|
531
575
|
unique?: boolean | undefined;
|
|
576
|
+
deprecated?: boolean | undefined;
|
|
532
577
|
collection?: string | undefined;
|
|
533
578
|
default?: unknown;
|
|
534
579
|
};
|
|
@@ -540,11 +585,13 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
540
585
|
label: z.ZodOptional<z.ZodString>;
|
|
541
586
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
542
587
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
588
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
543
589
|
collection: z.ZodOptional<z.ZodString>;
|
|
544
590
|
default: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>]>>;
|
|
545
591
|
}, "strip", z.ZodTypeAny, {
|
|
546
592
|
optional: boolean;
|
|
547
593
|
unique: boolean;
|
|
594
|
+
deprecated: boolean;
|
|
548
595
|
name?: string | undefined;
|
|
549
596
|
label?: string | undefined;
|
|
550
597
|
collection?: string | undefined;
|
|
@@ -554,6 +601,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
554
601
|
label?: string | undefined;
|
|
555
602
|
optional?: boolean | undefined;
|
|
556
603
|
unique?: boolean | undefined;
|
|
604
|
+
deprecated?: boolean | undefined;
|
|
557
605
|
collection?: string | undefined;
|
|
558
606
|
default?: boolean | SQL<any> | undefined;
|
|
559
607
|
}>;
|
|
@@ -562,6 +610,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
562
610
|
schema: {
|
|
563
611
|
optional: boolean;
|
|
564
612
|
unique: boolean;
|
|
613
|
+
deprecated: boolean;
|
|
565
614
|
name?: string | undefined;
|
|
566
615
|
label?: string | undefined;
|
|
567
616
|
collection?: string | undefined;
|
|
@@ -574,6 +623,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
574
623
|
label?: string | undefined;
|
|
575
624
|
optional?: boolean | undefined;
|
|
576
625
|
unique?: boolean | undefined;
|
|
626
|
+
deprecated?: boolean | undefined;
|
|
577
627
|
collection?: string | undefined;
|
|
578
628
|
default?: boolean | SQL<any> | undefined;
|
|
579
629
|
};
|
|
@@ -581,6 +631,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
581
631
|
type: z.ZodLiteral<"number">;
|
|
582
632
|
schema: z.ZodType<({
|
|
583
633
|
unique: boolean;
|
|
634
|
+
deprecated: boolean;
|
|
584
635
|
name?: string | undefined;
|
|
585
636
|
label?: string | undefined;
|
|
586
637
|
collection?: string | undefined;
|
|
@@ -597,6 +648,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
597
648
|
type: "number";
|
|
598
649
|
schema: ({
|
|
599
650
|
unique: boolean;
|
|
651
|
+
deprecated: boolean;
|
|
600
652
|
name?: string | undefined;
|
|
601
653
|
label?: string | undefined;
|
|
602
654
|
collection?: string | undefined;
|
|
@@ -606,6 +658,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
606
658
|
default?: number | SerializedSQL | undefined;
|
|
607
659
|
} & any) | ({
|
|
608
660
|
unique: boolean;
|
|
661
|
+
deprecated: boolean;
|
|
609
662
|
name?: string | undefined;
|
|
610
663
|
label?: string | undefined;
|
|
611
664
|
collection?: string | undefined;
|
|
@@ -619,6 +672,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
619
672
|
name?: string | undefined;
|
|
620
673
|
label?: string | undefined;
|
|
621
674
|
unique?: boolean | undefined;
|
|
675
|
+
deprecated?: boolean | undefined;
|
|
622
676
|
collection?: string | undefined;
|
|
623
677
|
} & ({
|
|
624
678
|
primaryKey?: false | undefined;
|
|
@@ -635,6 +689,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
635
689
|
type: "number";
|
|
636
690
|
schema: ({
|
|
637
691
|
unique: boolean;
|
|
692
|
+
deprecated: boolean;
|
|
638
693
|
name?: string | undefined;
|
|
639
694
|
label?: string | undefined;
|
|
640
695
|
collection?: string | undefined;
|
|
@@ -647,6 +702,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
647
702
|
type: "number";
|
|
648
703
|
schema: ({
|
|
649
704
|
unique: boolean;
|
|
705
|
+
deprecated: boolean;
|
|
650
706
|
name?: string | undefined;
|
|
651
707
|
label?: string | undefined;
|
|
652
708
|
collection?: string | undefined;
|
|
@@ -656,6 +712,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
656
712
|
default?: number | SerializedSQL | undefined;
|
|
657
713
|
} & any) | ({
|
|
658
714
|
unique: boolean;
|
|
715
|
+
deprecated: boolean;
|
|
659
716
|
name?: string | undefined;
|
|
660
717
|
label?: string | undefined;
|
|
661
718
|
collection?: string | undefined;
|
|
@@ -667,6 +724,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
667
724
|
} | undefined;
|
|
668
725
|
}) | ({
|
|
669
726
|
unique: boolean;
|
|
727
|
+
deprecated: boolean;
|
|
670
728
|
name?: string | undefined;
|
|
671
729
|
label?: string | undefined;
|
|
672
730
|
collection?: string | undefined;
|
|
@@ -679,6 +737,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
679
737
|
type: "number";
|
|
680
738
|
schema: ({
|
|
681
739
|
unique: boolean;
|
|
740
|
+
deprecated: boolean;
|
|
682
741
|
name?: string | undefined;
|
|
683
742
|
label?: string | undefined;
|
|
684
743
|
collection?: string | undefined;
|
|
@@ -688,6 +747,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
688
747
|
default?: number | SerializedSQL | undefined;
|
|
689
748
|
} & any) | ({
|
|
690
749
|
unique: boolean;
|
|
750
|
+
deprecated: boolean;
|
|
691
751
|
name?: string | undefined;
|
|
692
752
|
label?: string | undefined;
|
|
693
753
|
collection?: string | undefined;
|
|
@@ -704,6 +764,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
704
764
|
name?: string | undefined;
|
|
705
765
|
label?: string | undefined;
|
|
706
766
|
unique?: boolean | undefined;
|
|
767
|
+
deprecated?: boolean | undefined;
|
|
707
768
|
collection?: string | undefined;
|
|
708
769
|
} & {
|
|
709
770
|
primaryKey?: false | undefined;
|
|
@@ -715,6 +776,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
715
776
|
name?: string | undefined;
|
|
716
777
|
label?: string | undefined;
|
|
717
778
|
unique?: boolean | undefined;
|
|
779
|
+
deprecated?: boolean | undefined;
|
|
718
780
|
collection?: string | undefined;
|
|
719
781
|
} & {
|
|
720
782
|
primaryKey: true;
|
|
@@ -727,6 +789,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
727
789
|
type: z.ZodLiteral<"text">;
|
|
728
790
|
schema: z.ZodType<({
|
|
729
791
|
unique: boolean;
|
|
792
|
+
deprecated: boolean;
|
|
730
793
|
name?: string | undefined;
|
|
731
794
|
label?: string | undefined;
|
|
732
795
|
collection?: string | undefined;
|
|
@@ -743,6 +806,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
743
806
|
type: "text";
|
|
744
807
|
schema: ({
|
|
745
808
|
unique: boolean;
|
|
809
|
+
deprecated: boolean;
|
|
746
810
|
name?: string | undefined;
|
|
747
811
|
label?: string | undefined;
|
|
748
812
|
collection?: string | undefined;
|
|
@@ -753,6 +817,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
753
817
|
primaryKey: false;
|
|
754
818
|
} & any) | ({
|
|
755
819
|
unique: boolean;
|
|
820
|
+
deprecated: boolean;
|
|
756
821
|
name?: string | undefined;
|
|
757
822
|
label?: string | undefined;
|
|
758
823
|
collection?: string | undefined;
|
|
@@ -767,6 +832,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
767
832
|
name?: string | undefined;
|
|
768
833
|
label?: string | undefined;
|
|
769
834
|
unique?: boolean | undefined;
|
|
835
|
+
deprecated?: boolean | undefined;
|
|
770
836
|
collection?: string | undefined;
|
|
771
837
|
default?: string | SQL<any> | undefined;
|
|
772
838
|
multiline?: boolean | undefined;
|
|
@@ -783,6 +849,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
783
849
|
type: "text";
|
|
784
850
|
schema: ({
|
|
785
851
|
unique: boolean;
|
|
852
|
+
deprecated: boolean;
|
|
786
853
|
name?: string | undefined;
|
|
787
854
|
label?: string | undefined;
|
|
788
855
|
collection?: string | undefined;
|
|
@@ -796,6 +863,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
796
863
|
type: "text";
|
|
797
864
|
schema: ({
|
|
798
865
|
unique: boolean;
|
|
866
|
+
deprecated: boolean;
|
|
799
867
|
name?: string | undefined;
|
|
800
868
|
label?: string | undefined;
|
|
801
869
|
collection?: string | undefined;
|
|
@@ -806,6 +874,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
806
874
|
primaryKey: false;
|
|
807
875
|
} & any) | ({
|
|
808
876
|
unique: boolean;
|
|
877
|
+
deprecated: boolean;
|
|
809
878
|
name?: string | undefined;
|
|
810
879
|
label?: string | undefined;
|
|
811
880
|
collection?: string | undefined;
|
|
@@ -818,6 +887,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
818
887
|
} | undefined;
|
|
819
888
|
}) | ({
|
|
820
889
|
unique: boolean;
|
|
890
|
+
deprecated: boolean;
|
|
821
891
|
name?: string | undefined;
|
|
822
892
|
label?: string | undefined;
|
|
823
893
|
collection?: string | undefined;
|
|
@@ -831,6 +901,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
831
901
|
type: "text";
|
|
832
902
|
schema: ({
|
|
833
903
|
unique: boolean;
|
|
904
|
+
deprecated: boolean;
|
|
834
905
|
name?: string | undefined;
|
|
835
906
|
label?: string | undefined;
|
|
836
907
|
collection?: string | undefined;
|
|
@@ -841,6 +912,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
841
912
|
primaryKey: false;
|
|
842
913
|
} & any) | ({
|
|
843
914
|
unique: boolean;
|
|
915
|
+
deprecated: boolean;
|
|
844
916
|
name?: string | undefined;
|
|
845
917
|
label?: string | undefined;
|
|
846
918
|
collection?: string | undefined;
|
|
@@ -858,6 +930,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
858
930
|
name?: string | undefined;
|
|
859
931
|
label?: string | undefined;
|
|
860
932
|
unique?: boolean | undefined;
|
|
933
|
+
deprecated?: boolean | undefined;
|
|
861
934
|
collection?: string | undefined;
|
|
862
935
|
default?: string | SQL<any> | undefined;
|
|
863
936
|
multiline?: boolean | undefined;
|
|
@@ -870,6 +943,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
870
943
|
name?: string | undefined;
|
|
871
944
|
label?: string | undefined;
|
|
872
945
|
unique?: boolean | undefined;
|
|
946
|
+
deprecated?: boolean | undefined;
|
|
873
947
|
collection?: string | undefined;
|
|
874
948
|
default?: string | SQL<any> | undefined;
|
|
875
949
|
multiline?: boolean | undefined;
|
|
@@ -886,11 +960,13 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
886
960
|
label: z.ZodOptional<z.ZodString>;
|
|
887
961
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
888
962
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
963
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
889
964
|
collection: z.ZodOptional<z.ZodString>;
|
|
890
965
|
default: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>, z.ZodEffects<z.ZodDate, string, Date>]>>;
|
|
891
966
|
}, "strip", z.ZodTypeAny, {
|
|
892
967
|
optional: boolean;
|
|
893
968
|
unique: boolean;
|
|
969
|
+
deprecated: boolean;
|
|
894
970
|
name?: string | undefined;
|
|
895
971
|
label?: string | undefined;
|
|
896
972
|
collection?: string | undefined;
|
|
@@ -900,6 +976,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
900
976
|
label?: string | undefined;
|
|
901
977
|
optional?: boolean | undefined;
|
|
902
978
|
unique?: boolean | undefined;
|
|
979
|
+
deprecated?: boolean | undefined;
|
|
903
980
|
collection?: string | undefined;
|
|
904
981
|
default?: Date | SQL<any> | undefined;
|
|
905
982
|
}>;
|
|
@@ -908,6 +985,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
908
985
|
schema: {
|
|
909
986
|
optional: boolean;
|
|
910
987
|
unique: boolean;
|
|
988
|
+
deprecated: boolean;
|
|
911
989
|
name?: string | undefined;
|
|
912
990
|
label?: string | undefined;
|
|
913
991
|
collection?: string | undefined;
|
|
@@ -920,6 +998,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
920
998
|
label?: string | undefined;
|
|
921
999
|
optional?: boolean | undefined;
|
|
922
1000
|
unique?: boolean | undefined;
|
|
1001
|
+
deprecated?: boolean | undefined;
|
|
923
1002
|
collection?: string | undefined;
|
|
924
1003
|
default?: Date | SQL<any> | undefined;
|
|
925
1004
|
};
|
|
@@ -930,11 +1009,13 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
930
1009
|
label: z.ZodOptional<z.ZodString>;
|
|
931
1010
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
932
1011
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1012
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
933
1013
|
collection: z.ZodOptional<z.ZodString>;
|
|
934
1014
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
935
1015
|
}, "strip", z.ZodTypeAny, {
|
|
936
1016
|
optional: boolean;
|
|
937
1017
|
unique: boolean;
|
|
1018
|
+
deprecated: boolean;
|
|
938
1019
|
name?: string | undefined;
|
|
939
1020
|
label?: string | undefined;
|
|
940
1021
|
collection?: string | undefined;
|
|
@@ -944,6 +1025,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
944
1025
|
label?: string | undefined;
|
|
945
1026
|
optional?: boolean | undefined;
|
|
946
1027
|
unique?: boolean | undefined;
|
|
1028
|
+
deprecated?: boolean | undefined;
|
|
947
1029
|
collection?: string | undefined;
|
|
948
1030
|
default?: unknown;
|
|
949
1031
|
}>;
|
|
@@ -952,6 +1034,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
952
1034
|
schema: {
|
|
953
1035
|
optional: boolean;
|
|
954
1036
|
unique: boolean;
|
|
1037
|
+
deprecated: boolean;
|
|
955
1038
|
name?: string | undefined;
|
|
956
1039
|
label?: string | undefined;
|
|
957
1040
|
collection?: string | undefined;
|
|
@@ -964,6 +1047,7 @@ export declare const columnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
964
1047
|
label?: string | undefined;
|
|
965
1048
|
optional?: boolean | undefined;
|
|
966
1049
|
unique?: boolean | undefined;
|
|
1050
|
+
deprecated?: boolean | undefined;
|
|
967
1051
|
collection?: string | undefined;
|
|
968
1052
|
default?: unknown;
|
|
969
1053
|
};
|
|
@@ -972,6 +1056,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
972
1056
|
type: z.ZodLiteral<"text">;
|
|
973
1057
|
schema: z.ZodType<({
|
|
974
1058
|
unique: boolean;
|
|
1059
|
+
deprecated: boolean;
|
|
975
1060
|
name?: string | undefined;
|
|
976
1061
|
label?: string | undefined;
|
|
977
1062
|
collection?: string | undefined;
|
|
@@ -988,6 +1073,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
988
1073
|
type: "text";
|
|
989
1074
|
schema: ({
|
|
990
1075
|
unique: boolean;
|
|
1076
|
+
deprecated: boolean;
|
|
991
1077
|
name?: string | undefined;
|
|
992
1078
|
label?: string | undefined;
|
|
993
1079
|
collection?: string | undefined;
|
|
@@ -998,6 +1084,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
998
1084
|
primaryKey: false;
|
|
999
1085
|
} & any) | ({
|
|
1000
1086
|
unique: boolean;
|
|
1087
|
+
deprecated: boolean;
|
|
1001
1088
|
name?: string | undefined;
|
|
1002
1089
|
label?: string | undefined;
|
|
1003
1090
|
collection?: string | undefined;
|
|
@@ -1012,6 +1099,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1012
1099
|
name?: string | undefined;
|
|
1013
1100
|
label?: string | undefined;
|
|
1014
1101
|
unique?: boolean | undefined;
|
|
1102
|
+
deprecated?: boolean | undefined;
|
|
1015
1103
|
collection?: string | undefined;
|
|
1016
1104
|
default?: string | SQL<any> | undefined;
|
|
1017
1105
|
multiline?: boolean | undefined;
|
|
@@ -1028,6 +1116,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1028
1116
|
type: "text";
|
|
1029
1117
|
schema: ({
|
|
1030
1118
|
unique: boolean;
|
|
1119
|
+
deprecated: boolean;
|
|
1031
1120
|
name?: string | undefined;
|
|
1032
1121
|
label?: string | undefined;
|
|
1033
1122
|
collection?: string | undefined;
|
|
@@ -1041,6 +1130,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1041
1130
|
type: "text";
|
|
1042
1131
|
schema: ({
|
|
1043
1132
|
unique: boolean;
|
|
1133
|
+
deprecated: boolean;
|
|
1044
1134
|
name?: string | undefined;
|
|
1045
1135
|
label?: string | undefined;
|
|
1046
1136
|
collection?: string | undefined;
|
|
@@ -1051,6 +1141,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1051
1141
|
primaryKey: false;
|
|
1052
1142
|
} & any) | ({
|
|
1053
1143
|
unique: boolean;
|
|
1144
|
+
deprecated: boolean;
|
|
1054
1145
|
name?: string | undefined;
|
|
1055
1146
|
label?: string | undefined;
|
|
1056
1147
|
collection?: string | undefined;
|
|
@@ -1063,6 +1154,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1063
1154
|
} | undefined;
|
|
1064
1155
|
}) | ({
|
|
1065
1156
|
unique: boolean;
|
|
1157
|
+
deprecated: boolean;
|
|
1066
1158
|
name?: string | undefined;
|
|
1067
1159
|
label?: string | undefined;
|
|
1068
1160
|
collection?: string | undefined;
|
|
@@ -1076,6 +1168,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1076
1168
|
type: "text";
|
|
1077
1169
|
schema: ({
|
|
1078
1170
|
unique: boolean;
|
|
1171
|
+
deprecated: boolean;
|
|
1079
1172
|
name?: string | undefined;
|
|
1080
1173
|
label?: string | undefined;
|
|
1081
1174
|
collection?: string | undefined;
|
|
@@ -1086,6 +1179,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1086
1179
|
primaryKey: false;
|
|
1087
1180
|
} & any) | ({
|
|
1088
1181
|
unique: boolean;
|
|
1182
|
+
deprecated: boolean;
|
|
1089
1183
|
name?: string | undefined;
|
|
1090
1184
|
label?: string | undefined;
|
|
1091
1185
|
collection?: string | undefined;
|
|
@@ -1103,6 +1197,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1103
1197
|
name?: string | undefined;
|
|
1104
1198
|
label?: string | undefined;
|
|
1105
1199
|
unique?: boolean | undefined;
|
|
1200
|
+
deprecated?: boolean | undefined;
|
|
1106
1201
|
collection?: string | undefined;
|
|
1107
1202
|
default?: string | SQL<any> | undefined;
|
|
1108
1203
|
multiline?: boolean | undefined;
|
|
@@ -1115,6 +1210,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1115
1210
|
name?: string | undefined;
|
|
1116
1211
|
label?: string | undefined;
|
|
1117
1212
|
unique?: boolean | undefined;
|
|
1213
|
+
deprecated?: boolean | undefined;
|
|
1118
1214
|
collection?: string | undefined;
|
|
1119
1215
|
default?: string | SQL<any> | undefined;
|
|
1120
1216
|
multiline?: boolean | undefined;
|
|
@@ -1128,6 +1224,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1128
1224
|
type: z.ZodLiteral<"number">;
|
|
1129
1225
|
schema: z.ZodType<({
|
|
1130
1226
|
unique: boolean;
|
|
1227
|
+
deprecated: boolean;
|
|
1131
1228
|
name?: string | undefined;
|
|
1132
1229
|
label?: string | undefined;
|
|
1133
1230
|
collection?: string | undefined;
|
|
@@ -1144,6 +1241,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1144
1241
|
type: "number";
|
|
1145
1242
|
schema: ({
|
|
1146
1243
|
unique: boolean;
|
|
1244
|
+
deprecated: boolean;
|
|
1147
1245
|
name?: string | undefined;
|
|
1148
1246
|
label?: string | undefined;
|
|
1149
1247
|
collection?: string | undefined;
|
|
@@ -1153,6 +1251,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1153
1251
|
default?: number | SerializedSQL | undefined;
|
|
1154
1252
|
} & any) | ({
|
|
1155
1253
|
unique: boolean;
|
|
1254
|
+
deprecated: boolean;
|
|
1156
1255
|
name?: string | undefined;
|
|
1157
1256
|
label?: string | undefined;
|
|
1158
1257
|
collection?: string | undefined;
|
|
@@ -1166,6 +1265,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1166
1265
|
name?: string | undefined;
|
|
1167
1266
|
label?: string | undefined;
|
|
1168
1267
|
unique?: boolean | undefined;
|
|
1268
|
+
deprecated?: boolean | undefined;
|
|
1169
1269
|
collection?: string | undefined;
|
|
1170
1270
|
} & ({
|
|
1171
1271
|
primaryKey?: false | undefined;
|
|
@@ -1182,6 +1282,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1182
1282
|
type: "number";
|
|
1183
1283
|
schema: ({
|
|
1184
1284
|
unique: boolean;
|
|
1285
|
+
deprecated: boolean;
|
|
1185
1286
|
name?: string | undefined;
|
|
1186
1287
|
label?: string | undefined;
|
|
1187
1288
|
collection?: string | undefined;
|
|
@@ -1194,6 +1295,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1194
1295
|
type: "number";
|
|
1195
1296
|
schema: ({
|
|
1196
1297
|
unique: boolean;
|
|
1298
|
+
deprecated: boolean;
|
|
1197
1299
|
name?: string | undefined;
|
|
1198
1300
|
label?: string | undefined;
|
|
1199
1301
|
collection?: string | undefined;
|
|
@@ -1203,6 +1305,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1203
1305
|
default?: number | SerializedSQL | undefined;
|
|
1204
1306
|
} & any) | ({
|
|
1205
1307
|
unique: boolean;
|
|
1308
|
+
deprecated: boolean;
|
|
1206
1309
|
name?: string | undefined;
|
|
1207
1310
|
label?: string | undefined;
|
|
1208
1311
|
collection?: string | undefined;
|
|
@@ -1214,6 +1317,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1214
1317
|
} | undefined;
|
|
1215
1318
|
}) | ({
|
|
1216
1319
|
unique: boolean;
|
|
1320
|
+
deprecated: boolean;
|
|
1217
1321
|
name?: string | undefined;
|
|
1218
1322
|
label?: string | undefined;
|
|
1219
1323
|
collection?: string | undefined;
|
|
@@ -1226,6 +1330,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1226
1330
|
type: "number";
|
|
1227
1331
|
schema: ({
|
|
1228
1332
|
unique: boolean;
|
|
1333
|
+
deprecated: boolean;
|
|
1229
1334
|
name?: string | undefined;
|
|
1230
1335
|
label?: string | undefined;
|
|
1231
1336
|
collection?: string | undefined;
|
|
@@ -1235,6 +1340,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1235
1340
|
default?: number | SerializedSQL | undefined;
|
|
1236
1341
|
} & any) | ({
|
|
1237
1342
|
unique: boolean;
|
|
1343
|
+
deprecated: boolean;
|
|
1238
1344
|
name?: string | undefined;
|
|
1239
1345
|
label?: string | undefined;
|
|
1240
1346
|
collection?: string | undefined;
|
|
@@ -1251,6 +1357,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1251
1357
|
name?: string | undefined;
|
|
1252
1358
|
label?: string | undefined;
|
|
1253
1359
|
unique?: boolean | undefined;
|
|
1360
|
+
deprecated?: boolean | undefined;
|
|
1254
1361
|
collection?: string | undefined;
|
|
1255
1362
|
} & {
|
|
1256
1363
|
primaryKey?: false | undefined;
|
|
@@ -1262,6 +1369,7 @@ export declare const referenceableColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1262
1369
|
name?: string | undefined;
|
|
1263
1370
|
label?: string | undefined;
|
|
1264
1371
|
unique?: boolean | undefined;
|
|
1372
|
+
deprecated?: boolean | undefined;
|
|
1265
1373
|
collection?: string | undefined;
|
|
1266
1374
|
} & {
|
|
1267
1375
|
primaryKey: true;
|
|
@@ -1278,11 +1386,13 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1278
1386
|
label: z.ZodOptional<z.ZodString>;
|
|
1279
1387
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1280
1388
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1389
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1281
1390
|
collection: z.ZodOptional<z.ZodString>;
|
|
1282
1391
|
default: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>]>>;
|
|
1283
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1393
|
optional: boolean;
|
|
1285
1394
|
unique: boolean;
|
|
1395
|
+
deprecated: boolean;
|
|
1286
1396
|
name?: string | undefined;
|
|
1287
1397
|
label?: string | undefined;
|
|
1288
1398
|
collection?: string | undefined;
|
|
@@ -1292,6 +1402,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1292
1402
|
label?: string | undefined;
|
|
1293
1403
|
optional?: boolean | undefined;
|
|
1294
1404
|
unique?: boolean | undefined;
|
|
1405
|
+
deprecated?: boolean | undefined;
|
|
1295
1406
|
collection?: string | undefined;
|
|
1296
1407
|
default?: boolean | SQL<any> | undefined;
|
|
1297
1408
|
}>;
|
|
@@ -1300,6 +1411,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1300
1411
|
schema: {
|
|
1301
1412
|
optional: boolean;
|
|
1302
1413
|
unique: boolean;
|
|
1414
|
+
deprecated: boolean;
|
|
1303
1415
|
name?: string | undefined;
|
|
1304
1416
|
label?: string | undefined;
|
|
1305
1417
|
collection?: string | undefined;
|
|
@@ -1312,6 +1424,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1312
1424
|
label?: string | undefined;
|
|
1313
1425
|
optional?: boolean | undefined;
|
|
1314
1426
|
unique?: boolean | undefined;
|
|
1427
|
+
deprecated?: boolean | undefined;
|
|
1315
1428
|
collection?: string | undefined;
|
|
1316
1429
|
default?: boolean | SQL<any> | undefined;
|
|
1317
1430
|
};
|
|
@@ -1319,6 +1432,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1319
1432
|
type: z.ZodLiteral<"number">;
|
|
1320
1433
|
schema: z.ZodType<({
|
|
1321
1434
|
unique: boolean;
|
|
1435
|
+
deprecated: boolean;
|
|
1322
1436
|
name?: string | undefined;
|
|
1323
1437
|
label?: string | undefined;
|
|
1324
1438
|
collection?: string | undefined;
|
|
@@ -1335,6 +1449,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1335
1449
|
type: "number";
|
|
1336
1450
|
schema: ({
|
|
1337
1451
|
unique: boolean;
|
|
1452
|
+
deprecated: boolean;
|
|
1338
1453
|
name?: string | undefined;
|
|
1339
1454
|
label?: string | undefined;
|
|
1340
1455
|
collection?: string | undefined;
|
|
@@ -1344,6 +1459,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1344
1459
|
default?: number | SerializedSQL | undefined;
|
|
1345
1460
|
} & any) | ({
|
|
1346
1461
|
unique: boolean;
|
|
1462
|
+
deprecated: boolean;
|
|
1347
1463
|
name?: string | undefined;
|
|
1348
1464
|
label?: string | undefined;
|
|
1349
1465
|
collection?: string | undefined;
|
|
@@ -1357,6 +1473,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1357
1473
|
name?: string | undefined;
|
|
1358
1474
|
label?: string | undefined;
|
|
1359
1475
|
unique?: boolean | undefined;
|
|
1476
|
+
deprecated?: boolean | undefined;
|
|
1360
1477
|
collection?: string | undefined;
|
|
1361
1478
|
} & ({
|
|
1362
1479
|
primaryKey?: false | undefined;
|
|
@@ -1373,6 +1490,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1373
1490
|
type: "number";
|
|
1374
1491
|
schema: ({
|
|
1375
1492
|
unique: boolean;
|
|
1493
|
+
deprecated: boolean;
|
|
1376
1494
|
name?: string | undefined;
|
|
1377
1495
|
label?: string | undefined;
|
|
1378
1496
|
collection?: string | undefined;
|
|
@@ -1385,6 +1503,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1385
1503
|
type: "number";
|
|
1386
1504
|
schema: ({
|
|
1387
1505
|
unique: boolean;
|
|
1506
|
+
deprecated: boolean;
|
|
1388
1507
|
name?: string | undefined;
|
|
1389
1508
|
label?: string | undefined;
|
|
1390
1509
|
collection?: string | undefined;
|
|
@@ -1394,6 +1513,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1394
1513
|
default?: number | SerializedSQL | undefined;
|
|
1395
1514
|
} & any) | ({
|
|
1396
1515
|
unique: boolean;
|
|
1516
|
+
deprecated: boolean;
|
|
1397
1517
|
name?: string | undefined;
|
|
1398
1518
|
label?: string | undefined;
|
|
1399
1519
|
collection?: string | undefined;
|
|
@@ -1405,6 +1525,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1405
1525
|
} | undefined;
|
|
1406
1526
|
}) | ({
|
|
1407
1527
|
unique: boolean;
|
|
1528
|
+
deprecated: boolean;
|
|
1408
1529
|
name?: string | undefined;
|
|
1409
1530
|
label?: string | undefined;
|
|
1410
1531
|
collection?: string | undefined;
|
|
@@ -1417,6 +1538,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1417
1538
|
type: "number";
|
|
1418
1539
|
schema: ({
|
|
1419
1540
|
unique: boolean;
|
|
1541
|
+
deprecated: boolean;
|
|
1420
1542
|
name?: string | undefined;
|
|
1421
1543
|
label?: string | undefined;
|
|
1422
1544
|
collection?: string | undefined;
|
|
@@ -1426,6 +1548,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1426
1548
|
default?: number | SerializedSQL | undefined;
|
|
1427
1549
|
} & any) | ({
|
|
1428
1550
|
unique: boolean;
|
|
1551
|
+
deprecated: boolean;
|
|
1429
1552
|
name?: string | undefined;
|
|
1430
1553
|
label?: string | undefined;
|
|
1431
1554
|
collection?: string | undefined;
|
|
@@ -1442,6 +1565,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1442
1565
|
name?: string | undefined;
|
|
1443
1566
|
label?: string | undefined;
|
|
1444
1567
|
unique?: boolean | undefined;
|
|
1568
|
+
deprecated?: boolean | undefined;
|
|
1445
1569
|
collection?: string | undefined;
|
|
1446
1570
|
} & {
|
|
1447
1571
|
primaryKey?: false | undefined;
|
|
@@ -1453,6 +1577,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1453
1577
|
name?: string | undefined;
|
|
1454
1578
|
label?: string | undefined;
|
|
1455
1579
|
unique?: boolean | undefined;
|
|
1580
|
+
deprecated?: boolean | undefined;
|
|
1456
1581
|
collection?: string | undefined;
|
|
1457
1582
|
} & {
|
|
1458
1583
|
primaryKey: true;
|
|
@@ -1465,6 +1590,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1465
1590
|
type: z.ZodLiteral<"text">;
|
|
1466
1591
|
schema: z.ZodType<({
|
|
1467
1592
|
unique: boolean;
|
|
1593
|
+
deprecated: boolean;
|
|
1468
1594
|
name?: string | undefined;
|
|
1469
1595
|
label?: string | undefined;
|
|
1470
1596
|
collection?: string | undefined;
|
|
@@ -1481,6 +1607,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1481
1607
|
type: "text";
|
|
1482
1608
|
schema: ({
|
|
1483
1609
|
unique: boolean;
|
|
1610
|
+
deprecated: boolean;
|
|
1484
1611
|
name?: string | undefined;
|
|
1485
1612
|
label?: string | undefined;
|
|
1486
1613
|
collection?: string | undefined;
|
|
@@ -1491,6 +1618,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1491
1618
|
primaryKey: false;
|
|
1492
1619
|
} & any) | ({
|
|
1493
1620
|
unique: boolean;
|
|
1621
|
+
deprecated: boolean;
|
|
1494
1622
|
name?: string | undefined;
|
|
1495
1623
|
label?: string | undefined;
|
|
1496
1624
|
collection?: string | undefined;
|
|
@@ -1505,6 +1633,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1505
1633
|
name?: string | undefined;
|
|
1506
1634
|
label?: string | undefined;
|
|
1507
1635
|
unique?: boolean | undefined;
|
|
1636
|
+
deprecated?: boolean | undefined;
|
|
1508
1637
|
collection?: string | undefined;
|
|
1509
1638
|
default?: string | SQL<any> | undefined;
|
|
1510
1639
|
multiline?: boolean | undefined;
|
|
@@ -1521,6 +1650,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1521
1650
|
type: "text";
|
|
1522
1651
|
schema: ({
|
|
1523
1652
|
unique: boolean;
|
|
1653
|
+
deprecated: boolean;
|
|
1524
1654
|
name?: string | undefined;
|
|
1525
1655
|
label?: string | undefined;
|
|
1526
1656
|
collection?: string | undefined;
|
|
@@ -1534,6 +1664,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1534
1664
|
type: "text";
|
|
1535
1665
|
schema: ({
|
|
1536
1666
|
unique: boolean;
|
|
1667
|
+
deprecated: boolean;
|
|
1537
1668
|
name?: string | undefined;
|
|
1538
1669
|
label?: string | undefined;
|
|
1539
1670
|
collection?: string | undefined;
|
|
@@ -1544,6 +1675,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1544
1675
|
primaryKey: false;
|
|
1545
1676
|
} & any) | ({
|
|
1546
1677
|
unique: boolean;
|
|
1678
|
+
deprecated: boolean;
|
|
1547
1679
|
name?: string | undefined;
|
|
1548
1680
|
label?: string | undefined;
|
|
1549
1681
|
collection?: string | undefined;
|
|
@@ -1556,6 +1688,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1556
1688
|
} | undefined;
|
|
1557
1689
|
}) | ({
|
|
1558
1690
|
unique: boolean;
|
|
1691
|
+
deprecated: boolean;
|
|
1559
1692
|
name?: string | undefined;
|
|
1560
1693
|
label?: string | undefined;
|
|
1561
1694
|
collection?: string | undefined;
|
|
@@ -1569,6 +1702,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1569
1702
|
type: "text";
|
|
1570
1703
|
schema: ({
|
|
1571
1704
|
unique: boolean;
|
|
1705
|
+
deprecated: boolean;
|
|
1572
1706
|
name?: string | undefined;
|
|
1573
1707
|
label?: string | undefined;
|
|
1574
1708
|
collection?: string | undefined;
|
|
@@ -1579,6 +1713,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1579
1713
|
primaryKey: false;
|
|
1580
1714
|
} & any) | ({
|
|
1581
1715
|
unique: boolean;
|
|
1716
|
+
deprecated: boolean;
|
|
1582
1717
|
name?: string | undefined;
|
|
1583
1718
|
label?: string | undefined;
|
|
1584
1719
|
collection?: string | undefined;
|
|
@@ -1596,6 +1731,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1596
1731
|
name?: string | undefined;
|
|
1597
1732
|
label?: string | undefined;
|
|
1598
1733
|
unique?: boolean | undefined;
|
|
1734
|
+
deprecated?: boolean | undefined;
|
|
1599
1735
|
collection?: string | undefined;
|
|
1600
1736
|
default?: string | SQL<any> | undefined;
|
|
1601
1737
|
multiline?: boolean | undefined;
|
|
@@ -1608,6 +1744,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1608
1744
|
name?: string | undefined;
|
|
1609
1745
|
label?: string | undefined;
|
|
1610
1746
|
unique?: boolean | undefined;
|
|
1747
|
+
deprecated?: boolean | undefined;
|
|
1611
1748
|
collection?: string | undefined;
|
|
1612
1749
|
default?: string | SQL<any> | undefined;
|
|
1613
1750
|
multiline?: boolean | undefined;
|
|
@@ -1624,11 +1761,13 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1624
1761
|
label: z.ZodOptional<z.ZodString>;
|
|
1625
1762
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1626
1763
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1764
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1627
1765
|
collection: z.ZodOptional<z.ZodString>;
|
|
1628
1766
|
default: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>, z.ZodEffects<z.ZodDate, string, Date>]>>;
|
|
1629
1767
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1768
|
optional: boolean;
|
|
1631
1769
|
unique: boolean;
|
|
1770
|
+
deprecated: boolean;
|
|
1632
1771
|
name?: string | undefined;
|
|
1633
1772
|
label?: string | undefined;
|
|
1634
1773
|
collection?: string | undefined;
|
|
@@ -1638,6 +1777,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1638
1777
|
label?: string | undefined;
|
|
1639
1778
|
optional?: boolean | undefined;
|
|
1640
1779
|
unique?: boolean | undefined;
|
|
1780
|
+
deprecated?: boolean | undefined;
|
|
1641
1781
|
collection?: string | undefined;
|
|
1642
1782
|
default?: Date | SQL<any> | undefined;
|
|
1643
1783
|
}>;
|
|
@@ -1646,6 +1786,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1646
1786
|
schema: {
|
|
1647
1787
|
optional: boolean;
|
|
1648
1788
|
unique: boolean;
|
|
1789
|
+
deprecated: boolean;
|
|
1649
1790
|
name?: string | undefined;
|
|
1650
1791
|
label?: string | undefined;
|
|
1651
1792
|
collection?: string | undefined;
|
|
@@ -1658,6 +1799,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1658
1799
|
label?: string | undefined;
|
|
1659
1800
|
optional?: boolean | undefined;
|
|
1660
1801
|
unique?: boolean | undefined;
|
|
1802
|
+
deprecated?: boolean | undefined;
|
|
1661
1803
|
collection?: string | undefined;
|
|
1662
1804
|
default?: Date | SQL<any> | undefined;
|
|
1663
1805
|
};
|
|
@@ -1668,11 +1810,13 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1668
1810
|
label: z.ZodOptional<z.ZodString>;
|
|
1669
1811
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1670
1812
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1813
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1671
1814
|
collection: z.ZodOptional<z.ZodString>;
|
|
1672
1815
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
1673
1816
|
}, "strip", z.ZodTypeAny, {
|
|
1674
1817
|
optional: boolean;
|
|
1675
1818
|
unique: boolean;
|
|
1819
|
+
deprecated: boolean;
|
|
1676
1820
|
name?: string | undefined;
|
|
1677
1821
|
label?: string | undefined;
|
|
1678
1822
|
collection?: string | undefined;
|
|
@@ -1682,6 +1826,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1682
1826
|
label?: string | undefined;
|
|
1683
1827
|
optional?: boolean | undefined;
|
|
1684
1828
|
unique?: boolean | undefined;
|
|
1829
|
+
deprecated?: boolean | undefined;
|
|
1685
1830
|
collection?: string | undefined;
|
|
1686
1831
|
default?: unknown;
|
|
1687
1832
|
}>;
|
|
@@ -1690,6 +1835,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1690
1835
|
schema: {
|
|
1691
1836
|
optional: boolean;
|
|
1692
1837
|
unique: boolean;
|
|
1838
|
+
deprecated: boolean;
|
|
1693
1839
|
name?: string | undefined;
|
|
1694
1840
|
label?: string | undefined;
|
|
1695
1841
|
collection?: string | undefined;
|
|
@@ -1702,6 +1848,7 @@ declare const columnsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
1702
1848
|
label?: string | undefined;
|
|
1703
1849
|
optional?: boolean | undefined;
|
|
1704
1850
|
unique?: boolean | undefined;
|
|
1851
|
+
deprecated?: boolean | undefined;
|
|
1705
1852
|
collection?: string | undefined;
|
|
1706
1853
|
default?: unknown;
|
|
1707
1854
|
};
|
|
@@ -1732,11 +1879,13 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1732
1879
|
label: z.ZodOptional<z.ZodString>;
|
|
1733
1880
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1734
1881
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1882
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1735
1883
|
collection: z.ZodOptional<z.ZodString>;
|
|
1736
1884
|
default: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>]>>;
|
|
1737
1885
|
}, "strip", z.ZodTypeAny, {
|
|
1738
1886
|
optional: boolean;
|
|
1739
1887
|
unique: boolean;
|
|
1888
|
+
deprecated: boolean;
|
|
1740
1889
|
name?: string | undefined;
|
|
1741
1890
|
label?: string | undefined;
|
|
1742
1891
|
collection?: string | undefined;
|
|
@@ -1746,6 +1895,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1746
1895
|
label?: string | undefined;
|
|
1747
1896
|
optional?: boolean | undefined;
|
|
1748
1897
|
unique?: boolean | undefined;
|
|
1898
|
+
deprecated?: boolean | undefined;
|
|
1749
1899
|
collection?: string | undefined;
|
|
1750
1900
|
default?: boolean | SQL<any> | undefined;
|
|
1751
1901
|
}>;
|
|
@@ -1754,6 +1904,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1754
1904
|
schema: {
|
|
1755
1905
|
optional: boolean;
|
|
1756
1906
|
unique: boolean;
|
|
1907
|
+
deprecated: boolean;
|
|
1757
1908
|
name?: string | undefined;
|
|
1758
1909
|
label?: string | undefined;
|
|
1759
1910
|
collection?: string | undefined;
|
|
@@ -1766,6 +1917,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1766
1917
|
label?: string | undefined;
|
|
1767
1918
|
optional?: boolean | undefined;
|
|
1768
1919
|
unique?: boolean | undefined;
|
|
1920
|
+
deprecated?: boolean | undefined;
|
|
1769
1921
|
collection?: string | undefined;
|
|
1770
1922
|
default?: boolean | SQL<any> | undefined;
|
|
1771
1923
|
};
|
|
@@ -1773,6 +1925,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1773
1925
|
type: z.ZodLiteral<"number">;
|
|
1774
1926
|
schema: z.ZodType<({
|
|
1775
1927
|
unique: boolean;
|
|
1928
|
+
deprecated: boolean;
|
|
1776
1929
|
name?: string | undefined;
|
|
1777
1930
|
label?: string | undefined;
|
|
1778
1931
|
collection?: string | undefined;
|
|
@@ -1789,6 +1942,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1789
1942
|
type: "number";
|
|
1790
1943
|
schema: ({
|
|
1791
1944
|
unique: boolean;
|
|
1945
|
+
deprecated: boolean;
|
|
1792
1946
|
name?: string | undefined;
|
|
1793
1947
|
label?: string | undefined;
|
|
1794
1948
|
collection?: string | undefined;
|
|
@@ -1798,6 +1952,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1798
1952
|
default?: number | SerializedSQL | undefined;
|
|
1799
1953
|
} & any) | ({
|
|
1800
1954
|
unique: boolean;
|
|
1955
|
+
deprecated: boolean;
|
|
1801
1956
|
name?: string | undefined;
|
|
1802
1957
|
label?: string | undefined;
|
|
1803
1958
|
collection?: string | undefined;
|
|
@@ -1811,6 +1966,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1811
1966
|
name?: string | undefined;
|
|
1812
1967
|
label?: string | undefined;
|
|
1813
1968
|
unique?: boolean | undefined;
|
|
1969
|
+
deprecated?: boolean | undefined;
|
|
1814
1970
|
collection?: string | undefined;
|
|
1815
1971
|
} & ({
|
|
1816
1972
|
primaryKey?: false | undefined;
|
|
@@ -1827,6 +1983,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1827
1983
|
type: "number";
|
|
1828
1984
|
schema: ({
|
|
1829
1985
|
unique: boolean;
|
|
1986
|
+
deprecated: boolean;
|
|
1830
1987
|
name?: string | undefined;
|
|
1831
1988
|
label?: string | undefined;
|
|
1832
1989
|
collection?: string | undefined;
|
|
@@ -1836,6 +1993,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1836
1993
|
default?: number | SerializedSQL | undefined;
|
|
1837
1994
|
} & any) | ({
|
|
1838
1995
|
unique: boolean;
|
|
1996
|
+
deprecated: boolean;
|
|
1839
1997
|
name?: string | undefined;
|
|
1840
1998
|
label?: string | undefined;
|
|
1841
1999
|
collection?: string | undefined;
|
|
@@ -1850,6 +2008,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1850
2008
|
name?: string | undefined;
|
|
1851
2009
|
label?: string | undefined;
|
|
1852
2010
|
unique?: boolean | undefined;
|
|
2011
|
+
deprecated?: boolean | undefined;
|
|
1853
2012
|
collection?: string | undefined;
|
|
1854
2013
|
} & {
|
|
1855
2014
|
primaryKey?: false | undefined;
|
|
@@ -1861,6 +2020,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1861
2020
|
name?: string | undefined;
|
|
1862
2021
|
label?: string | undefined;
|
|
1863
2022
|
unique?: boolean | undefined;
|
|
2023
|
+
deprecated?: boolean | undefined;
|
|
1864
2024
|
collection?: string | undefined;
|
|
1865
2025
|
} & {
|
|
1866
2026
|
primaryKey: true;
|
|
@@ -1873,6 +2033,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1873
2033
|
type: z.ZodLiteral<"text">;
|
|
1874
2034
|
schema: z.ZodType<({
|
|
1875
2035
|
unique: boolean;
|
|
2036
|
+
deprecated: boolean;
|
|
1876
2037
|
name?: string | undefined;
|
|
1877
2038
|
label?: string | undefined;
|
|
1878
2039
|
collection?: string | undefined;
|
|
@@ -1889,6 +2050,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1889
2050
|
type: "text";
|
|
1890
2051
|
schema: ({
|
|
1891
2052
|
unique: boolean;
|
|
2053
|
+
deprecated: boolean;
|
|
1892
2054
|
name?: string | undefined;
|
|
1893
2055
|
label?: string | undefined;
|
|
1894
2056
|
collection?: string | undefined;
|
|
@@ -1899,6 +2061,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1899
2061
|
primaryKey: false;
|
|
1900
2062
|
} & any) | ({
|
|
1901
2063
|
unique: boolean;
|
|
2064
|
+
deprecated: boolean;
|
|
1902
2065
|
name?: string | undefined;
|
|
1903
2066
|
label?: string | undefined;
|
|
1904
2067
|
collection?: string | undefined;
|
|
@@ -1913,6 +2076,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1913
2076
|
name?: string | undefined;
|
|
1914
2077
|
label?: string | undefined;
|
|
1915
2078
|
unique?: boolean | undefined;
|
|
2079
|
+
deprecated?: boolean | undefined;
|
|
1916
2080
|
collection?: string | undefined;
|
|
1917
2081
|
default?: string | SQL<any> | undefined;
|
|
1918
2082
|
multiline?: boolean | undefined;
|
|
@@ -1929,6 +2093,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1929
2093
|
type: "text";
|
|
1930
2094
|
schema: ({
|
|
1931
2095
|
unique: boolean;
|
|
2096
|
+
deprecated: boolean;
|
|
1932
2097
|
name?: string | undefined;
|
|
1933
2098
|
label?: string | undefined;
|
|
1934
2099
|
collection?: string | undefined;
|
|
@@ -1939,6 +2104,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1939
2104
|
primaryKey: false;
|
|
1940
2105
|
} & any) | ({
|
|
1941
2106
|
unique: boolean;
|
|
2107
|
+
deprecated: boolean;
|
|
1942
2108
|
name?: string | undefined;
|
|
1943
2109
|
label?: string | undefined;
|
|
1944
2110
|
collection?: string | undefined;
|
|
@@ -1954,6 +2120,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1954
2120
|
name?: string | undefined;
|
|
1955
2121
|
label?: string | undefined;
|
|
1956
2122
|
unique?: boolean | undefined;
|
|
2123
|
+
deprecated?: boolean | undefined;
|
|
1957
2124
|
collection?: string | undefined;
|
|
1958
2125
|
default?: string | SQL<any> | undefined;
|
|
1959
2126
|
multiline?: boolean | undefined;
|
|
@@ -1966,6 +2133,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1966
2133
|
name?: string | undefined;
|
|
1967
2134
|
label?: string | undefined;
|
|
1968
2135
|
unique?: boolean | undefined;
|
|
2136
|
+
deprecated?: boolean | undefined;
|
|
1969
2137
|
collection?: string | undefined;
|
|
1970
2138
|
default?: string | SQL<any> | undefined;
|
|
1971
2139
|
multiline?: boolean | undefined;
|
|
@@ -1982,11 +2150,13 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1982
2150
|
label: z.ZodOptional<z.ZodString>;
|
|
1983
2151
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1984
2152
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2153
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1985
2154
|
collection: z.ZodOptional<z.ZodString>;
|
|
1986
2155
|
default: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>, z.ZodEffects<z.ZodDate, string, Date>]>>;
|
|
1987
2156
|
}, "strip", z.ZodTypeAny, {
|
|
1988
2157
|
optional: boolean;
|
|
1989
2158
|
unique: boolean;
|
|
2159
|
+
deprecated: boolean;
|
|
1990
2160
|
name?: string | undefined;
|
|
1991
2161
|
label?: string | undefined;
|
|
1992
2162
|
collection?: string | undefined;
|
|
@@ -1996,6 +2166,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
1996
2166
|
label?: string | undefined;
|
|
1997
2167
|
optional?: boolean | undefined;
|
|
1998
2168
|
unique?: boolean | undefined;
|
|
2169
|
+
deprecated?: boolean | undefined;
|
|
1999
2170
|
collection?: string | undefined;
|
|
2000
2171
|
default?: Date | SQL<any> | undefined;
|
|
2001
2172
|
}>;
|
|
@@ -2004,6 +2175,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2004
2175
|
schema: {
|
|
2005
2176
|
optional: boolean;
|
|
2006
2177
|
unique: boolean;
|
|
2178
|
+
deprecated: boolean;
|
|
2007
2179
|
name?: string | undefined;
|
|
2008
2180
|
label?: string | undefined;
|
|
2009
2181
|
collection?: string | undefined;
|
|
@@ -2016,6 +2188,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2016
2188
|
label?: string | undefined;
|
|
2017
2189
|
optional?: boolean | undefined;
|
|
2018
2190
|
unique?: boolean | undefined;
|
|
2191
|
+
deprecated?: boolean | undefined;
|
|
2019
2192
|
collection?: string | undefined;
|
|
2020
2193
|
default?: Date | SQL<any> | undefined;
|
|
2021
2194
|
};
|
|
@@ -2026,11 +2199,13 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2026
2199
|
label: z.ZodOptional<z.ZodString>;
|
|
2027
2200
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2028
2201
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2202
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2029
2203
|
collection: z.ZodOptional<z.ZodString>;
|
|
2030
2204
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
2031
2205
|
}, "strip", z.ZodTypeAny, {
|
|
2032
2206
|
optional: boolean;
|
|
2033
2207
|
unique: boolean;
|
|
2208
|
+
deprecated: boolean;
|
|
2034
2209
|
name?: string | undefined;
|
|
2035
2210
|
label?: string | undefined;
|
|
2036
2211
|
collection?: string | undefined;
|
|
@@ -2040,6 +2215,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2040
2215
|
label?: string | undefined;
|
|
2041
2216
|
optional?: boolean | undefined;
|
|
2042
2217
|
unique?: boolean | undefined;
|
|
2218
|
+
deprecated?: boolean | undefined;
|
|
2043
2219
|
collection?: string | undefined;
|
|
2044
2220
|
default?: unknown;
|
|
2045
2221
|
}>;
|
|
@@ -2048,6 +2224,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2048
2224
|
schema: {
|
|
2049
2225
|
optional: boolean;
|
|
2050
2226
|
unique: boolean;
|
|
2227
|
+
deprecated: boolean;
|
|
2051
2228
|
name?: string | undefined;
|
|
2052
2229
|
label?: string | undefined;
|
|
2053
2230
|
collection?: string | undefined;
|
|
@@ -2060,6 +2237,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2060
2237
|
label?: string | undefined;
|
|
2061
2238
|
optional?: boolean | undefined;
|
|
2062
2239
|
unique?: boolean | undefined;
|
|
2240
|
+
deprecated?: boolean | undefined;
|
|
2063
2241
|
collection?: string | undefined;
|
|
2064
2242
|
default?: unknown;
|
|
2065
2243
|
};
|
|
@@ -2075,12 +2253,15 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2075
2253
|
unique?: boolean | undefined;
|
|
2076
2254
|
}>>>;
|
|
2077
2255
|
foreignKeys: z.ZodOptional<z.ZodArray<z.ZodType<ForeignKeysOutput, ZodTypeDef, ForeignKeysInput>, "many">>;
|
|
2256
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2078
2257
|
}, "strip", z.ZodTypeAny, {
|
|
2258
|
+
deprecated: boolean;
|
|
2079
2259
|
columns: Record<string, {
|
|
2080
2260
|
type: "boolean";
|
|
2081
2261
|
schema: {
|
|
2082
2262
|
optional: boolean;
|
|
2083
2263
|
unique: boolean;
|
|
2264
|
+
deprecated: boolean;
|
|
2084
2265
|
name?: string | undefined;
|
|
2085
2266
|
label?: string | undefined;
|
|
2086
2267
|
collection?: string | undefined;
|
|
@@ -2090,6 +2271,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2090
2271
|
type: "number";
|
|
2091
2272
|
schema: ({
|
|
2092
2273
|
unique: boolean;
|
|
2274
|
+
deprecated: boolean;
|
|
2093
2275
|
name?: string | undefined;
|
|
2094
2276
|
label?: string | undefined;
|
|
2095
2277
|
collection?: string | undefined;
|
|
@@ -2099,6 +2281,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2099
2281
|
default?: number | SerializedSQL | undefined;
|
|
2100
2282
|
} & any) | ({
|
|
2101
2283
|
unique: boolean;
|
|
2284
|
+
deprecated: boolean;
|
|
2102
2285
|
name?: string | undefined;
|
|
2103
2286
|
label?: string | undefined;
|
|
2104
2287
|
collection?: string | undefined;
|
|
@@ -2111,6 +2294,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2111
2294
|
type: "text";
|
|
2112
2295
|
schema: ({
|
|
2113
2296
|
unique: boolean;
|
|
2297
|
+
deprecated: boolean;
|
|
2114
2298
|
name?: string | undefined;
|
|
2115
2299
|
label?: string | undefined;
|
|
2116
2300
|
collection?: string | undefined;
|
|
@@ -2121,6 +2305,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2121
2305
|
primaryKey: false;
|
|
2122
2306
|
} & any) | ({
|
|
2123
2307
|
unique: boolean;
|
|
2308
|
+
deprecated: boolean;
|
|
2124
2309
|
name?: string | undefined;
|
|
2125
2310
|
label?: string | undefined;
|
|
2126
2311
|
collection?: string | undefined;
|
|
@@ -2135,6 +2320,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2135
2320
|
schema: {
|
|
2136
2321
|
optional: boolean;
|
|
2137
2322
|
unique: boolean;
|
|
2323
|
+
deprecated: boolean;
|
|
2138
2324
|
name?: string | undefined;
|
|
2139
2325
|
label?: string | undefined;
|
|
2140
2326
|
collection?: string | undefined;
|
|
@@ -2145,6 +2331,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2145
2331
|
schema: {
|
|
2146
2332
|
optional: boolean;
|
|
2147
2333
|
unique: boolean;
|
|
2334
|
+
deprecated: boolean;
|
|
2148
2335
|
name?: string | undefined;
|
|
2149
2336
|
label?: string | undefined;
|
|
2150
2337
|
collection?: string | undefined;
|
|
@@ -2164,6 +2351,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2164
2351
|
label?: string | undefined;
|
|
2165
2352
|
optional?: boolean | undefined;
|
|
2166
2353
|
unique?: boolean | undefined;
|
|
2354
|
+
deprecated?: boolean | undefined;
|
|
2167
2355
|
collection?: string | undefined;
|
|
2168
2356
|
default?: boolean | SQL<any> | undefined;
|
|
2169
2357
|
};
|
|
@@ -2173,6 +2361,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2173
2361
|
name?: string | undefined;
|
|
2174
2362
|
label?: string | undefined;
|
|
2175
2363
|
unique?: boolean | undefined;
|
|
2364
|
+
deprecated?: boolean | undefined;
|
|
2176
2365
|
collection?: string | undefined;
|
|
2177
2366
|
} & {
|
|
2178
2367
|
primaryKey?: false | undefined;
|
|
@@ -2184,6 +2373,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2184
2373
|
name?: string | undefined;
|
|
2185
2374
|
label?: string | undefined;
|
|
2186
2375
|
unique?: boolean | undefined;
|
|
2376
|
+
deprecated?: boolean | undefined;
|
|
2187
2377
|
collection?: string | undefined;
|
|
2188
2378
|
} & {
|
|
2189
2379
|
primaryKey: true;
|
|
@@ -2198,6 +2388,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2198
2388
|
name?: string | undefined;
|
|
2199
2389
|
label?: string | undefined;
|
|
2200
2390
|
unique?: boolean | undefined;
|
|
2391
|
+
deprecated?: boolean | undefined;
|
|
2201
2392
|
collection?: string | undefined;
|
|
2202
2393
|
default?: string | SQL<any> | undefined;
|
|
2203
2394
|
multiline?: boolean | undefined;
|
|
@@ -2210,6 +2401,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2210
2401
|
name?: string | undefined;
|
|
2211
2402
|
label?: string | undefined;
|
|
2212
2403
|
unique?: boolean | undefined;
|
|
2404
|
+
deprecated?: boolean | undefined;
|
|
2213
2405
|
collection?: string | undefined;
|
|
2214
2406
|
default?: string | SQL<any> | undefined;
|
|
2215
2407
|
multiline?: boolean | undefined;
|
|
@@ -2226,6 +2418,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2226
2418
|
label?: string | undefined;
|
|
2227
2419
|
optional?: boolean | undefined;
|
|
2228
2420
|
unique?: boolean | undefined;
|
|
2421
|
+
deprecated?: boolean | undefined;
|
|
2229
2422
|
collection?: string | undefined;
|
|
2230
2423
|
default?: Date | SQL<any> | undefined;
|
|
2231
2424
|
};
|
|
@@ -2236,6 +2429,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2236
2429
|
label?: string | undefined;
|
|
2237
2430
|
optional?: boolean | undefined;
|
|
2238
2431
|
unique?: boolean | undefined;
|
|
2432
|
+
deprecated?: boolean | undefined;
|
|
2239
2433
|
collection?: string | undefined;
|
|
2240
2434
|
default?: unknown;
|
|
2241
2435
|
};
|
|
@@ -2245,6 +2439,7 @@ export declare const tableSchema: z.ZodObject<{
|
|
|
2245
2439
|
unique?: boolean | undefined;
|
|
2246
2440
|
}> | undefined;
|
|
2247
2441
|
foreignKeys?: ForeignKeysInput[] | undefined;
|
|
2442
|
+
deprecated?: boolean | undefined;
|
|
2248
2443
|
}>;
|
|
2249
2444
|
export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2250
2445
|
columns: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -2254,11 +2449,13 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2254
2449
|
label: z.ZodOptional<z.ZodString>;
|
|
2255
2450
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2256
2451
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2452
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2257
2453
|
collection: z.ZodOptional<z.ZodString>;
|
|
2258
2454
|
default: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>]>>;
|
|
2259
2455
|
}, "strip", z.ZodTypeAny, {
|
|
2260
2456
|
optional: boolean;
|
|
2261
2457
|
unique: boolean;
|
|
2458
|
+
deprecated: boolean;
|
|
2262
2459
|
name?: string | undefined;
|
|
2263
2460
|
label?: string | undefined;
|
|
2264
2461
|
collection?: string | undefined;
|
|
@@ -2268,6 +2465,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2268
2465
|
label?: string | undefined;
|
|
2269
2466
|
optional?: boolean | undefined;
|
|
2270
2467
|
unique?: boolean | undefined;
|
|
2468
|
+
deprecated?: boolean | undefined;
|
|
2271
2469
|
collection?: string | undefined;
|
|
2272
2470
|
default?: boolean | SQL<any> | undefined;
|
|
2273
2471
|
}>;
|
|
@@ -2276,6 +2474,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2276
2474
|
schema: {
|
|
2277
2475
|
optional: boolean;
|
|
2278
2476
|
unique: boolean;
|
|
2477
|
+
deprecated: boolean;
|
|
2279
2478
|
name?: string | undefined;
|
|
2280
2479
|
label?: string | undefined;
|
|
2281
2480
|
collection?: string | undefined;
|
|
@@ -2288,6 +2487,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2288
2487
|
label?: string | undefined;
|
|
2289
2488
|
optional?: boolean | undefined;
|
|
2290
2489
|
unique?: boolean | undefined;
|
|
2490
|
+
deprecated?: boolean | undefined;
|
|
2291
2491
|
collection?: string | undefined;
|
|
2292
2492
|
default?: boolean | SQL<any> | undefined;
|
|
2293
2493
|
};
|
|
@@ -2295,6 +2495,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2295
2495
|
type: z.ZodLiteral<"number">;
|
|
2296
2496
|
schema: z.ZodType<({
|
|
2297
2497
|
unique: boolean;
|
|
2498
|
+
deprecated: boolean;
|
|
2298
2499
|
name?: string | undefined;
|
|
2299
2500
|
label?: string | undefined;
|
|
2300
2501
|
collection?: string | undefined;
|
|
@@ -2311,6 +2512,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2311
2512
|
type: "number";
|
|
2312
2513
|
schema: ({
|
|
2313
2514
|
unique: boolean;
|
|
2515
|
+
deprecated: boolean;
|
|
2314
2516
|
name?: string | undefined;
|
|
2315
2517
|
label?: string | undefined;
|
|
2316
2518
|
collection?: string | undefined;
|
|
@@ -2320,6 +2522,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2320
2522
|
default?: number | SerializedSQL | undefined;
|
|
2321
2523
|
} & any) | ({
|
|
2322
2524
|
unique: boolean;
|
|
2525
|
+
deprecated: boolean;
|
|
2323
2526
|
name?: string | undefined;
|
|
2324
2527
|
label?: string | undefined;
|
|
2325
2528
|
collection?: string | undefined;
|
|
@@ -2333,6 +2536,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2333
2536
|
name?: string | undefined;
|
|
2334
2537
|
label?: string | undefined;
|
|
2335
2538
|
unique?: boolean | undefined;
|
|
2539
|
+
deprecated?: boolean | undefined;
|
|
2336
2540
|
collection?: string | undefined;
|
|
2337
2541
|
} & ({
|
|
2338
2542
|
primaryKey?: false | undefined;
|
|
@@ -2349,6 +2553,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2349
2553
|
type: "number";
|
|
2350
2554
|
schema: ({
|
|
2351
2555
|
unique: boolean;
|
|
2556
|
+
deprecated: boolean;
|
|
2352
2557
|
name?: string | undefined;
|
|
2353
2558
|
label?: string | undefined;
|
|
2354
2559
|
collection?: string | undefined;
|
|
@@ -2358,6 +2563,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2358
2563
|
default?: number | SerializedSQL | undefined;
|
|
2359
2564
|
} & any) | ({
|
|
2360
2565
|
unique: boolean;
|
|
2566
|
+
deprecated: boolean;
|
|
2361
2567
|
name?: string | undefined;
|
|
2362
2568
|
label?: string | undefined;
|
|
2363
2569
|
collection?: string | undefined;
|
|
@@ -2372,6 +2578,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2372
2578
|
name?: string | undefined;
|
|
2373
2579
|
label?: string | undefined;
|
|
2374
2580
|
unique?: boolean | undefined;
|
|
2581
|
+
deprecated?: boolean | undefined;
|
|
2375
2582
|
collection?: string | undefined;
|
|
2376
2583
|
} & {
|
|
2377
2584
|
primaryKey?: false | undefined;
|
|
@@ -2383,6 +2590,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2383
2590
|
name?: string | undefined;
|
|
2384
2591
|
label?: string | undefined;
|
|
2385
2592
|
unique?: boolean | undefined;
|
|
2593
|
+
deprecated?: boolean | undefined;
|
|
2386
2594
|
collection?: string | undefined;
|
|
2387
2595
|
} & {
|
|
2388
2596
|
primaryKey: true;
|
|
@@ -2395,6 +2603,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2395
2603
|
type: z.ZodLiteral<"text">;
|
|
2396
2604
|
schema: z.ZodType<({
|
|
2397
2605
|
unique: boolean;
|
|
2606
|
+
deprecated: boolean;
|
|
2398
2607
|
name?: string | undefined;
|
|
2399
2608
|
label?: string | undefined;
|
|
2400
2609
|
collection?: string | undefined;
|
|
@@ -2411,6 +2620,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2411
2620
|
type: "text";
|
|
2412
2621
|
schema: ({
|
|
2413
2622
|
unique: boolean;
|
|
2623
|
+
deprecated: boolean;
|
|
2414
2624
|
name?: string | undefined;
|
|
2415
2625
|
label?: string | undefined;
|
|
2416
2626
|
collection?: string | undefined;
|
|
@@ -2421,6 +2631,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2421
2631
|
primaryKey: false;
|
|
2422
2632
|
} & any) | ({
|
|
2423
2633
|
unique: boolean;
|
|
2634
|
+
deprecated: boolean;
|
|
2424
2635
|
name?: string | undefined;
|
|
2425
2636
|
label?: string | undefined;
|
|
2426
2637
|
collection?: string | undefined;
|
|
@@ -2435,6 +2646,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2435
2646
|
name?: string | undefined;
|
|
2436
2647
|
label?: string | undefined;
|
|
2437
2648
|
unique?: boolean | undefined;
|
|
2649
|
+
deprecated?: boolean | undefined;
|
|
2438
2650
|
collection?: string | undefined;
|
|
2439
2651
|
default?: string | SQL<any> | undefined;
|
|
2440
2652
|
multiline?: boolean | undefined;
|
|
@@ -2451,6 +2663,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2451
2663
|
type: "text";
|
|
2452
2664
|
schema: ({
|
|
2453
2665
|
unique: boolean;
|
|
2666
|
+
deprecated: boolean;
|
|
2454
2667
|
name?: string | undefined;
|
|
2455
2668
|
label?: string | undefined;
|
|
2456
2669
|
collection?: string | undefined;
|
|
@@ -2461,6 +2674,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2461
2674
|
primaryKey: false;
|
|
2462
2675
|
} & any) | ({
|
|
2463
2676
|
unique: boolean;
|
|
2677
|
+
deprecated: boolean;
|
|
2464
2678
|
name?: string | undefined;
|
|
2465
2679
|
label?: string | undefined;
|
|
2466
2680
|
collection?: string | undefined;
|
|
@@ -2476,6 +2690,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2476
2690
|
name?: string | undefined;
|
|
2477
2691
|
label?: string | undefined;
|
|
2478
2692
|
unique?: boolean | undefined;
|
|
2693
|
+
deprecated?: boolean | undefined;
|
|
2479
2694
|
collection?: string | undefined;
|
|
2480
2695
|
default?: string | SQL<any> | undefined;
|
|
2481
2696
|
multiline?: boolean | undefined;
|
|
@@ -2488,6 +2703,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2488
2703
|
name?: string | undefined;
|
|
2489
2704
|
label?: string | undefined;
|
|
2490
2705
|
unique?: boolean | undefined;
|
|
2706
|
+
deprecated?: boolean | undefined;
|
|
2491
2707
|
collection?: string | undefined;
|
|
2492
2708
|
default?: string | SQL<any> | undefined;
|
|
2493
2709
|
multiline?: boolean | undefined;
|
|
@@ -2504,11 +2720,13 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2504
2720
|
label: z.ZodOptional<z.ZodString>;
|
|
2505
2721
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2506
2722
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2723
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2507
2724
|
collection: z.ZodOptional<z.ZodString>;
|
|
2508
2725
|
default: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>, z.ZodEffects<z.ZodDate, string, Date>]>>;
|
|
2509
2726
|
}, "strip", z.ZodTypeAny, {
|
|
2510
2727
|
optional: boolean;
|
|
2511
2728
|
unique: boolean;
|
|
2729
|
+
deprecated: boolean;
|
|
2512
2730
|
name?: string | undefined;
|
|
2513
2731
|
label?: string | undefined;
|
|
2514
2732
|
collection?: string | undefined;
|
|
@@ -2518,6 +2736,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2518
2736
|
label?: string | undefined;
|
|
2519
2737
|
optional?: boolean | undefined;
|
|
2520
2738
|
unique?: boolean | undefined;
|
|
2739
|
+
deprecated?: boolean | undefined;
|
|
2521
2740
|
collection?: string | undefined;
|
|
2522
2741
|
default?: Date | SQL<any> | undefined;
|
|
2523
2742
|
}>;
|
|
@@ -2526,6 +2745,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2526
2745
|
schema: {
|
|
2527
2746
|
optional: boolean;
|
|
2528
2747
|
unique: boolean;
|
|
2748
|
+
deprecated: boolean;
|
|
2529
2749
|
name?: string | undefined;
|
|
2530
2750
|
label?: string | undefined;
|
|
2531
2751
|
collection?: string | undefined;
|
|
@@ -2538,6 +2758,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2538
2758
|
label?: string | undefined;
|
|
2539
2759
|
optional?: boolean | undefined;
|
|
2540
2760
|
unique?: boolean | undefined;
|
|
2761
|
+
deprecated?: boolean | undefined;
|
|
2541
2762
|
collection?: string | undefined;
|
|
2542
2763
|
default?: Date | SQL<any> | undefined;
|
|
2543
2764
|
};
|
|
@@ -2548,11 +2769,13 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2548
2769
|
label: z.ZodOptional<z.ZodString>;
|
|
2549
2770
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2550
2771
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2772
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2551
2773
|
collection: z.ZodOptional<z.ZodString>;
|
|
2552
2774
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
2553
2775
|
}, "strip", z.ZodTypeAny, {
|
|
2554
2776
|
optional: boolean;
|
|
2555
2777
|
unique: boolean;
|
|
2778
|
+
deprecated: boolean;
|
|
2556
2779
|
name?: string | undefined;
|
|
2557
2780
|
label?: string | undefined;
|
|
2558
2781
|
collection?: string | undefined;
|
|
@@ -2562,6 +2785,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2562
2785
|
label?: string | undefined;
|
|
2563
2786
|
optional?: boolean | undefined;
|
|
2564
2787
|
unique?: boolean | undefined;
|
|
2788
|
+
deprecated?: boolean | undefined;
|
|
2565
2789
|
collection?: string | undefined;
|
|
2566
2790
|
default?: unknown;
|
|
2567
2791
|
}>;
|
|
@@ -2570,6 +2794,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2570
2794
|
schema: {
|
|
2571
2795
|
optional: boolean;
|
|
2572
2796
|
unique: boolean;
|
|
2797
|
+
deprecated: boolean;
|
|
2573
2798
|
name?: string | undefined;
|
|
2574
2799
|
label?: string | undefined;
|
|
2575
2800
|
collection?: string | undefined;
|
|
@@ -2582,6 +2807,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2582
2807
|
label?: string | undefined;
|
|
2583
2808
|
optional?: boolean | undefined;
|
|
2584
2809
|
unique?: boolean | undefined;
|
|
2810
|
+
deprecated?: boolean | undefined;
|
|
2585
2811
|
collection?: string | undefined;
|
|
2586
2812
|
default?: unknown;
|
|
2587
2813
|
};
|
|
@@ -2597,12 +2823,15 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2597
2823
|
unique?: boolean | undefined;
|
|
2598
2824
|
}>>>;
|
|
2599
2825
|
foreignKeys: z.ZodOptional<z.ZodArray<z.ZodType<ForeignKeysOutput, ZodTypeDef, ForeignKeysInput>, "many">>;
|
|
2826
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2600
2827
|
}, "strip", z.ZodTypeAny, {
|
|
2828
|
+
deprecated: boolean;
|
|
2601
2829
|
columns: Record<string, {
|
|
2602
2830
|
type: "boolean";
|
|
2603
2831
|
schema: {
|
|
2604
2832
|
optional: boolean;
|
|
2605
2833
|
unique: boolean;
|
|
2834
|
+
deprecated: boolean;
|
|
2606
2835
|
name?: string | undefined;
|
|
2607
2836
|
label?: string | undefined;
|
|
2608
2837
|
collection?: string | undefined;
|
|
@@ -2612,6 +2841,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2612
2841
|
type: "number";
|
|
2613
2842
|
schema: ({
|
|
2614
2843
|
unique: boolean;
|
|
2844
|
+
deprecated: boolean;
|
|
2615
2845
|
name?: string | undefined;
|
|
2616
2846
|
label?: string | undefined;
|
|
2617
2847
|
collection?: string | undefined;
|
|
@@ -2621,6 +2851,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2621
2851
|
default?: number | SerializedSQL | undefined;
|
|
2622
2852
|
} & any) | ({
|
|
2623
2853
|
unique: boolean;
|
|
2854
|
+
deprecated: boolean;
|
|
2624
2855
|
name?: string | undefined;
|
|
2625
2856
|
label?: string | undefined;
|
|
2626
2857
|
collection?: string | undefined;
|
|
@@ -2633,6 +2864,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2633
2864
|
type: "text";
|
|
2634
2865
|
schema: ({
|
|
2635
2866
|
unique: boolean;
|
|
2867
|
+
deprecated: boolean;
|
|
2636
2868
|
name?: string | undefined;
|
|
2637
2869
|
label?: string | undefined;
|
|
2638
2870
|
collection?: string | undefined;
|
|
@@ -2643,6 +2875,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2643
2875
|
primaryKey: false;
|
|
2644
2876
|
} & any) | ({
|
|
2645
2877
|
unique: boolean;
|
|
2878
|
+
deprecated: boolean;
|
|
2646
2879
|
name?: string | undefined;
|
|
2647
2880
|
label?: string | undefined;
|
|
2648
2881
|
collection?: string | undefined;
|
|
@@ -2657,6 +2890,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2657
2890
|
schema: {
|
|
2658
2891
|
optional: boolean;
|
|
2659
2892
|
unique: boolean;
|
|
2893
|
+
deprecated: boolean;
|
|
2660
2894
|
name?: string | undefined;
|
|
2661
2895
|
label?: string | undefined;
|
|
2662
2896
|
collection?: string | undefined;
|
|
@@ -2667,6 +2901,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2667
2901
|
schema: {
|
|
2668
2902
|
optional: boolean;
|
|
2669
2903
|
unique: boolean;
|
|
2904
|
+
deprecated: boolean;
|
|
2670
2905
|
name?: string | undefined;
|
|
2671
2906
|
label?: string | undefined;
|
|
2672
2907
|
collection?: string | undefined;
|
|
@@ -2686,6 +2921,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2686
2921
|
label?: string | undefined;
|
|
2687
2922
|
optional?: boolean | undefined;
|
|
2688
2923
|
unique?: boolean | undefined;
|
|
2924
|
+
deprecated?: boolean | undefined;
|
|
2689
2925
|
collection?: string | undefined;
|
|
2690
2926
|
default?: boolean | SQL<any> | undefined;
|
|
2691
2927
|
};
|
|
@@ -2695,6 +2931,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2695
2931
|
name?: string | undefined;
|
|
2696
2932
|
label?: string | undefined;
|
|
2697
2933
|
unique?: boolean | undefined;
|
|
2934
|
+
deprecated?: boolean | undefined;
|
|
2698
2935
|
collection?: string | undefined;
|
|
2699
2936
|
} & {
|
|
2700
2937
|
primaryKey?: false | undefined;
|
|
@@ -2706,6 +2943,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2706
2943
|
name?: string | undefined;
|
|
2707
2944
|
label?: string | undefined;
|
|
2708
2945
|
unique?: boolean | undefined;
|
|
2946
|
+
deprecated?: boolean | undefined;
|
|
2709
2947
|
collection?: string | undefined;
|
|
2710
2948
|
} & {
|
|
2711
2949
|
primaryKey: true;
|
|
@@ -2720,6 +2958,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2720
2958
|
name?: string | undefined;
|
|
2721
2959
|
label?: string | undefined;
|
|
2722
2960
|
unique?: boolean | undefined;
|
|
2961
|
+
deprecated?: boolean | undefined;
|
|
2723
2962
|
collection?: string | undefined;
|
|
2724
2963
|
default?: string | SQL<any> | undefined;
|
|
2725
2964
|
multiline?: boolean | undefined;
|
|
@@ -2732,6 +2971,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2732
2971
|
name?: string | undefined;
|
|
2733
2972
|
label?: string | undefined;
|
|
2734
2973
|
unique?: boolean | undefined;
|
|
2974
|
+
deprecated?: boolean | undefined;
|
|
2735
2975
|
collection?: string | undefined;
|
|
2736
2976
|
default?: string | SQL<any> | undefined;
|
|
2737
2977
|
multiline?: boolean | undefined;
|
|
@@ -2748,6 +2988,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2748
2988
|
label?: string | undefined;
|
|
2749
2989
|
optional?: boolean | undefined;
|
|
2750
2990
|
unique?: boolean | undefined;
|
|
2991
|
+
deprecated?: boolean | undefined;
|
|
2751
2992
|
collection?: string | undefined;
|
|
2752
2993
|
default?: Date | SQL<any> | undefined;
|
|
2753
2994
|
};
|
|
@@ -2758,6 +2999,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2758
2999
|
label?: string | undefined;
|
|
2759
3000
|
optional?: boolean | undefined;
|
|
2760
3001
|
unique?: boolean | undefined;
|
|
3002
|
+
deprecated?: boolean | undefined;
|
|
2761
3003
|
collection?: string | undefined;
|
|
2762
3004
|
default?: unknown;
|
|
2763
3005
|
};
|
|
@@ -2767,12 +3009,15 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2767
3009
|
unique?: boolean | undefined;
|
|
2768
3010
|
}> | undefined;
|
|
2769
3011
|
foreignKeys?: ForeignKeysInput[] | undefined;
|
|
3012
|
+
deprecated?: boolean | undefined;
|
|
2770
3013
|
}>>, Record<string, {
|
|
3014
|
+
deprecated: boolean;
|
|
2771
3015
|
columns: Record<string, {
|
|
2772
3016
|
type: "boolean";
|
|
2773
3017
|
schema: {
|
|
2774
3018
|
optional: boolean;
|
|
2775
3019
|
unique: boolean;
|
|
3020
|
+
deprecated: boolean;
|
|
2776
3021
|
name?: string | undefined;
|
|
2777
3022
|
label?: string | undefined;
|
|
2778
3023
|
collection?: string | undefined;
|
|
@@ -2782,6 +3027,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2782
3027
|
type: "number";
|
|
2783
3028
|
schema: ({
|
|
2784
3029
|
unique: boolean;
|
|
3030
|
+
deprecated: boolean;
|
|
2785
3031
|
name?: string | undefined;
|
|
2786
3032
|
label?: string | undefined;
|
|
2787
3033
|
collection?: string | undefined;
|
|
@@ -2791,6 +3037,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2791
3037
|
default?: number | SerializedSQL | undefined;
|
|
2792
3038
|
} & any) | ({
|
|
2793
3039
|
unique: boolean;
|
|
3040
|
+
deprecated: boolean;
|
|
2794
3041
|
name?: string | undefined;
|
|
2795
3042
|
label?: string | undefined;
|
|
2796
3043
|
collection?: string | undefined;
|
|
@@ -2803,6 +3050,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2803
3050
|
type: "text";
|
|
2804
3051
|
schema: ({
|
|
2805
3052
|
unique: boolean;
|
|
3053
|
+
deprecated: boolean;
|
|
2806
3054
|
name?: string | undefined;
|
|
2807
3055
|
label?: string | undefined;
|
|
2808
3056
|
collection?: string | undefined;
|
|
@@ -2813,6 +3061,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2813
3061
|
primaryKey: false;
|
|
2814
3062
|
} & any) | ({
|
|
2815
3063
|
unique: boolean;
|
|
3064
|
+
deprecated: boolean;
|
|
2816
3065
|
name?: string | undefined;
|
|
2817
3066
|
label?: string | undefined;
|
|
2818
3067
|
collection?: string | undefined;
|
|
@@ -2827,6 +3076,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2827
3076
|
schema: {
|
|
2828
3077
|
optional: boolean;
|
|
2829
3078
|
unique: boolean;
|
|
3079
|
+
deprecated: boolean;
|
|
2830
3080
|
name?: string | undefined;
|
|
2831
3081
|
label?: string | undefined;
|
|
2832
3082
|
collection?: string | undefined;
|
|
@@ -2837,6 +3087,7 @@ export declare const tablesSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
2837
3087
|
schema: {
|
|
2838
3088
|
optional: boolean;
|
|
2839
3089
|
unique: boolean;
|
|
3090
|
+
deprecated: boolean;
|
|
2840
3091
|
name?: string | undefined;
|
|
2841
3092
|
label?: string | undefined;
|
|
2842
3093
|
collection?: string | undefined;
|
|
@@ -2882,11 +3133,13 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2882
3133
|
label: z.ZodOptional<z.ZodString>;
|
|
2883
3134
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2884
3135
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3136
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2885
3137
|
collection: z.ZodOptional<z.ZodString>;
|
|
2886
3138
|
default: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>]>>;
|
|
2887
3139
|
}, "strip", z.ZodTypeAny, {
|
|
2888
3140
|
optional: boolean;
|
|
2889
3141
|
unique: boolean;
|
|
3142
|
+
deprecated: boolean;
|
|
2890
3143
|
name?: string | undefined;
|
|
2891
3144
|
label?: string | undefined;
|
|
2892
3145
|
collection?: string | undefined;
|
|
@@ -2896,6 +3149,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2896
3149
|
label?: string | undefined;
|
|
2897
3150
|
optional?: boolean | undefined;
|
|
2898
3151
|
unique?: boolean | undefined;
|
|
3152
|
+
deprecated?: boolean | undefined;
|
|
2899
3153
|
collection?: string | undefined;
|
|
2900
3154
|
default?: boolean | SQL<any> | undefined;
|
|
2901
3155
|
}>;
|
|
@@ -2904,6 +3158,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2904
3158
|
schema: {
|
|
2905
3159
|
optional: boolean;
|
|
2906
3160
|
unique: boolean;
|
|
3161
|
+
deprecated: boolean;
|
|
2907
3162
|
name?: string | undefined;
|
|
2908
3163
|
label?: string | undefined;
|
|
2909
3164
|
collection?: string | undefined;
|
|
@@ -2916,6 +3171,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2916
3171
|
label?: string | undefined;
|
|
2917
3172
|
optional?: boolean | undefined;
|
|
2918
3173
|
unique?: boolean | undefined;
|
|
3174
|
+
deprecated?: boolean | undefined;
|
|
2919
3175
|
collection?: string | undefined;
|
|
2920
3176
|
default?: boolean | SQL<any> | undefined;
|
|
2921
3177
|
};
|
|
@@ -2923,6 +3179,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2923
3179
|
type: z.ZodLiteral<"number">;
|
|
2924
3180
|
schema: z.ZodType<({
|
|
2925
3181
|
unique: boolean;
|
|
3182
|
+
deprecated: boolean;
|
|
2926
3183
|
name?: string | undefined;
|
|
2927
3184
|
label?: string | undefined;
|
|
2928
3185
|
collection?: string | undefined;
|
|
@@ -2939,6 +3196,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2939
3196
|
type: "number";
|
|
2940
3197
|
schema: ({
|
|
2941
3198
|
unique: boolean;
|
|
3199
|
+
deprecated: boolean;
|
|
2942
3200
|
name?: string | undefined;
|
|
2943
3201
|
label?: string | undefined;
|
|
2944
3202
|
collection?: string | undefined;
|
|
@@ -2948,6 +3206,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2948
3206
|
default?: number | SerializedSQL | undefined;
|
|
2949
3207
|
} & any) | ({
|
|
2950
3208
|
unique: boolean;
|
|
3209
|
+
deprecated: boolean;
|
|
2951
3210
|
name?: string | undefined;
|
|
2952
3211
|
label?: string | undefined;
|
|
2953
3212
|
collection?: string | undefined;
|
|
@@ -2961,6 +3220,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2961
3220
|
name?: string | undefined;
|
|
2962
3221
|
label?: string | undefined;
|
|
2963
3222
|
unique?: boolean | undefined;
|
|
3223
|
+
deprecated?: boolean | undefined;
|
|
2964
3224
|
collection?: string | undefined;
|
|
2965
3225
|
} & ({
|
|
2966
3226
|
primaryKey?: false | undefined;
|
|
@@ -2977,6 +3237,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2977
3237
|
type: "number";
|
|
2978
3238
|
schema: ({
|
|
2979
3239
|
unique: boolean;
|
|
3240
|
+
deprecated: boolean;
|
|
2980
3241
|
name?: string | undefined;
|
|
2981
3242
|
label?: string | undefined;
|
|
2982
3243
|
collection?: string | undefined;
|
|
@@ -2986,6 +3247,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
2986
3247
|
default?: number | SerializedSQL | undefined;
|
|
2987
3248
|
} & any) | ({
|
|
2988
3249
|
unique: boolean;
|
|
3250
|
+
deprecated: boolean;
|
|
2989
3251
|
name?: string | undefined;
|
|
2990
3252
|
label?: string | undefined;
|
|
2991
3253
|
collection?: string | undefined;
|
|
@@ -3000,6 +3262,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3000
3262
|
name?: string | undefined;
|
|
3001
3263
|
label?: string | undefined;
|
|
3002
3264
|
unique?: boolean | undefined;
|
|
3265
|
+
deprecated?: boolean | undefined;
|
|
3003
3266
|
collection?: string | undefined;
|
|
3004
3267
|
} & {
|
|
3005
3268
|
primaryKey?: false | undefined;
|
|
@@ -3011,6 +3274,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3011
3274
|
name?: string | undefined;
|
|
3012
3275
|
label?: string | undefined;
|
|
3013
3276
|
unique?: boolean | undefined;
|
|
3277
|
+
deprecated?: boolean | undefined;
|
|
3014
3278
|
collection?: string | undefined;
|
|
3015
3279
|
} & {
|
|
3016
3280
|
primaryKey: true;
|
|
@@ -3023,6 +3287,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3023
3287
|
type: z.ZodLiteral<"text">;
|
|
3024
3288
|
schema: z.ZodType<({
|
|
3025
3289
|
unique: boolean;
|
|
3290
|
+
deprecated: boolean;
|
|
3026
3291
|
name?: string | undefined;
|
|
3027
3292
|
label?: string | undefined;
|
|
3028
3293
|
collection?: string | undefined;
|
|
@@ -3039,6 +3304,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3039
3304
|
type: "text";
|
|
3040
3305
|
schema: ({
|
|
3041
3306
|
unique: boolean;
|
|
3307
|
+
deprecated: boolean;
|
|
3042
3308
|
name?: string | undefined;
|
|
3043
3309
|
label?: string | undefined;
|
|
3044
3310
|
collection?: string | undefined;
|
|
@@ -3049,6 +3315,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3049
3315
|
primaryKey: false;
|
|
3050
3316
|
} & any) | ({
|
|
3051
3317
|
unique: boolean;
|
|
3318
|
+
deprecated: boolean;
|
|
3052
3319
|
name?: string | undefined;
|
|
3053
3320
|
label?: string | undefined;
|
|
3054
3321
|
collection?: string | undefined;
|
|
@@ -3063,6 +3330,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3063
3330
|
name?: string | undefined;
|
|
3064
3331
|
label?: string | undefined;
|
|
3065
3332
|
unique?: boolean | undefined;
|
|
3333
|
+
deprecated?: boolean | undefined;
|
|
3066
3334
|
collection?: string | undefined;
|
|
3067
3335
|
default?: string | SQL<any> | undefined;
|
|
3068
3336
|
multiline?: boolean | undefined;
|
|
@@ -3079,6 +3347,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3079
3347
|
type: "text";
|
|
3080
3348
|
schema: ({
|
|
3081
3349
|
unique: boolean;
|
|
3350
|
+
deprecated: boolean;
|
|
3082
3351
|
name?: string | undefined;
|
|
3083
3352
|
label?: string | undefined;
|
|
3084
3353
|
collection?: string | undefined;
|
|
@@ -3089,6 +3358,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3089
3358
|
primaryKey: false;
|
|
3090
3359
|
} & any) | ({
|
|
3091
3360
|
unique: boolean;
|
|
3361
|
+
deprecated: boolean;
|
|
3092
3362
|
name?: string | undefined;
|
|
3093
3363
|
label?: string | undefined;
|
|
3094
3364
|
collection?: string | undefined;
|
|
@@ -3104,6 +3374,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3104
3374
|
name?: string | undefined;
|
|
3105
3375
|
label?: string | undefined;
|
|
3106
3376
|
unique?: boolean | undefined;
|
|
3377
|
+
deprecated?: boolean | undefined;
|
|
3107
3378
|
collection?: string | undefined;
|
|
3108
3379
|
default?: string | SQL<any> | undefined;
|
|
3109
3380
|
multiline?: boolean | undefined;
|
|
@@ -3116,6 +3387,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3116
3387
|
name?: string | undefined;
|
|
3117
3388
|
label?: string | undefined;
|
|
3118
3389
|
unique?: boolean | undefined;
|
|
3390
|
+
deprecated?: boolean | undefined;
|
|
3119
3391
|
collection?: string | undefined;
|
|
3120
3392
|
default?: string | SQL<any> | undefined;
|
|
3121
3393
|
multiline?: boolean | undefined;
|
|
@@ -3132,11 +3404,13 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3132
3404
|
label: z.ZodOptional<z.ZodString>;
|
|
3133
3405
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3134
3406
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3407
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3135
3408
|
collection: z.ZodOptional<z.ZodString>;
|
|
3136
3409
|
default: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodType<SQL<any>, ZodTypeDef, SQL<any>>, SerializedSQL, SQL<any>>, z.ZodEffects<z.ZodDate, string, Date>]>>;
|
|
3137
3410
|
}, "strip", z.ZodTypeAny, {
|
|
3138
3411
|
optional: boolean;
|
|
3139
3412
|
unique: boolean;
|
|
3413
|
+
deprecated: boolean;
|
|
3140
3414
|
name?: string | undefined;
|
|
3141
3415
|
label?: string | undefined;
|
|
3142
3416
|
collection?: string | undefined;
|
|
@@ -3146,6 +3420,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3146
3420
|
label?: string | undefined;
|
|
3147
3421
|
optional?: boolean | undefined;
|
|
3148
3422
|
unique?: boolean | undefined;
|
|
3423
|
+
deprecated?: boolean | undefined;
|
|
3149
3424
|
collection?: string | undefined;
|
|
3150
3425
|
default?: Date | SQL<any> | undefined;
|
|
3151
3426
|
}>;
|
|
@@ -3154,6 +3429,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3154
3429
|
schema: {
|
|
3155
3430
|
optional: boolean;
|
|
3156
3431
|
unique: boolean;
|
|
3432
|
+
deprecated: boolean;
|
|
3157
3433
|
name?: string | undefined;
|
|
3158
3434
|
label?: string | undefined;
|
|
3159
3435
|
collection?: string | undefined;
|
|
@@ -3166,6 +3442,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3166
3442
|
label?: string | undefined;
|
|
3167
3443
|
optional?: boolean | undefined;
|
|
3168
3444
|
unique?: boolean | undefined;
|
|
3445
|
+
deprecated?: boolean | undefined;
|
|
3169
3446
|
collection?: string | undefined;
|
|
3170
3447
|
default?: Date | SQL<any> | undefined;
|
|
3171
3448
|
};
|
|
@@ -3176,11 +3453,13 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3176
3453
|
label: z.ZodOptional<z.ZodString>;
|
|
3177
3454
|
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3178
3455
|
unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3456
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3179
3457
|
collection: z.ZodOptional<z.ZodString>;
|
|
3180
3458
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
3181
3459
|
}, "strip", z.ZodTypeAny, {
|
|
3182
3460
|
optional: boolean;
|
|
3183
3461
|
unique: boolean;
|
|
3462
|
+
deprecated: boolean;
|
|
3184
3463
|
name?: string | undefined;
|
|
3185
3464
|
label?: string | undefined;
|
|
3186
3465
|
collection?: string | undefined;
|
|
@@ -3190,6 +3469,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3190
3469
|
label?: string | undefined;
|
|
3191
3470
|
optional?: boolean | undefined;
|
|
3192
3471
|
unique?: boolean | undefined;
|
|
3472
|
+
deprecated?: boolean | undefined;
|
|
3193
3473
|
collection?: string | undefined;
|
|
3194
3474
|
default?: unknown;
|
|
3195
3475
|
}>;
|
|
@@ -3198,6 +3478,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3198
3478
|
schema: {
|
|
3199
3479
|
optional: boolean;
|
|
3200
3480
|
unique: boolean;
|
|
3481
|
+
deprecated: boolean;
|
|
3201
3482
|
name?: string | undefined;
|
|
3202
3483
|
label?: string | undefined;
|
|
3203
3484
|
collection?: string | undefined;
|
|
@@ -3210,6 +3491,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3210
3491
|
label?: string | undefined;
|
|
3211
3492
|
optional?: boolean | undefined;
|
|
3212
3493
|
unique?: boolean | undefined;
|
|
3494
|
+
deprecated?: boolean | undefined;
|
|
3213
3495
|
collection?: string | undefined;
|
|
3214
3496
|
default?: unknown;
|
|
3215
3497
|
};
|
|
@@ -3225,12 +3507,15 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3225
3507
|
unique?: boolean | undefined;
|
|
3226
3508
|
}>>>;
|
|
3227
3509
|
foreignKeys: z.ZodOptional<z.ZodArray<z.ZodType<ForeignKeysOutput, ZodTypeDef, ForeignKeysInput>, "many">>;
|
|
3510
|
+
deprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3228
3511
|
}, "strip", z.ZodTypeAny, {
|
|
3512
|
+
deprecated: boolean;
|
|
3229
3513
|
columns: Record<string, {
|
|
3230
3514
|
type: "boolean";
|
|
3231
3515
|
schema: {
|
|
3232
3516
|
optional: boolean;
|
|
3233
3517
|
unique: boolean;
|
|
3518
|
+
deprecated: boolean;
|
|
3234
3519
|
name?: string | undefined;
|
|
3235
3520
|
label?: string | undefined;
|
|
3236
3521
|
collection?: string | undefined;
|
|
@@ -3240,6 +3525,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3240
3525
|
type: "number";
|
|
3241
3526
|
schema: ({
|
|
3242
3527
|
unique: boolean;
|
|
3528
|
+
deprecated: boolean;
|
|
3243
3529
|
name?: string | undefined;
|
|
3244
3530
|
label?: string | undefined;
|
|
3245
3531
|
collection?: string | undefined;
|
|
@@ -3249,6 +3535,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3249
3535
|
default?: number | SerializedSQL | undefined;
|
|
3250
3536
|
} & any) | ({
|
|
3251
3537
|
unique: boolean;
|
|
3538
|
+
deprecated: boolean;
|
|
3252
3539
|
name?: string | undefined;
|
|
3253
3540
|
label?: string | undefined;
|
|
3254
3541
|
collection?: string | undefined;
|
|
@@ -3261,6 +3548,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3261
3548
|
type: "text";
|
|
3262
3549
|
schema: ({
|
|
3263
3550
|
unique: boolean;
|
|
3551
|
+
deprecated: boolean;
|
|
3264
3552
|
name?: string | undefined;
|
|
3265
3553
|
label?: string | undefined;
|
|
3266
3554
|
collection?: string | undefined;
|
|
@@ -3271,6 +3559,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3271
3559
|
primaryKey: false;
|
|
3272
3560
|
} & any) | ({
|
|
3273
3561
|
unique: boolean;
|
|
3562
|
+
deprecated: boolean;
|
|
3274
3563
|
name?: string | undefined;
|
|
3275
3564
|
label?: string | undefined;
|
|
3276
3565
|
collection?: string | undefined;
|
|
@@ -3285,6 +3574,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3285
3574
|
schema: {
|
|
3286
3575
|
optional: boolean;
|
|
3287
3576
|
unique: boolean;
|
|
3577
|
+
deprecated: boolean;
|
|
3288
3578
|
name?: string | undefined;
|
|
3289
3579
|
label?: string | undefined;
|
|
3290
3580
|
collection?: string | undefined;
|
|
@@ -3295,6 +3585,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3295
3585
|
schema: {
|
|
3296
3586
|
optional: boolean;
|
|
3297
3587
|
unique: boolean;
|
|
3588
|
+
deprecated: boolean;
|
|
3298
3589
|
name?: string | undefined;
|
|
3299
3590
|
label?: string | undefined;
|
|
3300
3591
|
collection?: string | undefined;
|
|
@@ -3314,6 +3605,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3314
3605
|
label?: string | undefined;
|
|
3315
3606
|
optional?: boolean | undefined;
|
|
3316
3607
|
unique?: boolean | undefined;
|
|
3608
|
+
deprecated?: boolean | undefined;
|
|
3317
3609
|
collection?: string | undefined;
|
|
3318
3610
|
default?: boolean | SQL<any> | undefined;
|
|
3319
3611
|
};
|
|
@@ -3323,6 +3615,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3323
3615
|
name?: string | undefined;
|
|
3324
3616
|
label?: string | undefined;
|
|
3325
3617
|
unique?: boolean | undefined;
|
|
3618
|
+
deprecated?: boolean | undefined;
|
|
3326
3619
|
collection?: string | undefined;
|
|
3327
3620
|
} & {
|
|
3328
3621
|
primaryKey?: false | undefined;
|
|
@@ -3334,6 +3627,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3334
3627
|
name?: string | undefined;
|
|
3335
3628
|
label?: string | undefined;
|
|
3336
3629
|
unique?: boolean | undefined;
|
|
3630
|
+
deprecated?: boolean | undefined;
|
|
3337
3631
|
collection?: string | undefined;
|
|
3338
3632
|
} & {
|
|
3339
3633
|
primaryKey: true;
|
|
@@ -3348,6 +3642,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3348
3642
|
name?: string | undefined;
|
|
3349
3643
|
label?: string | undefined;
|
|
3350
3644
|
unique?: boolean | undefined;
|
|
3645
|
+
deprecated?: boolean | undefined;
|
|
3351
3646
|
collection?: string | undefined;
|
|
3352
3647
|
default?: string | SQL<any> | undefined;
|
|
3353
3648
|
multiline?: boolean | undefined;
|
|
@@ -3360,6 +3655,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3360
3655
|
name?: string | undefined;
|
|
3361
3656
|
label?: string | undefined;
|
|
3362
3657
|
unique?: boolean | undefined;
|
|
3658
|
+
deprecated?: boolean | undefined;
|
|
3363
3659
|
collection?: string | undefined;
|
|
3364
3660
|
default?: string | SQL<any> | undefined;
|
|
3365
3661
|
multiline?: boolean | undefined;
|
|
@@ -3376,6 +3672,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3376
3672
|
label?: string | undefined;
|
|
3377
3673
|
optional?: boolean | undefined;
|
|
3378
3674
|
unique?: boolean | undefined;
|
|
3675
|
+
deprecated?: boolean | undefined;
|
|
3379
3676
|
collection?: string | undefined;
|
|
3380
3677
|
default?: Date | SQL<any> | undefined;
|
|
3381
3678
|
};
|
|
@@ -3386,6 +3683,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3386
3683
|
label?: string | undefined;
|
|
3387
3684
|
optional?: boolean | undefined;
|
|
3388
3685
|
unique?: boolean | undefined;
|
|
3686
|
+
deprecated?: boolean | undefined;
|
|
3389
3687
|
collection?: string | undefined;
|
|
3390
3688
|
default?: unknown;
|
|
3391
3689
|
};
|
|
@@ -3395,12 +3693,15 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3395
3693
|
unique?: boolean | undefined;
|
|
3396
3694
|
}> | undefined;
|
|
3397
3695
|
foreignKeys?: ForeignKeysInput[] | undefined;
|
|
3696
|
+
deprecated?: boolean | undefined;
|
|
3398
3697
|
}>>, Record<string, {
|
|
3698
|
+
deprecated: boolean;
|
|
3399
3699
|
columns: Record<string, {
|
|
3400
3700
|
type: "boolean";
|
|
3401
3701
|
schema: {
|
|
3402
3702
|
optional: boolean;
|
|
3403
3703
|
unique: boolean;
|
|
3704
|
+
deprecated: boolean;
|
|
3404
3705
|
name?: string | undefined;
|
|
3405
3706
|
label?: string | undefined;
|
|
3406
3707
|
collection?: string | undefined;
|
|
@@ -3410,6 +3711,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3410
3711
|
type: "number";
|
|
3411
3712
|
schema: ({
|
|
3412
3713
|
unique: boolean;
|
|
3714
|
+
deprecated: boolean;
|
|
3413
3715
|
name?: string | undefined;
|
|
3414
3716
|
label?: string | undefined;
|
|
3415
3717
|
collection?: string | undefined;
|
|
@@ -3419,6 +3721,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3419
3721
|
default?: number | SerializedSQL | undefined;
|
|
3420
3722
|
} & any) | ({
|
|
3421
3723
|
unique: boolean;
|
|
3724
|
+
deprecated: boolean;
|
|
3422
3725
|
name?: string | undefined;
|
|
3423
3726
|
label?: string | undefined;
|
|
3424
3727
|
collection?: string | undefined;
|
|
@@ -3431,6 +3734,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3431
3734
|
type: "text";
|
|
3432
3735
|
schema: ({
|
|
3433
3736
|
unique: boolean;
|
|
3737
|
+
deprecated: boolean;
|
|
3434
3738
|
name?: string | undefined;
|
|
3435
3739
|
label?: string | undefined;
|
|
3436
3740
|
collection?: string | undefined;
|
|
@@ -3441,6 +3745,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3441
3745
|
primaryKey: false;
|
|
3442
3746
|
} & any) | ({
|
|
3443
3747
|
unique: boolean;
|
|
3748
|
+
deprecated: boolean;
|
|
3444
3749
|
name?: string | undefined;
|
|
3445
3750
|
label?: string | undefined;
|
|
3446
3751
|
collection?: string | undefined;
|
|
@@ -3455,6 +3760,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3455
3760
|
schema: {
|
|
3456
3761
|
optional: boolean;
|
|
3457
3762
|
unique: boolean;
|
|
3763
|
+
deprecated: boolean;
|
|
3458
3764
|
name?: string | undefined;
|
|
3459
3765
|
label?: string | undefined;
|
|
3460
3766
|
collection?: string | undefined;
|
|
@@ -3465,6 +3771,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3465
3771
|
schema: {
|
|
3466
3772
|
optional: boolean;
|
|
3467
3773
|
unique: boolean;
|
|
3774
|
+
deprecated: boolean;
|
|
3468
3775
|
name?: string | undefined;
|
|
3469
3776
|
label?: string | undefined;
|
|
3470
3777
|
collection?: string | undefined;
|
|
@@ -3479,11 +3786,13 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3479
3786
|
}>, unknown>>;
|
|
3480
3787
|
}, "strip", z.ZodTypeAny, {
|
|
3481
3788
|
tables?: Record<string, {
|
|
3789
|
+
deprecated: boolean;
|
|
3482
3790
|
columns: Record<string, {
|
|
3483
3791
|
type: "boolean";
|
|
3484
3792
|
schema: {
|
|
3485
3793
|
optional: boolean;
|
|
3486
3794
|
unique: boolean;
|
|
3795
|
+
deprecated: boolean;
|
|
3487
3796
|
name?: string | undefined;
|
|
3488
3797
|
label?: string | undefined;
|
|
3489
3798
|
collection?: string | undefined;
|
|
@@ -3493,6 +3802,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3493
3802
|
type: "number";
|
|
3494
3803
|
schema: ({
|
|
3495
3804
|
unique: boolean;
|
|
3805
|
+
deprecated: boolean;
|
|
3496
3806
|
name?: string | undefined;
|
|
3497
3807
|
label?: string | undefined;
|
|
3498
3808
|
collection?: string | undefined;
|
|
@@ -3502,6 +3812,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3502
3812
|
default?: number | SerializedSQL | undefined;
|
|
3503
3813
|
} & any) | ({
|
|
3504
3814
|
unique: boolean;
|
|
3815
|
+
deprecated: boolean;
|
|
3505
3816
|
name?: string | undefined;
|
|
3506
3817
|
label?: string | undefined;
|
|
3507
3818
|
collection?: string | undefined;
|
|
@@ -3514,6 +3825,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3514
3825
|
type: "text";
|
|
3515
3826
|
schema: ({
|
|
3516
3827
|
unique: boolean;
|
|
3828
|
+
deprecated: boolean;
|
|
3517
3829
|
name?: string | undefined;
|
|
3518
3830
|
label?: string | undefined;
|
|
3519
3831
|
collection?: string | undefined;
|
|
@@ -3524,6 +3836,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3524
3836
|
primaryKey: false;
|
|
3525
3837
|
} & any) | ({
|
|
3526
3838
|
unique: boolean;
|
|
3839
|
+
deprecated: boolean;
|
|
3527
3840
|
name?: string | undefined;
|
|
3528
3841
|
label?: string | undefined;
|
|
3529
3842
|
collection?: string | undefined;
|
|
@@ -3538,6 +3851,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3538
3851
|
schema: {
|
|
3539
3852
|
optional: boolean;
|
|
3540
3853
|
unique: boolean;
|
|
3854
|
+
deprecated: boolean;
|
|
3541
3855
|
name?: string | undefined;
|
|
3542
3856
|
label?: string | undefined;
|
|
3543
3857
|
collection?: string | undefined;
|
|
@@ -3548,6 +3862,7 @@ export declare const dbConfigSchema: z.ZodObject<{
|
|
|
3548
3862
|
schema: {
|
|
3549
3863
|
optional: boolean;
|
|
3550
3864
|
unique: boolean;
|
|
3865
|
+
deprecated: boolean;
|
|
3551
3866
|
name?: string | undefined;
|
|
3552
3867
|
label?: string | undefined;
|
|
3553
3868
|
collection?: string | undefined;
|
|
@@ -3574,6 +3889,7 @@ export interface TableConfig<TColumns extends ColumnsConfig = ColumnsConfig> ext
|
|
|
3574
3889
|
references: () => MaybeArray<z.input<typeof referenceableColumnSchema>>;
|
|
3575
3890
|
}>;
|
|
3576
3891
|
indexes?: Record<string, IndexConfig<TColumns>>;
|
|
3892
|
+
deprecated?: boolean;
|
|
3577
3893
|
}
|
|
3578
3894
|
interface IndexConfig<TColumns extends ColumnsConfig> extends z.input<typeof indexSchema> {
|
|
3579
3895
|
on: MaybeArray<Extract<keyof TColumns, string>>;
|