drizzle-kit 1.0.0-beta.1-813549e → 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.
@@ -12147,7 +12147,7 @@ declare const snapshotValidator: {
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
@@ -12147,7 +12147,7 @@ declare const snapshotValidator: {
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[];