drizzle-kit 0.20.17-a2979a1 → 0.20.17-ab24478
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +34345 -27210
- package/index.d.mts +30 -60
- package/index.d.ts +30 -60
- package/package.json +5 -16
- package/payload.d.mts +1052 -18
- package/payload.d.ts +1052 -18
- package/payload.js +19123 -16808
- package/payload.mjs +19150 -16817
- package/utils-studio.js +41 -20
- package/utils-studio.mjs +41 -20
- package/utils.js +30 -14
- package/utils.mjs +30 -14
- package/@types/utils.d.ts +0 -12
- package/cli/commands/migrate.d.ts +0 -287
- package/cli/commands/mysqlIntrospect.d.ts +0 -50
- package/cli/commands/mysqlPushUtils.d.ts +0 -14
- package/cli/commands/pgIntrospect.d.ts +0 -59
- package/cli/commands/pgPushUtils.d.ts +0 -11
- package/cli/commands/sqliteIntrospect.d.ts +0 -103
- package/cli/commands/sqlitePushUtils.d.ts +0 -15
- package/cli/commands/utils.d.ts +0 -58
- package/cli/connections.d.ts +0 -13
- package/cli/selector-ui.d.ts +0 -13
- package/cli/utils.d.ts +0 -13
- package/cli/validations/cli.d.ts +0 -169
- package/cli/validations/common.d.ts +0 -214
- package/cli/validations/mysql.d.ts +0 -29
- package/cli/validations/outputs.d.ts +0 -42
- package/cli/validations/pg.d.ts +0 -46
- package/cli/validations/sqlite.d.ts +0 -22
- package/cli/views.d.ts +0 -63
- package/global.d.ts +0 -6
- package/introspect-sqlite.d.ts +0 -10
- package/jsonDiffer.d.ts +0 -61
- package/jsonStatements.d.ts +0 -376
- package/migrationPreparator.d.ts +0 -35
- package/schemaValidator.d.ts +0 -1316
- package/serializer/index.d.ts +0 -9
- package/serializer/mysqlImports.d.ts +0 -7
- package/serializer/mysqlSchema.d.ts +0 -4650
- package/serializer/mysqlSerializer.d.ts +0 -7
- package/serializer/pgImports.d.ts +0 -11
- package/serializer/pgSchema.d.ts +0 -4792
- package/serializer/pgSerializer.d.ts +0 -7
- package/serializer/schemaToDrizzle.d.ts +0 -7
- package/serializer/sqliteImports.d.ts +0 -7
- package/serializer/sqliteSchema.d.ts +0 -2801
- package/serializer/sqliteSerializer.d.ts +0 -6
- package/serializer/studio.d.ts +0 -51
- package/snapshotsDiffer.d.ts +0 -3937
- package/sqlgenerator.d.ts +0 -33
- package/utils/words.d.ts +0 -7
- package/utils-studio.d.mts +0 -4
- package/utils-studio.d.ts +0 -4
- package/utils.d.ts +0 -78
package/serializer/index.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { PgSchemaInternal } from "./pgSchema";
|
2
|
-
import type { SQLiteSchemaInternal } from "./sqliteSchema";
|
3
|
-
import type { MySqlSchemaInternal } from "./mysqlSchema";
|
4
|
-
import type { SQL } from "drizzle-orm";
|
5
|
-
export declare const sqlToStr: (sql: SQL) => string;
|
6
|
-
export declare const serializeMySql: (path: string | string[]) => Promise<MySqlSchemaInternal>;
|
7
|
-
export declare const serializePg: (path: string | string[], schemaFilter?: string[]) => Promise<PgSchemaInternal>;
|
8
|
-
export declare const serializeSQLite: (path: string | string[]) => Promise<SQLiteSchemaInternal>;
|
9
|
-
export declare const prepareFilenames: (path: string | string[]) => string[];
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { AnyMySqlTable } from "drizzle-orm/mysql-core";
|
2
|
-
export declare const prepareFromExports: (exports: Record<string, unknown>) => {
|
3
|
-
tables: AnyMySqlTable[];
|
4
|
-
};
|
5
|
-
export declare const prepareFromMySqlImports: (imports: string[]) => Promise<{
|
6
|
-
tables: AnyMySqlTable[];
|
7
|
-
}>;
|