@prisma/composer-prisma-cloud 0.9.0-dev.1 → 0.10.0-dev.1

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.
@@ -1001,7 +1001,7 @@ function mintKeyPair() {
1001
1001
  };
1002
1002
  }
1003
1003
  //#endregion
1004
- //#region ../../1-prisma-cloud/1-extensions/target/dist/s3-credentials-resource-BltGd-gG.mjs
1004
+ //#region ../../1-prisma-cloud/1-extensions/target/dist/s3-credentials-resource-vElUxfYi.mjs
1005
1005
  const PRISMA_CLOUD_EXTENSION_ID = "@prisma/composer-prisma-cloud";
1006
1006
  /** Accepts exactly what Alchemy's own `--stage` validation accepts (pinned 2.0.0-beta.59, `Cli/commands/_shared.ts`), rewritten without overlapping quantifiers so it cannot backtrack catastrophically. Asserted before a Branch id is exposed as a stage. */
1007
1007
  const ALCHEMY_STAGE_PATTERN = /^[a-z0-9][-_a-z0-9]*$/i;
@@ -1300,10 +1300,12 @@ const PgWarmProvider = () => Provider.effect(PgWarm, Effect.succeed(pgWarmProvid
1300
1300
  */
1301
1301
  /** Loads the config at `configPath` and resolves the facts the deploy consumes. */
1302
1302
  async function resolvePrismaNextConfig(configPath) {
1303
- const config = await loadConfig(configPath);
1303
+ const loaded = await loadConfig(configPath);
1304
+ if (!loaded.ok) throw loaded.failure;
1305
+ const config = loaded.value.config;
1304
1306
  return {
1305
1307
  migrationsDir: resolve(configPath, "..", config.migrations?.dir ?? "migrations"),
1306
- extensionPacks: config.extensions ?? []
1308
+ extensionPacks: blindCast(config.extensions ?? [])
1307
1309
  };
1308
1310
  }
1309
1311
  /**
@@ -1618,4 +1620,4 @@ const S3CredentialsProvider = () => Provider.effect(S3Credentials, Effect.succee
1618
1620
  //#endregion
1619
1621
  export { packageComputeArtifact as A, ManagementClient as B, Project as C, EnvironmentVariable as D, Deployment as E, drivePagesAsync as F, fromEnv as H, resolveDefaultBranchId as I, PrismaApiError as L, Bucket as M, BucketKey as N, ServiceKey as O, collectPages as P, call as R, Database as S, ComputeService as T, layer as U, PrismaCredentials as V, resolveTargetRef as _, PgWarmProvider as a, providers as b, PrismaCloudContainer as c, collectPreflightNames as d, containerDescriptor as f, resolvePrismaNextConfig as g, prismaCloudContainerOf as h, PgWarm as i, isWithin as j, ServiceKeyProvider as k, S3Credentials as l, packHeadRefHashes as m, GeneratedParamProvider as n, PnMigration as o, deserialize as p, PRISMA_CLOUD_EXTENSION_ID as r, PnMigrationProvider as s, GeneratedParam as t, S3CredentialsProvider as u, mintKeyPair as v, COMPUTE_REGIONS as w, Connection as x, Providers as y, MANAGEMENT_API_ORIGIN as z };
1620
1622
 
1621
- //# sourceMappingURL=s3-credentials-resource-BltGd-gG-BJIY99QX.mjs.map
1623
+ //# sourceMappingURL=s3-credentials-resource-vElUxfYi-Bb7ILl1X.mjs.map