drizzle-kit 0.20.18-d190692 → 0.20.18
Sign up to get free protection for your applications and to get access to all the features.
- package/@types/utils.d.ts +12 -0
- package/bin.cjs +55769 -103683
- package/cli/commands/migrate.d.ts +270 -0
- package/cli/commands/mysqlIntrospect.d.ts +119 -0
- package/cli/commands/mysqlPushUtils.d.ts +18 -0
- package/cli/commands/mysqlUp.d.ts +4 -0
- package/cli/commands/pgConnect.d.ts +5 -0
- package/cli/commands/pgIntrospect.d.ts +123 -0
- package/cli/commands/pgPushUtils.d.ts +14 -0
- package/cli/commands/pgUp.d.ts +4 -0
- package/cli/commands/sqliteIntrospect.d.ts +107 -0
- package/cli/commands/sqlitePushUtils.d.ts +21 -0
- package/cli/commands/sqliteUtils.d.ts +162 -0
- package/cli/commands/upFolders.d.ts +27 -0
- package/cli/commands/utils.d.ts +274 -0
- package/cli/selector-ui.d.ts +13 -0
- package/cli/validations/common.d.ts +13 -0
- package/cli/validations/mysql.d.ts +365 -0
- package/cli/validations/outputs.d.ts +40 -0
- package/cli/validations/pg.d.ts +438 -0
- package/cli/views.d.ts +61 -0
- package/drivers/index.d.ts +39 -0
- package/global.d.ts +4 -0
- package/index.d.mts +68 -46
- package/index.d.ts +68 -46
- package/index.js +0 -1
- package/introspect-mysql.d.ts +9 -0
- package/introspect-pg.d.ts +12 -0
- package/introspect-sqlite.d.ts +10 -0
- package/jsonDiffer.d.ts +76 -0
- package/jsonStatements.d.ts +349 -0
- package/migrationPreparator.d.ts +35 -0
- package/package.json +64 -31
- package/payload.d.mts +18 -1052
- package/payload.d.ts +18 -1052
- package/payload.js +33563 -19279
- package/payload.mjs +33457 -19180
- package/schemaValidator.d.ts +1313 -0
- package/serializer/index.d.ts +9 -0
- package/serializer/mysqlImports.d.ts +11 -0
- package/serializer/mysqlSchema.d.ts +3833 -0
- package/serializer/mysqlSerializer.d.ts +7 -0
- package/serializer/pgImports.d.ts +11 -0
- package/serializer/pgSchema.d.ts +4333 -0
- package/serializer/pgSerializer.d.ts +7 -0
- package/serializer/schemaToDrizzle.d.ts +7 -0
- package/serializer/sqliteImports.d.ts +9 -0
- package/serializer/sqliteSchema.d.ts +3227 -0
- package/serializer/sqliteSerializer.d.ts +6 -0
- package/snapshotsDiffer.d.ts +2660 -0
- package/sqlgenerator.d.ts +33 -0
- package/utils/words.d.ts +7 -0
- package/utils-studio.d.mts +5 -0
- package/utils-studio.d.ts +5 -0
- package/utils-studio.js +809 -4584
- package/utils-studio.mjs +793 -4565
- package/utils.d.ts +199 -0
- package/utils.js +7165 -4635
- package/utils.mjs +7125 -4595
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { SQLiteSchemaInternal } from "../serializer/sqliteSchema";
|
2
|
+
import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
|
3
|
+
import type { IntrospectStage, IntrospectStatus } from "src/cli/views";
|
4
|
+
import type { DrizzleDbClient } from "src/drivers";
|
5
|
+
export declare const generateSqliteSnapshot: (tables: AnySQLiteTable[], enums: any[]) => SQLiteSchemaInternal;
|
6
|
+
export declare const fromDatabase: (db: DrizzleDbClient, tablesFilter?: (table: string) => boolean, progressCallback?: ((stage: IntrospectStage, count: number, status: IntrospectStatus) => void) | undefined) => Promise<SQLiteSchemaInternal>;
|