drizzle-kit 0.27.2 → 0.28.0
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/api.d.mts +3 -2
- package/api.d.ts +3 -2
- package/api.js +262 -200
- package/api.mjs +262 -200
- package/bin.cjs +47741 -47681
- package/index-BfiZoTqG.d.mts +293 -0
- package/index-BfiZoTqG.d.ts +293 -0
- package/index.d.mts +2 -287
- package/index.d.ts +2 -287
- package/package.json +4 -1
- package/utils.js +11 -0
- package/utils.mjs +9 -0
- package/common-DYjgLS6u.d.mts +0 -8
- package/common-DYjgLS6u.d.ts +0 -8
package/api.d.mts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
2
2
|
import { MySql2Database } from 'drizzle-orm/mysql2';
|
3
3
|
import { PgDatabase } from 'drizzle-orm/pg-core';
|
4
|
-
import { C as CasingType } from './
|
4
|
+
import { C as CasingType, a as Config } from './index-BfiZoTqG.mjs';
|
5
5
|
import * as zod from 'zod';
|
6
6
|
import { TypeOf } from 'zod';
|
7
|
+
import 'tls';
|
7
8
|
|
8
9
|
declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
9
10
|
version: zod.ZodLiteral<"5">;
|
@@ -2285,7 +2286,7 @@ type DrizzleSQLiteSnapshotJSON = SQLiteSchema;
|
|
2285
2286
|
type DrizzleMySQLSnapshotJSON = MySqlSchema;
|
2286
2287
|
declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => PgSchema;
|
2287
2288
|
declare const generateMigration: (prev: DrizzleSnapshotJSON, cur: DrizzleSnapshotJSON) => Promise<string[]>;
|
2288
|
-
declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, schemaFilters?: string[]) => Promise<{
|
2289
|
+
declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, schemaFilters?: string[], tablesFilter?: string[], extensionsFilters?: Config["extensionsFilters"]) => Promise<{
|
2289
2290
|
hasDataLoss: boolean;
|
2290
2291
|
warnings: string[];
|
2291
2292
|
statementsToExecute: string[];
|
package/api.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
2
2
|
import { MySql2Database } from 'drizzle-orm/mysql2';
|
3
3
|
import { PgDatabase } from 'drizzle-orm/pg-core';
|
4
|
-
import { C as CasingType } from './
|
4
|
+
import { C as CasingType, a as Config } from './index-BfiZoTqG.js';
|
5
5
|
import * as zod from 'zod';
|
6
6
|
import { TypeOf } from 'zod';
|
7
|
+
import 'tls';
|
7
8
|
|
8
9
|
declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
9
10
|
version: zod.ZodLiteral<"5">;
|
@@ -2285,7 +2286,7 @@ type DrizzleSQLiteSnapshotJSON = SQLiteSchema;
|
|
2285
2286
|
type DrizzleMySQLSnapshotJSON = MySqlSchema;
|
2286
2287
|
declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => PgSchema;
|
2287
2288
|
declare const generateMigration: (prev: DrizzleSnapshotJSON, cur: DrizzleSnapshotJSON) => Promise<string[]>;
|
2288
|
-
declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, schemaFilters?: string[]) => Promise<{
|
2289
|
+
declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, schemaFilters?: string[], tablesFilter?: string[], extensionsFilters?: Config["extensionsFilters"]) => Promise<{
|
2289
2290
|
hasDataLoss: boolean;
|
2290
2291
|
warnings: string[];
|
2291
2292
|
statementsToExecute: string[];
|