@prisma/composer-prisma-cloud 0.34.0-dev.7 → 0.35.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 +1 -1
- 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-CeXppCQf-CjkQJ2ik.mjs → s3-credentials-resource-CeXppCQf-BPeK2I6l.mjs} +5 -5
- package/dist/{s3-credentials-resource-CeXppCQf-CjkQJ2ik.mjs.map → s3-credentials-resource-CeXppCQf-BPeK2I6l.mjs.map} +1 -1
- package/package.json +19 -19
|
@@ -27,8 +27,8 @@ import { createPostgresControlClient } from "@prisma/orm-postgres/control";
|
|
|
27
27
|
import { readRef } from "@prisma/orm-toolchain/migration-tools/refs";
|
|
28
28
|
import { APP_SPACE_ID, readContractSpaceHeadRef, spaceMigrationDirectory, spaceRefsDirectory } from "@prisma/orm-toolchain/migration-tools/spaces";
|
|
29
29
|
import pg from "pg";
|
|
30
|
-
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/credentials-
|
|
31
|
-
var version = "0.
|
|
30
|
+
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/credentials-Db0cpucs.mjs
|
|
31
|
+
var version = "0.35.0-dev.1";
|
|
32
32
|
/**
|
|
33
33
|
* The Prisma service token used to authenticate Management API calls. Kept
|
|
34
34
|
* as a Redacted value so it never lands in logs or error output.
|
|
@@ -72,7 +72,7 @@ const deploySourceHeaders = () => ({
|
|
|
72
72
|
*/
|
|
73
73
|
const managementApiBaseUrl = (env) => env !== void 0 ? normalizeBaseUrl(env["PRISMA_API_URL"] || env["PRISMA_MANAGEMENT_API_URL"] || DEFAULT_BASE_URL) : Config$1.String("PRISMA_API_URL").pipe(Config$1.orElse(() => Config$1.String("PRISMA_MANAGEMENT_API_URL")), Config$1.withDefault(DEFAULT_BASE_URL), Effect.flatMap(normalizeBaseUrl));
|
|
74
74
|
//#endregion
|
|
75
|
-
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/container-
|
|
75
|
+
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/container-Cvrn2sGA.mjs
|
|
76
76
|
/**
|
|
77
77
|
* The typed Prisma Management API client, built once from the resolved
|
|
78
78
|
* credentials. Providers yield this in their outer Effect and call it inside
|
|
@@ -304,7 +304,7 @@ const deleteProject = (projectId) => Effect.gen(function* () {
|
|
|
304
304
|
yield* callVoid(() => client.DELETE("/v1/projects/{id}", { params: { path: { id: projectId } } }));
|
|
305
305
|
});
|
|
306
306
|
//#endregion
|
|
307
|
-
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/database-url-claim-
|
|
307
|
+
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/database-url-claim-DcTUCjuA.mjs
|
|
308
308
|
/**
|
|
309
309
|
* Claims the platform's `DATABASE_URL` / `DATABASE_URL_POOLED` variables for
|
|
310
310
|
* the app's project with the placeholder `"-"`, before the platform can seed
|
|
@@ -1211,4 +1211,4 @@ const S3CredentialsProvider = () => Provider.effect(S3Credentials, Effect.succee
|
|
|
1211
1211
|
//#endregion
|
|
1212
1212
|
export { ManagementClient as A, providers as C, isWithin as D, appAfterEnvironment as E, layer as F, resolveDefaultBranchId as I, PrismaCredentials as L, call as M, collectPages as N, RESERVED_DATABASE_URL_KEYS as O, drivePagesAsync as P, fromEnv as R, Providers as S, ServiceKeyProvider as T, resolveOrmConfig as _, OrmMigrationProvider as a, targetStorageHash as b, PgWarmProvider as c, S3CredentialsProvider as d, collectPreflightNames as f, prismaCloudContainerOf as g, packHeadRefHashes as h, OrmMigration as i, PrismaApiError as j, claimDatabaseUrlKeys as k, PrismaCloudContainer as l, deserialize as m, GeneratedParamProvider as n, PRISMA_CLOUD_EXTENSION_ID as o, containerDescriptor as p, LocalOrmMigrationProvider as r, PgWarm as s, GeneratedParam as t, S3Credentials as u, resolveTargetRef as v, ServiceKey as w, mintKeyPair as x, resourceId as y, managementApiBaseUrl as z };
|
|
1213
1213
|
|
|
1214
|
-
//# sourceMappingURL=s3-credentials-resource-CeXppCQf-
|
|
1214
|
+
//# sourceMappingURL=s3-credentials-resource-CeXppCQf-BPeK2I6l.mjs.map
|