drizzle-kit 0.20.0-3aac705 → 0.20.0-50d6b73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/migrate.d.ts +1 -1
- package/cli/commands/pgConnect.d.ts +5 -0
- package/cli/commands/pgIntrospect.d.ts +2 -5
- package/cli/commands/sqliteIntrospect.d.ts +3 -3
- package/cli/commands/utils.d.ts +2 -2
- package/cli/views.d.ts +2 -2
- package/index.cjs +6117 -6095
- package/package.json +1 -1
- package/serializer/index.d.ts +4 -4
- package/serializer/pgSchema.d.ts +16 -16
- package/serializer/pgSerializer.d.ts +3 -3
- package/serializer/sqliteSerializer.d.ts +3 -3
- package/sqlite-introspect.d.ts +2 -2
- package/utils-studio.d.ts +4 -0
- package/utils-studio.js +3325 -0
- package/utils.d.ts +211 -12
- package/utils.js +5905 -5896
- package/loader.mjs +0 -57
- package/utilsR.d.ts +0 -232
|
@@ -3,7 +3,7 @@ import { schema } from "../views";
|
|
|
3
3
|
import { PgSchema } from "src/serializer/pgSchema";
|
|
4
4
|
import { SQLiteSchema } from "src/serializer/sqliteSchema";
|
|
5
5
|
import { MySqlSchema } from "src/serializer/mysqlSchema";
|
|
6
|
-
import { Journal } from "src/
|
|
6
|
+
import { Journal } from "src/utils";
|
|
7
7
|
import { GenerateConfig } from "./utils";
|
|
8
8
|
export type Named = {
|
|
9
9
|
name: string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { PgConfigIntrospect
|
|
2
|
-
import { DrizzleDbClient
|
|
3
|
-
export declare const connectToPg: (config: PgConnectionConfig) => Promise<{
|
|
4
|
-
client: PgPostgres;
|
|
5
|
-
}>;
|
|
1
|
+
import type { PgConfigIntrospect } from "../validations/pg";
|
|
2
|
+
import type { DrizzleDbClient } from "src/drivers";
|
|
6
3
|
export declare const pgPushIntrospect: (connection: {
|
|
7
4
|
client: DrizzleDbClient;
|
|
8
5
|
}, filters: string[], schemaFilters: string[]) => Promise<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SQLiteCliConfig, SQLiteConnectionConfig } from "./sqliteUtils";
|
|
2
|
-
import {
|
|
1
|
+
import type { SQLiteCliConfig, SQLiteConnectionConfig } from "./sqliteUtils";
|
|
2
|
+
import type { DrizzleDbClient } from "../../drivers";
|
|
3
3
|
export declare const connectToSQLite: (config: SQLiteConnectionConfig) => Promise<{
|
|
4
|
-
client: BetterSqlite;
|
|
4
|
+
client: import("../../drivers").BetterSqlite;
|
|
5
5
|
} | {
|
|
6
6
|
client?: undefined;
|
|
7
7
|
}>;
|
package/cli/commands/utils.d.ts
CHANGED
package/cli/views.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Prompt, TaskView } from "hanji";
|
|
2
|
-
import { CommonSchema } from "src/schemaValidator";
|
|
3
|
-
import { Named } from "./commands/migrate";
|
|
2
|
+
import type { CommonSchema } from "src/schemaValidator";
|
|
3
|
+
import type { Named } from "./commands/migrate";
|
|
4
4
|
export declare const warning: (msg: string) => void;
|
|
5
5
|
export declare const err: (msg: string) => void;
|
|
6
6
|
export declare const info: (msg: string, greyMsg?: string) => string;
|