drizzle-kit 1.0.0-beta.1-8c98244 → 1.0.0-beta.1-02522e1

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.
@@ -12120,7 +12120,7 @@ declare const snapshotValidator: {
12120
12120
  version: "8";
12121
12121
  dialect: "postgres";
12122
12122
  id: string;
12123
- prevId: string;
12123
+ prevIds: string[];
12124
12124
  ddl: PostgresEntity[];
12125
12125
  renames: string[];
12126
12126
  };
@@ -12130,7 +12130,7 @@ declare const snapshotValidator: {
12130
12130
  version: "8";
12131
12131
  dialect: "postgres";
12132
12132
  id: string;
12133
- prevId: string;
12133
+ prevIds: string[];
12134
12134
  ddl: PostgresEntity[];
12135
12135
  renames: string[];
12136
12136
  } | null;
@@ -12140,14 +12140,14 @@ declare const snapshotValidator: {
12140
12140
  version: "8";
12141
12141
  dialect: "postgres";
12142
12142
  id: string;
12143
- prevId: string;
12143
+ prevIds: string[];
12144
12144
  ddl: PostgresEntity[];
12145
12145
  renames: string[];
12146
12146
  };
12147
12147
  };
12148
12148
  type PostgresSnapshot = typeof snapshotValidator.shape;
12149
12149
 
12150
- declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => PostgresSnapshot;
12150
+ declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => Promise<PostgresSnapshot>;
12151
12151
  declare const generateMigration: (prev: PostgresSnapshot, cur: PostgresSnapshot) => Promise<string[]>;
12152
12152
  declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, casing?: CasingType, entitiesConfig?: EntitiesFilterConfig) => Promise<{
12153
12153
  sqlStatements: string[];
package/api-postgres.d.ts CHANGED
@@ -12120,7 +12120,7 @@ declare const snapshotValidator: {
12120
12120
  version: "8";
12121
12121
  dialect: "postgres";
12122
12122
  id: string;
12123
- prevId: string;
12123
+ prevIds: string[];
12124
12124
  ddl: PostgresEntity[];
12125
12125
  renames: string[];
12126
12126
  };
@@ -12130,7 +12130,7 @@ declare const snapshotValidator: {
12130
12130
  version: "8";
12131
12131
  dialect: "postgres";
12132
12132
  id: string;
12133
- prevId: string;
12133
+ prevIds: string[];
12134
12134
  ddl: PostgresEntity[];
12135
12135
  renames: string[];
12136
12136
  } | null;
@@ -12140,14 +12140,14 @@ declare const snapshotValidator: {
12140
12140
  version: "8";
12141
12141
  dialect: "postgres";
12142
12142
  id: string;
12143
- prevId: string;
12143
+ prevIds: string[];
12144
12144
  ddl: PostgresEntity[];
12145
12145
  renames: string[];
12146
12146
  };
12147
12147
  };
12148
12148
  type PostgresSnapshot = typeof snapshotValidator.shape;
12149
12149
 
12150
- declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => PostgresSnapshot;
12150
+ declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => Promise<PostgresSnapshot>;
12151
12151
  declare const generateMigration: (prev: PostgresSnapshot, cur: PostgresSnapshot) => Promise<string[]>;
12152
12152
  declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, casing?: CasingType, entitiesConfig?: EntitiesFilterConfig) => Promise<{
12153
12153
  sqlStatements: string[];