drizzle-kit 0.20.16 → 0.20.17-0d9aa5f
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 +69120 -38874
- package/cli/commands/migrate.d.ts +123 -106
- package/cli/commands/mysqlIntrospect.d.ts +2 -71
- package/cli/commands/mysqlPushUtils.d.ts +4 -8
- package/cli/commands/pgIntrospect.d.ts +6 -70
- package/cli/commands/pgPushUtils.d.ts +3 -6
- package/cli/commands/sqliteIntrospect.d.ts +13 -17
- package/cli/commands/sqlitePushUtils.d.ts +4 -10
- package/cli/commands/utils.d.ts +39 -255
- package/cli/connections.d.ts +13 -0
- package/cli/utils.d.ts +13 -0
- package/cli/validations/cli.d.ts +169 -0
- package/cli/validations/common.d.ts +208 -7
- package/cli/validations/mysql.d.ts +6 -342
- package/cli/validations/outputs.d.ts +2 -0
- package/cli/validations/pg.d.ts +16 -408
- package/cli/validations/sqlite.d.ts +22 -0
- package/cli/views.d.ts +7 -5
- package/global.d.ts +3 -1
- package/index.d.mts +25 -17
- package/index.d.ts +25 -17
- package/index.js +1 -0
- package/introspect-sqlite.d.ts +2 -2
- package/jsonDiffer.d.ts +14 -29
- package/jsonStatements.d.ts +38 -11
- package/package.json +28 -51
- package/payload.d.mts +5 -5
- package/payload.d.ts +5 -5
- package/payload.js +16621 -33841
- package/payload.mjs +16673 -33904
- package/schemaValidator.d.ts +72 -69
- package/serializer/mysqlImports.d.ts +3 -7
- package/serializer/mysqlSchema.d.ts +1404 -587
- package/serializer/mysqlSerializer.d.ts +6 -6
- package/serializer/pgImports.d.ts +2 -2
- package/serializer/pgSchema.d.ts +1260 -801
- package/serializer/pgSerializer.d.ts +2 -2
- package/serializer/sqliteImports.d.ts +2 -4
- package/serializer/sqliteSchema.d.ts +144 -570
- package/serializer/sqliteSerializer.d.ts +4 -4
- package/serializer/studio.d.ts +51 -0
- package/snapshotsDiffer.d.ts +2334 -1057
- package/utils/words.d.ts +1 -1
- package/utils-studio.d.mts +0 -1
- package/utils-studio.d.ts +0 -1
- package/utils-studio.js +3817 -169
- package/utils-studio.mjs +3817 -172
- package/utils.d.ts +20 -141
- package/utils.js +3899 -7070
- package/utils.mjs +3972 -7143
- package/cli/commands/mysqlUp.d.ts +0 -4
- package/cli/commands/pgConnect.d.ts +0 -5
- package/cli/commands/pgUp.d.ts +0 -4
- package/cli/commands/sqliteUtils.d.ts +0 -162
- package/cli/commands/upFolders.d.ts +0 -27
- package/drivers/index.d.ts +0 -39
- package/introspect-mysql.d.ts +0 -9
- package/introspect-pg.d.ts +0 -12
@@ -356,8 +356,6 @@ export declare const schemaInternalV3: import("zod").ZodObject<{
|
|
356
356
|
}>>;
|
357
357
|
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
358
358
|
}, "strict", import("zod").ZodTypeAny, {
|
359
|
-
version: "3";
|
360
|
-
dialect: "sqlite";
|
361
359
|
tables: Record<string, {
|
362
360
|
name: string;
|
363
361
|
columns: Record<string, {
|
@@ -384,10 +382,10 @@ export declare const schemaInternalV3: import("zod").ZodObject<{
|
|
384
382
|
columnsTo: string[];
|
385
383
|
}>;
|
386
384
|
}>;
|
387
|
-
enums: {};
|
388
|
-
}, {
|
389
385
|
version: "3";
|
390
386
|
dialect: "sqlite";
|
387
|
+
enums: {};
|
388
|
+
}, {
|
391
389
|
tables: Record<string, {
|
392
390
|
name: string;
|
393
391
|
columns: Record<string, {
|
@@ -414,6 +412,8 @@ export declare const schemaInternalV3: import("zod").ZodObject<{
|
|
414
412
|
columnsTo: string[];
|
415
413
|
}>;
|
416
414
|
}>;
|
415
|
+
version: "3";
|
416
|
+
dialect: "sqlite";
|
417
417
|
enums: {};
|
418
418
|
}>;
|
419
419
|
export declare const schemaInternalV4: import("zod").ZodObject<{
|
@@ -573,8 +573,6 @@ export declare const schemaInternalV4: import("zod").ZodObject<{
|
|
573
573
|
}>>;
|
574
574
|
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
575
575
|
}, "strict", import("zod").ZodTypeAny, {
|
576
|
-
version: "4";
|
577
|
-
dialect: "sqlite";
|
578
576
|
tables: Record<string, {
|
579
577
|
name: string;
|
580
578
|
columns: Record<string, {
|
@@ -609,10 +607,10 @@ export declare const schemaInternalV4: import("zod").ZodObject<{
|
|
609
607
|
columns: string[];
|
610
608
|
}>;
|
611
609
|
}>;
|
612
|
-
enums: {};
|
613
|
-
}, {
|
614
610
|
version: "4";
|
615
611
|
dialect: "sqlite";
|
612
|
+
enums: {};
|
613
|
+
}, {
|
616
614
|
tables: Record<string, {
|
617
615
|
uniqueConstraints?: Record<string, {
|
618
616
|
name: string;
|
@@ -647,6 +645,8 @@ export declare const schemaInternalV4: import("zod").ZodObject<{
|
|
647
645
|
columns: string[];
|
648
646
|
}>;
|
649
647
|
}>;
|
648
|
+
version: "4";
|
649
|
+
dialect: "sqlite";
|
650
650
|
enums: {};
|
651
651
|
}>;
|
652
652
|
export declare const schemaInternal: import("zod").ZodObject<{
|
@@ -816,8 +816,6 @@ export declare const schemaInternal: import("zod").ZodObject<{
|
|
816
816
|
tables: Record<string, string>;
|
817
817
|
}>;
|
818
818
|
}, "strict", import("zod").ZodTypeAny, {
|
819
|
-
version: "5";
|
820
|
-
dialect: "sqlite";
|
821
819
|
tables: Record<string, {
|
822
820
|
name: string;
|
823
821
|
columns: Record<string, {
|
@@ -852,14 +850,14 @@ export declare const schemaInternal: import("zod").ZodObject<{
|
|
852
850
|
columns: string[];
|
853
851
|
}>;
|
854
852
|
}>;
|
853
|
+
version: "5";
|
854
|
+
dialect: "sqlite";
|
855
855
|
_meta: {
|
856
856
|
columns: Record<string, string>;
|
857
857
|
tables: Record<string, string>;
|
858
858
|
};
|
859
859
|
enums: {};
|
860
860
|
}, {
|
861
|
-
version: "5";
|
862
|
-
dialect: "sqlite";
|
863
861
|
tables: Record<string, {
|
864
862
|
uniqueConstraints?: Record<string, {
|
865
863
|
name: string;
|
@@ -894,6 +892,8 @@ export declare const schemaInternal: import("zod").ZodObject<{
|
|
894
892
|
columns: string[];
|
895
893
|
}>;
|
896
894
|
}>;
|
895
|
+
version: "5";
|
896
|
+
dialect: "sqlite";
|
897
897
|
_meta: {
|
898
898
|
columns: Record<string, string>;
|
899
899
|
tables: Record<string, string>;
|
@@ -1024,10 +1024,6 @@ export declare const schemaV3: import("zod").ZodObject<import("zod").extendShape
|
|
1024
1024
|
id: import("zod").ZodString;
|
1025
1025
|
prevId: import("zod").ZodString;
|
1026
1026
|
}>, "strict", import("zod").ZodTypeAny, {
|
1027
|
-
id: string;
|
1028
|
-
prevId: string;
|
1029
|
-
version: "3";
|
1030
|
-
dialect: "sqlite";
|
1031
1027
|
tables: Record<string, {
|
1032
1028
|
name: string;
|
1033
1029
|
columns: Record<string, {
|
@@ -1054,12 +1050,12 @@ export declare const schemaV3: import("zod").ZodObject<import("zod").extendShape
|
|
1054
1050
|
columnsTo: string[];
|
1055
1051
|
}>;
|
1056
1052
|
}>;
|
1057
|
-
enums: {};
|
1058
|
-
}, {
|
1059
1053
|
id: string;
|
1060
1054
|
prevId: string;
|
1061
1055
|
version: "3";
|
1062
1056
|
dialect: "sqlite";
|
1057
|
+
enums: {};
|
1058
|
+
}, {
|
1063
1059
|
tables: Record<string, {
|
1064
1060
|
name: string;
|
1065
1061
|
columns: Record<string, {
|
@@ -1086,6 +1082,10 @@ export declare const schemaV3: import("zod").ZodObject<import("zod").extendShape
|
|
1086
1082
|
columnsTo: string[];
|
1087
1083
|
}>;
|
1088
1084
|
}>;
|
1085
|
+
id: string;
|
1086
|
+
prevId: string;
|
1087
|
+
version: "3";
|
1088
|
+
dialect: "sqlite";
|
1089
1089
|
enums: {};
|
1090
1090
|
}>;
|
1091
1091
|
export declare const schemaV4: import("zod").ZodObject<import("zod").extendShape<{
|
@@ -1248,10 +1248,6 @@ export declare const schemaV4: import("zod").ZodObject<import("zod").extendShape
|
|
1248
1248
|
id: import("zod").ZodString;
|
1249
1249
|
prevId: import("zod").ZodString;
|
1250
1250
|
}>, "strict", import("zod").ZodTypeAny, {
|
1251
|
-
id: string;
|
1252
|
-
prevId: string;
|
1253
|
-
version: "4";
|
1254
|
-
dialect: "sqlite";
|
1255
1251
|
tables: Record<string, {
|
1256
1252
|
name: string;
|
1257
1253
|
columns: Record<string, {
|
@@ -1286,12 +1282,12 @@ export declare const schemaV4: import("zod").ZodObject<import("zod").extendShape
|
|
1286
1282
|
columns: string[];
|
1287
1283
|
}>;
|
1288
1284
|
}>;
|
1289
|
-
enums: {};
|
1290
|
-
}, {
|
1291
1285
|
id: string;
|
1292
1286
|
prevId: string;
|
1293
1287
|
version: "4";
|
1294
1288
|
dialect: "sqlite";
|
1289
|
+
enums: {};
|
1290
|
+
}, {
|
1295
1291
|
tables: Record<string, {
|
1296
1292
|
uniqueConstraints?: Record<string, {
|
1297
1293
|
name: string;
|
@@ -1326,6 +1322,10 @@ export declare const schemaV4: import("zod").ZodObject<import("zod").extendShape
|
|
1326
1322
|
columns: string[];
|
1327
1323
|
}>;
|
1328
1324
|
}>;
|
1325
|
+
id: string;
|
1326
|
+
prevId: string;
|
1327
|
+
version: "4";
|
1328
|
+
dialect: "sqlite";
|
1329
1329
|
enums: {};
|
1330
1330
|
}>;
|
1331
1331
|
export declare const schema: import("zod").ZodObject<import("zod").extendShape<{
|
@@ -1498,10 +1498,6 @@ export declare const schema: import("zod").ZodObject<import("zod").extendShape<{
|
|
1498
1498
|
id: import("zod").ZodString;
|
1499
1499
|
prevId: import("zod").ZodString;
|
1500
1500
|
}>, "strict", import("zod").ZodTypeAny, {
|
1501
|
-
id: string;
|
1502
|
-
prevId: string;
|
1503
|
-
version: "5";
|
1504
|
-
dialect: "sqlite";
|
1505
1501
|
tables: Record<string, {
|
1506
1502
|
name: string;
|
1507
1503
|
columns: Record<string, {
|
@@ -1536,16 +1532,16 @@ export declare const schema: import("zod").ZodObject<import("zod").extendShape<{
|
|
1536
1532
|
columns: string[];
|
1537
1533
|
}>;
|
1538
1534
|
}>;
|
1535
|
+
id: string;
|
1536
|
+
prevId: string;
|
1537
|
+
version: "5";
|
1538
|
+
dialect: "sqlite";
|
1539
1539
|
_meta: {
|
1540
1540
|
columns: Record<string, string>;
|
1541
1541
|
tables: Record<string, string>;
|
1542
1542
|
};
|
1543
1543
|
enums: {};
|
1544
1544
|
}, {
|
1545
|
-
id: string;
|
1546
|
-
prevId: string;
|
1547
|
-
version: "5";
|
1548
|
-
dialect: "sqlite";
|
1549
1545
|
tables: Record<string, {
|
1550
1546
|
uniqueConstraints?: Record<string, {
|
1551
1547
|
name: string;
|
@@ -1580,6 +1576,10 @@ export declare const schema: import("zod").ZodObject<import("zod").extendShape<{
|
|
1580
1576
|
columns: string[];
|
1581
1577
|
}>;
|
1582
1578
|
}>;
|
1579
|
+
id: string;
|
1580
|
+
prevId: string;
|
1581
|
+
version: "5";
|
1582
|
+
dialect: "sqlite";
|
1583
1583
|
_meta: {
|
1584
1584
|
columns: Record<string, string>;
|
1585
1585
|
tables: Record<string, string>;
|
@@ -1649,8 +1649,6 @@ export declare const schemaSquashed: import("zod").ZodObject<{
|
|
1649
1649
|
enums: import("zod").ZodAny;
|
1650
1650
|
}, "strict", import("zod").ZodTypeAny, {
|
1651
1651
|
enums?: any;
|
1652
|
-
version: "5";
|
1653
|
-
dialect: "sqlite";
|
1654
1652
|
tables: Record<string, {
|
1655
1653
|
name: string;
|
1656
1654
|
columns: Record<string, {
|
@@ -1666,10 +1664,10 @@ export declare const schemaSquashed: import("zod").ZodObject<{
|
|
1666
1664
|
compositePrimaryKeys: Record<string, string>;
|
1667
1665
|
uniqueConstraints: Record<string, string>;
|
1668
1666
|
}>;
|
1669
|
-
}, {
|
1670
|
-
enums?: any;
|
1671
1667
|
version: "5";
|
1672
1668
|
dialect: "sqlite";
|
1669
|
+
}, {
|
1670
|
+
enums?: any;
|
1673
1671
|
tables: Record<string, {
|
1674
1672
|
uniqueConstraints?: Record<string, string> | undefined;
|
1675
1673
|
name: string;
|
@@ -1685,6 +1683,8 @@ export declare const schemaSquashed: import("zod").ZodObject<{
|
|
1685
1683
|
foreignKeys: Record<string, string>;
|
1686
1684
|
compositePrimaryKeys: Record<string, string>;
|
1687
1685
|
}>;
|
1686
|
+
version: "5";
|
1687
|
+
dialect: "sqlite";
|
1688
1688
|
}>;
|
1689
1689
|
export type Dialect = TypeOf<typeof dialect>;
|
1690
1690
|
export type Column = TypeOf<typeof column>;
|
@@ -1710,10 +1710,6 @@ export declare const SQLiteSquasher: {
|
|
1710
1710
|
};
|
1711
1711
|
export declare const squashSqliteScheme: (json: SQLiteSchema | SQLiteSchemaV4) => SQLiteSchemaSquashed;
|
1712
1712
|
export declare const drySQLite: {
|
1713
|
-
id: string;
|
1714
|
-
prevId: string;
|
1715
|
-
version: "5";
|
1716
|
-
dialect: "sqlite";
|
1717
1713
|
tables: Record<string, {
|
1718
1714
|
name: string;
|
1719
1715
|
columns: Record<string, {
|
@@ -1748,6 +1744,10 @@ export declare const drySQLite: {
|
|
1748
1744
|
columns: string[];
|
1749
1745
|
}>;
|
1750
1746
|
}>;
|
1747
|
+
id: string;
|
1748
|
+
prevId: string;
|
1749
|
+
version: "5";
|
1750
|
+
dialect: "sqlite";
|
1751
1751
|
_meta: {
|
1752
1752
|
columns: Record<string, string>;
|
1753
1753
|
tables: Record<string, string>;
|
@@ -1878,10 +1878,6 @@ export declare const sqliteSchemaV3: import("zod").ZodObject<import("zod").exten
|
|
1878
1878
|
id: import("zod").ZodString;
|
1879
1879
|
prevId: import("zod").ZodString;
|
1880
1880
|
}>, "strict", import("zod").ZodTypeAny, {
|
1881
|
-
id: string;
|
1882
|
-
prevId: string;
|
1883
|
-
version: "3";
|
1884
|
-
dialect: "sqlite";
|
1885
1881
|
tables: Record<string, {
|
1886
1882
|
name: string;
|
1887
1883
|
columns: Record<string, {
|
@@ -1908,12 +1904,12 @@ export declare const sqliteSchemaV3: import("zod").ZodObject<import("zod").exten
|
|
1908
1904
|
columnsTo: string[];
|
1909
1905
|
}>;
|
1910
1906
|
}>;
|
1911
|
-
enums: {};
|
1912
|
-
}, {
|
1913
1907
|
id: string;
|
1914
1908
|
prevId: string;
|
1915
1909
|
version: "3";
|
1916
1910
|
dialect: "sqlite";
|
1911
|
+
enums: {};
|
1912
|
+
}, {
|
1917
1913
|
tables: Record<string, {
|
1918
1914
|
name: string;
|
1919
1915
|
columns: Record<string, {
|
@@ -1940,6 +1936,10 @@ export declare const sqliteSchemaV3: import("zod").ZodObject<import("zod").exten
|
|
1940
1936
|
columnsTo: string[];
|
1941
1937
|
}>;
|
1942
1938
|
}>;
|
1939
|
+
id: string;
|
1940
|
+
prevId: string;
|
1941
|
+
version: "3";
|
1942
|
+
dialect: "sqlite";
|
1943
1943
|
enums: {};
|
1944
1944
|
}>;
|
1945
1945
|
export declare const sqliteSchemaV4: import("zod").ZodObject<import("zod").extendShape<{
|
@@ -2102,10 +2102,6 @@ export declare const sqliteSchemaV4: import("zod").ZodObject<import("zod").exten
|
|
2102
2102
|
id: import("zod").ZodString;
|
2103
2103
|
prevId: import("zod").ZodString;
|
2104
2104
|
}>, "strict", import("zod").ZodTypeAny, {
|
2105
|
-
id: string;
|
2106
|
-
prevId: string;
|
2107
|
-
version: "4";
|
2108
|
-
dialect: "sqlite";
|
2109
2105
|
tables: Record<string, {
|
2110
2106
|
name: string;
|
2111
2107
|
columns: Record<string, {
|
@@ -2140,12 +2136,12 @@ export declare const sqliteSchemaV4: import("zod").ZodObject<import("zod").exten
|
|
2140
2136
|
columns: string[];
|
2141
2137
|
}>;
|
2142
2138
|
}>;
|
2143
|
-
enums: {};
|
2144
|
-
}, {
|
2145
2139
|
id: string;
|
2146
2140
|
prevId: string;
|
2147
2141
|
version: "4";
|
2148
2142
|
dialect: "sqlite";
|
2143
|
+
enums: {};
|
2144
|
+
}, {
|
2149
2145
|
tables: Record<string, {
|
2150
2146
|
uniqueConstraints?: Record<string, {
|
2151
2147
|
name: string;
|
@@ -2180,6 +2176,10 @@ export declare const sqliteSchemaV4: import("zod").ZodObject<import("zod").exten
|
|
2180
2176
|
columns: string[];
|
2181
2177
|
}>;
|
2182
2178
|
}>;
|
2179
|
+
id: string;
|
2180
|
+
prevId: string;
|
2181
|
+
version: "4";
|
2182
|
+
dialect: "sqlite";
|
2183
2183
|
enums: {};
|
2184
2184
|
}>;
|
2185
2185
|
export declare const sqliteSchema: import("zod").ZodObject<import("zod").extendShape<{
|
@@ -2352,10 +2352,6 @@ export declare const sqliteSchema: import("zod").ZodObject<import("zod").extendS
|
|
2352
2352
|
id: import("zod").ZodString;
|
2353
2353
|
prevId: import("zod").ZodString;
|
2354
2354
|
}>, "strict", import("zod").ZodTypeAny, {
|
2355
|
-
id: string;
|
2356
|
-
prevId: string;
|
2357
|
-
version: "5";
|
2358
|
-
dialect: "sqlite";
|
2359
2355
|
tables: Record<string, {
|
2360
2356
|
name: string;
|
2361
2357
|
columns: Record<string, {
|
@@ -2390,16 +2386,16 @@ export declare const sqliteSchema: import("zod").ZodObject<import("zod").extendS
|
|
2390
2386
|
columns: string[];
|
2391
2387
|
}>;
|
2392
2388
|
}>;
|
2389
|
+
id: string;
|
2390
|
+
prevId: string;
|
2391
|
+
version: "5";
|
2392
|
+
dialect: "sqlite";
|
2393
2393
|
_meta: {
|
2394
2394
|
columns: Record<string, string>;
|
2395
2395
|
tables: Record<string, string>;
|
2396
2396
|
};
|
2397
2397
|
enums: {};
|
2398
2398
|
}, {
|
2399
|
-
id: string;
|
2400
|
-
prevId: string;
|
2401
|
-
version: "5";
|
2402
|
-
dialect: "sqlite";
|
2403
2399
|
tables: Record<string, {
|
2404
2400
|
uniqueConstraints?: Record<string, {
|
2405
2401
|
name: string;
|
@@ -2434,6 +2430,10 @@ export declare const sqliteSchema: import("zod").ZodObject<import("zod").extendS
|
|
2434
2430
|
columns: string[];
|
2435
2431
|
}>;
|
2436
2432
|
}>;
|
2433
|
+
id: string;
|
2434
|
+
prevId: string;
|
2435
|
+
version: "5";
|
2436
|
+
dialect: "sqlite";
|
2437
2437
|
_meta: {
|
2438
2438
|
columns: Record<string, string>;
|
2439
2439
|
tables: Record<string, string>;
|
@@ -2503,8 +2503,6 @@ export declare const SQLiteSchemaSquashed: import("zod").ZodObject<{
|
|
2503
2503
|
enums: import("zod").ZodAny;
|
2504
2504
|
}, "strict", import("zod").ZodTypeAny, {
|
2505
2505
|
enums?: any;
|
2506
|
-
version: "5";
|
2507
|
-
dialect: "sqlite";
|
2508
2506
|
tables: Record<string, {
|
2509
2507
|
name: string;
|
2510
2508
|
columns: Record<string, {
|
@@ -2520,10 +2518,10 @@ export declare const SQLiteSchemaSquashed: import("zod").ZodObject<{
|
|
2520
2518
|
compositePrimaryKeys: Record<string, string>;
|
2521
2519
|
uniqueConstraints: Record<string, string>;
|
2522
2520
|
}>;
|
2523
|
-
}, {
|
2524
|
-
enums?: any;
|
2525
2521
|
version: "5";
|
2526
2522
|
dialect: "sqlite";
|
2523
|
+
}, {
|
2524
|
+
enums?: any;
|
2527
2525
|
tables: Record<string, {
|
2528
2526
|
uniqueConstraints?: Record<string, string> | undefined;
|
2529
2527
|
name: string;
|
@@ -2539,9 +2537,11 @@ export declare const SQLiteSchemaSquashed: import("zod").ZodObject<{
|
|
2539
2537
|
foreignKeys: Record<string, string>;
|
2540
2538
|
compositePrimaryKeys: Record<string, string>;
|
2541
2539
|
}>;
|
2540
|
+
version: "5";
|
2541
|
+
dialect: "sqlite";
|
2542
2542
|
}>;
|
2543
|
-
export declare const backwardCompatibleSqliteSchema: import("zod").
|
2544
|
-
version: import("zod").ZodLiteral<"
|
2543
|
+
export declare const backwardCompatibleSqliteSchema: import("zod").ZodObject<import("zod").extendShape<{
|
2544
|
+
version: import("zod").ZodLiteral<"5">;
|
2545
2545
|
dialect: import("zod").ZodEnum<["sqlite"]>;
|
2546
2546
|
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2547
2547
|
name: import("zod").ZodString;
|
@@ -2608,6 +2608,26 @@ export declare const backwardCompatibleSqliteSchema: import("zod").ZodUnion<[imp
|
|
2608
2608
|
tableTo: string;
|
2609
2609
|
columnsTo: string[];
|
2610
2610
|
}>>;
|
2611
|
+
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2612
|
+
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2613
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
2614
|
+
}, "strict", import("zod").ZodTypeAny, {
|
2615
|
+
name?: string | undefined;
|
2616
|
+
columns: string[];
|
2617
|
+
}, {
|
2618
|
+
name?: string | undefined;
|
2619
|
+
columns: string[];
|
2620
|
+
}>>;
|
2621
|
+
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2622
|
+
name: import("zod").ZodString;
|
2623
|
+
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2624
|
+
}, "strict", import("zod").ZodTypeAny, {
|
2625
|
+
name: string;
|
2626
|
+
columns: string[];
|
2627
|
+
}, {
|
2628
|
+
name: string;
|
2629
|
+
columns: string[];
|
2630
|
+
}>>>;
|
2611
2631
|
}, "strict", import("zod").ZodTypeAny, {
|
2612
2632
|
name: string;
|
2613
2633
|
columns: Record<string, {
|
@@ -2633,7 +2653,19 @@ export declare const backwardCompatibleSqliteSchema: import("zod").ZodUnion<[imp
|
|
2633
2653
|
tableTo: string;
|
2634
2654
|
columnsTo: string[];
|
2635
2655
|
}>;
|
2656
|
+
compositePrimaryKeys: Record<string, {
|
2657
|
+
name?: string | undefined;
|
2658
|
+
columns: string[];
|
2659
|
+
}>;
|
2660
|
+
uniqueConstraints: Record<string, {
|
2661
|
+
name: string;
|
2662
|
+
columns: string[];
|
2663
|
+
}>;
|
2636
2664
|
}, {
|
2665
|
+
uniqueConstraints?: Record<string, {
|
2666
|
+
name: string;
|
2667
|
+
columns: string[];
|
2668
|
+
}> | undefined;
|
2637
2669
|
name: string;
|
2638
2670
|
columns: Record<string, {
|
2639
2671
|
default?: any;
|
@@ -2658,16 +2690,26 @@ export declare const backwardCompatibleSqliteSchema: import("zod").ZodUnion<[imp
|
|
2658
2690
|
tableTo: string;
|
2659
2691
|
columnsTo: string[];
|
2660
2692
|
}>;
|
2693
|
+
compositePrimaryKeys: Record<string, {
|
2694
|
+
name?: string | undefined;
|
2695
|
+
columns: string[];
|
2696
|
+
}>;
|
2661
2697
|
}>>;
|
2662
2698
|
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
2699
|
+
_meta: import("zod").ZodObject<{
|
2700
|
+
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2701
|
+
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2702
|
+
}, "strip", import("zod").ZodTypeAny, {
|
2703
|
+
columns: Record<string, string>;
|
2704
|
+
tables: Record<string, string>;
|
2705
|
+
}, {
|
2706
|
+
columns: Record<string, string>;
|
2707
|
+
tables: Record<string, string>;
|
2708
|
+
}>;
|
2663
2709
|
}, {
|
2664
2710
|
id: import("zod").ZodString;
|
2665
2711
|
prevId: import("zod").ZodString;
|
2666
2712
|
}>, "strict", import("zod").ZodTypeAny, {
|
2667
|
-
id: string;
|
2668
|
-
prevId: string;
|
2669
|
-
version: "3";
|
2670
|
-
dialect: "sqlite";
|
2671
2713
|
tables: Record<string, {
|
2672
2714
|
name: string;
|
2673
2715
|
columns: Record<string, {
|
@@ -2693,14 +2735,30 @@ export declare const backwardCompatibleSqliteSchema: import("zod").ZodUnion<[imp
|
|
2693
2735
|
tableTo: string;
|
2694
2736
|
columnsTo: string[];
|
2695
2737
|
}>;
|
2738
|
+
compositePrimaryKeys: Record<string, {
|
2739
|
+
name?: string | undefined;
|
2740
|
+
columns: string[];
|
2741
|
+
}>;
|
2742
|
+
uniqueConstraints: Record<string, {
|
2743
|
+
name: string;
|
2744
|
+
columns: string[];
|
2745
|
+
}>;
|
2696
2746
|
}>;
|
2697
|
-
enums: {};
|
2698
|
-
}, {
|
2699
2747
|
id: string;
|
2700
2748
|
prevId: string;
|
2701
|
-
version: "
|
2749
|
+
version: "5";
|
2702
2750
|
dialect: "sqlite";
|
2751
|
+
_meta: {
|
2752
|
+
columns: Record<string, string>;
|
2753
|
+
tables: Record<string, string>;
|
2754
|
+
};
|
2755
|
+
enums: {};
|
2756
|
+
}, {
|
2703
2757
|
tables: Record<string, {
|
2758
|
+
uniqueConstraints?: Record<string, {
|
2759
|
+
name: string;
|
2760
|
+
columns: string[];
|
2761
|
+
}> | undefined;
|
2704
2762
|
name: string;
|
2705
2763
|
columns: Record<string, {
|
2706
2764
|
default?: any;
|
@@ -2725,503 +2783,19 @@ export declare const backwardCompatibleSqliteSchema: import("zod").ZodUnion<[imp
|
|
2725
2783
|
tableTo: string;
|
2726
2784
|
columnsTo: string[];
|
2727
2785
|
}>;
|
2786
|
+
compositePrimaryKeys: Record<string, {
|
2787
|
+
name?: string | undefined;
|
2788
|
+
columns: string[];
|
2789
|
+
}>;
|
2728
2790
|
}>;
|
2791
|
+
id: string;
|
2792
|
+
prevId: string;
|
2793
|
+
version: "5";
|
2794
|
+
dialect: "sqlite";
|
2795
|
+
_meta: {
|
2796
|
+
columns: Record<string, string>;
|
2797
|
+
tables: Record<string, string>;
|
2798
|
+
};
|
2729
2799
|
enums: {};
|
2730
|
-
}
|
2731
|
-
version: import("zod").ZodLiteral<"4">;
|
2732
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
2733
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2734
|
-
name: import("zod").ZodString;
|
2735
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2736
|
-
name: import("zod").ZodString;
|
2737
|
-
type: import("zod").ZodString;
|
2738
|
-
primaryKey: import("zod").ZodBoolean;
|
2739
|
-
notNull: import("zod").ZodBoolean;
|
2740
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
2741
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
2742
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2743
|
-
default?: any;
|
2744
|
-
autoincrement?: boolean | undefined;
|
2745
|
-
name: string;
|
2746
|
-
type: string;
|
2747
|
-
primaryKey: boolean;
|
2748
|
-
notNull: boolean;
|
2749
|
-
}, {
|
2750
|
-
default?: any;
|
2751
|
-
autoincrement?: boolean | undefined;
|
2752
|
-
name: string;
|
2753
|
-
type: string;
|
2754
|
-
primaryKey: boolean;
|
2755
|
-
notNull: boolean;
|
2756
|
-
}>>;
|
2757
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2758
|
-
name: import("zod").ZodString;
|
2759
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2760
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
2761
|
-
isUnique: import("zod").ZodBoolean;
|
2762
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2763
|
-
where?: string | undefined;
|
2764
|
-
name: string;
|
2765
|
-
columns: string[];
|
2766
|
-
isUnique: boolean;
|
2767
|
-
}, {
|
2768
|
-
where?: string | undefined;
|
2769
|
-
name: string;
|
2770
|
-
columns: string[];
|
2771
|
-
isUnique: boolean;
|
2772
|
-
}>>;
|
2773
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2774
|
-
name: import("zod").ZodString;
|
2775
|
-
tableFrom: import("zod").ZodString;
|
2776
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2777
|
-
tableTo: import("zod").ZodString;
|
2778
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2779
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
2780
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
2781
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2782
|
-
onUpdate?: string | undefined;
|
2783
|
-
onDelete?: string | undefined;
|
2784
|
-
name: string;
|
2785
|
-
tableFrom: string;
|
2786
|
-
columnsFrom: string[];
|
2787
|
-
tableTo: string;
|
2788
|
-
columnsTo: string[];
|
2789
|
-
}, {
|
2790
|
-
onUpdate?: string | undefined;
|
2791
|
-
onDelete?: string | undefined;
|
2792
|
-
name: string;
|
2793
|
-
tableFrom: string;
|
2794
|
-
columnsFrom: string[];
|
2795
|
-
tableTo: string;
|
2796
|
-
columnsTo: string[];
|
2797
|
-
}>>;
|
2798
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2799
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2800
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
2801
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2802
|
-
name?: string | undefined;
|
2803
|
-
columns: string[];
|
2804
|
-
}, {
|
2805
|
-
name?: string | undefined;
|
2806
|
-
columns: string[];
|
2807
|
-
}>>;
|
2808
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2809
|
-
name: import("zod").ZodString;
|
2810
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2811
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2812
|
-
name: string;
|
2813
|
-
columns: string[];
|
2814
|
-
}, {
|
2815
|
-
name: string;
|
2816
|
-
columns: string[];
|
2817
|
-
}>>>;
|
2818
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2819
|
-
name: string;
|
2820
|
-
columns: Record<string, {
|
2821
|
-
default?: any;
|
2822
|
-
autoincrement?: boolean | undefined;
|
2823
|
-
name: string;
|
2824
|
-
type: string;
|
2825
|
-
primaryKey: boolean;
|
2826
|
-
notNull: boolean;
|
2827
|
-
}>;
|
2828
|
-
indexes: Record<string, {
|
2829
|
-
where?: string | undefined;
|
2830
|
-
name: string;
|
2831
|
-
columns: string[];
|
2832
|
-
isUnique: boolean;
|
2833
|
-
}>;
|
2834
|
-
foreignKeys: Record<string, {
|
2835
|
-
onUpdate?: string | undefined;
|
2836
|
-
onDelete?: string | undefined;
|
2837
|
-
name: string;
|
2838
|
-
tableFrom: string;
|
2839
|
-
columnsFrom: string[];
|
2840
|
-
tableTo: string;
|
2841
|
-
columnsTo: string[];
|
2842
|
-
}>;
|
2843
|
-
compositePrimaryKeys: Record<string, {
|
2844
|
-
name?: string | undefined;
|
2845
|
-
columns: string[];
|
2846
|
-
}>;
|
2847
|
-
uniqueConstraints: Record<string, {
|
2848
|
-
name: string;
|
2849
|
-
columns: string[];
|
2850
|
-
}>;
|
2851
|
-
}, {
|
2852
|
-
uniqueConstraints?: Record<string, {
|
2853
|
-
name: string;
|
2854
|
-
columns: string[];
|
2855
|
-
}> | undefined;
|
2856
|
-
name: string;
|
2857
|
-
columns: Record<string, {
|
2858
|
-
default?: any;
|
2859
|
-
autoincrement?: boolean | undefined;
|
2860
|
-
name: string;
|
2861
|
-
type: string;
|
2862
|
-
primaryKey: boolean;
|
2863
|
-
notNull: boolean;
|
2864
|
-
}>;
|
2865
|
-
indexes: Record<string, {
|
2866
|
-
where?: string | undefined;
|
2867
|
-
name: string;
|
2868
|
-
columns: string[];
|
2869
|
-
isUnique: boolean;
|
2870
|
-
}>;
|
2871
|
-
foreignKeys: Record<string, {
|
2872
|
-
onUpdate?: string | undefined;
|
2873
|
-
onDelete?: string | undefined;
|
2874
|
-
name: string;
|
2875
|
-
tableFrom: string;
|
2876
|
-
columnsFrom: string[];
|
2877
|
-
tableTo: string;
|
2878
|
-
columnsTo: string[];
|
2879
|
-
}>;
|
2880
|
-
compositePrimaryKeys: Record<string, {
|
2881
|
-
name?: string | undefined;
|
2882
|
-
columns: string[];
|
2883
|
-
}>;
|
2884
|
-
}>>;
|
2885
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
2886
|
-
}, {
|
2887
|
-
id: import("zod").ZodString;
|
2888
|
-
prevId: import("zod").ZodString;
|
2889
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
2890
|
-
id: string;
|
2891
|
-
prevId: string;
|
2892
|
-
version: "4";
|
2893
|
-
dialect: "sqlite";
|
2894
|
-
tables: Record<string, {
|
2895
|
-
name: string;
|
2896
|
-
columns: Record<string, {
|
2897
|
-
default?: any;
|
2898
|
-
autoincrement?: boolean | undefined;
|
2899
|
-
name: string;
|
2900
|
-
type: string;
|
2901
|
-
primaryKey: boolean;
|
2902
|
-
notNull: boolean;
|
2903
|
-
}>;
|
2904
|
-
indexes: Record<string, {
|
2905
|
-
where?: string | undefined;
|
2906
|
-
name: string;
|
2907
|
-
columns: string[];
|
2908
|
-
isUnique: boolean;
|
2909
|
-
}>;
|
2910
|
-
foreignKeys: Record<string, {
|
2911
|
-
onUpdate?: string | undefined;
|
2912
|
-
onDelete?: string | undefined;
|
2913
|
-
name: string;
|
2914
|
-
tableFrom: string;
|
2915
|
-
columnsFrom: string[];
|
2916
|
-
tableTo: string;
|
2917
|
-
columnsTo: string[];
|
2918
|
-
}>;
|
2919
|
-
compositePrimaryKeys: Record<string, {
|
2920
|
-
name?: string | undefined;
|
2921
|
-
columns: string[];
|
2922
|
-
}>;
|
2923
|
-
uniqueConstraints: Record<string, {
|
2924
|
-
name: string;
|
2925
|
-
columns: string[];
|
2926
|
-
}>;
|
2927
|
-
}>;
|
2928
|
-
enums: {};
|
2929
|
-
}, {
|
2930
|
-
id: string;
|
2931
|
-
prevId: string;
|
2932
|
-
version: "4";
|
2933
|
-
dialect: "sqlite";
|
2934
|
-
tables: Record<string, {
|
2935
|
-
uniqueConstraints?: Record<string, {
|
2936
|
-
name: string;
|
2937
|
-
columns: string[];
|
2938
|
-
}> | undefined;
|
2939
|
-
name: string;
|
2940
|
-
columns: Record<string, {
|
2941
|
-
default?: any;
|
2942
|
-
autoincrement?: boolean | undefined;
|
2943
|
-
name: string;
|
2944
|
-
type: string;
|
2945
|
-
primaryKey: boolean;
|
2946
|
-
notNull: boolean;
|
2947
|
-
}>;
|
2948
|
-
indexes: Record<string, {
|
2949
|
-
where?: string | undefined;
|
2950
|
-
name: string;
|
2951
|
-
columns: string[];
|
2952
|
-
isUnique: boolean;
|
2953
|
-
}>;
|
2954
|
-
foreignKeys: Record<string, {
|
2955
|
-
onUpdate?: string | undefined;
|
2956
|
-
onDelete?: string | undefined;
|
2957
|
-
name: string;
|
2958
|
-
tableFrom: string;
|
2959
|
-
columnsFrom: string[];
|
2960
|
-
tableTo: string;
|
2961
|
-
columnsTo: string[];
|
2962
|
-
}>;
|
2963
|
-
compositePrimaryKeys: Record<string, {
|
2964
|
-
name?: string | undefined;
|
2965
|
-
columns: string[];
|
2966
|
-
}>;
|
2967
|
-
}>;
|
2968
|
-
enums: {};
|
2969
|
-
}>, import("zod").ZodObject<import("zod").extendShape<{
|
2970
|
-
version: import("zod").ZodLiteral<"5">;
|
2971
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
2972
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2973
|
-
name: import("zod").ZodString;
|
2974
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2975
|
-
name: import("zod").ZodString;
|
2976
|
-
type: import("zod").ZodString;
|
2977
|
-
primaryKey: import("zod").ZodBoolean;
|
2978
|
-
notNull: import("zod").ZodBoolean;
|
2979
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
2980
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
2981
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2982
|
-
default?: any;
|
2983
|
-
autoincrement?: boolean | undefined;
|
2984
|
-
name: string;
|
2985
|
-
type: string;
|
2986
|
-
primaryKey: boolean;
|
2987
|
-
notNull: boolean;
|
2988
|
-
}, {
|
2989
|
-
default?: any;
|
2990
|
-
autoincrement?: boolean | undefined;
|
2991
|
-
name: string;
|
2992
|
-
type: string;
|
2993
|
-
primaryKey: boolean;
|
2994
|
-
notNull: boolean;
|
2995
|
-
}>>;
|
2996
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2997
|
-
name: import("zod").ZodString;
|
2998
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2999
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
3000
|
-
isUnique: import("zod").ZodBoolean;
|
3001
|
-
}, "strict", import("zod").ZodTypeAny, {
|
3002
|
-
where?: string | undefined;
|
3003
|
-
name: string;
|
3004
|
-
columns: string[];
|
3005
|
-
isUnique: boolean;
|
3006
|
-
}, {
|
3007
|
-
where?: string | undefined;
|
3008
|
-
name: string;
|
3009
|
-
columns: string[];
|
3010
|
-
isUnique: boolean;
|
3011
|
-
}>>;
|
3012
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
3013
|
-
name: import("zod").ZodString;
|
3014
|
-
tableFrom: import("zod").ZodString;
|
3015
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3016
|
-
tableTo: import("zod").ZodString;
|
3017
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3018
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
3019
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
3020
|
-
}, "strict", import("zod").ZodTypeAny, {
|
3021
|
-
onUpdate?: string | undefined;
|
3022
|
-
onDelete?: string | undefined;
|
3023
|
-
name: string;
|
3024
|
-
tableFrom: string;
|
3025
|
-
columnsFrom: string[];
|
3026
|
-
tableTo: string;
|
3027
|
-
columnsTo: string[];
|
3028
|
-
}, {
|
3029
|
-
onUpdate?: string | undefined;
|
3030
|
-
onDelete?: string | undefined;
|
3031
|
-
name: string;
|
3032
|
-
tableFrom: string;
|
3033
|
-
columnsFrom: string[];
|
3034
|
-
tableTo: string;
|
3035
|
-
columnsTo: string[];
|
3036
|
-
}>>;
|
3037
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
3038
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3039
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
3040
|
-
}, "strict", import("zod").ZodTypeAny, {
|
3041
|
-
name?: string | undefined;
|
3042
|
-
columns: string[];
|
3043
|
-
}, {
|
3044
|
-
name?: string | undefined;
|
3045
|
-
columns: string[];
|
3046
|
-
}>>;
|
3047
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
3048
|
-
name: import("zod").ZodString;
|
3049
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3050
|
-
}, "strict", import("zod").ZodTypeAny, {
|
3051
|
-
name: string;
|
3052
|
-
columns: string[];
|
3053
|
-
}, {
|
3054
|
-
name: string;
|
3055
|
-
columns: string[];
|
3056
|
-
}>>>;
|
3057
|
-
}, "strict", import("zod").ZodTypeAny, {
|
3058
|
-
name: string;
|
3059
|
-
columns: Record<string, {
|
3060
|
-
default?: any;
|
3061
|
-
autoincrement?: boolean | undefined;
|
3062
|
-
name: string;
|
3063
|
-
type: string;
|
3064
|
-
primaryKey: boolean;
|
3065
|
-
notNull: boolean;
|
3066
|
-
}>;
|
3067
|
-
indexes: Record<string, {
|
3068
|
-
where?: string | undefined;
|
3069
|
-
name: string;
|
3070
|
-
columns: string[];
|
3071
|
-
isUnique: boolean;
|
3072
|
-
}>;
|
3073
|
-
foreignKeys: Record<string, {
|
3074
|
-
onUpdate?: string | undefined;
|
3075
|
-
onDelete?: string | undefined;
|
3076
|
-
name: string;
|
3077
|
-
tableFrom: string;
|
3078
|
-
columnsFrom: string[];
|
3079
|
-
tableTo: string;
|
3080
|
-
columnsTo: string[];
|
3081
|
-
}>;
|
3082
|
-
compositePrimaryKeys: Record<string, {
|
3083
|
-
name?: string | undefined;
|
3084
|
-
columns: string[];
|
3085
|
-
}>;
|
3086
|
-
uniqueConstraints: Record<string, {
|
3087
|
-
name: string;
|
3088
|
-
columns: string[];
|
3089
|
-
}>;
|
3090
|
-
}, {
|
3091
|
-
uniqueConstraints?: Record<string, {
|
3092
|
-
name: string;
|
3093
|
-
columns: string[];
|
3094
|
-
}> | undefined;
|
3095
|
-
name: string;
|
3096
|
-
columns: Record<string, {
|
3097
|
-
default?: any;
|
3098
|
-
autoincrement?: boolean | undefined;
|
3099
|
-
name: string;
|
3100
|
-
type: string;
|
3101
|
-
primaryKey: boolean;
|
3102
|
-
notNull: boolean;
|
3103
|
-
}>;
|
3104
|
-
indexes: Record<string, {
|
3105
|
-
where?: string | undefined;
|
3106
|
-
name: string;
|
3107
|
-
columns: string[];
|
3108
|
-
isUnique: boolean;
|
3109
|
-
}>;
|
3110
|
-
foreignKeys: Record<string, {
|
3111
|
-
onUpdate?: string | undefined;
|
3112
|
-
onDelete?: string | undefined;
|
3113
|
-
name: string;
|
3114
|
-
tableFrom: string;
|
3115
|
-
columnsFrom: string[];
|
3116
|
-
tableTo: string;
|
3117
|
-
columnsTo: string[];
|
3118
|
-
}>;
|
3119
|
-
compositePrimaryKeys: Record<string, {
|
3120
|
-
name?: string | undefined;
|
3121
|
-
columns: string[];
|
3122
|
-
}>;
|
3123
|
-
}>>;
|
3124
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
3125
|
-
_meta: import("zod").ZodObject<{
|
3126
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
3127
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
3128
|
-
}, "strip", import("zod").ZodTypeAny, {
|
3129
|
-
columns: Record<string, string>;
|
3130
|
-
tables: Record<string, string>;
|
3131
|
-
}, {
|
3132
|
-
columns: Record<string, string>;
|
3133
|
-
tables: Record<string, string>;
|
3134
|
-
}>;
|
3135
|
-
}, {
|
3136
|
-
id: import("zod").ZodString;
|
3137
|
-
prevId: import("zod").ZodString;
|
3138
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
3139
|
-
id: string;
|
3140
|
-
prevId: string;
|
3141
|
-
version: "5";
|
3142
|
-
dialect: "sqlite";
|
3143
|
-
tables: Record<string, {
|
3144
|
-
name: string;
|
3145
|
-
columns: Record<string, {
|
3146
|
-
default?: any;
|
3147
|
-
autoincrement?: boolean | undefined;
|
3148
|
-
name: string;
|
3149
|
-
type: string;
|
3150
|
-
primaryKey: boolean;
|
3151
|
-
notNull: boolean;
|
3152
|
-
}>;
|
3153
|
-
indexes: Record<string, {
|
3154
|
-
where?: string | undefined;
|
3155
|
-
name: string;
|
3156
|
-
columns: string[];
|
3157
|
-
isUnique: boolean;
|
3158
|
-
}>;
|
3159
|
-
foreignKeys: Record<string, {
|
3160
|
-
onUpdate?: string | undefined;
|
3161
|
-
onDelete?: string | undefined;
|
3162
|
-
name: string;
|
3163
|
-
tableFrom: string;
|
3164
|
-
columnsFrom: string[];
|
3165
|
-
tableTo: string;
|
3166
|
-
columnsTo: string[];
|
3167
|
-
}>;
|
3168
|
-
compositePrimaryKeys: Record<string, {
|
3169
|
-
name?: string | undefined;
|
3170
|
-
columns: string[];
|
3171
|
-
}>;
|
3172
|
-
uniqueConstraints: Record<string, {
|
3173
|
-
name: string;
|
3174
|
-
columns: string[];
|
3175
|
-
}>;
|
3176
|
-
}>;
|
3177
|
-
_meta: {
|
3178
|
-
columns: Record<string, string>;
|
3179
|
-
tables: Record<string, string>;
|
3180
|
-
};
|
3181
|
-
enums: {};
|
3182
|
-
}, {
|
3183
|
-
id: string;
|
3184
|
-
prevId: string;
|
3185
|
-
version: "5";
|
3186
|
-
dialect: "sqlite";
|
3187
|
-
tables: Record<string, {
|
3188
|
-
uniqueConstraints?: Record<string, {
|
3189
|
-
name: string;
|
3190
|
-
columns: string[];
|
3191
|
-
}> | undefined;
|
3192
|
-
name: string;
|
3193
|
-
columns: Record<string, {
|
3194
|
-
default?: any;
|
3195
|
-
autoincrement?: boolean | undefined;
|
3196
|
-
name: string;
|
3197
|
-
type: string;
|
3198
|
-
primaryKey: boolean;
|
3199
|
-
notNull: boolean;
|
3200
|
-
}>;
|
3201
|
-
indexes: Record<string, {
|
3202
|
-
where?: string | undefined;
|
3203
|
-
name: string;
|
3204
|
-
columns: string[];
|
3205
|
-
isUnique: boolean;
|
3206
|
-
}>;
|
3207
|
-
foreignKeys: Record<string, {
|
3208
|
-
onUpdate?: string | undefined;
|
3209
|
-
onDelete?: string | undefined;
|
3210
|
-
name: string;
|
3211
|
-
tableFrom: string;
|
3212
|
-
columnsFrom: string[];
|
3213
|
-
tableTo: string;
|
3214
|
-
columnsTo: string[];
|
3215
|
-
}>;
|
3216
|
-
compositePrimaryKeys: Record<string, {
|
3217
|
-
name?: string | undefined;
|
3218
|
-
columns: string[];
|
3219
|
-
}>;
|
3220
|
-
}>;
|
3221
|
-
_meta: {
|
3222
|
-
columns: Record<string, string>;
|
3223
|
-
tables: Record<string, string>;
|
3224
|
-
};
|
3225
|
-
enums: {};
|
3226
|
-
}>]>;
|
2800
|
+
}>;
|
3227
2801
|
export {};
|