drizzle-kit 0.20.8 → 0.20.9-03fb33f
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +663 -693
- package/cli/commands/pgIntrospect.d.ts +2 -0
- package/package.json +4 -3
- package/schemaValidator.d.ts +7 -0
- package/serializer/pgSchema.d.ts +89 -0
- package/serializer/pgSerializer.d.ts +0 -2
- package/serializer/schemaToDrizzle.d.ts +7 -0
- package/serializer/sqliteSerializer.d.ts +0 -2
- package/serializer/studioUtils.d.ts +4 -4
- package/utils-studio.d.mts +2 -2
- package/utils-studio.d.ts +2 -2
- package/utils-studio.js +953 -944
- package/utils-studio.mjs +631 -622
- package/utils.d.ts +2 -0
- package/utils.js +209 -190
@@ -34,6 +34,7 @@ export declare const pgPushIntrospect: (connection: {
|
|
34
34
|
columnsFrom: string[];
|
35
35
|
tableTo: string;
|
36
36
|
columnsTo: string[];
|
37
|
+
schemaTo: string;
|
37
38
|
}>;
|
38
39
|
schema: string;
|
39
40
|
compositePrimaryKeys: Record<string, {
|
@@ -89,6 +90,7 @@ export declare const pgIntrospect: (config: PgConfigIntrospect, filters: string[
|
|
89
90
|
columnsFrom: string[];
|
90
91
|
tableTo: string;
|
91
92
|
columnsTo: string[];
|
93
|
+
schemaTo: string;
|
92
94
|
}>;
|
93
95
|
schema: string;
|
94
96
|
compositePrimaryKeys: Record<string, {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "drizzle-kit",
|
3
|
-
"version": "0.20.
|
3
|
+
"version": "0.20.9-03fb33f",
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
5
5
|
"author": "Drizzle Team",
|
6
6
|
"license": "MIT",
|
@@ -56,11 +56,12 @@
|
|
56
56
|
]
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
|
-
"@drizzle-team/studio": "^0.0.
|
59
|
+
"@drizzle-team/studio": "^0.0.37",
|
60
60
|
"@esbuild-kit/esm-loader": "^2.5.5",
|
61
61
|
"camelcase": "^7.0.1",
|
62
62
|
"chalk": "^5.2.0",
|
63
63
|
"commander": "^9.4.1",
|
64
|
+
"env-paths": "^3.0.0",
|
64
65
|
"esbuild": "^0.19.7",
|
65
66
|
"esbuild-register": "^3.5.0",
|
66
67
|
"glob": "^8.1.0",
|
@@ -68,7 +69,6 @@
|
|
68
69
|
"json-diff": "0.9.0",
|
69
70
|
"minimatch": "^7.4.3",
|
70
71
|
"semver": "^7.5.4",
|
71
|
-
"wrangler": "^3.7.0",
|
72
72
|
"zod": "^3.20.2"
|
73
73
|
},
|
74
74
|
"devDependencies": {
|
@@ -100,6 +100,7 @@
|
|
100
100
|
"tsx": "^3.12.1",
|
101
101
|
"typescript": "^4.9.4",
|
102
102
|
"uvu": "^0.5.6",
|
103
|
+
"wrangler": "^3.22.1",
|
103
104
|
"zx": "^7.2.2"
|
104
105
|
},
|
105
106
|
"exports": {
|
package/schemaValidator.d.ts
CHANGED
@@ -400,6 +400,7 @@ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<impo
|
|
400
400
|
tableFrom: import("zod").ZodString;
|
401
401
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
402
402
|
tableTo: import("zod").ZodString;
|
403
|
+
schemaTo: import("zod").ZodString;
|
403
404
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
404
405
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
405
406
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -411,6 +412,7 @@ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<impo
|
|
411
412
|
columnsFrom: string[];
|
412
413
|
tableTo: string;
|
413
414
|
columnsTo: string[];
|
415
|
+
schemaTo: string;
|
414
416
|
}, {
|
415
417
|
onUpdate?: string | undefined;
|
416
418
|
onDelete?: string | undefined;
|
@@ -419,6 +421,7 @@ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<impo
|
|
419
421
|
columnsFrom: string[];
|
420
422
|
tableTo: string;
|
421
423
|
columnsTo: string[];
|
424
|
+
schemaTo: string;
|
422
425
|
}>>;
|
423
426
|
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
424
427
|
name: import("zod").ZodString;
|
@@ -468,6 +471,7 @@ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<impo
|
|
468
471
|
columnsFrom: string[];
|
469
472
|
tableTo: string;
|
470
473
|
columnsTo: string[];
|
474
|
+
schemaTo: string;
|
471
475
|
}>;
|
472
476
|
schema: string;
|
473
477
|
compositePrimaryKeys: Record<string, {
|
@@ -509,6 +513,7 @@ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<impo
|
|
509
513
|
columnsFrom: string[];
|
510
514
|
tableTo: string;
|
511
515
|
columnsTo: string[];
|
516
|
+
schemaTo: string;
|
512
517
|
}>;
|
513
518
|
schema: string;
|
514
519
|
compositePrimaryKeys: Record<string, {
|
@@ -627,6 +632,7 @@ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<impo
|
|
627
632
|
columnsFrom: string[];
|
628
633
|
tableTo: string;
|
629
634
|
columnsTo: string[];
|
635
|
+
schemaTo: string;
|
630
636
|
}>;
|
631
637
|
schema: string;
|
632
638
|
compositePrimaryKeys: Record<string, {
|
@@ -693,6 +699,7 @@ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<impo
|
|
693
699
|
columnsFrom: string[];
|
694
700
|
tableTo: string;
|
695
701
|
columnsTo: string[];
|
702
|
+
schemaTo: string;
|
696
703
|
}>;
|
697
704
|
schema: string;
|
698
705
|
compositePrimaryKeys: Record<string, {
|