drizzle-kit 0.22.6 → 0.22.7-1a36885

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ConnectionOptions } from 'tls';
2
2
 
3
+ type Prefix = "index" | "timestamp" | "supabase" | "unix" | "none";
3
4
  type Driver = "turso" | "d1-http" | "expo" | "aws-data-api";
4
5
 
5
6
  type Dialect = "postgresql" | "mysql" | "sqlite";
@@ -121,6 +122,7 @@ type Config = {
121
122
  migrations?: {
122
123
  table?: string;
123
124
  schema?: string;
125
+ namePrefix?: Prefix;
124
126
  };
125
127
  introspect?: {
126
128
  casing: "camel" | "preserve";
package/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ConnectionOptions } from 'tls';
2
2
 
3
+ type Prefix = "index" | "timestamp" | "supabase" | "unix" | "none";
3
4
  type Driver = "turso" | "d1-http" | "expo" | "aws-data-api";
4
5
 
5
6
  type Dialect = "postgresql" | "mysql" | "sqlite";
@@ -121,6 +122,7 @@ type Config = {
121
122
  migrations?: {
122
123
  table?: string;
123
124
  schema?: string;
125
+ namePrefix?: Prefix;
124
126
  };
125
127
  introspect?: {
126
128
  casing: "camel" | "preserve";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.22.6",
3
+ "version": "0.22.7-1a36885",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
package/payload.d.mts CHANGED
@@ -818,14 +818,14 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
818
818
  isUnique: boolean;
819
819
  using?: "btree" | "hash" | undefined;
820
820
  algorithm?: "default" | "inplace" | "copy" | undefined;
821
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
821
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
822
822
  }, {
823
823
  name: string;
824
824
  columns: string[];
825
825
  isUnique: boolean;
826
826
  using?: "btree" | "hash" | undefined;
827
827
  algorithm?: "default" | "inplace" | "copy" | undefined;
828
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
828
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
829
829
  }>>;
830
830
  foreignKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
831
831
  name: zod.ZodString;
@@ -889,7 +889,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
889
889
  isUnique: boolean;
890
890
  using?: "btree" | "hash" | undefined;
891
891
  algorithm?: "default" | "inplace" | "copy" | undefined;
892
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
892
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
893
893
  }>;
894
894
  foreignKeys: Record<string, {
895
895
  name: string;
@@ -925,7 +925,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
925
925
  isUnique: boolean;
926
926
  using?: "btree" | "hash" | undefined;
927
927
  algorithm?: "default" | "inplace" | "copy" | undefined;
928
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
928
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
929
929
  }>;
930
930
  foreignKeys: Record<string, {
931
931
  name: string;
@@ -1034,7 +1034,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1034
1034
  isUnique: boolean;
1035
1035
  using?: "btree" | "hash" | undefined;
1036
1036
  algorithm?: "default" | "inplace" | "copy" | undefined;
1037
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
1037
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1038
1038
  }>;
1039
1039
  foreignKeys: Record<string, {
1040
1040
  name: string;
@@ -1092,7 +1092,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1092
1092
  isUnique: boolean;
1093
1093
  using?: "btree" | "hash" | undefined;
1094
1094
  algorithm?: "default" | "inplace" | "copy" | undefined;
1095
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
1095
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1096
1096
  }>;
1097
1097
  foreignKeys: Record<string, {
1098
1098
  name: string;
package/payload.d.ts CHANGED
@@ -818,14 +818,14 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
818
818
  isUnique: boolean;
819
819
  using?: "btree" | "hash" | undefined;
820
820
  algorithm?: "default" | "inplace" | "copy" | undefined;
821
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
821
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
822
822
  }, {
823
823
  name: string;
824
824
  columns: string[];
825
825
  isUnique: boolean;
826
826
  using?: "btree" | "hash" | undefined;
827
827
  algorithm?: "default" | "inplace" | "copy" | undefined;
828
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
828
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
829
829
  }>>;
830
830
  foreignKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
831
831
  name: zod.ZodString;
@@ -889,7 +889,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
889
889
  isUnique: boolean;
890
890
  using?: "btree" | "hash" | undefined;
891
891
  algorithm?: "default" | "inplace" | "copy" | undefined;
892
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
892
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
893
893
  }>;
894
894
  foreignKeys: Record<string, {
895
895
  name: string;
@@ -925,7 +925,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
925
925
  isUnique: boolean;
926
926
  using?: "btree" | "hash" | undefined;
927
927
  algorithm?: "default" | "inplace" | "copy" | undefined;
928
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
928
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
929
929
  }>;
930
930
  foreignKeys: Record<string, {
931
931
  name: string;
@@ -1034,7 +1034,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1034
1034
  isUnique: boolean;
1035
1035
  using?: "btree" | "hash" | undefined;
1036
1036
  algorithm?: "default" | "inplace" | "copy" | undefined;
1037
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
1037
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1038
1038
  }>;
1039
1039
  foreignKeys: Record<string, {
1040
1040
  name: string;
@@ -1092,7 +1092,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1092
1092
  isUnique: boolean;
1093
1093
  using?: "btree" | "hash" | undefined;
1094
1094
  algorithm?: "default" | "inplace" | "copy" | undefined;
1095
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
1095
+ lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1096
1096
  }>;
1097
1097
  foreignKeys: Record<string, {
1098
1098
  name: string;