drizzle-kit 0.20.17-7f33638 → 0.20.17-8018c29
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +57946 -11193
- package/index.d.mts +38 -64
- package/index.d.ts +38 -64
- package/package.json +15 -20
- package/payload.d.mts +987 -18
- package/payload.d.ts +987 -18
- package/payload.js +20014 -36130
- package/payload.mjs +19927 -36017
- package/utils-studio.js +207 -2641
- package/utils-studio.mjs +207 -2641
- package/utils.js +32 -26
- package/utils.mjs +32 -26
- package/@types/utils.d.ts +0 -12
- package/cli/commands/migrate.d.ts +0 -287
- package/cli/commands/mysqlIntrospect.d.ts +0 -55
- 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 -104
- package/cli/commands/sqlitePushUtils.d.ts +0 -15
- package/cli/commands/utils.d.ts +0 -58
- package/cli/selector-ui.d.ts +0 -13
- package/cli/utils.d.ts +0 -12
- package/cli/validations/cli.d.ts +0 -169
- package/cli/validations/common.d.ts +0 -214
- package/cli/validations/mysql.d.ts +0 -35
- package/cli/validations/outputs.d.ts +0 -41
- package/cli/validations/pg.d.ts +0 -37
- package/cli/validations/sqlite.d.ts +0 -34
- 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 -4964
- 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/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 -72
package/migrationPreparator.d.ts
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
import { PgSchema, PgSchemaInternal } from "./serializer/pgSchema";
|
2
|
-
import { SQLiteSchema } from "./serializer/sqliteSchema";
|
3
|
-
import { MySqlSchema } from "./serializer/mysqlSchema";
|
4
|
-
export declare const prepareMySqlDbPushSnapshot: (prev: MySqlSchema, schemaPath: string | string[]) => Promise<{
|
5
|
-
prev: MySqlSchema;
|
6
|
-
cur: MySqlSchema;
|
7
|
-
}>;
|
8
|
-
export declare const prepareSQLiteDbPushSnapshot: (prev: SQLiteSchema, schemaPath: string | string[]) => Promise<{
|
9
|
-
prev: SQLiteSchema;
|
10
|
-
cur: SQLiteSchema;
|
11
|
-
}>;
|
12
|
-
export declare const preparePgDbPushSnapshot: (prev: PgSchema, schemaPath: string | string[], schemaFilter?: string[]) => Promise<{
|
13
|
-
prev: PgSchema;
|
14
|
-
cur: PgSchema;
|
15
|
-
}>;
|
16
|
-
export declare const prepareMySqlMigrationSnapshot: (migrationFolders: string[], schemaPath: string | string[]) => Promise<{
|
17
|
-
prev: MySqlSchema;
|
18
|
-
cur: MySqlSchema;
|
19
|
-
custom: MySqlSchema;
|
20
|
-
}>;
|
21
|
-
export declare const prepareSqliteMigrationSnapshot: (snapshots: string[], schemaPath: string | string[]) => Promise<{
|
22
|
-
prev: SQLiteSchema;
|
23
|
-
cur: SQLiteSchema;
|
24
|
-
custom: SQLiteSchema;
|
25
|
-
}>;
|
26
|
-
export declare const fillPgSnapshot: ({ serialized, id, idPrev, }: {
|
27
|
-
serialized: PgSchemaInternal;
|
28
|
-
id: string;
|
29
|
-
idPrev: string;
|
30
|
-
}) => PgSchema;
|
31
|
-
export declare const preparePgMigrationSnapshot: (snapshots: string[], schemaPath: string | string[]) => Promise<{
|
32
|
-
prev: PgSchema;
|
33
|
-
cur: PgSchema;
|
34
|
-
custom: PgSchema;
|
35
|
-
}>;
|