@prisma/composer-prisma-cloud 0.9.0 → 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.
- package/dist/auth/pack.mjs +1 -1
- package/dist/auth/pack.mjs.map +1 -1
- package/dist/auth/testing.mjs +1496 -982
- package/dist/auth/testing.mjs.map +1 -1
- package/dist/control.mjs +1 -1
- package/dist/control.mjs.map +1 -1
- package/dist/local-target.mjs +1 -1
- package/dist/local-target.mjs.map +1 -1
- package/dist/{s3-credentials-resource-BltGd-gG-BJIY99QX.mjs → s3-credentials-resource-vElUxfYi-Bb7ILl1X.mjs} +6 -4
- package/dist/{s3-credentials-resource-BltGd-gG-BJIY99QX.mjs.map → s3-credentials-resource-vElUxfYi-Bb7ILl1X.mjs.map} +1 -1
- package/package.json +21 -21
|
@@ -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-
|
|
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
|
|
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-
|
|
1623
|
+
//# sourceMappingURL=s3-credentials-resource-vElUxfYi-Bb7ILl1X.mjs.map
|