drizzle-kit 0.20.14-5df59eb → 0.20.14-95be75d

Sign up to get free protection for your applications and to get access to all the features.
package/payload.d.mts DELETED
@@ -1,33 +0,0 @@
1
- import { PgDatabase } from "drizzle-orm/pg-core";
2
- import { PgSchema as PgSchemaKit } from "./serializer/pgSchema";
3
- import { SQLiteSchema as SQLiteSchemaKit } from "./serializer/sqliteSchema";
4
- import { MySqlSchema as MySQLSchemaKit } from "./serializer/mysqlSchema";
5
- import { MySql2Database } from "drizzle-orm/mysql2";
6
- import { BetterSQLite3Database } from "drizzle-orm/better-sqlite3";
7
- export type DrizzleSnapshotJSON = PgSchemaKit;
8
- export type DrizzleSQLiteSnapshotJSON = SQLiteSchemaKit;
9
- export type DrizzleMySQLSnapshotJSON = MySQLSchemaKit;
10
- export declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => PgSchemaKit;
11
- export declare const generateMigration: (prev: DrizzleSnapshotJSON, cur: DrizzleSnapshotJSON) => Promise<string[]>;
12
- export declare const pushSchema: (imports: Record<string, unknown>, db: PgDatabase<any>) => Promise<{
13
- hasDataLoss: boolean;
14
- warnings: string[];
15
- statementsToExecute: string[];
16
- apply: () => Promise<void>;
17
- }>;
18
- export declare const generateSQLiteDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<SQLiteSchemaKit>;
19
- export declare const generateSQLiteMigration: (prev: DrizzleSQLiteSnapshotJSON, cur: DrizzleSQLiteSnapshotJSON) => Promise<string[]>;
20
- export declare const pushSQLiteSchema: (imports: Record<string, unknown>, db: BetterSQLite3Database<any>) => Promise<{
21
- hasDataLoss: boolean;
22
- warnings: string[];
23
- statementsToExecute: string[];
24
- apply: () => Promise<void>;
25
- }>;
26
- export declare const generateMySQLDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<MySQLSchemaKit>;
27
- export declare const generateMySQLMigration: (prev: DrizzleMySQLSnapshotJSON, cur: DrizzleMySQLSnapshotJSON) => Promise<string[]>;
28
- export declare const pushMySQLSchema: (imports: Record<string, unknown>, db: MySql2Database<any>, databaseName: string) => Promise<{
29
- hasDataLoss: boolean;
30
- warnings: string[];
31
- statementsToExecute: string[];
32
- apply: () => Promise<void>;
33
- }>;
package/payload.d.ts DELETED
@@ -1,33 +0,0 @@
1
- import { PgDatabase } from "drizzle-orm/pg-core";
2
- import { PgSchema as PgSchemaKit } from "./serializer/pgSchema";
3
- import { SQLiteSchema as SQLiteSchemaKit } from "./serializer/sqliteSchema";
4
- import { MySqlSchema as MySQLSchemaKit } from "./serializer/mysqlSchema";
5
- import { MySql2Database } from "drizzle-orm/mysql2";
6
- import { BetterSQLite3Database } from "drizzle-orm/better-sqlite3";
7
- export type DrizzleSnapshotJSON = PgSchemaKit;
8
- export type DrizzleSQLiteSnapshotJSON = SQLiteSchemaKit;
9
- export type DrizzleMySQLSnapshotJSON = MySQLSchemaKit;
10
- export declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => PgSchemaKit;
11
- export declare const generateMigration: (prev: DrizzleSnapshotJSON, cur: DrizzleSnapshotJSON) => Promise<string[]>;
12
- export declare const pushSchema: (imports: Record<string, unknown>, db: PgDatabase<any>) => Promise<{
13
- hasDataLoss: boolean;
14
- warnings: string[];
15
- statementsToExecute: string[];
16
- apply: () => Promise<void>;
17
- }>;
18
- export declare const generateSQLiteDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<SQLiteSchemaKit>;
19
- export declare const generateSQLiteMigration: (prev: DrizzleSQLiteSnapshotJSON, cur: DrizzleSQLiteSnapshotJSON) => Promise<string[]>;
20
- export declare const pushSQLiteSchema: (imports: Record<string, unknown>, db: BetterSQLite3Database<any>) => Promise<{
21
- hasDataLoss: boolean;
22
- warnings: string[];
23
- statementsToExecute: string[];
24
- apply: () => Promise<void>;
25
- }>;
26
- export declare const generateMySQLDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<MySQLSchemaKit>;
27
- export declare const generateMySQLMigration: (prev: DrizzleMySQLSnapshotJSON, cur: DrizzleMySQLSnapshotJSON) => Promise<string[]>;
28
- export declare const pushMySQLSchema: (imports: Record<string, unknown>, db: MySql2Database<any>, databaseName: string) => Promise<{
29
- hasDataLoss: boolean;
30
- warnings: string[];
31
- statementsToExecute: string[];
32
- apply: () => Promise<void>;
33
- }>;