drizzle-kit 0.24.1-781dea0 → 0.24.1-edf2ac4

Sign up to get free protection for your applications and to get access to all the features.
package/api.js CHANGED
@@ -15865,7 +15865,7 @@ var init_schemaValidator = __esm({
15865
15865
  });
15866
15866
 
15867
15867
  // src/cli/validations/common.ts
15868
- var sqliteDriversLiterals, prefixes, prefix, sqliteDriver, postgresDriver, driver, configMigrations, configCommonSchema, casing, introspectParams, configIntrospectCliSchema, configGenerateSchema, configPushSchema;
15868
+ var sqliteDriversLiterals, postgresqlDriversLiterals, prefixes, prefix, sqliteDriver, postgresDriver, driver, configMigrations, configCommonSchema, casing, introspectParams, configIntrospectCliSchema, configGenerateSchema, configPushSchema;
15869
15869
  var init_common = __esm({
15870
15870
  "src/cli/validations/common.ts"() {
15871
15871
  "use strict";
@@ -15877,6 +15877,10 @@ var init_common = __esm({
15877
15877
  literalType("d1-http"),
15878
15878
  literalType("expo")
15879
15879
  ];
15880
+ postgresqlDriversLiterals = [
15881
+ literalType("aws-data-api"),
15882
+ literalType("pglite")
15883
+ ];
15880
15884
  prefixes = [
15881
15885
  "index",
15882
15886
  "timestamp",
@@ -15889,7 +15893,7 @@ var init_common = __esm({
15889
15893
  const _2 = "";
15890
15894
  }
15891
15895
  sqliteDriver = unionType(sqliteDriversLiterals);
15892
- postgresDriver = literalType("aws-data-api");
15896
+ postgresDriver = unionType(postgresqlDriversLiterals);
15893
15897
  driver = unionType([sqliteDriver, postgresDriver]);
15894
15898
  configMigrations = objectType({
15895
15899
  table: stringType().optional(),
@@ -34028,6 +34032,10 @@ var init_postgres = __esm({
34028
34032
  database: stringType().min(1),
34029
34033
  secretArn: stringType().min(1),
34030
34034
  resourceArn: stringType().min(1)
34035
+ }),
34036
+ objectType({
34037
+ driver: literalType("pglite"),
34038
+ url: stringType().min(1)
34031
34039
  })
34032
34040
  ]);
34033
34041
  }
package/api.mjs CHANGED
@@ -15870,7 +15870,7 @@ var init_schemaValidator = __esm({
15870
15870
  });
15871
15871
 
15872
15872
  // src/cli/validations/common.ts
15873
- var sqliteDriversLiterals, prefixes, prefix, sqliteDriver, postgresDriver, driver, configMigrations, configCommonSchema, casing, introspectParams, configIntrospectCliSchema, configGenerateSchema, configPushSchema;
15873
+ var sqliteDriversLiterals, postgresqlDriversLiterals, prefixes, prefix, sqliteDriver, postgresDriver, driver, configMigrations, configCommonSchema, casing, introspectParams, configIntrospectCliSchema, configGenerateSchema, configPushSchema;
15874
15874
  var init_common = __esm({
15875
15875
  "src/cli/validations/common.ts"() {
15876
15876
  "use strict";
@@ -15882,6 +15882,10 @@ var init_common = __esm({
15882
15882
  literalType("d1-http"),
15883
15883
  literalType("expo")
15884
15884
  ];
15885
+ postgresqlDriversLiterals = [
15886
+ literalType("aws-data-api"),
15887
+ literalType("pglite")
15888
+ ];
15885
15889
  prefixes = [
15886
15890
  "index",
15887
15891
  "timestamp",
@@ -15894,7 +15898,7 @@ var init_common = __esm({
15894
15898
  const _2 = "";
15895
15899
  }
15896
15900
  sqliteDriver = unionType(sqliteDriversLiterals);
15897
- postgresDriver = literalType("aws-data-api");
15901
+ postgresDriver = unionType(postgresqlDriversLiterals);
15898
15902
  driver = unionType([sqliteDriver, postgresDriver]);
15899
15903
  configMigrations = objectType({
15900
15904
  table: stringType().optional(),
@@ -34033,6 +34037,10 @@ var init_postgres = __esm({
34033
34037
  database: stringType().min(1),
34034
34038
  secretArn: stringType().min(1),
34035
34039
  resourceArn: stringType().min(1)
34040
+ }),
34041
+ objectType({
34042
+ driver: literalType("pglite"),
34043
+ url: stringType().min(1)
34036
34044
  })
34037
34045
  ]);
34038
34046
  }