drizzle-kit 0.30.4 → 0.30.5
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/api.d.mts +13 -13
- package/api.d.ts +13 -13
- package/api.js +2301 -1984
- package/api.mjs +2301 -1984
- package/bin.cjs +21238 -7264
- package/{index-Z-1TKnbX.d.mts → index-BAUrj6Ib.d.mts} +15 -2
- package/{index-Z-1TKnbX.d.ts → index-BAUrj6Ib.d.ts} +15 -2
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -3
- package/utils.js +469 -209
- package/utils.mjs +469 -209
package/api.d.mts
CHANGED
@@ -2,7 +2,7 @@ import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
2
2
|
import { MySql2Database } from 'drizzle-orm/mysql2';
|
3
3
|
import { PgDatabase } from 'drizzle-orm/pg-core';
|
4
4
|
import { SingleStoreDriverDatabase } from 'drizzle-orm/singlestore';
|
5
|
-
import { C as CasingType, a as Config } from './index-
|
5
|
+
import { C as CasingType, a as Config } from './index-BAUrj6Ib.mjs';
|
6
6
|
import * as zod from 'zod';
|
7
7
|
import { TypeOf } from 'zod';
|
8
8
|
import 'tls';
|
@@ -624,8 +624,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
624
624
|
type: string;
|
625
625
|
primaryKey: boolean;
|
626
626
|
notNull: boolean;
|
627
|
-
isUnique?: any;
|
628
627
|
default?: any;
|
628
|
+
isUnique?: any;
|
629
629
|
generated?: {
|
630
630
|
type: "stored";
|
631
631
|
as: string;
|
@@ -649,8 +649,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
649
649
|
type: string;
|
650
650
|
primaryKey: boolean;
|
651
651
|
notNull: boolean;
|
652
|
-
isUnique?: any;
|
653
652
|
default?: any;
|
653
|
+
isUnique?: any;
|
654
654
|
generated?: {
|
655
655
|
type: "stored";
|
656
656
|
as: string;
|
@@ -822,8 +822,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
822
822
|
type: string;
|
823
823
|
primaryKey: boolean;
|
824
824
|
notNull: boolean;
|
825
|
-
isUnique?: any;
|
826
825
|
default?: any;
|
826
|
+
isUnique?: any;
|
827
827
|
generated?: {
|
828
828
|
type: "stored";
|
829
829
|
as: string;
|
@@ -900,8 +900,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
900
900
|
type: string;
|
901
901
|
primaryKey: boolean;
|
902
902
|
notNull: boolean;
|
903
|
-
isUnique?: any;
|
904
903
|
default?: any;
|
904
|
+
isUnique?: any;
|
905
905
|
generated?: {
|
906
906
|
type: "stored";
|
907
907
|
as: string;
|
@@ -1046,8 +1046,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1046
1046
|
type: string;
|
1047
1047
|
primaryKey: boolean;
|
1048
1048
|
notNull: boolean;
|
1049
|
-
isUnique?: any;
|
1050
1049
|
default?: any;
|
1050
|
+
isUnique?: any;
|
1051
1051
|
generated?: {
|
1052
1052
|
type: "stored";
|
1053
1053
|
as: string;
|
@@ -1071,8 +1071,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1071
1071
|
type: string;
|
1072
1072
|
primaryKey: boolean;
|
1073
1073
|
notNull: boolean;
|
1074
|
-
isUnique?: any;
|
1075
1074
|
default?: any;
|
1075
|
+
isUnique?: any;
|
1076
1076
|
generated?: {
|
1077
1077
|
type: "stored";
|
1078
1078
|
as: string;
|
@@ -1173,8 +1173,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1173
1173
|
type: string;
|
1174
1174
|
primaryKey: boolean;
|
1175
1175
|
notNull: boolean;
|
1176
|
-
isUnique?: any;
|
1177
1176
|
default?: any;
|
1177
|
+
isUnique?: any;
|
1178
1178
|
generated?: {
|
1179
1179
|
type: "stored";
|
1180
1180
|
as: string;
|
@@ -1231,8 +1231,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1231
1231
|
type: string;
|
1232
1232
|
primaryKey: boolean;
|
1233
1233
|
notNull: boolean;
|
1234
|
-
isUnique?: any;
|
1235
1234
|
default?: any;
|
1235
|
+
isUnique?: any;
|
1236
1236
|
generated?: {
|
1237
1237
|
type: "stored";
|
1238
1238
|
as: string;
|
@@ -1431,8 +1431,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1431
1431
|
type: string;
|
1432
1432
|
primaryKey: boolean;
|
1433
1433
|
notNull: boolean;
|
1434
|
-
isUnique?: any;
|
1435
1434
|
default?: any;
|
1435
|
+
isUnique?: any;
|
1436
1436
|
generated?: {
|
1437
1437
|
type: "stored";
|
1438
1438
|
as: string;
|
@@ -1520,8 +1520,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1520
1520
|
type: string;
|
1521
1521
|
primaryKey: boolean;
|
1522
1522
|
notNull: boolean;
|
1523
|
-
isUnique?: any;
|
1524
1523
|
default?: any;
|
1524
|
+
isUnique?: any;
|
1525
1525
|
generated?: {
|
1526
1526
|
type: "stored";
|
1527
1527
|
as: string;
|
@@ -1621,8 +1621,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1621
1621
|
type: string;
|
1622
1622
|
primaryKey: boolean;
|
1623
1623
|
notNull: boolean;
|
1624
|
-
isUnique?: any;
|
1625
1624
|
default?: any;
|
1625
|
+
isUnique?: any;
|
1626
1626
|
generated?: {
|
1627
1627
|
type: "stored";
|
1628
1628
|
as: string;
|
@@ -1725,8 +1725,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1725
1725
|
type: string;
|
1726
1726
|
primaryKey: boolean;
|
1727
1727
|
notNull: boolean;
|
1728
|
-
isUnique?: any;
|
1729
1728
|
default?: any;
|
1729
|
+
isUnique?: any;
|
1730
1730
|
generated?: {
|
1731
1731
|
type: "stored";
|
1732
1732
|
as: string;
|
package/api.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
2
2
|
import { MySql2Database } from 'drizzle-orm/mysql2';
|
3
3
|
import { PgDatabase } from 'drizzle-orm/pg-core';
|
4
4
|
import { SingleStoreDriverDatabase } from 'drizzle-orm/singlestore';
|
5
|
-
import { C as CasingType, a as Config } from './index-
|
5
|
+
import { C as CasingType, a as Config } from './index-BAUrj6Ib.js';
|
6
6
|
import * as zod from 'zod';
|
7
7
|
import { TypeOf } from 'zod';
|
8
8
|
import 'tls';
|
@@ -624,8 +624,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
624
624
|
type: string;
|
625
625
|
primaryKey: boolean;
|
626
626
|
notNull: boolean;
|
627
|
-
isUnique?: any;
|
628
627
|
default?: any;
|
628
|
+
isUnique?: any;
|
629
629
|
generated?: {
|
630
630
|
type: "stored";
|
631
631
|
as: string;
|
@@ -649,8 +649,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
649
649
|
type: string;
|
650
650
|
primaryKey: boolean;
|
651
651
|
notNull: boolean;
|
652
|
-
isUnique?: any;
|
653
652
|
default?: any;
|
653
|
+
isUnique?: any;
|
654
654
|
generated?: {
|
655
655
|
type: "stored";
|
656
656
|
as: string;
|
@@ -822,8 +822,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
822
822
|
type: string;
|
823
823
|
primaryKey: boolean;
|
824
824
|
notNull: boolean;
|
825
|
-
isUnique?: any;
|
826
825
|
default?: any;
|
826
|
+
isUnique?: any;
|
827
827
|
generated?: {
|
828
828
|
type: "stored";
|
829
829
|
as: string;
|
@@ -900,8 +900,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
900
900
|
type: string;
|
901
901
|
primaryKey: boolean;
|
902
902
|
notNull: boolean;
|
903
|
-
isUnique?: any;
|
904
903
|
default?: any;
|
904
|
+
isUnique?: any;
|
905
905
|
generated?: {
|
906
906
|
type: "stored";
|
907
907
|
as: string;
|
@@ -1046,8 +1046,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1046
1046
|
type: string;
|
1047
1047
|
primaryKey: boolean;
|
1048
1048
|
notNull: boolean;
|
1049
|
-
isUnique?: any;
|
1050
1049
|
default?: any;
|
1050
|
+
isUnique?: any;
|
1051
1051
|
generated?: {
|
1052
1052
|
type: "stored";
|
1053
1053
|
as: string;
|
@@ -1071,8 +1071,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1071
1071
|
type: string;
|
1072
1072
|
primaryKey: boolean;
|
1073
1073
|
notNull: boolean;
|
1074
|
-
isUnique?: any;
|
1075
1074
|
default?: any;
|
1075
|
+
isUnique?: any;
|
1076
1076
|
generated?: {
|
1077
1077
|
type: "stored";
|
1078
1078
|
as: string;
|
@@ -1173,8 +1173,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1173
1173
|
type: string;
|
1174
1174
|
primaryKey: boolean;
|
1175
1175
|
notNull: boolean;
|
1176
|
-
isUnique?: any;
|
1177
1176
|
default?: any;
|
1177
|
+
isUnique?: any;
|
1178
1178
|
generated?: {
|
1179
1179
|
type: "stored";
|
1180
1180
|
as: string;
|
@@ -1231,8 +1231,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1231
1231
|
type: string;
|
1232
1232
|
primaryKey: boolean;
|
1233
1233
|
notNull: boolean;
|
1234
|
-
isUnique?: any;
|
1235
1234
|
default?: any;
|
1235
|
+
isUnique?: any;
|
1236
1236
|
generated?: {
|
1237
1237
|
type: "stored";
|
1238
1238
|
as: string;
|
@@ -1431,8 +1431,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1431
1431
|
type: string;
|
1432
1432
|
primaryKey: boolean;
|
1433
1433
|
notNull: boolean;
|
1434
|
-
isUnique?: any;
|
1435
1434
|
default?: any;
|
1435
|
+
isUnique?: any;
|
1436
1436
|
generated?: {
|
1437
1437
|
type: "stored";
|
1438
1438
|
as: string;
|
@@ -1520,8 +1520,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1520
1520
|
type: string;
|
1521
1521
|
primaryKey: boolean;
|
1522
1522
|
notNull: boolean;
|
1523
|
-
isUnique?: any;
|
1524
1523
|
default?: any;
|
1524
|
+
isUnique?: any;
|
1525
1525
|
generated?: {
|
1526
1526
|
type: "stored";
|
1527
1527
|
as: string;
|
@@ -1621,8 +1621,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1621
1621
|
type: string;
|
1622
1622
|
primaryKey: boolean;
|
1623
1623
|
notNull: boolean;
|
1624
|
-
isUnique?: any;
|
1625
1624
|
default?: any;
|
1625
|
+
isUnique?: any;
|
1626
1626
|
generated?: {
|
1627
1627
|
type: "stored";
|
1628
1628
|
as: string;
|
@@ -1725,8 +1725,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1725
1725
|
type: string;
|
1726
1726
|
primaryKey: boolean;
|
1727
1727
|
notNull: boolean;
|
1728
|
-
isUnique?: any;
|
1729
1728
|
default?: any;
|
1729
|
+
isUnique?: any;
|
1730
1730
|
generated?: {
|
1731
1731
|
type: "stored";
|
1732
1732
|
as: string;
|