drizzle-kit 0.22.0-7a041f3 → 0.22.0-a8a3158
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/bin.cjs +12089 -19666
- package/index.d.mts +7 -12
- package/index.d.ts +7 -12
- package/package.json +8 -8
- package/payload.d.mts +40 -122
- package/payload.d.ts +40 -122
- package/payload.js +4179 -13045
- package/payload.mjs +4262 -13074
- package/utils-studio.js +7989 -0
- package/utils-studio.mjs +8024 -0
- package/utils.js +2 -23
- package/utils.mjs +2 -23
package/index.d.mts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
+
import { SslOptions } from 'mysql2';
|
|
2
|
+
import * as zod from 'zod';
|
|
3
|
+
import { TypeOf } from 'zod';
|
|
1
4
|
import { ConnectionOptions } from 'tls';
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<readonly [zod.ZodLiteral<"turso">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
|
7
|
+
type Driver = TypeOf<typeof driver>;
|
|
4
8
|
|
|
5
|
-
|
|
9
|
+
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
|
10
|
+
type Dialect = TypeOf<typeof dialect>;
|
|
6
11
|
|
|
7
|
-
type SslOptions = {
|
|
8
|
-
pfx?: string;
|
|
9
|
-
key?: string;
|
|
10
|
-
passphrase?: string;
|
|
11
|
-
cert?: string;
|
|
12
|
-
ca?: string | string[];
|
|
13
|
-
crl?: string | string[];
|
|
14
|
-
ciphers?: string;
|
|
15
|
-
rejectUnauthorized?: boolean;
|
|
16
|
-
};
|
|
17
12
|
type Verify<T, U extends T> = U;
|
|
18
13
|
/**
|
|
19
14
|
* **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
|
package/index.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
+
import { SslOptions } from 'mysql2';
|
|
2
|
+
import * as zod from 'zod';
|
|
3
|
+
import { TypeOf } from 'zod';
|
|
1
4
|
import { ConnectionOptions } from 'tls';
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<readonly [zod.ZodLiteral<"turso">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
|
7
|
+
type Driver = TypeOf<typeof driver>;
|
|
4
8
|
|
|
5
|
-
|
|
9
|
+
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
|
10
|
+
type Dialect = TypeOf<typeof dialect>;
|
|
6
11
|
|
|
7
|
-
type SslOptions = {
|
|
8
|
-
pfx?: string;
|
|
9
|
-
key?: string;
|
|
10
|
-
passphrase?: string;
|
|
11
|
-
cert?: string;
|
|
12
|
-
ca?: string | string[];
|
|
13
|
-
crl?: string | string[];
|
|
14
|
-
ciphers?: string;
|
|
15
|
-
rejectUnauthorized?: boolean;
|
|
16
|
-
};
|
|
17
12
|
type Verify<T, U extends T> = U;
|
|
18
13
|
/**
|
|
19
14
|
* **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-kit",
|
|
3
|
-
"version": "0.22.0-
|
|
3
|
+
"version": "0.22.0-a8a3158",
|
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
|
5
5
|
"author": "Drizzle Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,8 +20,14 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@esbuild-kit/esm-loader": "^2.5.5",
|
|
23
|
+
"commander": "^9.4.1",
|
|
24
|
+
"env-paths": "^3.0.0",
|
|
23
25
|
"esbuild": "^0.19.7",
|
|
24
|
-
"esbuild-register": "^3.5.0"
|
|
26
|
+
"esbuild-register": "^3.5.0",
|
|
27
|
+
"glob": "^8.1.0",
|
|
28
|
+
"hanji": "^0.0.5",
|
|
29
|
+
"json-diff": "0.9.0",
|
|
30
|
+
"zod": "^3.20.2"
|
|
25
31
|
},
|
|
26
32
|
"devDependencies": {
|
|
27
33
|
"@arethetypeswrong/cli": "^0.15.3",
|
|
@@ -52,21 +58,16 @@
|
|
|
52
58
|
"better-sqlite3": "^9.4.3",
|
|
53
59
|
"camelcase": "^7.0.1",
|
|
54
60
|
"chalk": "^5.2.0",
|
|
55
|
-
"commander": "^12.1.0",
|
|
56
61
|
"dockerode": "^3.3.4",
|
|
57
62
|
"dotenv": "^16.0.3",
|
|
58
63
|
"drizzle-kit": "0.21.2",
|
|
59
64
|
"drizzle-orm": "0.31.0-6df4b83",
|
|
60
|
-
"env-paths": "^3.0.0",
|
|
61
65
|
"esbuild-node-externals": "^1.9.0",
|
|
62
66
|
"eslint": "^8.57.0",
|
|
63
67
|
"eslint-config-prettier": "^9.1.0",
|
|
64
68
|
"eslint-plugin-prettier": "^5.1.3",
|
|
65
69
|
"get-port": "^6.1.2",
|
|
66
|
-
"glob": "^8.1.0",
|
|
67
|
-
"hanji": "^0.0.5",
|
|
68
70
|
"hono": "^4.1.5",
|
|
69
|
-
"json-diff": "1.0.6",
|
|
70
71
|
"minimatch": "^7.4.3",
|
|
71
72
|
"mysql2": "2.3.3",
|
|
72
73
|
"node-fetch": "^3.3.2",
|
|
@@ -84,7 +85,6 @@
|
|
|
84
85
|
"vitest": "^1.4.0",
|
|
85
86
|
"wrangler": "^3.22.1",
|
|
86
87
|
"ws": "^8.16.0",
|
|
87
|
-
"zod": "^3.20.2",
|
|
88
88
|
"zx": "^7.2.2"
|
|
89
89
|
},
|
|
90
90
|
"exports": {
|
package/payload.d.mts
CHANGED
|
@@ -21,8 +21,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
21
21
|
uniqueName: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
nullsNotDistinct: zod.ZodOptional<zod.ZodBoolean>;
|
|
23
23
|
}, "strict", zod.ZodTypeAny, {
|
|
24
|
-
name: string;
|
|
25
24
|
type: string;
|
|
25
|
+
name: string;
|
|
26
26
|
primaryKey: boolean;
|
|
27
27
|
notNull: boolean;
|
|
28
28
|
isUnique?: any;
|
|
@@ -31,8 +31,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
31
31
|
uniqueName?: string | undefined;
|
|
32
32
|
nullsNotDistinct?: boolean | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
name: string;
|
|
35
34
|
type: string;
|
|
35
|
+
name: string;
|
|
36
36
|
primaryKey: boolean;
|
|
37
37
|
notNull: boolean;
|
|
38
38
|
isUnique?: any;
|
|
@@ -50,14 +50,14 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
50
50
|
nulls: zod.ZodOptional<zod.ZodString>;
|
|
51
51
|
opclass: zod.ZodOptional<zod.ZodString>;
|
|
52
52
|
}, "strip", zod.ZodTypeAny, {
|
|
53
|
-
isExpression: boolean;
|
|
54
53
|
expression: string;
|
|
54
|
+
isExpression: boolean;
|
|
55
55
|
asc: boolean;
|
|
56
56
|
nulls?: string | undefined;
|
|
57
57
|
opclass?: string | undefined;
|
|
58
58
|
}, {
|
|
59
|
-
isExpression: boolean;
|
|
60
59
|
expression: string;
|
|
60
|
+
isExpression: boolean;
|
|
61
61
|
asc: boolean;
|
|
62
62
|
nulls?: string | undefined;
|
|
63
63
|
opclass?: string | undefined;
|
|
@@ -70,8 +70,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
70
70
|
}, "strict", zod.ZodTypeAny, {
|
|
71
71
|
name: string;
|
|
72
72
|
columns: {
|
|
73
|
-
isExpression: boolean;
|
|
74
73
|
expression: string;
|
|
74
|
+
isExpression: boolean;
|
|
75
75
|
asc: boolean;
|
|
76
76
|
nulls?: string | undefined;
|
|
77
77
|
opclass?: string | undefined;
|
|
@@ -84,8 +84,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
84
84
|
}, {
|
|
85
85
|
name: string;
|
|
86
86
|
columns: {
|
|
87
|
-
isExpression: boolean;
|
|
88
87
|
expression: string;
|
|
88
|
+
isExpression: boolean;
|
|
89
89
|
asc: boolean;
|
|
90
90
|
nulls?: string | undefined;
|
|
91
91
|
opclass?: string | undefined;
|
|
@@ -150,8 +150,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
150
150
|
}, "strict", zod.ZodTypeAny, {
|
|
151
151
|
name: string;
|
|
152
152
|
columns: Record<string, {
|
|
153
|
-
name: string;
|
|
154
153
|
type: string;
|
|
154
|
+
name: string;
|
|
155
155
|
primaryKey: boolean;
|
|
156
156
|
notNull: boolean;
|
|
157
157
|
isUnique?: any;
|
|
@@ -163,8 +163,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
163
163
|
indexes: Record<string, {
|
|
164
164
|
name: string;
|
|
165
165
|
columns: {
|
|
166
|
-
isExpression: boolean;
|
|
167
166
|
expression: string;
|
|
167
|
+
isExpression: boolean;
|
|
168
168
|
asc: boolean;
|
|
169
169
|
nulls?: string | undefined;
|
|
170
170
|
opclass?: string | undefined;
|
|
@@ -198,8 +198,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
198
198
|
}, {
|
|
199
199
|
name: string;
|
|
200
200
|
columns: Record<string, {
|
|
201
|
-
name: string;
|
|
202
201
|
type: string;
|
|
202
|
+
name: string;
|
|
203
203
|
primaryKey: boolean;
|
|
204
204
|
notNull: boolean;
|
|
205
205
|
isUnique?: any;
|
|
@@ -211,8 +211,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
211
211
|
indexes: Record<string, {
|
|
212
212
|
name: string;
|
|
213
213
|
columns: {
|
|
214
|
-
isExpression: boolean;
|
|
215
214
|
expression: string;
|
|
215
|
+
isExpression: boolean;
|
|
216
216
|
asc: boolean;
|
|
217
217
|
nulls?: string | undefined;
|
|
218
218
|
opclass?: string | undefined;
|
|
@@ -249,12 +249,12 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
249
249
|
schema: zod.ZodString;
|
|
250
250
|
values: zod.ZodArray<zod.ZodString, "many">;
|
|
251
251
|
}, "strict", zod.ZodTypeAny, {
|
|
252
|
-
name: string;
|
|
253
252
|
values: string[];
|
|
253
|
+
name: string;
|
|
254
254
|
schema: string;
|
|
255
255
|
}, {
|
|
256
|
-
name: string;
|
|
257
256
|
values: string[];
|
|
257
|
+
name: string;
|
|
258
258
|
schema: string;
|
|
259
259
|
}>>;
|
|
260
260
|
schemas: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
@@ -323,8 +323,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
323
323
|
tables: Record<string, {
|
|
324
324
|
name: string;
|
|
325
325
|
columns: Record<string, {
|
|
326
|
-
name: string;
|
|
327
326
|
type: string;
|
|
327
|
+
name: string;
|
|
328
328
|
primaryKey: boolean;
|
|
329
329
|
notNull: boolean;
|
|
330
330
|
isUnique?: any;
|
|
@@ -336,8 +336,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
336
336
|
indexes: Record<string, {
|
|
337
337
|
name: string;
|
|
338
338
|
columns: {
|
|
339
|
-
isExpression: boolean;
|
|
340
339
|
expression: string;
|
|
340
|
+
isExpression: boolean;
|
|
341
341
|
asc: boolean;
|
|
342
342
|
nulls?: string | undefined;
|
|
343
343
|
opclass?: string | undefined;
|
|
@@ -380,8 +380,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
380
380
|
schemas: Record<string, string>;
|
|
381
381
|
};
|
|
382
382
|
enums: Record<string, {
|
|
383
|
-
name: string;
|
|
384
383
|
values: string[];
|
|
384
|
+
name: string;
|
|
385
385
|
schema: string;
|
|
386
386
|
}>;
|
|
387
387
|
internal?: {
|
|
@@ -397,8 +397,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
397
397
|
tables: Record<string, {
|
|
398
398
|
name: string;
|
|
399
399
|
columns: Record<string, {
|
|
400
|
-
name: string;
|
|
401
400
|
type: string;
|
|
401
|
+
name: string;
|
|
402
402
|
primaryKey: boolean;
|
|
403
403
|
notNull: boolean;
|
|
404
404
|
isUnique?: any;
|
|
@@ -410,8 +410,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
410
410
|
indexes: Record<string, {
|
|
411
411
|
name: string;
|
|
412
412
|
columns: {
|
|
413
|
-
isExpression: boolean;
|
|
414
413
|
expression: string;
|
|
414
|
+
isExpression: boolean;
|
|
415
415
|
asc: boolean;
|
|
416
416
|
nulls?: string | undefined;
|
|
417
417
|
opclass?: string | undefined;
|
|
@@ -454,8 +454,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
454
454
|
schemas: Record<string, string>;
|
|
455
455
|
};
|
|
456
456
|
enums: Record<string, {
|
|
457
|
-
name: string;
|
|
458
457
|
values: string[];
|
|
458
|
+
name: string;
|
|
459
459
|
schema: string;
|
|
460
460
|
}>;
|
|
461
461
|
internal?: {
|
|
@@ -483,15 +483,15 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
483
483
|
autoincrement: zod.ZodOptional<zod.ZodBoolean>;
|
|
484
484
|
default: zod.ZodOptional<zod.ZodAny>;
|
|
485
485
|
}, "strict", zod.ZodTypeAny, {
|
|
486
|
-
name: string;
|
|
487
486
|
type: string;
|
|
487
|
+
name: string;
|
|
488
488
|
primaryKey: boolean;
|
|
489
489
|
notNull: boolean;
|
|
490
490
|
default?: any;
|
|
491
491
|
autoincrement?: boolean | undefined;
|
|
492
492
|
}, {
|
|
493
|
-
name: string;
|
|
494
493
|
type: string;
|
|
494
|
+
name: string;
|
|
495
495
|
primaryKey: boolean;
|
|
496
496
|
notNull: boolean;
|
|
497
497
|
default?: any;
|
|
@@ -561,8 +561,8 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
561
561
|
}, "strict", zod.ZodTypeAny, {
|
|
562
562
|
name: string;
|
|
563
563
|
columns: Record<string, {
|
|
564
|
-
name: string;
|
|
565
564
|
type: string;
|
|
565
|
+
name: string;
|
|
566
566
|
primaryKey: boolean;
|
|
567
567
|
notNull: boolean;
|
|
568
568
|
default?: any;
|
|
@@ -594,8 +594,8 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
594
594
|
}, {
|
|
595
595
|
name: string;
|
|
596
596
|
columns: Record<string, {
|
|
597
|
-
name: string;
|
|
598
597
|
type: string;
|
|
598
|
+
name: string;
|
|
599
599
|
primaryKey: boolean;
|
|
600
600
|
notNull: boolean;
|
|
601
601
|
default?: any;
|
|
@@ -636,37 +636,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
636
636
|
columns: Record<string, string>;
|
|
637
637
|
tables: Record<string, string>;
|
|
638
638
|
}>;
|
|
639
|
-
internal: zod.ZodOptional<zod.ZodObject<{
|
|
640
|
-
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
641
|
-
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
642
|
-
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
|
643
|
-
}, "strip", zod.ZodTypeAny, {
|
|
644
|
-
isExpression?: boolean | undefined;
|
|
645
|
-
}, {
|
|
646
|
-
isExpression?: boolean | undefined;
|
|
647
|
-
}>>>;
|
|
648
|
-
}, "strip", zod.ZodTypeAny, {
|
|
649
|
-
columns: Record<string, {
|
|
650
|
-
isExpression?: boolean | undefined;
|
|
651
|
-
} | undefined>;
|
|
652
|
-
}, {
|
|
653
|
-
columns: Record<string, {
|
|
654
|
-
isExpression?: boolean | undefined;
|
|
655
|
-
} | undefined>;
|
|
656
|
-
}>>>>;
|
|
657
|
-
}, "strip", zod.ZodTypeAny, {
|
|
658
|
-
indexes?: Record<string, {
|
|
659
|
-
columns: Record<string, {
|
|
660
|
-
isExpression?: boolean | undefined;
|
|
661
|
-
} | undefined>;
|
|
662
|
-
} | undefined> | undefined;
|
|
663
|
-
}, {
|
|
664
|
-
indexes?: Record<string, {
|
|
665
|
-
columns: Record<string, {
|
|
666
|
-
isExpression?: boolean | undefined;
|
|
667
|
-
} | undefined>;
|
|
668
|
-
} | undefined> | undefined;
|
|
669
|
-
}>>;
|
|
670
639
|
}, {
|
|
671
640
|
id: zod.ZodString;
|
|
672
641
|
prevId: zod.ZodString;
|
|
@@ -674,8 +643,8 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
674
643
|
tables: Record<string, {
|
|
675
644
|
name: string;
|
|
676
645
|
columns: Record<string, {
|
|
677
|
-
name: string;
|
|
678
646
|
type: string;
|
|
647
|
+
name: string;
|
|
679
648
|
primaryKey: boolean;
|
|
680
649
|
notNull: boolean;
|
|
681
650
|
default?: any;
|
|
@@ -714,19 +683,12 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
714
683
|
tables: Record<string, string>;
|
|
715
684
|
};
|
|
716
685
|
enums: {};
|
|
717
|
-
internal?: {
|
|
718
|
-
indexes?: Record<string, {
|
|
719
|
-
columns: Record<string, {
|
|
720
|
-
isExpression?: boolean | undefined;
|
|
721
|
-
} | undefined>;
|
|
722
|
-
} | undefined> | undefined;
|
|
723
|
-
} | undefined;
|
|
724
686
|
}, {
|
|
725
687
|
tables: Record<string, {
|
|
726
688
|
name: string;
|
|
727
689
|
columns: Record<string, {
|
|
728
|
-
name: string;
|
|
729
690
|
type: string;
|
|
691
|
+
name: string;
|
|
730
692
|
primaryKey: boolean;
|
|
731
693
|
notNull: boolean;
|
|
732
694
|
default?: any;
|
|
@@ -765,13 +727,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
765
727
|
tables: Record<string, string>;
|
|
766
728
|
};
|
|
767
729
|
enums: {};
|
|
768
|
-
internal?: {
|
|
769
|
-
indexes?: Record<string, {
|
|
770
|
-
columns: Record<string, {
|
|
771
|
-
isExpression?: boolean | undefined;
|
|
772
|
-
} | undefined>;
|
|
773
|
-
} | undefined> | undefined;
|
|
774
|
-
} | undefined;
|
|
775
730
|
}>;
|
|
776
731
|
type SQLiteSchema = TypeOf<typeof schema$1>;
|
|
777
732
|
|
|
@@ -789,16 +744,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
789
744
|
default: zod.ZodOptional<zod.ZodAny>;
|
|
790
745
|
onUpdate: zod.ZodOptional<zod.ZodAny>;
|
|
791
746
|
}, "strict", zod.ZodTypeAny, {
|
|
792
|
-
name: string;
|
|
793
747
|
type: string;
|
|
748
|
+
name: string;
|
|
794
749
|
primaryKey: boolean;
|
|
795
750
|
notNull: boolean;
|
|
796
751
|
default?: any;
|
|
797
752
|
onUpdate?: any;
|
|
798
753
|
autoincrement?: boolean | undefined;
|
|
799
754
|
}, {
|
|
800
|
-
name: string;
|
|
801
755
|
type: string;
|
|
756
|
+
name: string;
|
|
802
757
|
primaryKey: boolean;
|
|
803
758
|
notNull: boolean;
|
|
804
759
|
default?: any;
|
|
@@ -875,8 +830,8 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
875
830
|
}, "strict", zod.ZodTypeAny, {
|
|
876
831
|
name: string;
|
|
877
832
|
columns: Record<string, {
|
|
878
|
-
name: string;
|
|
879
833
|
type: string;
|
|
834
|
+
name: string;
|
|
880
835
|
primaryKey: boolean;
|
|
881
836
|
notNull: boolean;
|
|
882
837
|
default?: any;
|
|
@@ -911,8 +866,8 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
911
866
|
}, {
|
|
912
867
|
name: string;
|
|
913
868
|
columns: Record<string, {
|
|
914
|
-
name: string;
|
|
915
869
|
type: string;
|
|
870
|
+
name: string;
|
|
916
871
|
primaryKey: boolean;
|
|
917
872
|
notNull: boolean;
|
|
918
873
|
default?: any;
|
|
@@ -956,7 +911,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
956
911
|
tables: Record<string, string>;
|
|
957
912
|
}>;
|
|
958
913
|
internal: zod.ZodOptional<zod.ZodObject<{
|
|
959
|
-
tables: zod.
|
|
914
|
+
tables: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
960
915
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
961
916
|
isDefaultAnExpression: zod.ZodOptional<zod.ZodBoolean>;
|
|
962
917
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -972,46 +927,19 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
972
927
|
columns: Record<string, {
|
|
973
928
|
isDefaultAnExpression?: boolean | undefined;
|
|
974
929
|
} | undefined>;
|
|
975
|
-
}
|
|
976
|
-
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
977
|
-
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
978
|
-
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
|
979
|
-
}, "strip", zod.ZodTypeAny, {
|
|
980
|
-
isExpression?: boolean | undefined;
|
|
981
|
-
}, {
|
|
982
|
-
isExpression?: boolean | undefined;
|
|
983
|
-
}>>>;
|
|
984
|
-
}, "strip", zod.ZodTypeAny, {
|
|
985
|
-
columns: Record<string, {
|
|
986
|
-
isExpression?: boolean | undefined;
|
|
987
|
-
} | undefined>;
|
|
988
|
-
}, {
|
|
989
|
-
columns: Record<string, {
|
|
990
|
-
isExpression?: boolean | undefined;
|
|
991
|
-
} | undefined>;
|
|
992
|
-
}>>>>;
|
|
930
|
+
}>>>;
|
|
993
931
|
}, "strip", zod.ZodTypeAny, {
|
|
994
|
-
|
|
995
|
-
columns: Record<string, {
|
|
996
|
-
isExpression?: boolean | undefined;
|
|
997
|
-
} | undefined>;
|
|
998
|
-
} | undefined> | undefined;
|
|
999
|
-
tables?: Record<string, {
|
|
932
|
+
tables: Record<string, {
|
|
1000
933
|
columns: Record<string, {
|
|
1001
934
|
isDefaultAnExpression?: boolean | undefined;
|
|
1002
935
|
} | undefined>;
|
|
1003
|
-
} | undefined
|
|
936
|
+
} | undefined>;
|
|
1004
937
|
}, {
|
|
1005
|
-
|
|
1006
|
-
columns: Record<string, {
|
|
1007
|
-
isExpression?: boolean | undefined;
|
|
1008
|
-
} | undefined>;
|
|
1009
|
-
} | undefined> | undefined;
|
|
1010
|
-
tables?: Record<string, {
|
|
938
|
+
tables: Record<string, {
|
|
1011
939
|
columns: Record<string, {
|
|
1012
940
|
isDefaultAnExpression?: boolean | undefined;
|
|
1013
941
|
} | undefined>;
|
|
1014
|
-
} | undefined
|
|
942
|
+
} | undefined>;
|
|
1015
943
|
}>>;
|
|
1016
944
|
}, {
|
|
1017
945
|
id: zod.ZodString;
|
|
@@ -1020,8 +948,8 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
1020
948
|
tables: Record<string, {
|
|
1021
949
|
name: string;
|
|
1022
950
|
columns: Record<string, {
|
|
1023
|
-
name: string;
|
|
1024
951
|
type: string;
|
|
952
|
+
name: string;
|
|
1025
953
|
primaryKey: boolean;
|
|
1026
954
|
notNull: boolean;
|
|
1027
955
|
default?: any;
|
|
@@ -1063,23 +991,18 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
1063
991
|
tables: Record<string, string>;
|
|
1064
992
|
};
|
|
1065
993
|
internal?: {
|
|
1066
|
-
|
|
1067
|
-
columns: Record<string, {
|
|
1068
|
-
isExpression?: boolean | undefined;
|
|
1069
|
-
} | undefined>;
|
|
1070
|
-
} | undefined> | undefined;
|
|
1071
|
-
tables?: Record<string, {
|
|
994
|
+
tables: Record<string, {
|
|
1072
995
|
columns: Record<string, {
|
|
1073
996
|
isDefaultAnExpression?: boolean | undefined;
|
|
1074
997
|
} | undefined>;
|
|
1075
|
-
} | undefined
|
|
998
|
+
} | undefined>;
|
|
1076
999
|
} | undefined;
|
|
1077
1000
|
}, {
|
|
1078
1001
|
tables: Record<string, {
|
|
1079
1002
|
name: string;
|
|
1080
1003
|
columns: Record<string, {
|
|
1081
|
-
name: string;
|
|
1082
1004
|
type: string;
|
|
1005
|
+
name: string;
|
|
1083
1006
|
primaryKey: boolean;
|
|
1084
1007
|
notNull: boolean;
|
|
1085
1008
|
default?: any;
|
|
@@ -1121,16 +1044,11 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
1121
1044
|
tables: Record<string, string>;
|
|
1122
1045
|
};
|
|
1123
1046
|
internal?: {
|
|
1124
|
-
|
|
1125
|
-
columns: Record<string, {
|
|
1126
|
-
isExpression?: boolean | undefined;
|
|
1127
|
-
} | undefined>;
|
|
1128
|
-
} | undefined> | undefined;
|
|
1129
|
-
tables?: Record<string, {
|
|
1047
|
+
tables: Record<string, {
|
|
1130
1048
|
columns: Record<string, {
|
|
1131
1049
|
isDefaultAnExpression?: boolean | undefined;
|
|
1132
1050
|
} | undefined>;
|
|
1133
|
-
} | undefined
|
|
1051
|
+
} | undefined>;
|
|
1134
1052
|
} | undefined;
|
|
1135
1053
|
}>;
|
|
1136
1054
|
type MySqlSchema = TypeOf<typeof schema>;
|