drizzle-kit 0.20.17-4e262b7 → 0.20.17-7776aba
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +22248 -23435
- package/cli/commands/migrate.d.ts +135 -152
- package/cli/commands/mysqlIntrospect.d.ts +79 -15
- package/cli/commands/mysqlPushUtils.d.ts +8 -4
- package/cli/commands/mysqlUp.d.ts +4 -0
- package/cli/commands/pgConnect.d.ts +5 -0
- package/cli/commands/pgIntrospect.d.ts +76 -12
- package/cli/commands/pgPushUtils.d.ts +6 -3
- package/cli/commands/pgUp.d.ts +4 -0
- package/cli/commands/sqliteIntrospect.d.ts +29 -26
- package/cli/commands/sqlitePushUtils.d.ts +10 -4
- package/cli/commands/sqliteUtils.d.ts +162 -0
- package/cli/commands/upFolders.d.ts +27 -0
- package/cli/commands/utils.d.ts +255 -39
- package/cli/validations/common.d.ts +7 -208
- package/cli/validations/mysql.d.ts +337 -7
- package/cli/validations/outputs.d.ts +0 -1
- package/cli/validations/pg.d.ts +405 -4
- package/cli/views.d.ts +5 -7
- package/drivers/index.d.ts +39 -0
- package/global.d.ts +1 -3
- package/index.d.mts +6 -8
- package/index.d.ts +6 -8
- package/index.js +0 -1
- package/introspect-mysql.d.ts +9 -0
- package/introspect-pg.d.ts +12 -0
- package/introspect-sqlite.d.ts +2 -2
- package/jsonDiffer.d.ts +29 -14
- package/jsonStatements.d.ts +11 -38
- package/package.json +52 -24
- package/payload.d.mts +5 -5
- package/payload.d.ts +5 -5
- package/payload.js +24222 -26044
- package/payload.mjs +19956 -21767
- package/schemaValidator.d.ts +286 -289
- package/serializer/mysqlImports.d.ts +7 -3
- package/serializer/mysqlSchema.d.ts +1323 -2454
- package/serializer/mysqlSerializer.d.ts +6 -6
- package/serializer/pgImports.d.ts +2 -2
- package/serializer/pgSchema.d.ts +1283 -1742
- package/serializer/pgSerializer.d.ts +2 -2
- package/serializer/sqliteImports.d.ts +4 -2
- package/serializer/sqliteSchema.d.ts +979 -553
- package/serializer/sqliteSerializer.d.ts +4 -4
- package/snapshotsDiffer.d.ts +1209 -2486
- package/utils/words.d.ts +1 -1
- package/utils-studio.d.mts +1 -0
- package/utils-studio.d.ts +1 -0
- package/utils-studio.js +849 -7058
- package/utils-studio.mjs +829 -7035
- package/utils.d.ts +141 -14
- package/utils.js +7161 -4625
- package/utils.mjs +7121 -4585
- package/cli/utils.d.ts +0 -12
- package/cli/validations/cli.d.ts +0 -169
- package/cli/validations/sqlite.d.ts +0 -34
@@ -1,7 +1,11 @@
|
|
1
|
-
import { AnyMySqlTable } from "drizzle-orm/mysql-core";
|
1
|
+
import { AnyMySqlTable, MySqlSchema } from "drizzle-orm/mysql-core";
|
2
2
|
export declare const prepareFromExports: (exports: Record<string, unknown>) => {
|
3
|
-
tables: AnyMySqlTable[];
|
3
|
+
tables: AnyMySqlTable<{}>[];
|
4
|
+
enums: any[];
|
5
|
+
schemas: MySqlSchema<string>[];
|
4
6
|
};
|
5
7
|
export declare const prepareFromMySqlImports: (imports: string[]) => Promise<{
|
6
|
-
tables: AnyMySqlTable[];
|
8
|
+
tables: AnyMySqlTable<{}>[];
|
9
|
+
enums: any[];
|
10
|
+
schemas: MySqlSchema<string>[];
|
7
11
|
}>;
|