@prisma/composer-prisma-cloud 0.35.0-dev.2 → 0.35.0-dev.3
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-C-8pDHBj-BukBd4TQ.mjs → s3-credentials-resource-C-8pDHBj-Ygt1f2bm.mjs} +5 -5
- package/dist/{s3-credentials-resource-C-8pDHBj-BukBd4TQ.mjs.map → s3-credentials-resource-C-8pDHBj-Ygt1f2bm.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.35.0-dev.
|
|
30
|
+
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/credentials-DSE6uUtO.mjs
|
|
31
|
+
var version = "0.35.0-dev.3";
|
|
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-D2Atg1SY.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
|
|
@@ -331,7 +331,7 @@ const deleteProject = (projectId) => Effect.gen(function* () {
|
|
|
331
331
|
yield* callVoid(() => client.DELETE("/v1/projects/{id}", { params: { path: { id: projectId } } }));
|
|
332
332
|
});
|
|
333
333
|
//#endregion
|
|
334
|
-
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/database-url-claim-
|
|
334
|
+
//#region ../../1-prisma-cloud/0-lowering/lowering/dist/database-url-claim-FbejAEuv.mjs
|
|
335
335
|
/**
|
|
336
336
|
* Claims the platform's `DATABASE_URL` / `DATABASE_URL_POOLED` variables for
|
|
337
337
|
* the app's project with the placeholder `"-"`, before the platform can seed
|
|
@@ -1249,4 +1249,4 @@ const S3CredentialsProvider = () => Provider.effect(S3Credentials, Effect.succee
|
|
|
1249
1249
|
//#endregion
|
|
1250
1250
|
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 };
|
|
1251
1251
|
|
|
1252
|
-
//# sourceMappingURL=s3-credentials-resource-C-8pDHBj-
|
|
1252
|
+
//# sourceMappingURL=s3-credentials-resource-C-8pDHBj-Ygt1f2bm.mjs.map
|