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.
@@ -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/utilsR";
6
+ import { Journal } from "src/utils";
7
7
  import { GenerateConfig } from "./utils";
8
8
  export type Named = {
9
9
  name: string;
@@ -0,0 +1,5 @@
1
+ import type { PgConnectionConfig } from "../validations/pg";
2
+ import { PgPostgres } from "src/drivers";
3
+ export declare const connectToPg: (config: PgConnectionConfig) => Promise<{
4
+ client: PgPostgres;
5
+ }>;
@@ -1,8 +1,5 @@
1
- import { PgConfigIntrospect, PgConnectionConfig } from "../validations/pg";
2
- import { DrizzleDbClient, PgPostgres } from "src/drivers";
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 { BetterSqlite, DrizzleDbClient } from "src/drivers";
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
  }>;
@@ -1,7 +1,7 @@
1
1
  import { TypeOf } from "zod";
2
- export declare const safeRegister: () => {
2
+ export declare const safeRegister: () => Promise<{
3
3
  unregister(): void;
4
- };
4
+ }>;
5
5
  export type GenerateConfig = {
6
6
  schema: string | string[];
7
7
  out: string;
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;