drizzle-kit 0.27.2 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
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 './common-DYjgLS6u.mjs';
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 './common-DYjgLS6u.js';
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[];