@prisma/composer 0.39.0-dev.7 → 0.39.0-dev.9
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/{app-config-DmCj4luV-BC36-MeB.d.mts → app-config-DriAu5RU-C8hYpR38.d.mts} +17 -15
- package/dist/app-config-DriAu5RU-C8hYpR38.d.mts.map +1 -0
- package/dist/{app-configuration-file-Bbfq5PR3-D4DUNKUM.mjs → app-configuration-file-D0rB5g65-CdMrjkCc.mjs} +10 -40
- package/dist/app-configuration-file-D0rB5g65-CdMrjkCc.mjs.map +1 -0
- package/dist/app-converge-C6Zrg2xM-D0k4EIJY.mjs +88 -0
- package/dist/app-converge-C6Zrg2xM-D0k4EIJY.mjs.map +1 -0
- package/dist/config-Bpi8QVLB.d.mts +1 -0
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +1 -1
- package/dist/control.d.mts +8 -23
- package/dist/control.d.mts.map +1 -1
- package/dist/control.mjs +4 -4
- package/dist/control.mjs.map +1 -1
- package/dist/{converge-in-process-BBBeood8-BCIPOG8X.d.mts → converge-in-process-CTomEXaD-BnDylZP8.d.mts} +5 -5
- package/dist/{converge-in-process-BBBeood8-BCIPOG8X.d.mts.map → converge-in-process-CTomEXaD-BnDylZP8.d.mts.map} +1 -1
- package/dist/converge-in-process-x89zb2MF-Dvj-J8xo.mjs +258 -0
- package/dist/converge-in-process-x89zb2MF-Dvj-J8xo.mjs.map +1 -0
- package/dist/{deploy-B2kxaH5E.mjs → deploy-CSU0kr4j.mjs} +65 -5
- package/dist/{deploy-B2kxaH5E.mjs.map → deploy-CSU0kr4j.mjs.map} +1 -1
- package/dist/deploy-DHgEJDpg.d.mts +32 -0
- package/dist/deploy-DHgEJDpg.d.mts.map +1 -0
- package/dist/deploy.d.mts +4 -4
- package/dist/deploy.mjs +3 -3
- package/dist/{deployment-summary-6LgQDUuu-Dp8kwMs_.d.mts → deployment-summary-6LgQDUuu-Cu_6UNhc.d.mts} +4 -4
- package/dist/{deployment-summary-6LgQDUuu-Dp8kwMs_.d.mts.map → deployment-summary-6LgQDUuu-Cu_6UNhc.d.mts.map} +1 -1
- package/dist/{deployment-summary-YP7eMPJI-CQsj7BHh.mjs → deployment-summary-CVJZn2v0-Dz-gX1rp.mjs} +3 -3
- package/dist/{deployment-summary-YP7eMPJI-CQsj7BHh.mjs.map → deployment-summary-CVJZn2v0-Dz-gX1rp.mjs.map} +1 -1
- package/dist/dev-converge-messages-DML4rTz7-C_EAB5M_.mjs +165 -0
- package/dist/dev-converge-messages-DML4rTz7-C_EAB5M_.mjs.map +1 -0
- package/dist/dev-converge-worker.d.mts +1 -0
- package/dist/dev-converge-worker.mjs +142 -0
- package/dist/dev-converge-worker.mjs.map +1 -0
- package/dist/{dev-current-gQnmjB4V-BaNhcGpK.mjs → dev-current-EqQbrtj5-Dda1xCjU.mjs} +11 -7
- package/dist/dev-current-EqQbrtj5-Dda1xCjU.mjs.map +1 -0
- package/dist/{dev-environment-name-6eEr5PW8-6sPgQZG3.mjs → dev-environment-name-6eEr5PW8-7ntm9Xhs.mjs} +3 -3
- package/dist/{dev-environment-name-6eEr5PW8-6sPgQZG3.mjs.map → dev-environment-name-6eEr5PW8-7ntm9Xhs.mjs.map} +1 -1
- package/dist/{dist-CyrEbDx6.mjs → dist-Cf_mZHaH.mjs} +2 -2
- package/dist/{dist-CyrEbDx6.mjs.map → dist-Cf_mZHaH.mjs.map} +1 -1
- package/dist/{emulator-retry-CV8rl69G-BgUzkxc-.mjs → emulator-retry-CV8rl69G-scQ105wk.mjs} +2 -2
- package/dist/{emulator-retry-CV8rl69G-BgUzkxc-.mjs.map → emulator-retry-CV8rl69G-scQ105wk.mjs.map} +1 -1
- package/dist/{errors-0e8IVwzi.mjs → errors-DI3TBXE-.mjs} +7 -2
- package/dist/{errors-0e8IVwzi.mjs.map → errors-DI3TBXE-.mjs.map} +1 -1
- package/dist/{execute-deploy-destroy-DKbsBkqK-BWXh0zXQ.mjs → execute-deploy-destroy-DKEmb8WI-Cad08hR1.mjs} +246 -193
- package/dist/execute-deploy-destroy-DKEmb8WI-Cad08hR1.mjs.map +1 -0
- package/dist/{execute-dev-DVCWURmI-Cp3i7Hrp.mjs → execute-dev-C42niIFY-Cl5XzBy3.mjs} +434 -261
- package/dist/execute-dev-C42niIFY-Cl5XzBy3.mjs.map +1 -0
- package/dist/{execute-dev-current-Dt_9srY2-COEgQ9h4.mjs → execute-dev-current-AVT4zQ8F-WFr1pM2p.mjs} +7 -7
- package/dist/{execute-dev-current-Dt_9srY2-COEgQ9h4.mjs.map → execute-dev-current-AVT4zQ8F-WFr1pM2p.mjs.map} +1 -1
- package/dist/{execute-log-B34AeU97-CkJiGdIc.mjs → execute-log-DCe9fk1t-vVIgGSSi.mjs} +8 -8
- package/dist/{execute-log-B34AeU97-CkJiGdIc.mjs.map → execute-log-DCe9fk1t-vVIgGSSi.mjs.map} +1 -1
- package/dist/{graph-1ILOBl8O-DBaUZL2D.d.mts → graph-CUYXjK8S-BzL-mhjq.d.mts} +3 -3
- package/dist/graph-CUYXjK8S-BzL-mhjq.d.mts.map +1 -0
- package/dist/{graph-C6Fqe2gn-qJQBxs_C.mjs → graph-D2WMLL43-CeiC5wdy.mjs} +18 -9
- package/dist/graph-D2WMLL43-CeiC5wdy.mjs.map +1 -0
- package/dist/{graph-types-CaH3flhT-DgrCdRA3.d.mts → graph-types-D4PrtP-l-B0uuchTl.d.mts} +13 -11
- package/dist/{graph-types-CaH3flhT-DgrCdRA3.d.mts.map → graph-types-D4PrtP-l-B0uuchTl.d.mts.map} +1 -1
- package/dist/http.d.mts +2 -2
- package/dist/http.mjs +2 -2
- package/dist/{index-Cnbf_d0q.d.mts → index-D8chHe55.d.mts} +3 -3
- package/dist/{index-Cnbf_d0q.d.mts.map → index-D8chHe55.d.mts.map} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/internal-app-configuration-file.d.mts +5 -9
- package/dist/internal-app-configuration-file.d.mts.map +1 -1
- package/dist/internal-app-configuration-file.mjs +2 -2
- package/dist/internal-converge-contract.d.mts +6 -4
- package/dist/internal-converge-contract.d.mts.map +1 -1
- package/dist/internal-converge-contract.mjs +7 -5
- package/dist/internal-converge-contract.mjs.map +1 -1
- package/dist/internal-converge.d.mts +5 -4
- package/dist/internal-converge.mjs +4 -228
- package/dist/load-entry-CEoVBdMj-CHOz7jKf.mjs +527 -0
- package/dist/load-entry-CEoVBdMj-CHOz7jKf.mjs.map +1 -0
- package/dist/local-target-7KRsLMDO.d.mts +31 -0
- package/dist/local-target-7KRsLMDO.d.mts.map +1 -0
- package/dist/{local-target-COdS1iNs.mjs → local-target-DhU1vaxd.mjs} +6 -6
- package/dist/{local-target-COdS1iNs.mjs.map → local-target-DhU1vaxd.mjs.map} +1 -1
- package/dist/local-target.d.mts +3 -31
- package/dist/local-target.mjs +1 -1
- package/dist/{nextjs-DLyeRR7M-CSKy5tFv.d.mts → nextjs-DLyeRR7M-CzUbvPaJ.d.mts} +3 -3
- package/dist/{nextjs-DLyeRR7M-CSKy5tFv.d.mts.map → nextjs-DLyeRR7M-CzUbvPaJ.d.mts.map} +1 -1
- package/dist/nextjs-control.d.mts +4 -4
- package/dist/nextjs.d.mts +1 -1
- package/dist/node-control.d.mts +3 -3
- package/dist/node.d.mts +2 -2
- package/dist/{preflight-transport-C7_3abXW-Bza_hn9G.mjs → preflight-transport-2d6iIchu-B-v7Di6I.mjs} +5 -4
- package/dist/preflight-transport-2d6iIchu-B-v7Di6I.mjs.map +1 -0
- package/dist/{redaction-CjMYXtGp-CEQ5z1PK.mjs → redaction-DY6eDC12-W-FzW7_r.mjs} +16 -4
- package/dist/{redaction-CjMYXtGp-CEQ5z1PK.mjs.map → redaction-DY6eDC12-W-FzW7_r.mjs.map} +1 -1
- package/dist/{redaction-CIaE4m9U-DyJoGPRw.d.mts → redaction-Dn7BRdaP-BcLSPhLV.d.mts} +58 -17
- package/dist/redaction-Dn7BRdaP-BcLSPhLV.d.mts.map +1 -0
- package/dist/report.d.mts +3 -3
- package/dist/report.mjs +2 -2
- package/dist/report.mjs.map +1 -1
- package/dist/service-rpc.d.mts +2 -2
- package/dist/service-rpc.mjs +2 -2
- package/dist/steps-BZXNqW6U-C_ME2VLd.mjs +112 -0
- package/dist/steps-BZXNqW6U-C_ME2VLd.mjs.map +1 -0
- package/dist/testing.d.mts +1 -1
- package/dist/validate-environment-DCZiNSlR-C7lv0cH1.mjs +344 -0
- package/dist/validate-environment-DCZiNSlR-C7lv0cH1.mjs.map +1 -0
- package/package.json +11 -11
- package/skills/prisma-composer-core-concepts/SKILL.md +8 -8
- package/src/exports/dev-converge-worker.ts +2 -0
- package/dist/app-config-DmCj4luV-BC36-MeB.d.mts.map +0 -1
- package/dist/app-configuration-file-Bbfq5PR3-D4DUNKUM.mjs.map +0 -1
- package/dist/config-vv8LBErH.d.mts +0 -1
- package/dist/deploy-w-BcRS8b.d.mts +0 -12
- package/dist/deploy-w-BcRS8b.d.mts.map +0 -1
- package/dist/dev-current-gQnmjB4V-BaNhcGpK.mjs.map +0 -1
- package/dist/execute-deploy-destroy-DKbsBkqK-BWXh0zXQ.mjs.map +0 -1
- package/dist/execute-dev-DVCWURmI-Cp3i7Hrp.mjs.map +0 -1
- package/dist/graph-1ILOBl8O-DBaUZL2D.d.mts.map +0 -1
- package/dist/graph-C6Fqe2gn-qJQBxs_C.mjs.map +0 -1
- package/dist/internal-converge.mjs.map +0 -1
- package/dist/local-target.d.mts.map +0 -1
- package/dist/preflight-transport-C7_3abXW-Bza_hn9G.mjs.map +0 -1
- package/dist/redaction-CIaE4m9U-DyJoGPRw.d.mts.map +0 -1
- package/dist/run-alchemy-BlYyc4Oh-mIzYC4lq.mjs +0 -236
- package/dist/run-alchemy-BlYyc4Oh-mIzYC4lq.mjs.map +0 -1
- package/dist/validate-environment-XwVDifWN-D14WhSH0.mjs +0 -739
- package/dist/validate-environment-XwVDifWN-D14WhSH0.mjs.map +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { t as blindCast } from "./casts-DpaahrlC-C5XMnP9S.mjs";
|
|
2
2
|
import { i as POINTER, o as isSecretPointer, r as isSecretString, t as describeKind } from "./describe-kind-Cpm_euxo-DsSPENQa.mjs";
|
|
3
3
|
import { t as InternalError } from "./internal-error-Dfur7Zqt-D96dWHZK.mjs";
|
|
4
|
-
import { t as CliStructuredError } from "./errors-
|
|
5
|
-
//#region ../../0-framework/1-core/core/dist/graph-
|
|
4
|
+
import { t as CliStructuredError } from "./errors-DI3TBXE-.mjs";
|
|
5
|
+
//#region ../../0-framework/1-core/core/dist/graph-D2WMLL43.mjs
|
|
6
6
|
/** The reserved name of a resource's single anonymous output port. Rejected as a user-declared port name (node.ts). */
|
|
7
7
|
const RESOURCE_OUT_PORT = "$out";
|
|
8
8
|
/**
|
|
9
9
|
* Thrown by Load when the graph is malformed. Structured at origin
|
|
10
|
-
* (base-type rule 6)
|
|
11
|
-
*
|
|
10
|
+
* (base-type rule 6) under one type-level code. Not every error Load throws
|
|
11
|
+
* is one: a Load that needs a root input field an earlier Load did not read
|
|
12
|
+
* throws an error whose name is the value of `ROOT_INPUT_UNREAD_ERROR`. The `name` stays
|
|
12
13
|
* `CliStructuredError` — structural recognition depends on it.
|
|
13
14
|
*/
|
|
14
15
|
var LoadError = class extends CliStructuredError {
|
|
@@ -753,6 +754,14 @@ function jsonInexactKind(value) {
|
|
|
753
754
|
}
|
|
754
755
|
return describeNotPlain(value) ?? describeKind(value);
|
|
755
756
|
}
|
|
757
|
+
/** The `name` of the error a Load that takes what an earlier Load read fails with when it needs a root input field that Load did not read. */
|
|
758
|
+
const ROOT_INPUT_UNREAD_ERROR = "RootInputUnreadError";
|
|
759
|
+
var RootInputUnreadError = class extends Error {
|
|
760
|
+
constructor(message) {
|
|
761
|
+
super(message);
|
|
762
|
+
this.name = ROOT_INPUT_UNREAD_ERROR;
|
|
763
|
+
}
|
|
764
|
+
};
|
|
756
765
|
const SAME_GRAPH_ADVICE = "A module body must build the same graph every time; one that reads the process environment, a file or the clock can build a different one.";
|
|
757
766
|
function isThenable(value) {
|
|
758
767
|
if (isValue(value)) return false;
|
|
@@ -1070,7 +1079,7 @@ function resolveValues(input) {
|
|
|
1070
1079
|
}
|
|
1071
1080
|
if (entry.checked !== void 0) {
|
|
1072
1081
|
const field = entry.checked.find((candidate) => candidate.path.join("\0") === origin.path.join("\0"));
|
|
1073
|
-
if (field === void 0) throw new
|
|
1082
|
+
if (field === void 0) throw new RootInputUnreadError(`${inputFieldLabel(origin)} of root module "${origin.module}" was not read when this command started, so it has no value here. ${SAME_GRAPH_ADVICE}`);
|
|
1074
1083
|
result = field.value;
|
|
1075
1084
|
} else {
|
|
1076
1085
|
result = readPath(validatedInputOf(entry), origin);
|
|
@@ -1115,7 +1124,7 @@ function resolveValues(input) {
|
|
|
1115
1124
|
kind: "input",
|
|
1116
1125
|
module: rootModuleAddress(),
|
|
1117
1126
|
path: field.path
|
|
1118
|
-
})} of root module "${rootModuleAddress()}" reads "${key}" from the app configuration, and ${origin.label} names "${key}" as a secret. A name is a plain value or a secret, not both: a root input field is a plain value, which \`prisma deploy\` sends to the platform as plain configuration,
|
|
1127
|
+
})} of root module "${rootModuleAddress()}" reads "${key}" from the app configuration, and ${origin.label} names "${key}" as a secret. A name is a plain value or a secret, not both: a root input field is a plain value, which \`prisma deploy\` sends to the platform as plain configuration, \`prisma dev\` gives to the local services as plain configuration, and \`destroy\` writes to a file. Read the secret with ${origin.label} only, or give the plain value a different name.`);
|
|
1119
1128
|
}
|
|
1120
1129
|
for (const field of rootFields.values()) {
|
|
1121
1130
|
const kind = "value" in field ? jsonInexactKind(field.value) : void 0;
|
|
@@ -1123,7 +1132,7 @@ function resolveValues(input) {
|
|
|
1123
1132
|
kind: "input",
|
|
1124
1133
|
module: rootModuleAddress(),
|
|
1125
1134
|
path: field.path
|
|
1126
|
-
})} of root module "${rootModuleAddress()}" holds ${kind}, which JSON cannot hold exactly. \`
|
|
1135
|
+
})} of root module "${rootModuleAddress()}" holds ${kind}, which JSON cannot hold exactly. \`destroy\` hands the root's input to its second process in a JSON file, so a field the root's body passes on must hold text, a finite number, a boolean, null, or arrays and plain objects of these.`);
|
|
1127
1136
|
}
|
|
1128
1137
|
return { rootInput: [...rootFields.values()] };
|
|
1129
1138
|
};
|
|
@@ -1698,6 +1707,6 @@ function nodeAddresses(graph) {
|
|
|
1698
1707
|
return graph.nodes.map(({ id }) => id).sort();
|
|
1699
1708
|
}
|
|
1700
1709
|
//#endregion
|
|
1701
|
-
export {
|
|
1710
|
+
export { resolve as C, service as D, secretsKeys as E, slotsOf as O, provisionNeed as S, secretSource as T, isValueResource as _, ROOT_INPUT_UNREAD_ERROR as a, originOf as b, assertAppName as c, isNode as d, isParamSource as f, isValue as g, isSecretSource as h, RESOURCE_OUT_PORT as i, valueResource as k, dependency as l, isProvisionNeed as m, Load as n, ResourceNodeBase as o, isPlainObject as p, LoadError as r, appRoot as s, GraphCheckError as t, freezeNode as u, module as v, resource as w, paramSource as x, nodeAddresses as y };
|
|
1702
1711
|
|
|
1703
|
-
//# sourceMappingURL=graph-
|
|
1712
|
+
//# sourceMappingURL=graph-D2WMLL43-CeiC5wdy.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-D2WMLL43-CeiC5wdy.mjs","names":[],"sources":["../../../0-framework/1-core/core/dist/graph-D2WMLL43.mjs"],"sourcesContent":["import { POINTER, isSecretPointer } from \"@internal/foundation/pointer\";\nimport { isSecretString } from \"@internal/foundation/secret\";\nimport { CliStructuredError, InternalError, describeKind } from \"@internal/foundation/errors\";\nimport { blindCast } from \"@internal/foundation/casts\";\n//#region src/graph-types.ts\n/** The reserved name of a resource's single anonymous output port. Rejected as a user-declared port name (node.ts). */\nconst RESOURCE_OUT_PORT = \"$out\";\n/**\n* Thrown by Load when the graph is malformed. Structured at origin\n* (base-type rule 6) under one type-level code. Not every error Load throws\n* is one: a Load that needs a root input field an earlier Load did not read\n* throws an error whose name is the value of `ROOT_INPUT_UNREAD_ERROR`. The `name` stays\n* `CliStructuredError` — structural recognition depends on it.\n*/\nvar LoadError = class extends CliStructuredError {\n\tconstructor(message, options) {\n\t\tsuper(\"COMPOSE.GRAPH_INVALID\", message, options);\n\t}\n};\n/** What an extension's `checkGraph` throws to refuse a graph it cannot deploy. Any other throw from the hook is a bug (ADR-0044). The CLI adds the refusing extension's id as `meta.extension`. */\nvar GraphCheckError = class extends CliStructuredError {\n\tconstructor(message, options) {\n\t\tsuper(\"COMPOSE.GRAPH_INVALID\", message, options?.extension === void 0 ? void 0 : { meta: { extension: options.extension } });\n\t}\n};\n//#endregion\n//#region src/contract.ts\n/** The declared style of an untrusted contract value, or `undefined` when it declares none. */\nfunction contractStyleOf(contract) {\n\tif (typeof contract !== \"object\" || contract === null || !(\"style\" in contract)) return void 0;\n\treturn contract.style === \"request-response\" || contract.style === \"stream\" ? contract.style : void 0;\n}\n//#endregion\n//#region src/value.ts\nconst VALUE = blindCast(Symbol.for(\"prisma:value\"));\nconst VALUE_ORIGIN = blindCast(Symbol.for(\"prisma:value-origin\"));\nconst VALUE_RESOURCE = blindCast(Symbol.for(\"prisma:value-resource\"));\n/**\n* A value computed from other values. `fn` receives the dependencies' real\n* values as one tuple, in order, and returns plain data. Each dependency must\n* be a deploy-time value: listing a runtime value or a field wrapped with\n* `field()` fails to compile, and Load refuses a dependency whose real value\n* holds a pointer. Load runs `fn` after every module body, with `provision`\n* disabled (ADR-0062). `fn` must be a pure function of its dependencies: a\n* deploy runs it in two processes.\n*/\nfunction resolve(dependencies, fn) {\n\tif (!Array.isArray(dependencies)) throw new Error(\"resolve() requires a tuple of values as its first argument.\");\n\tconst checked = dependencies.map((dependency, index) => {\n\t\tif (!isValue(dependency)) throw new Error(`resolve() dependency at index ${index} is not a value — list environment.name or another resolve() result.`);\n\t\treturn dependency;\n\t});\n\tif (typeof fn !== \"function\") throw new Error(\"resolve() requires a function as its second argument.\");\n\tconst frozenDependencies = Object.freeze(checked);\n\tconst compute = blindCast(fn);\n\treturn Object.freeze({\n\t\t[VALUE]: true,\n\t\t[VALUE_ORIGIN]: Object.freeze({\n\t\t\tkind: \"computed\",\n\t\t\tdependencies: frozenDependencies,\n\t\t\tcompute\n\t\t})\n\t});\n}\n/** True if `value` is a `Value`, a source included (checks the brand only, never a prototype). */\nfunction isValue(value) {\n\treturn typeof value === \"object\" && value !== null && blindCast(value)[VALUE] === true;\n}\n/** True for an object whose prototype is `Object.prototype` or `null`: the only objects Load walks into. */\nfunction isPlainObject(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst prototype = Object.getPrototypeOf(value);\n\treturn prototype === Object.prototype || prototype === null;\n}\n/** Where Load gets `value`'s real value. Internal to core. */\nfunction originOf(value) {\n\treturn value[VALUE_ORIGIN];\n}\n/** The one `environment` object every module body receives. */\nconst environmentFacts = Object.freeze({ name: Object.freeze({\n\t[VALUE]: true,\n\t[VALUE_ORIGIN]: Object.freeze({\n\t\tkind: \"environment\",\n\t\tfact: \"name\"\n\t})\n}) });\n//#endregion\n//#region src/module-input.ts\nconst INSPECT = Symbol.for(\"nodejs.util.inspect.custom\");\n/** `input` or `input.a.b`: how an error names an input field. */\nfunction inputFieldLabel(origin) {\n\treturn origin.path.length === 0 ? \"input\" : `input.${origin.path.join(\".\")}`;\n}\nfunction misuse(origin, what) {\n\tif (origin.path.length === 0) return new LoadError(`input of module \"${origin.module}\" is a dictionary of values, not data, and ${what}. A module body can only pass the fields of its input on, by name: into a provision() binding or, for a plain field, as a resolve() dependency.`);\n\tconst field = inputFieldLabel(origin);\n\treturn new LoadError(`${field} of module \"${origin.module}\" is a value, not its real value, and ${what}. A module body can only pass an input field on: into a provision() binding or as a resolve() dependency. To compute with it, it must be a plain field, not a wrapped or secret one; list it: resolve([${field}], ([v]) => …).`);\n}\n/** What a coercion with `hint` did to a value, worded for a misuse error. */\nfunction primitiveMisuse(hint) {\n\tswitch (hint) {\n\t\tcase \"string\": return \"it was turned into text (a template literal or String())\";\n\t\tcase \"number\": return \"it was turned into a number (arithmetic, or a comparison such as <)\";\n\t\tdefault: return \"it was combined with + or compared with ==\";\n\t}\n}\n/**\n* Builds the `input` a module body receives. Every property access returns a\n* value recording its key path, and the same path always returns the same\n* object, so Load's identity-keyed maps see one value per field. Any way of\n* reading the real value throws a LoadError naming the field. At run time the\n* whole input still answers the value brand, at path `[]`, so Load can find\n* and refuse it wherever it is passed on.\n*/\nfunction buildModuleInput(moduleAddress) {\n\tconst byPath = /* @__PURE__ */ new Map();\n\tconst valueAt = (path) => {\n\t\tconst key = JSON.stringify(path);\n\t\tconst existing = byPath.get(key);\n\t\tif (existing !== void 0) return existing;\n\t\tconst origin = Object.freeze({\n\t\t\tkind: \"input\",\n\t\t\tmodule: moduleAddress,\n\t\t\tpath: Object.freeze([...path])\n\t\t});\n\t\tconst thrower = (what) => () => {\n\t\t\tthrow misuse(origin, what);\n\t\t};\n\t\tconst handler = {\n\t\t\tget(_target, property) {\n\t\t\t\tif (property === VALUE) return true;\n\t\t\t\tif (property === VALUE_ORIGIN) return origin;\n\t\t\t\tif (property === Symbol.toPrimitive) return (hint) => {\n\t\t\t\t\tthrow misuse(origin, primitiveMisuse(hint));\n\t\t\t\t};\n\t\t\t\tif (property === \"toString\") return thrower(\"its toString() was called\");\n\t\t\t\tif (property === \"valueOf\") return thrower(\"its valueOf() was called\");\n\t\t\t\tif (property === \"toJSON\") return thrower(\"it was serialized with JSON.stringify\");\n\t\t\t\tif (property === Symbol.iterator || property === Symbol.asyncIterator) return thrower(\"it was iterated (array spread, for…of or array destructuring)\");\n\t\t\t\tif (typeof property === \"symbol\") return void 0;\n\t\t\t\treturn valueAt([...path, property]);\n\t\t\t},\n\t\t\thas(_target, property) {\n\t\t\t\tif (property === VALUE || property === VALUE_ORIGIN) return true;\n\t\t\t\tif (typeof property === \"symbol\") return false;\n\t\t\t\tthrow misuse(origin, `it was checked with the in operator (\"${property}\" in …)`);\n\t\t\t},\n\t\t\townKeys() {\n\t\t\t\tthrow misuse(origin, \"its keys were listed (Object.keys, object spread, for…in or Object.entries)\");\n\t\t\t},\n\t\t\tgetOwnPropertyDescriptor() {\n\t\t\t\tthrow misuse(origin, \"its properties were inspected\");\n\t\t\t},\n\t\t\tset(_target, property) {\n\t\t\t\tthrow misuse(origin, `its field \"${String(property)}\" was assigned to`);\n\t\t\t},\n\t\t\tdefineProperty(_target, property) {\n\t\t\t\tthrow misuse(origin, `its field \"${String(property)}\" was assigned to`);\n\t\t\t},\n\t\t\tdeleteProperty() {\n\t\t\t\tthrow misuse(origin, \"a property was deleted from it\");\n\t\t\t},\n\t\t\tsetPrototypeOf() {\n\t\t\t\tthrow misuse(origin, \"its prototype was changed\");\n\t\t\t},\n\t\t\tpreventExtensions() {\n\t\t\t\tthrow misuse(origin, \"it was frozen or sealed\");\n\t\t\t}\n\t\t};\n\t\tconst target = Object.create(null);\n\t\tObject.defineProperty(target, INSPECT, {\n\t\t\tvalue: () => `[${inputFieldLabel(origin)} of module \"${origin.module}\"]`,\n\t\t\tconfigurable: true\n\t\t});\n\t\tconst proxy = new Proxy(target, handler);\n\t\tbyPath.set(key, proxy);\n\t\treturn proxy;\n\t};\n\treturn blindCast(valueAt([]));\n}\n//#endregion\n//#region src/node.ts\n/**\n* Core model: node types and the factories that construct them, plain frozen\n* data objects. A node's `extension` + `type` form its deploy-time registry key (ADR-0017).\n*/\nconst NODE = Symbol.for(\"prisma:node\");\nconst SECRET_SOURCE = blindCast(Symbol.for(\"prisma:secret-source\"));\n/** Builds a secret source from a target-defined payload: the SPI a deploy target's own constructor calls. The source is a value whose real value at deploy is itself, a pointer. Core forwards it and never inspects the payload. */\nfunction secretSource(payload, options) {\n\tconst label = sourceLabel(\"secretSource\", options?.label);\n\tconst secretsKey = options?.secretsKey;\n\tif (secretsKey !== void 0 && (typeof secretsKey !== \"string\" || secretsKey.length === 0)) throw new Error(\"secretSource() secretsKey must be a non-empty string.\");\n\treturn blindCast(buildSource(SECRET_SOURCE, payload, {\n\t\tkind: \"source\",\n\t\tsourceKind: \"secret\",\n\t\tlabel,\n\t\tsecretsKey,\n\t\tresource: void 0\n\t}, \"secret\"));\n}\n/** True if `value` is a secret source. */\nfunction isSecretSource(value) {\n\treturn typeof value === \"object\" && value !== null && blindCast(value)[SECRET_SOURCE] === true;\n}\nconst PROVISION_NEED = blindCast(Symbol.for(\"prisma:provision-need\"));\n/** Builds an opaque provisioning need — the declaring package's own brand plus whatever payload its provisioner reads back. */\nfunction provisionNeed(brand, payload) {\n\treturn blindCast(Object.freeze({\n\t\t[PROVISION_NEED]: true,\n\t\tbrand,\n\t\tpayload\n\t}));\n}\n/** True if `value` is a provisioning need (a `provisionNeed()` result). */\nfunction isProvisionNeed(value) {\n\treturn typeof value === \"object\" && value !== null && blindCast(value)[PROVISION_NEED] === true;\n}\nconst PARAM_SOURCE = blindCast(Symbol.for(\"prisma:param-source\"));\n/** Builds a param source from a target-defined payload: the SPI a deploy target's own constructor calls. Core forwards it and never inspects the payload. */\nfunction paramSource(payload, options) {\n\tconst label = sourceLabel(\"paramSource\", options?.label);\n\tconst redacted = options?.redacted === true;\n\treturn blindCast(buildSource(PARAM_SOURCE, payload, {\n\t\tkind: \"source\",\n\t\tsourceKind: \"param\",\n\t\tlabel,\n\t\tresource: void 0\n\t}, redacted ? \"secret\" : \"plain\"));\n}\nfunction sourceLabel(factory, label) {\n\tif (label === void 0) return \"a source\";\n\tif (typeof label !== \"string\" || label.length === 0) throw new Error(`${factory}() label must be a non-empty string.`);\n\treturn label;\n}\nfunction buildSource(brand, payload, origin, kind, hidden = {}) {\n\tconst source = {\n\t\t[VALUE]: true,\n\t\t[VALUE_ORIGIN]: origin,\n\t\t[brand]: true,\n\t\t[POINTER]: kind,\n\t\tpayload\n\t};\n\tObject.defineProperty(origin, \"source\", { value: source });\n\tObject.defineProperties(source, {\n\t\t...coercions(origin),\n\t\t...hidden\n\t});\n\tObject.freeze(origin);\n\treturn Object.freeze(source);\n}\nfunction coercions(origin) {\n\tconst thrower = (what) => () => {\n\t\tthrow sourceMisuse(origin, what);\n\t};\n\treturn {\n\t\ttoString: { value: thrower(\"its toString() was called\") },\n\t\tvalueOf: { value: thrower(\"its valueOf() was called\") },\n\t\t[Symbol.toPrimitive]: { value: (hint) => {\n\t\t\tthrow sourceMisuse(origin, primitiveMisuse(hint));\n\t\t} }\n\t};\n}\nconst sourceMisuses = /* @__PURE__ */ new WeakSet();\nfunction sourceMisuse(origin, what) {\n\tconst { label } = origin;\n\tconst error = new LoadError(`${label} is known only at boot: the deploy holds a pointer to it, never its value, and ${what}. A module body can only pass it on, into a provision() binding; to compute with the value, do it in the service that reads it.`);\n\tsourceMisuses.add(error);\n\treturn error;\n}\n/** True for the error a source throws when code turns it into text or a number. Internal to core. */\nfunction isSourceMisuse(error) {\n\treturn error instanceof LoadError && sourceMisuses.has(error);\n}\n/** A source's origin; `undefined` for a source another installed copy of core built without one. Internal to core. */\nfunction sourceOriginOf(source) {\n\tif (!isValue(source)) return void 0;\n\tconst origin = originOf(source);\n\treturn origin.kind === \"source\" ? origin : void 0;\n}\n/** True if `value` is a param source. */\nfunction isParamSource(value) {\n\treturn typeof value === \"object\" && value !== null && blindCast(value)[PARAM_SOURCE] === true;\n}\nfunction requireType(type, factory) {\n\tif (typeof type !== \"string\" || type.length === 0) throw new Error(`${factory}() requires a non-empty node type.`);\n}\nfunction requireName(name, factory) {\n\tif (typeof name !== \"string\" || name.length === 0) throw new Error(`${factory}() requires a non-empty name.`);\n}\nfunction requireExtension(extension, factory) {\n\tif (typeof extension !== \"string\" || extension.length === 0) throw new Error(`${factory}() requires a non-empty extension (the authoring extension's package name).`);\n}\n/**\n* Core's grammar for every name that becomes a config-key segment —\n* addresses, input/param/secret names: ASCII letters and digits only.\n* Conservative by design so any target medium — POSIX env-var keys\n* included — can uppercase and \"_\"-join segments without escaping.\n*/\nfunction isConfigKeySegment(name) {\n\treturn /^[A-Za-z0-9]+$/.test(name);\n}\nfunction requireConfigKeySegmentName(name, kind, factory) {\n\tif (!isConfigKeySegment(name)) throw new Error(`${factory}() ${kind} name \"${name}\" must contain only ASCII letters and digits ([A-Za-z0-9]) — declared names derive deterministic config keys, uppercased and joined with \"_\" (an input \"db\"'s param \"url\" becomes config key \"DB_URL\"), so an underscore inside a name collides with that separator and any other character has no place in a config key. \"${name}\" would put \"${name.toUpperCase()}\" inside the derived key.`);\n}\n/**\n* `$out` names a resource's single anonymous output on the wire (the\n* application topology's reserved port name), so no declared port — a dep\n* slot or an expose entry — may claim it. Input names are already confined\n* to [A-Za-z0-9] by the config-key rule; expose and module-dep names are\n* not, so the reservation is checked wherever a port name is declared.\n*/\nfunction requireNotReservedPortNames(names, factory) {\n\tfor (const name of names) if (name === \"$out\") throw new Error(`${factory}() declares a port named \"$out\" — that name is reserved for a resource's anonymous output; choose another name.`);\n}\nfunction requireConfigKeySegmentNames(names, kind, factory) {\n\tfor (const name of names) requireConfigKeySegmentName(name, kind, factory);\n}\nfunction freezeParams(params) {\n\tconst frozen = {};\n\tfor (const [name, param] of Object.entries(params)) frozen[name] = Object.freeze({ ...param });\n\treturn blindCast(Object.freeze(frozen));\n}\n/** A frozen shallow copy that keeps the caller's declared type. */\nfunction frozenShallowCopy(obj) {\n\treturn blindCast(Object.freeze({ ...obj }));\n}\n/**\n* Seals a node instance after its constructor has assigned all fields — the\n* last statement of a concrete node class's constructor. A free function, not\n* a base-class method, so an instance stays structurally a plain frozen node.\n*/\nfunction freezeNode(node) {\n\tObject.freeze(node);\n\treturn node;\n}\n/** The slots, wiring and configuration a resource may carry, checked once for `resource()` and `ResourceNodeBase`. */\nfunction requireResourceWiring(def) {\n\tconst inputs = def.inputs ?? {};\n\tconst deps = def.deps ?? {};\n\trequireConfigKeySegmentNames(Object.keys(inputs), \"input\", \"resource\");\n\tfor (const [input, slot] of Object.entries(inputs)) {\n\t\tconst declared = slot;\n\t\tif (!isNode(declared) || declared.kind !== \"dependency\") throw new Error(`resource() dependency \"${input}\" is not a branded dependency end (construct it with the dependency() factory).`);\n\t}\n\tfor (const input of Object.keys(inputs)) if (deps[input] === void 0) throw new Error(`resource() declares dependency \"${input}\" but its deps leave it unwired. A resource is wired when it is constructed.`);\n\tfor (const [input, producer] of Object.entries(deps)) {\n\t\tif (!Object.hasOwn(inputs, input)) throw new Error(`resource() deps name \"${input}\", which is not a declared input.`);\n\t\tif (isValue(producer)) throw new Error(`resource() deps wire \"${input}\" to a value. A value can configure a node, never decide its edges (ADR-0062).`);\n\t}\n\tif (def.props !== void 0 && !isPlainObject(def.props)) throw new Error(\"resource() props must be a plain object.\");\n}\n/** A resource's routing `type`: its contract's `kind`, or the `type` named by a resource that offers nothing. */\nfunction resourceType(def) {\n\tconst provides = def.provides;\n\tif (provides === void 0) {\n\t\tif (typeof def.type !== \"string\" || def.type.length === 0) throw new Error(\"resource() requires provides, the contract it offers, or type, for a resource that offers nothing.\");\n\t\treturn def.type;\n\t}\n\tif (def.type !== void 0) throw new Error(\"resource() takes either provides or type, not both — type is the contract's kind when a contract is provided.\");\n\tif (typeof provides !== \"object\" || provides === null || !(\"kind\" in provides) || typeof provides.kind !== \"string\" || provides.kind.length === 0 || !(\"satisfies\" in provides) || typeof provides.satisfies !== \"function\") throw new Error(\"resource() requires `provides` — the Contract this resource offers (a non-empty `kind` plus its `satisfies()`).\");\n\treturn provides.kind;\n}\n/**\n* Everything `resource()` establishes, minus the freeze — an extension\n* whose resource node carries extra fields extends this, assigns them, and\n* calls `freezeNode(this)` as its constructor's last statement.\n* A class built on this base must not use #private fields: Load copies a node whose props hold a value, and a copy carries own properties only.\n*/\nvar ResourceNodeBase = class {\n\t[NODE] = true;\n\tkind = \"resource\";\n\tname;\n\textension;\n\ttype;\n\tprovides;\n\tinputs;\n\tdeps;\n\tprops;\n\tconstructor(def) {\n\t\trequireName(def.name, \"resource\");\n\t\trequireExtension(def.extension, \"resource\");\n\t\tthis.type = resourceType(def);\n\t\trequireResourceWiring(def);\n\t\tthis.name = def.name;\n\t\tthis.extension = def.extension;\n\t\tthis.provides = blindCast(def.provides);\n\t\tthis.inputs = blindCast(frozenShallowCopy(def.inputs ?? {}));\n\t\tthis.deps = blindCast(frozenShallowCopy(def.deps ?? {}));\n\t\tthis.props = blindCast(frozenShallowCopy(def.props ?? {}));\n\t}\n};\n/** The core leaf: exactly the base, frozen. */\nvar FrozenResourceNode = class extends ResourceNodeBase {\n\tconstructor(def) {\n\t\tsuper(def);\n\t\tfreezeNode(this);\n\t}\n};\n/**\n* Constructs a branded, frozen Resource node — an identity plus the Contract\n* it provides; the routing `type` is the contract's `kind`. A resource that\n* offers nothing omits `provides` and names its `type`. Pure — nothing is\n* provisioned until a module provisions it.\n*/\nfunction resource(def) {\n\treturn new FrozenResourceNode(def);\n}\nfunction isSourceValue(value) {\n\treturn (isSecretSource(value) || isParamSource(value)) && sourceOriginOf(value) !== void 0;\n}\nvar FrozenValueResourceNode = class extends ResourceNodeBase {\n\t[VALUE_RESOURCE];\n\tconstructor(def) {\n\t\tsuper(def);\n\t\tthis[VALUE_RESOURCE] = def.value;\n\t\tfreezeNode(this);\n\t}\n};\n/** Builds a frozen resource node that is a value: `value`, a source built with `secretSource()` or `paramSource()`. It provides no contract and has no dependencies. */\nfunction valueResource(def) {\n\tif (!isSourceValue(def.value)) throw new Error(\"valueResource() value must be a source, built with secretSource() or paramSource().\");\n\treturn new FrozenValueResourceNode(def);\n}\nfunction valueResourceOrigin(node) {\n\tif (!isNode(node) || node.kind !== \"resource\" || !(VALUE_RESOURCE in node)) return void 0;\n\tconst value = node[VALUE_RESOURCE];\n\treturn isSecretSource(value) || isParamSource(value) ? sourceOriginOf(value) : void 0;\n}\n/** True for a resource node that is a value: one that holds a source under the value resource key. */\nfunction isValueResource(node) {\n\treturn valueResourceOrigin(node) !== void 0;\n}\nfunction provisionedValue(origin, address) {\n\tconst { source, ...kept } = origin;\n\treturn blindCast(buildSource(isSecretSource(source) ? SECRET_SOURCE : PARAM_SOURCE, source.payload, {\n\t\t...kept,\n\t\tresource: address\n\t}, isSecretPointer(source) ? \"secret\" : \"plain\", { id: { value: address } }));\n}\n/**\n* Constructs a branded, frozen Service node — declarations only (inputs,\n* params, the input schema, build adapter, and the ports it exposes). Pure;\n* carries no runtime behavior.\n*/\nfunction service(def) {\n\trequireName(def.name, \"service\");\n\trequireExtension(def.extension, \"service\");\n\trequireType(def.type, \"service\");\n\trequireConfigKeySegmentNames(Object.keys(def.inputs), \"input\", \"service\");\n\trequireConfigKeySegmentNames(Object.keys(def.params), \"param\", \"service\");\n\tif (def.expose !== void 0) requireNotReservedPortNames(Object.keys(def.expose), \"service\");\n\tif (def.input !== void 0 && typeof def.input[\"~standard\"]?.validate !== \"function\") throw new Error(\"service() `input` must be a Standard Schema (an object with a \\\"~standard\\\".validate function) — see https://standardschema.dev (ADR-0042).\");\n\treturn Object.freeze({\n\t\t[NODE]: true,\n\t\tkind: \"service\",\n\t\tname: def.name,\n\t\textension: def.extension,\n\t\ttype: def.type,\n\t\tinputs: frozenShallowCopy(def.inputs),\n\t\tparams: freezeParams(def.params),\n\t\tinputSchema: blindCast(def.input),\n\t\tbuild: Object.freeze({ ...def.build }),\n\t\texpose: def.expose !== void 0 ? frozenShallowCopy(def.expose) : void 0\n\t});\n}\n/**\n* Constructs a branded, frozen DependencyEnd. `required` (if given) is the\n* contract Load compares a wired ref against via `satisfies()`; an unnamed\n* end's diagnostic `name` falls back to its `type`.\n*/\nfunction dependency(def) {\n\trequireType(def.type, \"dependency\");\n\trequireConfigKeySegmentNames(Object.keys(def.connection.params), \"param\", \"dependency\");\n\tconst connection = Object.freeze({\n\t\tparams: freezeParams(def.connection.params),\n\t\thydrate: def.connection.hydrate\n\t});\n\treturn Object.freeze({\n\t\t[NODE]: true,\n\t\tkind: \"dependency\",\n\t\tname: def.name !== void 0 && def.name.length > 0 ? def.name : def.type,\n\t\ttype: def.type,\n\t\tconnection: blindCast(connection),\n\t\trequired: def.required\n\t});\n}\n/**\n* Constructs a branded, frozen Module node. Construction is INERT — the body is\n* wiring, not user code, and runs only when the module is Loaded.\n*/\nfunction module(name, boundaryOrBody, maybeBody) {\n\trequireName(name, \"module\");\n\tif (typeof boundaryOrBody === \"function\") return buildModuleNode(false, name, {}, (ctx) => {\n\t\tboundaryOrBody({\n\t\t\t...ctx,\n\t\t\tinput: void 0\n\t\t});\n\t\treturn {};\n\t});\n\treturn buildModuleNode(false, name, boundaryOrBody, requireBody(\"module\", name, maybeBody));\n}\nfunction appRoot(name, optionsOrBody, maybeBody) {\n\trequireName(name, \"appRoot\");\n\tif (typeof optionsOrBody === \"function\") return buildModuleNode(true, name, {}, ({ environment, provision }) => {\n\t\toptionsOrBody({\n\t\t\tinput: void 0,\n\t\t\tenvironment,\n\t\t\tprovision\n\t\t});\n\t\treturn {};\n\t});\n\tconst body = requireBody(\"appRoot\", name, maybeBody);\n\tif (Object.hasOwn(optionsOrBody, \"deps\")) throw new Error(`appRoot(\"${name}\") declares \\`deps\\`, which an app root cannot have: nothing provisions the root, so nothing can wire a dependency into it. Provision the resource inside the root's body instead.`);\n\tif (Object.hasOwn(optionsOrBody, \"expose\")) throw new Error(`appRoot(\"${name}\") declares \\`expose\\`, which an app root cannot have: nothing provisions the root, so nothing can consume what it exposes.`);\n\treturn buildModuleNode(true, name, optionsOrBody, ({ input, environment, provision }) => {\n\t\tbody({\n\t\t\tinput,\n\t\t\tenvironment,\n\t\t\tprovision\n\t\t});\n\t\treturn {};\n\t});\n}\nfunction requireBody(factory, name, body) {\n\tif (typeof body !== \"function\") throw new Error(`${factory}(\"${name}\") requires a body function.`);\n\treturn body;\n}\n/** Constructs a branded, frozen module node for `module()` and `appRoot()`. Construction is inert: the body is wiring, and runs only when the module is Loaded. */\nfunction buildModuleNode(root, name, boundary, body) {\n\tconst factory = root ? \"appRoot\" : \"module\";\n\tif (Object.hasOwn(boundary, \"params\")) throw new Error(`${factory}(\"${name}\") declares \\`params\\`, which a module no longer takes. Declare each value as a field of the module's \\`input\\` schema, and bind it with provision(module, { input: { … } }) (ADR-0061).`);\n\tif (Object.hasOwn(boundary, \"secrets\")) throw new Error(`${factory}(\"${name}\") declares \\`secrets\\`, which a module no longer takes. Declare each secret as a secretString() field of the module's \\`input\\` schema, and bind it with provision(module, { input: { … } }) (ADR-0061).`);\n\trequireNotReservedPortNames(Object.keys(boundary.deps ?? {}), \"module\");\n\trequireNotReservedPortNames(Object.keys(boundary.expose ?? {}), \"module\");\n\tif (boundary.input !== void 0 && typeof boundary.input[\"~standard\"]?.validate !== \"function\") throw new Error(`${factory}() \\`input\\` must be a Standard Schema (an object with a \"~standard\".validate function) — see https://standardschema.dev (ADR-0061).`);\n\treturn Object.freeze({\n\t\t[NODE]: true,\n\t\tkind: \"module\",\n\t\tname,\n\t\tdeps: frozenShallowCopy(boundary.deps ?? {}),\n\t\tinputSchema: boundary.input,\n\t\texpose: frozenShallowCopy(boundary.expose ?? {}),\n\t\tbody,\n\t\tisRoot: () => root\n\t});\n}\n/**\n* True if `value` was constructed by this module's factories. Checks the\n* brand only, never a prototype — a graph may mix nodes from a different\n* installed copy of core (dual-package hazard).\n*/\nfunction isNode(value) {\n\treturn typeof value === \"object\" && value !== null && blindCast(value)[NODE] === true;\n}\n/** A node's dependency slots. A resource node built by another installed copy of core may have no `inputs`; that means none. */\nfunction slotsOf(node) {\n\treturn node.kind === \"resource\" ? node.inputs ?? {} : node.inputs;\n}\n//#endregion\n//#region src/toposort.ts\n/**\n* Stable topological sort: every edge's `from` precedes its `to` in the\n* result. Ties (nodes with no ordering constraint between them) keep their\n* relative order from `nodes` — so a graph already authored producer-first\n* comes out byte-identical to its pre-sort layout; only a graph that\n* genuinely needs reordering (e.g. a module wired via a forged ref pointing at a\n* not-yet-provisioned producer) actually moves. A Kahn's-algorithm variant\n* that always picks the ready node with the smallest original index. Edges\n* whose endpoint falls outside `nodes` (e.g. a service-root's input edges\n* targeting the root, which is appended separately) are ignored. Cycles\n* cannot reach here: `assertDependencyDag` already rejects them for\n* dependency edges, and input edges never cycle.\n*/\nfunction topoSort(nodes, edges) {\n\tconst byId = new Map(nodes.map((n) => [n.id, n]));\n\tconst indexOf = new Map(nodes.map((n, i) => [n.id, i]));\n\tconst indegree = new Map(nodes.map((n) => [n.id, 0]));\n\tconst successors = /* @__PURE__ */ new Map();\n\tfor (const edge of edges) {\n\t\tif (!byId.has(edge.from) || !byId.has(edge.to)) continue;\n\t\tconst targets = successors.get(edge.from) ?? [];\n\t\ttargets.push(edge.to);\n\t\tsuccessors.set(edge.from, targets);\n\t\tindegree.set(edge.to, (indegree.get(edge.to) ?? 0) + 1);\n\t}\n\tconst ready = new Set(nodes.filter((n) => indegree.get(n.id) === 0).map((n) => n.id));\n\tconst order = [];\n\twhile (ready.size > 0) {\n\t\tlet next;\n\t\tlet bestIndex = Number.POSITIVE_INFINITY;\n\t\tfor (const id of ready) {\n\t\t\tconst index = indexOf.get(id) ?? Number.POSITIVE_INFINITY;\n\t\t\tif (index < bestIndex) {\n\t\t\t\tbestIndex = index;\n\t\t\t\tnext = id;\n\t\t\t}\n\t\t}\n\t\tif (next === void 0) break;\n\t\tready.delete(next);\n\t\torder.push(next);\n\t\tfor (const target of successors.get(next) ?? []) {\n\t\t\tconst remaining = (indegree.get(target) ?? 0) - 1;\n\t\t\tindegree.set(target, remaining);\n\t\t\tif (remaining === 0) ready.add(target);\n\t\t}\n\t}\n\tif (order.length !== nodes.length) throw new InternalError(`topological sort processed ${order.length} of ${nodes.length} nodes — the graph contains a cycle that slipped past the DAG validation.`);\n\treturn order.map((id) => byId.get(id)).filter((n) => n !== void 0);\n}\n//#endregion\n//#region src/load-service.ts\n/**\n* The declared boundary ports of a module, service or resource node at `id`:\n* dep slots as `in` ports (contractKind = the slot's `type`), exposed\n* contracts as `out` ports (contractKind = the contract's `kind`, style = its\n* declared style). A resource's one `$out` port is recorded at its provision\n* site instead (load-module.ts).\n*/\nfunction boundaryPortsOf(id, node) {\n\tconst ports = [];\n\tconst slots = node.kind === \"module\" ? node.deps : slotsOf(node);\n\tfor (const [name, slot] of Object.entries(slots)) {\n\t\tconst type = typeof slot === \"object\" && slot !== null && \"type\" in slot && typeof slot.type === \"string\" ? slot.type : void 0;\n\t\tports.push({\n\t\t\tnode: id,\n\t\t\tdirection: \"in\",\n\t\t\tname,\n\t\t\tcontractKind: type,\n\t\t\tstyle: void 0\n\t\t});\n\t}\n\tconst expose = node.kind === \"resource\" ? {} : node.expose ?? {};\n\tfor (const [name, contract] of Object.entries(expose)) {\n\t\tconst kind = typeof contract === \"object\" && contract !== null && \"kind\" in contract && typeof contract.kind === \"string\" ? contract.kind : void 0;\n\t\tports.push({\n\t\t\tnode: id,\n\t\t\tdirection: \"out\",\n\t\t\tname,\n\t\t\tcontractKind: kind,\n\t\t\tstyle: contractStyleOf(contract)\n\t\t});\n\t}\n\treturn ports;\n}\n/** A resource node built by another installed copy of core may have no `inputs`; it has no slots. */\nfunction slotNodesAndEdges(node, nodeId) {\n\tconst inputs = slotsOf(node);\n\tif (typeof inputs !== \"object\" || inputs === null) throw new LoadError(`Node \"${nodeId}\" has no inputs map.`);\n\tconst nodes = [];\n\tconst edges = [];\n\tfor (const [input, value] of Object.entries(inputs)) {\n\t\tconst kind = isNode(value) ? value.kind : void 0;\n\t\tif (kind === \"resource\") throw new LoadError(`Dependency \"${input}\" of \"${nodeId}\" is a resource node — a resource is provisioned by the composing module, never created for a service that mentions it. Declare the input as a dependency (the pack's dependency factory) and wire the module-provisioned resource's ref into it.`);\n\t\tif (kind !== \"dependency\") throw new LoadError(`Dependency \"${input}\" of \"${nodeId}\" is not a branded dependency end (construct it with the dependency() factory).`);\n\t\tif (value.type.length === 0) throw new LoadError(`Dependency \"${input}\" of \"${nodeId}\" has an empty node type.`);\n\t\tconst id = `${nodeId}.${input}`;\n\t\tnodes.push({\n\t\t\tid,\n\t\t\tparent: nodeId,\n\t\t\tnode: value\n\t\t});\n\t\tedges.push({\n\t\t\tfrom: id,\n\t\t\tto: nodeId,\n\t\t\tinput,\n\t\t\tkind: \"input\"\n\t\t});\n\t}\n\treturn {\n\t\tnodes,\n\t\tedges\n\t};\n}\nfunction loadService(root, rootId) {\n\tfor (const [input, value] of Object.entries(root.inputs)) if (isNode(value) && value.kind === \"dependency\") throw new LoadError(`Service \"${rootId}\" has an unwired dependency \"${input}\" — this service is composed by a module; deploy the module instead of loading \"${rootId}\" directly.`);\n\tif (root.inputSchema !== void 0) throw new LoadError(`Service \"${rootId}\" declares an input schema but is being loaded directly — a lone service has no enclosing scope to bind its input. Compose it inside a module whose provision() call binds \\`input: { … }\\` (ADR-0042).`);\n\tconst rootGraphNode = {\n\t\tid: rootId,\n\t\tparent: void 0,\n\t\tnode: root\n\t};\n\tconst { nodes, edges } = slotNodesAndEdges(root, rootId);\n\treturn {\n\t\troot: rootGraphNode,\n\t\tnodes: [...topoSort(nodes, edges), rootGraphNode],\n\t\tedges,\n\t\tports: boundaryPortsOf(rootId, root),\n\t\tauthoredEdges: [],\n\t\tinputBindings: [],\n\t\tparams: [],\n\t\tsecretSources: [],\n\t\tvalueReads: [],\n\t\tappConfigurationRead: { rootInput: [] }\n\t};\n}\n//#endregion\n//#region src/resolve-values.ts\nfunction joinPath(path, key) {\n\treturn path === \"\" ? String(key) : `${path}.${key}`;\n}\nfunction describeSite(site) {\n\tswitch (site.kind) {\n\t\tcase \"serviceInput\": return site.path === \"\" ? `the input binding of service \"${site.address}\"` : `input key \"${site.path}\" of service \"${site.address}\"`;\n\t\tcase \"moduleInput\": return site.path === \"\" ? `the input binding of module \"${site.address}\"` : `input key \"${site.path}\" of module \"${site.address}\"`;\n\t\tcase \"param\": return `param \"${site.path}\" of service \"${site.address}\"`;\n\t\tcase \"props\": return site.path === \"\" ? `the props of resource \"${site.address}\"` : `prop \"${site.path}\" of resource \"${site.address}\"`;\n\t}\n}\nfunction collect(value, site, found, seen, recordSecret) {\n\tif (isSecretSource(value) || isParamSource(value)) {\n\t\tif (isSecretSource(value) && site.kind !== \"props\") recordSecret(value, site);\n\t\tif (site.kind === \"serviceInput\" || site.kind === \"param\" || !isValue(value)) return;\n\t\tfound.push({\n\t\t\tvalue,\n\t\t\tsite\n\t\t});\n\t\treturn;\n\t}\n\tif (isValue(value)) {\n\t\tfound.push({\n\t\t\tvalue,\n\t\t\tsite\n\t\t});\n\t\treturn;\n\t}\n\tif (!Array.isArray(value) && !isPlainObject(value)) return;\n\tif (seen.has(value)) return;\n\tseen.add(value);\n\tconst entries = Array.isArray(value) ? value.map((member, index) => [index, member]) : Object.entries(value);\n\tfor (const [key, member] of entries) {\n\t\tconst path = site.kind === \"param\" ? site.path : joinPath(site.path, key);\n\t\tcollect(member, {\n\t\t\t...site,\n\t\t\tpath\n\t\t}, found, seen, recordSecret);\n\t}\n}\nfunction describeNotPlain(value) {\n\tswitch (typeof value) {\n\t\tcase \"function\": return \"a function\";\n\t\tcase \"symbol\": return \"a symbol\";\n\t\tcase \"bigint\": return \"a bigint\";\n\t\tcase \"number\": return Number.isFinite(value) ? void 0 : \"a non-finite number\";\n\t\tcase \"object\": return value === null || Array.isArray(value) || isPlainObject(value) ? void 0 : \"an object that is not plain data\";\n\t\tdefault: return;\n\t}\n}\n/** How `value` would not survive `JSON.stringify` and `JSON.parse` unchanged, or `undefined` when it would. A key whose value is `undefined` is dropped, which a body cannot tell from absent. */\nfunction jsonInexactKind(value) {\n\tif (value === null || typeof value === \"string\" || typeof value === \"boolean\") return void 0;\n\tif (typeof value === \"number\") return Number.isFinite(value) ? void 0 : \"a non-finite number\";\n\tif (Array.isArray(value)) {\n\t\tfor (const member of value) {\n\t\t\tif (member === void 0) return \"an array with a missing member\";\n\t\t\tconst kind = jsonInexactKind(member);\n\t\t\tif (kind !== void 0) return kind;\n\t\t}\n\t\treturn;\n\t}\n\tif (isPlainObject(value)) {\n\t\tfor (const member of Object.values(value)) {\n\t\t\tif (member === void 0) continue;\n\t\t\tconst kind = jsonInexactKind(member);\n\t\t\tif (kind !== void 0) return kind;\n\t\t}\n\t\treturn;\n\t}\n\treturn describeNotPlain(value) ?? describeKind(value);\n}\n/** The `name` of the error a Load that takes what an earlier Load read fails with when it needs a root input field that Load did not read. */\nconst ROOT_INPUT_UNREAD_ERROR = \"RootInputUnreadError\";\nvar RootInputUnreadError = class extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = ROOT_INPUT_UNREAD_ERROR;\n\t}\n};\nconst SAME_GRAPH_ADVICE = \"A module body must build the same graph every time; one that reads the process environment, a file or the clock can build a different one.\";\nfunction isThenable(value) {\n\tif (isValue(value)) return false;\n\treturn typeof value === \"object\" && value !== null && \"then\" in value && typeof value.then === \"function\";\n}\nfunction canonicalSecret(source) {\n\tconst original = sourceOriginOf(source)?.source;\n\treturn isSecretSource(original) ? original : source;\n}\nfunction nodeKindOf(site) {\n\tswitch (site.kind) {\n\t\tcase \"serviceInput\":\n\t\tcase \"param\": return \"service\";\n\t\tcase \"moduleInput\": return \"module\";\n\t\tcase \"props\": return \"resource\";\n\t}\n}\nfunction pointersIn(values) {\n\tconst pointers = /* @__PURE__ */ new Set();\n\tconst seen = /* @__PURE__ */ new WeakSet();\n\tconst walk = (value) => {\n\t\tif (isSecretSource(value) || isParamSource(value)) {\n\t\t\tpointers.add(value);\n\t\t\treturn;\n\t\t}\n\t\tif (!Array.isArray(value) && !isPlainObject(value)) return;\n\t\tif (seen.has(value)) return;\n\t\tseen.add(value);\n\t\tfor (const member of Array.isArray(value) ? value : Object.values(value)) walk(member);\n\t};\n\twalk(values);\n\treturn pointers;\n}\nfunction checkResult(result, fnLabel) {\n\tif (isThenable(result)) throw new LoadError(`${fnLabel} returned a Promise. resolve() runs synchronously at Load.`);\n\tconst seen = /* @__PURE__ */ new WeakSet();\n\tconst walk = (value, path) => {\n\t\tconst atPath = path === \"\" ? \"\" : ` at \"${path}\"`;\n\t\tif (value === void 0) throw new LoadError(`${fnLabel} returned undefined${atPath}. Return a result for every environment; Composer never picks a default.`);\n\t\tif (isSecretSource(value) || isParamSource(value)) throw new LoadError(`${fnLabel} returned a source${atPath}, a value known only at boot. resolve() returns plain data; bind the source directly.`);\n\t\tif (isValue(value)) throw new LoadError(`${fnLabel} returned a value${atPath}, not a real value. List that value as a dependency; fn receives its real value.`);\n\t\tconst notPlain = describeNotPlain(value);\n\t\tif (notPlain !== void 0) throw new LoadError(`${fnLabel} returned ${notPlain}${atPath}. resolve() returns plain data: strings, finite numbers, booleans, null, arrays and plain objects.`);\n\t\tif (typeof value !== \"object\" || value === null || seen.has(value)) return;\n\t\tseen.add(value);\n\t\tconst entries = Array.isArray(value) ? value.map((member, index) => [index, member]) : Object.entries(value);\n\t\tfor (const [key, member] of entries) walk(member, joinPath(path, key));\n\t};\n\twalk(result, \"\");\n}\n/** The first pointer in `value`, at any depth through arrays and plain objects, with its key path; `undefined` when there is none. */\nfunction firstPointer(value, path = [], seen = /* @__PURE__ */ new WeakSet()) {\n\tif (isSecretSource(value) || isParamSource(value)) return {\n\t\tpointer: value,\n\t\tpath\n\t};\n\tif (!Array.isArray(value) && !isPlainObject(value)) return void 0;\n\tif (seen.has(value)) return void 0;\n\tseen.add(value);\n\tconst entries = Array.isArray(value) ? value.map((member, index) => [String(index), member]) : Object.entries(value);\n\tfor (const [key, member] of entries) {\n\t\tconst found = firstPointer(member, [...path, key], seen);\n\t\tif (found !== void 0) return found;\n\t}\n}\n/** Refuses a resolve() dependency whose real value is a pointer or holds one at any depth: `fn` computes with deploy-time data only. */\nfunction refusePointerDependency(fnLabel, dependency, real) {\n\tconst found = firstPointer(real);\n\tif (found === void 0) return;\n\tconst label = sourceOriginOf(found.pointer)?.label ?? \"a source\";\n\tconst origin = originOf(dependency);\n\tif (origin.kind !== \"input\") throw new LoadError(`${fnLabel} lists ${label}, which is known only at boot. A resolve() dependency must be a deploy-time value. Bind ${label} directly into the input of the service that reads it.`);\n\tconst listed = `${inputFieldLabel(origin)} of module \"${origin.module}\"`;\n\tconst field = inputFieldLabel({\n\t\t...origin,\n\t\tpath: [...origin.path, ...found.path]\n\t});\n\tthrow new LoadError(`${fnLabel} lists ${listed}, ${found.path.length === 0 ? `whose real value is ${label}` : `which holds ${label} at ${field}`}, a value known only at boot. A resolve() dependency must be a deploy-time value. ${isSecretPointer(found.pointer) ? `A secret has no deploy-time value: pass ${field} on into a binding, and read it in the service.` : `To compute with ${field}, declare it plain, without field(), and bind it to deploy-time data.`}`);\n}\nfunction substitute(value, results, inProgress, sources) {\n\tif (isSecretSource(value) || isParamSource(value)) return sources === \"keep\" || !isValue(value) ? value : results.get(value);\n\tif (isValue(value)) return results.get(value);\n\tif (Array.isArray(value)) {\n\t\tif (inProgress.has(value)) return value;\n\t\tinProgress.add(value);\n\t\tconst rebuilt = value.map((member) => substitute(member, results, inProgress, sources));\n\t\tinProgress.delete(value);\n\t\treturn rebuilt.every((member, index) => member === value[index]) ? value : rebuilt;\n\t}\n\tif (isPlainObject(value)) {\n\t\tif (inProgress.has(value)) return value;\n\t\tinProgress.add(value);\n\t\tconst rebuilt = {};\n\t\tlet changed = false;\n\t\tfor (const [key, member] of Object.entries(value)) {\n\t\t\tconst real = substitute(member, results, inProgress, sources);\n\t\t\tif (real === void 0 && isValue(member)) {\n\t\t\t\tchanged = true;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\trebuilt[key] = real;\n\t\t\tif (real !== member) changed = true;\n\t\t}\n\t\tinProgress.delete(value);\n\t\treturn changed ? rebuilt : value;\n\t}\n\treturn value;\n}\nfunction describeData(value) {\n\tif (Array.isArray(value)) return \"an array\";\n\tif (typeof value === \"object\") return \"an object that is not plain data\";\n\treturn `a ${typeof value}`;\n}\n/** The data at `origin`'s path inside a validated input; `undefined` where a key or a parent is absent. */\nfunction readPath(data, origin) {\n\tlet current = data;\n\tfor (const [index, key] of origin.path.entries()) {\n\t\tif (current === void 0 || current === null) return void 0;\n\t\tconst missing = `${inputFieldLabel(origin)} of module \"${origin.module}\" does not exist`;\n\t\tconst parent = inputFieldLabel({\n\t\t\t...origin,\n\t\t\tpath: origin.path.slice(0, index)\n\t\t});\n\t\tconst schemaAdvice = `The module's input schema must output a plain object for its body to read fields.`;\n\t\tif (isSecretSource(current) || isParamSource(current)) throw new LoadError(`${missing}: ${parent} stands for a value only the platform has at boot, so it has no fields` + (index === 0 ? `. ${schemaAdvice}` : \" and can only be passed on unchanged.\"));\n\t\tif (!isPlainObject(current)) {\n\t\t\tconst advice = index === 0 ? schemaAdvice : `To compute with it, it must be a plain field, not a wrapped or secret one; list it: resolve([${parent}], ([v]) => …).`;\n\t\t\tthrow new LoadError(`${missing}: ${parent} is ${describeData(current)}, not a plain object, so it has no fields. ${advice}`);\n\t\t}\n\t\tif (!Object.hasOwn(current, key)) return void 0;\n\t\tcurrent = current[key];\n\t}\n\treturn current;\n}\nfunction refuseSecretBoxes(address, value, path) {\n\tif (isSecretSource(value) || isParamSource(value)) return;\n\tif (isSecretString(value)) throw new LoadError(`${describeSite({\n\t\taddress,\n\t\tkind: \"moduleInput\",\n\t\tpath\n\t})} is bound to a SecretString. A secret's value never appears in the code; bind a secret source, or pass on an input field typed secretString().`);\n\tif (Array.isArray(value)) {\n\t\tfor (const [index, member] of value.entries()) refuseSecretBoxes(address, member, joinPath(path, index));\n\t\treturn;\n\t}\n\tif (isPlainObject(value)) for (const [key, member] of Object.entries(value)) refuseSecretBoxes(address, member, joinPath(path, key));\n}\n/** The original source each runtime value in `value` names, by its path. */\nfunction sourcesByPath(value, path = \"\", found = /* @__PURE__ */ new Map(), ancestors = /* @__PURE__ */ new Set()) {\n\tif (isSecretSource(value) || isParamSource(value)) {\n\t\tfound.set(path, sourceOriginOf(value)?.source ?? value);\n\t\treturn found;\n\t}\n\tif (!Array.isArray(value) && !isPlainObject(value)) return found;\n\tif (ancestors.has(value)) return found;\n\tancestors.add(value);\n\tconst entries = Array.isArray(value) ? value.map((member, index) => [index, member]) : Object.entries(value);\n\tfor (const [key, member] of entries) sourcesByPath(member, joinPath(path, key), found, ancestors);\n\tancestors.delete(value);\n\treturn found;\n}\nfunction validateModuleInput(entry, resolved, environment) {\n\tconst address = entry.moduleAddress;\n\trefuseSecretBoxes(address, resolved, \"\");\n\tconst result = entry.schema[\"~standard\"].validate(resolved);\n\tif (result instanceof Promise) throw new LoadError(`The input schema of module \"${address}\" returned a Promise from validate(). A module's input is validated synchronously at Load; use a schema with no asynchronous checks.`);\n\tif (result.issues !== void 0) {\n\t\tconst messages = result.issues.map((issue) => issue.message).join(\"; \");\n\t\tif (entry.isLoadRoot) throw new LoadError(`The input of root module \"${address}\" does not match its input schema: ${messages}. A root's input is the values the \\`config\\` adapters in prisma.config.ts return${environment === void 0 ? \"\" : ` for the environment \"${environment.name}\"`}.`);\n\t\tthrow new LoadError(`The input binding of module \"${address}\" does not match the module's input schema: ${messages}`);\n\t}\n\tconst bound = sourcesByPath(resolved);\n\tconst onlyChecked = \"Its value is known only at boot, so a module's schema may check the field but never replace or move it.\";\n\tconst restore = (value, path) => {\n\t\tconst expected = bound.get(path);\n\t\tif (isSecretSource(value) || isParamSource(value)) {\n\t\t\tconst source = sourceOriginOf(value)?.source ?? value;\n\t\t\tif (source !== expected) throw new LoadError(`The input schema of module \"${address}\" moved ${sourceOriginOf(source)?.label} to input key \"${path}\". ${onlyChecked}`);\n\t\t\treturn source;\n\t\t}\n\t\tif (expected !== void 0 && value !== void 0) throw new LoadError(`The input schema of module \"${address}\" replaced input key \"${path}\", which is bound to ${sourceOriginOf(expected)?.label}. ${onlyChecked}`);\n\t\tif (isSecretString(value)) {\n\t\t\tconst atPath = path === \"\" ? \"\" : ` at \"${path}\"`;\n\t\t\tthrow new LoadError(`The input schema of module \"${address}\" produced a SecretString${atPath} that its binding did not supply. A module's schema may check a secret field, never create one.`);\n\t\t}\n\t\tif (Array.isArray(value)) return value.map((member, index) => restore(member, joinPath(path, index)));\n\t\tif (isPlainObject(value)) return Object.fromEntries(Object.entries(value).map(([key, member]) => [key, restore(member, joinPath(path, key))]));\n\t\treturn value;\n\t};\n\treturn restore(result.value, \"\");\n}\nfunction refuseSourcesInParams(params) {\n\tfor (const { serviceAddress, slot, binding } of params) {\n\t\tconst [source] = pointersIn(binding);\n\t\tif (source === void 0) continue;\n\t\tthrow new LoadError(`Service \"${serviceAddress}\" binds its param \"${slot}\" to ${sourceOriginOf(source)?.label ?? \"a source\"}, a value known only at boot. A param takes a literal or a value the deploy has. Bind the value to a field of the service's input instead.`);\n\t}\n}\nfunction refusePointersInProps(address, props) {\n\tconst seen = /* @__PURE__ */ new WeakSet();\n\tconst walk = (value, path) => {\n\t\tif (isSecretSource(value) || isParamSource(value)) {\n\t\t\tconst label = sourceOriginOf(value)?.label ?? \"a source\";\n\t\t\tthrow new LoadError(`${describeSite({\n\t\t\t\taddress,\n\t\t\t\tkind: \"props\",\n\t\t\t\tpath\n\t\t\t})} is bound to ${label}, which is known only at boot. A resource's props are read at deploy; bind a value known at deploy.`);\n\t\t}\n\t\tif (!Array.isArray(value) && !isPlainObject(value)) return;\n\t\tif (seen.has(value)) return;\n\t\tseen.add(value);\n\t\tconst entries = Array.isArray(value) ? value.map((member, index) => [index, member]) : Object.entries(value);\n\t\tfor (const [key, member] of entries) walk(member, joinPath(path, key));\n\t};\n\twalk(props, \"\");\n}\n/**\n* Resolves every value the graph binds, dependency-first, once each, and\n* returns each binding with its values replaced by their real values.\n*/\nfunction resolveValues(input) {\n\tconst { environment } = input;\n\tconst rootFields = /* @__PURE__ */ new Map();\n\tconst secretUses = /* @__PURE__ */ new Map();\n\tfor (const [address, value] of input.valueResources) if (isSecretSource(value)) secretUses.set(value, {\n\t\tsource: value,\n\t\taddress,\n\t\tnodeKind: \"resource\"\n\t});\n\tconst recordSecret = (source, site) => {\n\t\tconst canonical = canonicalSecret(source);\n\t\tif (secretUses.has(canonical)) return;\n\t\tsecretUses.set(canonical, {\n\t\t\tsource: canonical,\n\t\t\taddress: site.address,\n\t\t\tnodeKind: nodeKindOf(site)\n\t\t});\n\t};\n\tconst secretSourcesReceivedBy = (inputBindings) => {\n\t\tfor (const { serviceAddress, binding } of inputBindings) for (const pointer of pointersIn(binding)) {\n\t\t\tif (!isSecretSource(pointer)) continue;\n\t\t\tconst canonical = canonicalSecret(pointer);\n\t\t\tif (secretUses.get(canonical)?.nodeKind === \"service\") continue;\n\t\t\tsecretUses.set(canonical, {\n\t\t\t\tsource: canonical,\n\t\t\t\taddress: serviceAddress,\n\t\t\t\tnodeKind: \"service\"\n\t\t\t});\n\t\t}\n\t\treturn [...secretUses.values()];\n\t};\n\tconst found = [];\n\tfor (const { serviceAddress, binding } of input.inputBindings) collect(binding, {\n\t\taddress: serviceAddress,\n\t\tkind: \"serviceInput\",\n\t\tpath: \"\"\n\t}, found, /* @__PURE__ */ new WeakSet(), recordSecret);\n\tfor (const { serviceAddress, slot, binding } of input.params) collect(binding, {\n\t\taddress: serviceAddress,\n\t\tkind: \"param\",\n\t\tpath: slot\n\t}, found, /* @__PURE__ */ new WeakSet(), recordSecret);\n\tfor (const [address, resource] of input.resources) {\n\t\tconst site = {\n\t\t\taddress,\n\t\t\tkind: \"props\",\n\t\t\tpath: \"\"\n\t\t};\n\t\tcollect(resource.props, site, found, /* @__PURE__ */ new WeakSet(), recordSecret);\n\t}\n\tconst moduleInputByAddress = new Map(input.moduleInputs.map((entry) => [entry.moduleAddress, entry]));\n\tconst validatedInputs = /* @__PURE__ */ new Map();\n\tconst validating = /* @__PURE__ */ new Set();\n\tconst results = /* @__PURE__ */ new Map();\n\tconst visiting = [];\n\tconst fnLabelFor = (site) => visiting.length === 1 ? `The resolve() function for ${describeSite(site)}` : `A resolve() function that ${describeSite(site)} depends on`;\n\tconst resolveOne = (value, site) => {\n\t\tif (results.has(value)) return results.get(value);\n\t\tif (visiting.includes(value)) throw new LoadError(`${describeSite(site)} depends on itself: a computed value's dependencies lead back to it. Remove the cycle.`);\n\t\tvisiting.push(value);\n\t\tconst origin = originOf(value);\n\t\tlet result;\n\t\tswitch (origin.kind) {\n\t\t\tcase \"environment\":\n\t\t\t\tif (environment === void 0) throw new LoadError(`${describeSite(site)} depends on environment.name, but Load was given no environment. Pass { environment: { name } } to Load; the deploy and dev commands do.`);\n\t\t\t\tresult = environment[origin.fact];\n\t\t\t\tbreak;\n\t\t\tcase \"source\":\n\t\t\t\tif (isSecretSource(origin.source)) recordSecret(origin.source, site);\n\t\t\t\tresult = origin.source;\n\t\t\t\tbreak;\n\t\t\tcase \"computed\": {\n\t\t\t\tconst args = origin.dependencies.map((dependency) => {\n\t\t\t\t\tconst real = resolveOne(dependency, site);\n\t\t\t\t\trefusePointerDependency(fnLabelFor(site), dependency, real);\n\t\t\t\t\treturn real;\n\t\t\t\t});\n\t\t\t\ttry {\n\t\t\t\t\tresult = origin.compute(args);\n\t\t\t\t} catch (thrown) {\n\t\t\t\t\tif (thrown instanceof LoadError && !isSourceMisuse(thrown)) throw thrown;\n\t\t\t\t\tconst message = thrown instanceof Error ? thrown.message : String(thrown);\n\t\t\t\t\tthrow new LoadError(`${fnLabelFor(site)} threw: ${message}`, { cause: thrown });\n\t\t\t\t}\n\t\t\t\tcheckResult(result, fnLabelFor(site));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"input\": {\n\t\t\t\tconst entry = moduleInputByAddress.get(origin.module);\n\t\t\t\tif (entry === void 0) throw new LoadError(`${describeSite(site)} depends on ${inputFieldLabel(origin)} of module \"${origin.module}\", which this Load does not provision. An input field can be passed on only inside the body of the module that received it.`);\n\t\t\t\tif (origin.path.length === 0) {\n\t\t\t\t\tconst everyVariable = entry.isLoadRoot ? \" The root's input is every value the `config` adapters return, which by default is every variable of the process environment, secrets included.\" : \"\";\n\t\t\t\t\tthrow new LoadError(`${describeSite(site)} depends on the whole input of module \"${origin.module}\". A module body's input is a dictionary of values, not a value, so it cannot be passed on whole.${everyVariable} Pass its fields on by name, such as input.from.`);\n\t\t\t\t}\n\t\t\t\tif (entry.checked !== void 0) {\n\t\t\t\t\tconst field = entry.checked.find((candidate) => candidate.path.join(\"\\0\") === origin.path.join(\"\\0\"));\n\t\t\t\t\tif (field === void 0) throw new RootInputUnreadError(`${inputFieldLabel(origin)} of root module \"${origin.module}\" was not read when this command started, so it has no value here. ${SAME_GRAPH_ADVICE}`);\n\t\t\t\t\tresult = field.value;\n\t\t\t\t} else {\n\t\t\t\t\tresult = readPath(validatedInputOf(entry), origin);\n\t\t\t\t\tif (entry.isLoadRoot) rootFields.set(origin.path.join(\"\\0\"), result === void 0 ? { path: origin.path } : {\n\t\t\t\t\t\tpath: origin.path,\n\t\t\t\t\t\tvalue: result\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tvisiting.pop();\n\t\tresults.set(value, result);\n\t\treturn result;\n\t};\n\tconst validatedInputOf = (entry) => {\n\t\tif (entry.checked !== void 0) return void 0;\n\t\tif (validatedInputs.has(entry.moduleAddress)) return validatedInputs.get(entry.moduleAddress);\n\t\tif (validating.has(entry.moduleAddress)) throw new LoadError(`The input binding of module \"${entry.moduleAddress}\" depends on that module's own input. Remove the cycle.`);\n\t\tvalidating.add(entry.moduleAddress);\n\t\tconst site = {\n\t\t\taddress: entry.moduleAddress,\n\t\t\tkind: \"moduleInput\",\n\t\t\tpath: \"\"\n\t\t};\n\t\tconst values = [];\n\t\tcollect(entry.binding, site, values, /* @__PURE__ */ new WeakSet(), recordSecret);\n\t\tfor (const { value, site: valueSite } of values) resolveOne(value, valueSite);\n\t\tconst validated = validateModuleInput(entry, substitute(entry.binding, results, /* @__PURE__ */ new WeakSet(), \"resolve\"), environment);\n\t\tvalidating.delete(entry.moduleAddress);\n\t\tvalidatedInputs.set(entry.moduleAddress, validated);\n\t\treturn validated;\n\t};\n\tconst rootModuleAddress = () => input.moduleInputs.find((entry) => entry.isLoadRoot)?.moduleAddress ?? \"\";\n\tconst appConfigurationReadOf = (secretSources) => {\n\t\tfor (const use of secretSources) {\n\t\t\tconst origin = sourceOriginOf(use.source);\n\t\t\tif (origin?.sourceKind !== \"secret\") continue;\n\t\t\tconst key = origin.secretsKey;\n\t\t\tconst field = [...rootFields.values()].find((candidate) => candidate.path[0] === key);\n\t\t\tif (key !== void 0 && field !== void 0) throw new LoadError(`${inputFieldLabel({\n\t\t\t\tkind: \"input\",\n\t\t\t\tmodule: rootModuleAddress(),\n\t\t\t\tpath: field.path\n\t\t\t})} of root module \"${rootModuleAddress()}\" reads \"${key}\" from the app configuration, and ${origin.label} names \"${key}\" as a secret. A name is a plain value or a secret, not both: a root input field is a plain value, which \\`prisma deploy\\` sends to the platform as plain configuration, \\`prisma dev\\` gives to the local services as plain configuration, and \\`destroy\\` writes to a file. Read the secret with ${origin.label} only, or give the plain value a different name.`);\n\t\t}\n\t\tfor (const field of rootFields.values()) {\n\t\t\tconst kind = \"value\" in field ? jsonInexactKind(field.value) : void 0;\n\t\t\tif (kind !== void 0) throw new LoadError(`${inputFieldLabel({\n\t\t\t\tkind: \"input\",\n\t\t\t\tmodule: rootModuleAddress(),\n\t\t\t\tpath: field.path\n\t\t\t})} of root module \"${rootModuleAddress()}\" holds ${kind}, which JSON cannot hold exactly. \\`destroy\\` hands the root's input to its second process in a JSON file, so a field the root's body passes on must hold text, a finite number, a boolean, null, or arrays and plain objects of these.`);\n\t\t}\n\t\treturn { rootInput: [...rootFields.values()] };\n\t};\n\tfor (const entry of input.moduleInputs) validatedInputOf(entry);\n\tfor (const { value, site } of found) resolveOne(value, site);\n\tconst authoredProps = new Map([...input.resources].map(([address, resource]) => [address, resource.props]));\n\tif (found.length === 0) {\n\t\tfor (const [address, props] of authoredProps) refusePointersInProps(address, props);\n\t\trefuseSourcesInParams(input.params);\n\t\tconst secretSources = secretSourcesReceivedBy(input.inputBindings);\n\t\treturn {\n\t\t\tinputBindings: input.inputBindings,\n\t\t\tparams: input.params,\n\t\t\tresourceProps: authoredProps,\n\t\t\tsecretSources,\n\t\t\tappConfigurationRead: appConfigurationReadOf(secretSources)\n\t\t};\n\t}\n\tconst inProgress = /* @__PURE__ */ new WeakSet();\n\tconst resourceProps = /* @__PURE__ */ new Map();\n\tfor (const [address, props] of authoredProps) {\n\t\tconst substituted = substitute(props, results, inProgress, \"resolve\");\n\t\trefusePointersInProps(address, substituted);\n\t\tconst resolvedProps = substituted === props ? props : blindCast(substituted);\n\t\tresourceProps.set(address, resolvedProps);\n\t}\n\tconst inputBindings = input.inputBindings.map((entry) => {\n\t\tconst binding = substitute(entry.binding, results, inProgress, \"keep\");\n\t\treturn binding === entry.binding ? entry : {\n\t\t\tserviceAddress: entry.serviceAddress,\n\t\t\tbinding: blindCast(binding)\n\t\t};\n\t});\n\tconst params = input.params.flatMap((entry) => {\n\t\tconst binding = substitute(entry.binding, results, inProgress, \"keep\");\n\t\tif (binding === void 0 && isValue(entry.binding)) return [];\n\t\treturn [binding === entry.binding ? entry : {\n\t\t\t...entry,\n\t\t\tbinding\n\t\t}];\n\t});\n\trefuseSourcesInParams(params);\n\tconst secretSources = secretSourcesReceivedBy(inputBindings);\n\treturn {\n\t\tresourceProps,\n\t\tinputBindings,\n\t\tparams,\n\t\tsecretSources,\n\t\tappConfigurationRead: appConfigurationReadOf(secretSources)\n\t};\n}\nfunction valueReadsOf(inputBindings) {\n\tconst reads = [];\n\tfor (const { serviceAddress, binding } of inputBindings) for (const [path, source] of sourcesByPath(binding)) {\n\t\tconst resource = sourceOriginOf(source)?.resource;\n\t\tif (resource !== void 0) reads.push({\n\t\t\treader: serviceAddress,\n\t\t\tresource,\n\t\t\tpath\n\t\t});\n\t}\n\treturn reads;\n}\n//#endregion\n//#region src/load-module.ts\n/**\n* Brands a ref-port with the AUTHORED endpoint it stands for — which port of\n* which node the author wired, before any forwarding chain resolves. Read\n* only by `authoredSourceOf`; `__providerId` keeps carrying the resolved\n* producer for the flat (post-dereference) edges.\n*/\nconst AUTHORED_PORT = Symbol(\"prisma:authored-port\");\n/** The authored out-port brand carried by `ref`, if any. */\nfunction authoredPortOf(ref) {\n\tif (typeof ref !== \"object\" || ref === null) return void 0;\n\tconst brand = blindCast(ref)[AUTHORED_PORT];\n\tif (typeof brand !== \"object\" || brand === null) return void 0;\n\tconst { node, name } = blindCast(brand);\n\treturn typeof node === \"string\" && typeof name === \"string\" ? {\n\t\tnode,\n\t\tname\n\t} : void 0;\n}\n/**\n* Builds the ref a provision() call hands back: the id (so a producer with no\n* exposed ports — or an untyped slot — can still be wired wholesale) plus one\n* ref-port per exposed contract, each the contract's own runtime value (so\n* its `satisfies()` still works) tagged with the provider's id.\n*/\nfunction refFor(id, service) {\n\tconst ports = {};\n\tfor (const [port, contract] of Object.entries(service.expose ?? {})) ports[port] = {\n\t\t...contract,\n\t\t__providerId: id,\n\t\t[AUTHORED_PORT]: {\n\t\t\tnode: id,\n\t\t\tname: port\n\t\t}\n\t};\n\treturn blindCast({\n\t\tid,\n\t\t...ports\n\t});\n}\n/**\n* The resource variant of refFor: a resource has at most one port — the\n* contract it provides — flattened onto the ref itself, tagged with the\n* provider id. `id` and the authored brand are written last so a hostile\n* contract value cannot clobber them. A resource that exposes nothing gets\n* only its id.\n*/\nfunction refForResource(id, resource) {\n\tconst provides = resource.provides;\n\tif (provides === void 0) return { id };\n\treturn blindCast({\n\t\t...provides,\n\t\t__providerId: id,\n\t\tid,\n\t\t[AUTHORED_PORT]: {\n\t\t\tnode: id,\n\t\t\tname: RESOURCE_OUT_PORT\n\t\t}\n\t});\n}\n/** A wired value's producer id: a ref-port's `__providerId`, or a bare ref's `id`. */\nfunction producerIdOf(ref) {\n\tif (typeof ref !== \"object\" || ref === null) return void 0;\n\tif (\"__providerId\" in ref && typeof ref.__providerId === \"string\") return ref.__providerId;\n\tif (\"id\" in ref && typeof ref.id === \"string\") return ref.id;\n}\n/**\n* Brands each `ctx.deps` entry with the input key it stands for (see\n* flatten): diagnostic only — usage attribution relies on the per-key object\n* identity the branding copy creates, never on reading this back.\n*/\nconst MODULE_INPUT_KEY = Symbol(\"prisma:module-input-key\");\nfunction describeNode(node) {\n\treturn valueResourceOrigin(node)?.label ?? `${node.kind} \"${node.name}\"`;\n}\n/** Whether `ref` carries a callable `satisfies` that accepts `required` truthily. */\nfunction satisfiesRequired(ref, required) {\n\treturn typeof ref === \"object\" && ref !== null && \"satisfies\" in ref && typeof ref.satisfies === \"function\" && ref.satisfies(required);\n}\n/**\n* Checks one recorded `wiring` object against the Deps it was wired against:\n* every named input exists and is a dependency slot, every referenced\n* producer is a real (by-now-provisioned) address, and a wired ref whose\n* slot declares a required contract must satisfy() it — no producer-kind\n* branching, the contract alone determines validity, whether the producer is\n* a service port or a resource. Shared by both provisioned kinds so a\n* module-as-child gets exactly the checks a service gets, and run once per\n* entry against the one `byId` shared by the whole recursive flatten, so a\n* forwarded ref resolves through to its real producer address regardless of\n* which ancestor scope provisioned it.\n*/\nfunction validateWiring(pending, byId) {\n\tconst { deps, wiring, targetId, targetKind, enclosingModuleName } = pending;\n\tfor (const [input, ref] of Object.entries(wiring)) {\n\t\tconst declared = blindCast(deps[input]);\n\t\tif (declared === void 0 || !isNode(declared) || declared.kind !== \"dependency\") throw new LoadError(`The deps for \"${targetId}\" name \"${input}\", which is not a dependency slot of that ${targetKind}.`);\n\t\tconst producerId = producerIdOf(ref);\n\t\tconst producer = producerId !== void 0 ? byId.get(producerId) : void 0;\n\t\tif (producerId === void 0 || producer === void 0) throw new LoadError(`The deps for \"${targetId}.${input}\" reference \"${String(producerId)}\", which is not provisioned in module \"${enclosingModuleName}\".`);\n\t\tconst required = declared.required;\n\t\tif (required !== void 0 && !satisfiesRequired(ref, required)) throw new LoadError(`The deps for \"${targetId}.${input}\" do not satisfy the slot's required contract.`);\n\t}\n\tfor (const [input, rawValue] of Object.entries(deps)) {\n\t\tconst value = blindCast(rawValue);\n\t\tif (!isNode(value) || wiring[input] !== void 0) continue;\n\t\tif (value.kind === \"dependency\") throw new LoadError(`Dependency \"${input}\" of provisioned ${targetKind} \"${targetId}\" is not wired to a producer (module \"${enclosingModuleName}\").`);\n\t}\n}\n/** The (unvalidated) edges a `wiring` object implies — one dependency edge per entry; `validateWiring` does the real checking. */\nfunction wiringEdges(wiring, targetId) {\n\treturn Object.entries(wiring).map(([input, ref]) => ({\n\t\tfrom: producerIdOf(ref) ?? \"\",\n\t\tto: targetId,\n\t\tinput,\n\t\tkind: \"dependency\"\n\t}));\n}\n/**\n* Checks the params wired into a provisioned SERVICE: a declared param is never\n* required to be bound here — it may fall back to its own `default` (checked\n* later, at `buildConfig`) — so this only rejects a wired key that names\n* something other than a real declared param.\n*/\nfunction validateServiceParamBinding(child, id, paramWiring, enclosingModuleName) {\n\tfor (const slot of Object.keys(paramWiring)) if (!Object.hasOwn(child.params, slot)) throw new LoadError(`The params for \"${id}\" name \"${slot}\", which is not a param of that service (module \"${enclosingModuleName}\").`);\n}\n/**\n* Recursively flattens one module's body into the shared graph state and\n* returns its resolved ModuleOutputs (one ref-port per expose key) for the\n* caller (the enclosing provision() call, or Load itself for the root) to\n* use. `wiring` supplies a\n* resolved producer ref-port for each of this module's OWN declared deps (empty\n* for the root, which may not declare any — see the root non-empty-deps\n* check in loadModule). `nodes`, `edges`, `pending`, and `byId` are shared\n* across the ENTIRE recursive flatten, not per scope — a nested module may\n* forward in a producer provisioned by an ancestor scope, and it is the\n* shared `byId` (keyed by full address) that lets that resolve.\n*\n* `selfId` is this module's own full address — for the root, the deployed app\n* name (ADR-0057). Every child's address is `selfId` plus its provision id, so\n* every address starts with the app name. It also anchors the authored view:\n* children carry it as their `parent`, and this module's own boundary ports\n* (and the authored edges touching them) are recorded against it.\n*/\nfunction flatten(moduleNode, selfId, wiring, nodes, edges, pending, inputBindings, paramBindings, moduleInputs, byId, valueResources, ports, authoredEdges, loading) {\n\tports.push(...boundaryPortsOf(selfId, moduleNode));\n\tconst localNodes = /* @__PURE__ */ new Map();\n\tconst used = /* @__PURE__ */ new Set();\n\tconst ctxInputs = {};\n\tfor (const key of Object.keys(moduleNode.deps)) {\n\t\tconst wired = wiring[key];\n\t\tctxInputs[key] = typeof wired === \"object\" && wired !== null ? {\n\t\t\t...wired,\n\t\t\t[MODULE_INPUT_KEY]: key\n\t\t} : wired;\n\t}\n\tconst markUsed = (values) => {\n\t\tfor (const value of values) for (const key of Object.keys(ctxInputs)) if (value === ctxInputs[key]) used.add(key);\n\t};\n\tconst authoredSourceOf = (value) => {\n\t\tfor (const key of Object.keys(ctxInputs)) if (value === ctxInputs[key]) return {\n\t\t\tnode: selfId,\n\t\t\tdirection: \"in\",\n\t\t\tname: key\n\t\t};\n\t\tconst brand = authoredPortOf(value);\n\t\treturn brand === void 0 ? void 0 : {\n\t\t\tnode: brand.node,\n\t\t\tdirection: \"out\",\n\t\t\tname: brand.name\n\t\t};\n\t};\n\t/** Records the authored edge each wiring entry declares: source port → the target's own `in` port. */\n\tconst recordAuthoredWiring = (targetId, targetWiring) => {\n\t\tfor (const [input, ref] of Object.entries(targetWiring)) {\n\t\t\tconst from = authoredSourceOf(ref);\n\t\t\tif (from !== void 0) authoredEdges.push({\n\t\t\t\tfrom,\n\t\t\t\tto: {\n\t\t\t\t\tnode: targetId,\n\t\t\t\t\tdirection: \"in\",\n\t\t\t\t\tname: input\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n\tconst provision = (child, opts) => {\n\t\tif (loading.sealed) throw new LoadError(`provision() was called after module \"${moduleNode.name}\" was loaded, from inside a resolve() function. resolve() computes values, never structure: the graph is the same whatever inputs Composer is given (ADR-0062). Provision the node in the module body and pass the value into it.`);\n\t\tconst id = opts?.id ?? child.name;\n\t\tconst provisionWiring = opts?.deps;\n\t\tconst provisionSecrets = opts?.secrets;\n\t\tconst provisionInput = opts?.input;\n\t\tconst provisionParams = opts?.params;\n\t\tif (isValue(id)) throw new LoadError(`provision() received a value as its id (module \"${moduleNode.name}\"). A value can configure a node, never decide its address: the graph is the same whatever inputs Composer is given (ADR-0062).`);\n\t\tif (typeof id !== \"string\" || id.length === 0) throw new LoadError(`provision() requires a non-empty id (module \"${moduleNode.name}\").`);\n\t\tif (!isConfigKeySegment(id)) throw new LoadError(`provision() id \"${id}\" (module \"${moduleNode.name}\") must contain only ASCII letters and digits ([A-Za-z0-9]) — the id becomes an address segment, and addresses derive deterministic config keys (segments uppercased and joined with \"_\"). \"${id}\" would put \"${id.toUpperCase()}\" inside the derived key. (\"_\" collides with the key separator and \".\" with the address separator.)`);\n\t\tconst fullAddress = `${selfId}.${id}`;\n\t\tconst untrusted = child;\n\t\tif (!isNode(untrusted) || untrusted.kind !== \"service\" && untrusted.kind !== \"resource\" && untrusted.kind !== \"module\") throw new LoadError(`provision(\"${id}\") expects a branded service, resource, or module node (construct it with the service()/resource()/module() factories or a pack's own).`);\n\t\tif (untrusted.kind === \"module\" && typeof untrusted.isRoot === \"function\" && untrusted.isRoot()) throw new LoadError(`Module \"${selfId}\" provisions the app root \"${untrusted.name}\". An app root is the deploy's entry and cannot be provisioned. Build the module with module() instead.`);\n\t\tconst holder = localNodes.get(id);\n\t\tif (holder !== void 0) throw new LoadError(`Duplicate provision id \"${id}\" in module \"${selfId}\": \"${fullAddress}\" already holds ${describeNode(holder)}, and ${describeNode(child)} takes the same id. Give one of them a different id with provision(node, { id: '…' }).`);\n\t\tlocalNodes.set(id, child);\n\t\tif (child.kind === \"resource\") {\n\t\t\tconst valueOrigin = valueResourceOrigin(child);\n\t\t\tif (valueOrigin !== void 0) {\n\t\t\t\tif (typeof moduleNode.isRoot !== \"function\" || !moduleNode.isRoot()) throw new LoadError(`Module \"${selfId}\" provisions \"${id}\", a resource that is a value. Only the app root, built with appRoot(), can provision one. Provision it in the root and pass its value down through this module's input.`);\n\t\t\t\tconst also = child.provides !== void 0 ? \"provides a contract\" : Object.keys(slotsOf(child)).length > 0 ? \"declares dependency slots\" : void 0;\n\t\t\t\tif (also !== void 0) throw new LoadError(`Resource \"${fullAddress}\" is a value and also ${also}. A resource that is a value provides no contract and has no dependencies.`);\n\t\t\t}\n\t\t\tif (provisionWiring !== void 0) throw new LoadError(`provision(\"${id}\") received deps for a resource — a resource's slots are wired when it is constructed, not at provision().`);\n\t\t\tif (provisionSecrets !== void 0) throw new LoadError(`provision(\"${id}\") received secrets for a resource — a resource has no secret slots to satisfy.`);\n\t\t\tif (provisionInput !== void 0) throw new LoadError(`provision(\"${id}\") received an input binding for a resource — a resource declares no input schema.`);\n\t\t\tif (provisionParams !== void 0) throw new LoadError(`provision(\"${id}\") received params for a resource — a resource has no params to satisfy.`);\n\t\t\tif (child.type.length === 0) throw new LoadError(`provision(\"${id}\") received a resource with an empty node type.`);\n\t\t\tconst localWiring = { ...child.deps };\n\t\t\tmarkUsed(Object.values(localWiring));\n\t\t\tbyId.set(fullAddress, child);\n\t\t\tconst slots = slotNodesAndEdges(child, fullAddress);\n\t\t\tnodes.push(...slots.nodes, {\n\t\t\t\tid: fullAddress,\n\t\t\t\tparent: selfId,\n\t\t\t\tnode: child\n\t\t\t});\n\t\t\tedges.push(...slots.edges, ...wiringEdges(localWiring, fullAddress));\n\t\t\tports.push(...boundaryPortsOf(fullAddress, child));\n\t\t\tconst provides = child.provides;\n\t\t\tif (provides !== void 0) ports.push({\n\t\t\t\tnode: fullAddress,\n\t\t\t\tdirection: \"out\",\n\t\t\t\tname: RESOURCE_OUT_PORT,\n\t\t\t\tcontractKind: provides.kind,\n\t\t\t\tstyle: contractStyleOf(provides)\n\t\t\t});\n\t\t\trecordAuthoredWiring(fullAddress, localWiring);\n\t\t\tpending.push({\n\t\t\t\tdeps: child.inputs ?? {},\n\t\t\t\twiring: localWiring,\n\t\t\t\ttargetId: fullAddress,\n\t\t\t\ttargetKind: \"resource\",\n\t\t\t\tenclosingModuleName: moduleNode.name\n\t\t\t});\n\t\t\tif (valueOrigin !== void 0) {\n\t\t\t\tconst value = provisionedValue(valueOrigin, fullAddress);\n\t\t\t\tvalueResources.set(fullAddress, value);\n\t\t\t\treturn value;\n\t\t\t}\n\t\t\treturn refForResource(fullAddress, child);\n\t\t}\n\t\tfor (const [input, ref] of Object.entries(provisionWiring ?? {})) if (isValue(ref)) throw new LoadError(`The deps for \"${fullAddress}.${input}\" are bound to a value. A value can configure a node, never decide its edges: the graph is the same whatever inputs Composer is given (ADR-0062).`);\n\t\tconst localWiring = { ...provisionWiring ?? {} };\n\t\tmarkUsed(Object.values(localWiring));\n\t\tconst localParams = { ...provisionParams ?? {} };\n\t\tif (child.kind === \"service\") {\n\t\t\tif (provisionSecrets !== void 0) throw new LoadError(`provision(\"${id}\") received secrets for a service — a service takes its secrets as values bound to secretString() fields of its \\`input\\` binding, not a secrets map.`);\n\t\t\tif (child.inputSchema !== void 0 && provisionInput === void 0) throw new LoadError(`Input of provisioned service \"${id}\" is not bound (module \"${moduleNode.name}\") — the service declares an input schema; bind it with \\`input: { … }\\` on its provision() call.`);\n\t\t\tif (child.inputSchema === void 0 && provisionInput !== void 0) throw new LoadError(`provision(\"${id}\") received an input binding, but the service declares no input schema (module \"${moduleNode.name}\").`);\n\t\t\tif (provisionInput !== void 0) inputBindings.push({\n\t\t\t\tserviceAddress: fullAddress,\n\t\t\t\tbinding: provisionInput\n\t\t\t});\n\t\t\tvalidateServiceParamBinding(child, id, localParams, moduleNode.name);\n\t\t\tfor (const [slot, binding] of Object.entries(localParams)) paramBindings.push({\n\t\t\t\tserviceAddress: fullAddress,\n\t\t\t\tslot,\n\t\t\t\tbinding\n\t\t\t});\n\t\t\tconst inputs = slotNodesAndEdges(child, fullAddress);\n\t\t\tnodes.push(...inputs.nodes, {\n\t\t\t\tid: fullAddress,\n\t\t\t\tparent: selfId,\n\t\t\t\tnode: child\n\t\t\t});\n\t\t\tedges.push(...inputs.edges, ...wiringEdges(localWiring, fullAddress));\n\t\t\tports.push(...boundaryPortsOf(fullAddress, child));\n\t\t\trecordAuthoredWiring(fullAddress, localWiring);\n\t\t\tpending.push({\n\t\t\t\tdeps: child.inputs,\n\t\t\t\twiring: localWiring,\n\t\t\t\ttargetId: fullAddress,\n\t\t\t\ttargetKind: \"service\",\n\t\t\t\tenclosingModuleName: moduleNode.name\n\t\t\t});\n\t\t\tbyId.set(fullAddress, child);\n\t\t\treturn refFor(fullAddress, child);\n\t\t}\n\t\tif (provisionSecrets !== void 0) throw new LoadError(`provision(\"${id}\") received secrets for a module, which a module no longer takes. A module takes a secret as a secretString() field of its \\`input\\` binding (ADR-0061), not a secrets map.`);\n\t\tif (provisionParams !== void 0) throw new LoadError(`provision(\"${id}\") received params for a module, which a module no longer takes. A module takes its values as fields of its \\`input\\` binding (ADR-0061), not a params map.`);\n\t\tconst childInputSchema = child.inputSchema;\n\t\tif (childInputSchema === void 0 && provisionInput !== void 0) throw new LoadError(`provision(\"${id}\") received an input binding, but the module declares no input schema (module \"${moduleNode.name}\").`);\n\t\tif (childInputSchema !== void 0 && provisionInput === void 0) throw new LoadError(`Input of provisioned module \"${id}\" is not bound (module \"${moduleNode.name}\") — the module declares an input schema; bind it with \\`input: { … }\\` on its provision() call.`);\n\t\tif (childInputSchema !== void 0) moduleInputs.push({\n\t\t\tmoduleAddress: fullAddress,\n\t\t\tschema: childInputSchema,\n\t\t\tbinding: provisionInput,\n\t\t\tisLoadRoot: false\n\t\t});\n\t\tedges.push(...wiringEdges(localWiring, fullAddress));\n\t\trecordAuthoredWiring(fullAddress, localWiring);\n\t\tpending.push({\n\t\t\tdeps: child.deps,\n\t\t\twiring: localWiring,\n\t\t\ttargetId: fullAddress,\n\t\t\ttargetKind: \"module\",\n\t\t\tenclosingModuleName: moduleNode.name\n\t\t});\n\t\tconst childOutputs = flatten(child, fullAddress, localWiring, nodes, edges, pending, inputBindings, paramBindings, moduleInputs, byId, valueResources, ports, authoredEdges, loading);\n\t\tnodes.push({\n\t\t\tid: fullAddress,\n\t\t\tparent: selfId,\n\t\t\tnode: child\n\t\t});\n\t\tbyId.set(fullAddress, child);\n\t\tconst brandedOutputs = {};\n\t\tfor (const [key, value] of Object.entries(childOutputs)) brandedOutputs[key] = typeof value === \"object\" && value !== null ? {\n\t\t\t...value,\n\t\t\t[AUTHORED_PORT]: {\n\t\t\t\tnode: fullAddress,\n\t\t\t\tname: key\n\t\t\t}\n\t\t} : value;\n\t\treturn blindCast({\n\t\t\tid: fullAddress,\n\t\t\t...brandedOutputs\n\t\t});\n\t};\n\tconst ctx = blindCast({\n\t\tdeps: ctxInputs,\n\t\tinput: moduleNode.inputSchema === void 0 ? void 0 : buildModuleInput(selfId),\n\t\tenvironment: environmentFacts,\n\t\tprovision: blindCast(provision)\n\t});\n\tconst outputs = blindCast(moduleNode.body(ctx) ?? {});\n\tmarkUsed(Object.values(outputs));\n\tfor (const key of Object.keys(moduleNode.deps)) if (!used.has(key)) throw new LoadError(`Module \"${moduleNode.name}\" declares dependency \"${key}\" but never forwards it into a provision nor returns it as an exposed interface.`);\n\tfor (const [key, contract] of Object.entries(moduleNode.expose)) {\n\t\tconst port = outputs[key];\n\t\tif (port === void 0) throw new LoadError(`Module \"${moduleNode.name}\" declares expose \"${key}\" but its body did not return a port for it.`);\n\t\tif (isValue(port)) throw new LoadError(`Module \"${moduleNode.name}\" returned a value for expose \"${key}\". A value can configure a node, never decide its edges: return a port of a node the body provisions.`);\n\t\tif (!satisfiesRequired(port, contract)) throw new LoadError(`Module \"${moduleNode.name}\"'s returned port for expose \"${key}\" does not satisfy its declared contract.`);\n\t\tconst from = authoredSourceOf(port);\n\t\tif (from !== void 0) authoredEdges.push({\n\t\t\tfrom,\n\t\t\tto: {\n\t\t\t\tnode: selfId,\n\t\t\t\tdirection: \"out\",\n\t\t\t\tname: key\n\t\t\t}\n\t\t});\n\t}\n\treturn outputs;\n}\nfunction loadModule(root, opts) {\n\tconst rootId = opts?.id ?? root.name;\n\tconst rootDepKeys = Object.keys(root.deps);\n\tif (rootDepKeys.length > 0) {\n\t\tconst names = rootDepKeys.map((k) => `\"${k}\"`).join(\", \");\n\t\tthrow new LoadError(`Module \"${root.name}\" declares ${rootDepKeys.length > 1 ? \"dependencies\" : \"dependency\"} ${names} but is being deployed as the root — a root has no enclosing scope to wire them; compose \"${root.name}\" from another module that provisions and wires it instead.`);\n\t}\n\tif (opts?.configuration !== void 0 && opts.appConfigurationRead !== void 0) throw new LoadError(\"Load takes configuration, in the first process, or appConfigurationRead, in the second, not both.\");\n\tconst moduleInputs = [];\n\tif (root.inputSchema !== void 0) if (opts?.appConfigurationRead !== void 0) moduleInputs.push({\n\t\tmoduleAddress: rootId,\n\t\tschema: root.inputSchema,\n\t\tbinding: void 0,\n\t\tisLoadRoot: true,\n\t\tchecked: opts.appConfigurationRead.rootInput\n\t});\n\telse if (opts?.configuration !== void 0) moduleInputs.push({\n\t\tmoduleAddress: rootId,\n\t\tschema: root.inputSchema,\n\t\tbinding: opts.configuration,\n\t\tisLoadRoot: true\n\t});\n\telse throw new LoadError(`Module \"${root.name}\" declares input and is being deployed as the root, but Load was given no app configuration to fill it from. Pass { configuration } to Load; prisma deploy and prisma dev pass the values the \\`config\\` adapters return.`);\n\tconst nodes = [];\n\tconst edges = [];\n\tconst pending = [];\n\tconst inputBindings = [];\n\tconst paramBindings = [];\n\tconst byId = /* @__PURE__ */ new Map();\n\tconst valueResources = /* @__PURE__ */ new Map();\n\tconst ports = [];\n\tconst authoredEdges = [];\n\tconst loading = { sealed: false };\n\ttry {\n\t\tflatten(root, rootId, {}, nodes, edges, pending, inputBindings, paramBindings, moduleInputs, byId, valueResources, ports, authoredEdges, loading);\n\t\tfor (const entry of pending) validateWiring(entry, byId);\n\t\tassertDependencyDag(edges);\n\t} finally {\n\t\tloading.sealed = true;\n\t}\n\tconst resources = /* @__PURE__ */ new Map();\n\tfor (const [address, node] of byId) if (node.kind === \"resource\") resources.set(address, node);\n\tconst resolved = resolveValues({\n\t\tenvironment: opts?.environment,\n\t\tinputBindings,\n\t\tparams: paramBindings,\n\t\tmoduleInputs,\n\t\tresources,\n\t\tvalueResources\n\t});\n\tconst resolvedNodes = nodes.map((entry) => {\n\t\tconst props = resolved.resourceProps.get(entry.id);\n\t\tif (entry.node.kind !== \"resource\" || props === void 0 || props === entry.node.props) return entry;\n\t\treturn {\n\t\t\t...entry,\n\t\t\tnode: withResolvedProps(entry.node, props)\n\t\t};\n\t});\n\tconst rootGraphNode = {\n\t\tid: rootId,\n\t\tparent: void 0,\n\t\tnode: root\n\t};\n\treturn {\n\t\troot: rootGraphNode,\n\t\tnodes: [...topoSort(resolvedNodes, edges), rootGraphNode],\n\t\tedges,\n\t\tports,\n\t\tauthoredEdges,\n\t\tinputBindings: resolved.inputBindings,\n\t\tparams: resolved.params,\n\t\tsecretSources: resolved.secretSources,\n\t\tvalueReads: valueReadsOf(resolved.inputBindings),\n\t\tappConfigurationRead: resolved.appConfigurationRead\n\t};\n}\n/**\n* A frozen copy of `node` holding `props`, keeping its prototype (a class built\n* on `ResourceNodeBase` keeps its methods) and its own properties, the brand included.\n*/\nfunction withResolvedProps(node, props) {\n\treturn Object.freeze(Object.create(Object.getPrototypeOf(node), {\n\t\t...Object.getOwnPropertyDescriptors(node),\n\t\tprops: {\n\t\t\tvalue: Object.freeze(props),\n\t\t\tenumerable: true,\n\t\t\twritable: false,\n\t\t\tconfigurable: false\n\t\t}\n\t}));\n}\n/**\n* The dependency edges must form a DAG — a cycle means neither producer can\n* deploy first. A resource with dependency slots can take part in a cycle too.\n*/\nfunction assertDependencyDag(edges) {\n\tconst adjacency = /* @__PURE__ */ new Map();\n\tfor (const edge of edges) {\n\t\tif (edge.kind !== \"dependency\") continue;\n\t\tconst targets = adjacency.get(edge.from) ?? [];\n\t\ttargets.push(edge.to);\n\t\tadjacency.set(edge.from, targets);\n\t}\n\tconst visiting = /* @__PURE__ */ new Set();\n\tconst done = /* @__PURE__ */ new Set();\n\tconst stack = [];\n\tconst visit = (id) => {\n\t\tif (done.has(id)) return;\n\t\tif (visiting.has(id)) throw new LoadError(`Dependency cycle: ${[...stack.slice(stack.indexOf(id)), id].join(\" → \")} — no deploy order exists.`);\n\t\tvisiting.add(id);\n\t\tstack.push(id);\n\t\tfor (const next of adjacency.get(id) ?? []) visit(next);\n\t\tstack.pop();\n\t\tvisiting.delete(id);\n\t\tdone.add(id);\n\t};\n\tfor (const id of adjacency.keys()) visit(id);\n}\n//#endregion\n//#region src/graph.ts\nconst APP_NAME = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;\n/**\n* Throws unless `name` can be an app name: the root's address and the first segment of every\n* other address (ADR-0057). A `.` would split it, and it becomes part of every `COMPOSER_` key.\n*/\nfunction assertAppName(name) {\n\tif (!APP_NAME.test(name)) throw new LoadError(`The app name \"${name}\" is not valid. An app name (the root module's name, or --name) must start with a letter or digit and contain only letters, digits, \"-\" and \"_\".`);\n}\n/**\n* Builds the in-memory graph from a root node. A service root walks its own\n* `inputs`; a module root executes its body (wiring, not user code — the\n* designed exception to imports-run-nothing) and recursively flattens every\n* module it provisions into one graph of hierarchical addresses. A malformed\n* graph is a `LoadError` that names its fix; the individual validation rules\n* live with `loadService` / `loadModule` and are covered by name in the Load\n* tests. Executes nothing of the user's own code beyond module bodies and `resolve()`\n* functions.\n*/\nfunction Load(root, opts) {\n\tif (!isNode(root)) throw new LoadError(\"Load expects a branded service, module or app root node (construct it with the service(), module() or appRoot() factories).\");\n\tif (root.kind === \"module\") {\n\t\tassertAppName(opts?.id ?? root.name);\n\t\treturn loadModule(root, opts);\n\t}\n\tif (root.kind === \"service\") return loadService(root, opts?.id ?? \"root\");\n\tthrow new LoadError(\"Load expects a service, module or app root (received another node kind).\");\n}\n/** The app secrets key of every secret source the graph names, once each, in the order Load met them. A source built without a `secretsKey` is left out. */\nfunction secretsKeys(graph) {\n\tconst keys = /* @__PURE__ */ new Set();\n\tfor (const { source } of graph.secretSources) {\n\t\tconst origin = sourceOriginOf(source);\n\t\tconst key = origin?.sourceKind === \"secret\" ? origin.secretsKey : void 0;\n\t\tif (key !== void 0) keys.add(key);\n\t}\n\treturn [...keys];\n}\n/** The address of every node in the graph, sorted. Two Loads of the same graph give the same list. */\nfunction nodeAddresses(graph) {\n\treturn graph.nodes.map(({ id }) => id).sort();\n}\n//#endregion\nexport { isPlainObject as C, GraphCheckError as D, resolve as E, LoadError as O, valueResource as S, originOf as T, provisionNeed as _, ROOT_INPUT_UNREAD_ERROR as a, service as b, dependency as c, isParamSource as d, isProvisionNeed as f, paramSource as g, module as h, secretsKeys as i, RESOURCE_OUT_PORT as k, freezeNode as l, isValueResource as m, assertAppName as n, ResourceNodeBase as o, isSecretSource as p, nodeAddresses as r, appRoot as s, Load as t, isNode as u,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AAS,UAAU;EAC3B,cAAc,MAAM,MAAM,KAAK,IAAI;EACnC,OAAO,WAAW,MAAM,IAAI;CAC7B;CACA,IAAI,KAAK,SAAS,WAAW,OAAO,YAAY,MAAM,MAAM,MAAM,MAAM;CACxE,MAAM,IAAI,UAAU,0EAA0E;AAC/F;;AAEA,SAAS,YAAY,OAAO;CAC3B,MAAM,uBAAuB,IAAI,IAAI;CACrC,KAAK,MAAM,EAAE,YAAY,MAAM,eAAe;EAC7C,MAAM,SAAS,eAAe,MAAM;EACpC,MAAM,MAAM,QAAQ,eAAe,WAAW,OAAO,aAAa,KAAK;EACvE,IAAI,QAAQ,KAAK,GAAG,KAAK,IAAI,GAAG;CACjC;CACA,OAAO,CAAC,GAAG,IAAI;AAChB;;AAEA,SAAS,cAAc,OAAO;CAC7B,OAAO,MAAM,MAAM,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,KAAK;AAC7C"}
|
|
@@ -78,7 +78,7 @@ declare class CliStructuredError extends Error implements StructuredError {
|
|
|
78
78
|
static is(error: unknown): error is CliStructuredError;
|
|
79
79
|
}
|
|
80
80
|
//#endregion
|
|
81
|
-
//#region ../../0-framework/1-core/core/dist/graph-types-
|
|
81
|
+
//#region ../../0-framework/1-core/core/dist/graph-types-D4PrtP-l.d.mts
|
|
82
82
|
//#region src/contract.d.ts
|
|
83
83
|
/**
|
|
84
84
|
* A Contract is the declared interface of a service-to-service dependency: a
|
|
@@ -322,7 +322,7 @@ interface SourceOptions {
|
|
|
322
322
|
}
|
|
323
323
|
/** What a deploy target says about a secret source it builds. */
|
|
324
324
|
interface SecretSourceOptions extends SourceOptions {
|
|
325
|
-
/** The app secrets key that holds this secret's value. Composer redacts the value under it wherever it prints, and `prisma dev` hands it to its
|
|
325
|
+
/** The app secrets key that holds this secret's value. Composer redacts the value under it wherever it prints, and `prisma dev` hands it to its converge worker thread. */
|
|
326
326
|
readonly secretsKey?: string;
|
|
327
327
|
}
|
|
328
328
|
/** What a deploy target says about a param source it builds. */
|
|
@@ -795,9 +795,10 @@ interface RootInputField {
|
|
|
795
795
|
readonly value?: unknown;
|
|
796
796
|
}
|
|
797
797
|
/**
|
|
798
|
-
* What a Load read from the app configuration (ADR-0062).
|
|
799
|
-
*
|
|
800
|
-
*
|
|
798
|
+
* What a Load read from the app configuration (ADR-0062). A later Load takes it in place of the
|
|
799
|
+
* app configuration: `lower()` under `deploy` (on the main thread) and `prisma dev` (in its
|
|
800
|
+
* converge worker thread), and `destroy`'s second process, which reads it from the app
|
|
801
|
+
* configuration file.
|
|
801
802
|
*/
|
|
802
803
|
interface AppConfigurationRead {
|
|
803
804
|
/** Each field of the root's input that its body names, as the root's schema produced it. Empty when the root declares no input. */
|
|
@@ -809,16 +810,16 @@ interface CommonLoadOptions {
|
|
|
809
810
|
/** The facts of the environment being loaded. `name` is what `--environment` gave. Required by any value over `environment.name`. */
|
|
810
811
|
readonly environment?: EnvironmentRealValues;
|
|
811
812
|
}
|
|
812
|
-
/** Load's options
|
|
813
|
+
/** Load's options wherever the app configuration is at hand: the first Load of a command. */
|
|
813
814
|
interface FirstProcessLoadOptions extends CommonLoadOptions {
|
|
814
815
|
/** The app configuration (ADR-0062): what the `config` adapters return. It is the root's input, which the root's schema checks. */
|
|
815
816
|
readonly configuration?: Readonly<Record<string, unknown>>;
|
|
816
817
|
readonly appConfigurationRead?: never;
|
|
817
818
|
}
|
|
818
|
-
/** Load's options in
|
|
819
|
+
/** Load's options in a Load that takes what an earlier Load of the same app read. */
|
|
819
820
|
interface SecondProcessLoadOptions extends CommonLoadOptions {
|
|
820
821
|
readonly configuration?: never;
|
|
821
|
-
/** What the
|
|
822
|
+
/** What the earlier Load read. Load takes each root field from it without running the root's schema. */
|
|
822
823
|
readonly appConfigurationRead: AppConfigurationRead;
|
|
823
824
|
}
|
|
824
825
|
type LoadOptions = FirstProcessLoadOptions | SecondProcessLoadOptions;
|
|
@@ -936,8 +937,9 @@ interface Graph {
|
|
|
936
937
|
}
|
|
937
938
|
/**
|
|
938
939
|
* Thrown by Load when the graph is malformed. Structured at origin
|
|
939
|
-
* (base-type rule 6)
|
|
940
|
-
*
|
|
940
|
+
* (base-type rule 6) under one type-level code. Not every error Load throws
|
|
941
|
+
* is one: a Load that needs a root input field an earlier Load did not read
|
|
942
|
+
* throws an error whose name is the value of `ROOT_INPUT_UNREAD_ERROR`. The `name` stays
|
|
941
943
|
* `CliStructuredError` — structural recognition depends on it.
|
|
942
944
|
*/
|
|
943
945
|
declare class LoadError extends CliStructuredError {
|
|
@@ -953,4 +955,4 @@ declare class GraphCheckError extends CliStructuredError {
|
|
|
953
955
|
}
|
|
954
956
|
//#endregion
|
|
955
957
|
export { ResourceProps as $, LoadOptions as A, provisionNeed as At, ParamBindings as B, HydratedDeps as C, isSecretSource as Ct, InputRef as D, number as Dt, InputBindingUse as E, module as Et, ModuleNode as F, slotsOf as Ft, PortEndpoint as G, ParamSourceOptions as H, ModuleOutputs as I, string as It, RESOURCE_OUT_PORT as J, ProvisionNeed as K, NODE as L, valueResource as Lt, ModuleContext as M, resource as Mt, ModuleInput as N, secretSource as Nt, InputValueOf as O, param as Ot, ModuleInputField as P, service as Pt, ResourceNodeBase as Q, NodeId as R, CliStructuredError as Rt, Hydrated as S, isProvisionNeed as St, InputBindingOf as T, isValueResource as Tt, Params as U, ParamSource as V, PlainData as W, RefPort as X, RealValuesOf as Y, ResourceNode as Z, EnvironmentFacts as _, dependency as _t, BoundaryPort as a, SecretSourceOptions as at, GraphCheckError as b, isNode as bt, ConfigDeclaration as c, SourceOptions as ct, Contract as d, Value as dt, ResourcePropsMember as et, ContractStyle as f, ValueRead as ft, Edge as g, configOf as gt, Deps as h, appRoot as ht, AuthoredEdge as i, SecretSource as it, ModuleBuilder as j, resolve as jt, LoadError as k, paramSource as kt, ConfigParam as l, SourceValue as lt, DependencyEnd as m, Values as mt, AppRootContext as n, RunnableServiceNode as nt, BuildAdapter as o, SecretSourceUse as ot, DepBindings as p, ValueResourceNode as pt, ProvisionedRef as q, AppRootNode as r, RuntimeValue as rt, Config as s, ServiceNode as st, AppConfigurationRead as t, RootInputField as tt, Connection as u, VALUE_RESOURCE as ut, Expose as v, freezeNode as vt, InputBinding as w, isValue as wt, GraphNode as x, isParamSource as xt, Graph as y, inputManifest as yt, ParamBinding as z };
|
|
956
|
-
//# sourceMappingURL=graph-types-
|
|
958
|
+
//# sourceMappingURL=graph-types-D4PrtP-l-B0uuchTl.d.mts.map
|
package/dist/{graph-types-CaH3flhT-DgrCdRA3.d.mts.map → graph-types-D4PrtP-l-B0uuchTl.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph-types-
|
|
1
|
+
{"version":3,"file":"graph-types-D4PrtP-l-B0uuchTl.d.mts","names":[],"sources":["../../../0-framework/0-foundation/foundation/dist/errors.d.mts","../../../0-framework/1-core/core/dist/graph-types-D4PrtP-l.d.mts"],"mappings":";;;;UACU,wBAAwB;WACvB;WACA;WACA;WACA;aACE;aACA;;WAEF;WACA,OAAO;WACP;;;;;;;;UAwBD;WACC;WACA;WACA;WACA;WACA;WACA;WACA;aACE;aACA;;WAEF,OAAO;WACP;;;;;;;;;;;;cAoBG,2BAA2B,iBAAiB;WAC/C;WACA;WACA;WACA;WACA;aACE;aACA;;WAEF,OAAO;WACP;EACT,YAAY,6BAA6B,iBAAiB;aAC/C;aACA;aACA;aACA;eACE;eACA;;aAEF,OAAO;aACP;aACA;;;;;EAKX,cAAc;;;;;SAKP,GAAG,iBAAiB,SAAS;;;;;;;;;;;;;;UCpF5B,SAAS,qBAAqB;WAC7B,MAAM;WACN,OAAO;;WAEP,QAAQ;EACjB,UAAU,UAAU,SAAS;;;KAG1B;;;;;;;;;;;UAWK,YAAY,UAAU,mBAAmB;WACxC,QAAQ;WACR;WACA,UAAU,iBAAiB,YAAY;;;;;;;WAOvC,YAAY;;KAElB,SAAS,eAAe;;KAExB,OAAO,UAAU,sBAAsB,WAAW,IAAI,EAAE,gDAAgD,EAAE,gBAAgB,iBAAiB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;;UAED;;WAEC,gBAAgB;;WAEhB;;WAEA;;;UAGD;;WAEC,QAAQ;;WAER,SAAS;;WAET;;;UAGD;;WAEC,QAAQ;;WAER,UAAU;;WAEV;;UAED;WACC,MAAM;;WAEN,gBAAgB;WAChB,gBAAgB;;WAEhB,gBAAgB;;WAEhB,wBAAwB;;WAExB,wBAAwB;;WAExB,iBAAiB;;WAEjB,wBAAwB;;WAExB,qBAAqB;;WAErB,sBAAsB;;;;;;;;;cASnB,kBAAkB;EAC9B,YAAY,iBAAiB;aAClB;;;;cAIC,wBAAwB;EACpC,YAAY,iBAAiB;aAClB"}
|
package/dist/http.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Contract, m as DependencyEnd } from "./graph-types-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { d as Contract, m as DependencyEnd } from "./graph-types-D4PrtP-l-B0uuchTl.mjs";
|
|
2
|
+
import "./index-D8chHe55.mjs";
|
|
3
3
|
//#region ../../0-framework/2-authoring/http/dist/index.d.mts
|
|
4
4
|
//#region src/raw-http.d.ts
|
|
5
5
|
/** What a `rawHttp()` dependency hydrates to: the provider's URL and a fetch that resolves `path` against it, refuses any path that leaves the provider's origin, and returns redirects instead of following them unless `init.redirect` says otherwise. */
|
package/dist/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as string } from "./dist-
|
|
1
|
+
import { l as dependency } from "./graph-D2WMLL43-CeiC5wdy.mjs";
|
|
2
|
+
import { s as string } from "./dist-Cf_mZHaH.mjs";
|
|
3
3
|
//#region ../../0-framework/2-authoring/http/dist/index.mjs
|
|
4
4
|
/**
|
|
5
5
|
* A port that answers HTTP. It promises nothing about routes, methods or
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as HydratedDeps, h as Deps, s as Config, st as ServiceNode } from "./graph-types-
|
|
2
|
-
import "./graph-
|
|
1
|
+
import { C as HydratedDeps, h as Deps, s as Config, st as ServiceNode } from "./graph-types-D4PrtP-l-B0uuchTl.mjs";
|
|
2
|
+
import "./graph-CUYXjK8S-BzL-mhjq.mjs";
|
|
3
3
|
//#region ../../0-framework/1-core/core/dist/index.d.mts
|
|
4
4
|
//#region src/hydrate.d.ts
|
|
5
5
|
/**
|
|
@@ -19,4 +19,4 @@ declare function hydrate(root: ServiceNode, config: Config): Promise<HydratedDep
|
|
|
19
19
|
declare function hydrateSync(root: ServiceNode, config: Config): HydratedDeps<Deps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { hydrateSync as n, hydrate as t };
|
|
22
|
-
//# sourceMappingURL=index-
|
|
22
|
+
//# sourceMappingURL=index-D8chHe55.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-D8chHe55.d.mts","names":[],"sources":["../../../0-framework/1-core/core/dist/index.d.mts"],"mappings":";;;;;;;;;;;iBAYiB,QAAQ,MAAM,aAAa,QAAQ,SAAS,QAAQ,aAAa;;;;;;;iBAOjE,YAAY,MAAM,aAAa,QAAQ,SAAS,aAAa"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as SecretBox, i as isSecretPointer, n as Pointer, o as SecretString, r as isPlainPointer, s as isSecretString, t as PlainPointer } from "./pointer-BX2KJ720-BxcfpaHP.mjs";
|
|
2
|
-
import { $ as ResourceProps, A as LoadOptions, At as provisionNeed, B as ParamBindings, C as HydratedDeps, Ct as isSecretSource, D as InputRef, Dt as number, E as InputBindingUse, Et as module, F as ModuleNode, Ft as slotsOf, G as PortEndpoint, H as ParamSourceOptions, I as ModuleOutputs, It as string, J as RESOURCE_OUT_PORT, K as ProvisionNeed, L as NODE, Lt as valueResource, M as ModuleContext, Mt as resource, N as ModuleInput, Nt as secretSource, O as InputValueOf, Ot as param, P as ModuleInputField, Pt as service, Q as ResourceNodeBase, R as NodeId, S as Hydrated, St as isProvisionNeed, T as InputBindingOf, Tt as isValueResource, U as Params, V as ParamSource, W as PlainData, X as RefPort, Y as RealValuesOf, Z as ResourceNode, _ as EnvironmentFacts, _t as dependency, a as BoundaryPort, at as SecretSourceOptions, b as GraphCheckError, bt as isNode, c as ConfigDeclaration, ct as SourceOptions, d as Contract, dt as Value, et as ResourcePropsMember, f as ContractStyle, ft as ValueRead, g as Edge, gt as configOf, h as Deps, ht as appRoot, i as AuthoredEdge, it as SecretSource, j as ModuleBuilder, jt as resolve, k as LoadError, kt as paramSource, l as ConfigParam, lt as SourceValue, m as DependencyEnd, mt as Values, n as AppRootContext, nt as RunnableServiceNode, o as BuildAdapter, ot as SecretSourceUse, p as DepBindings, pt as ValueResourceNode, q as ProvisionedRef, r as AppRootNode, rt as RuntimeValue, s as Config, st as ServiceNode, t as AppConfigurationRead, tt as RootInputField, u as Connection, ut as VALUE_RESOURCE, v as Expose, vt as freezeNode, w as InputBinding, wt as isValue, x as GraphNode, xt as isParamSource, y as Graph, yt as inputManifest, z as ParamBinding } from "./graph-types-
|
|
3
|
-
import { n as assertAppName, t as Load } from "./graph-
|
|
4
|
-
import { n as hydrateSync, t as hydrate } from "./index-
|
|
2
|
+
import { $ as ResourceProps, A as LoadOptions, At as provisionNeed, B as ParamBindings, C as HydratedDeps, Ct as isSecretSource, D as InputRef, Dt as number, E as InputBindingUse, Et as module, F as ModuleNode, Ft as slotsOf, G as PortEndpoint, H as ParamSourceOptions, I as ModuleOutputs, It as string, J as RESOURCE_OUT_PORT, K as ProvisionNeed, L as NODE, Lt as valueResource, M as ModuleContext, Mt as resource, N as ModuleInput, Nt as secretSource, O as InputValueOf, Ot as param, P as ModuleInputField, Pt as service, Q as ResourceNodeBase, R as NodeId, S as Hydrated, St as isProvisionNeed, T as InputBindingOf, Tt as isValueResource, U as Params, V as ParamSource, W as PlainData, X as RefPort, Y as RealValuesOf, Z as ResourceNode, _ as EnvironmentFacts, _t as dependency, a as BoundaryPort, at as SecretSourceOptions, b as GraphCheckError, bt as isNode, c as ConfigDeclaration, ct as SourceOptions, d as Contract, dt as Value, et as ResourcePropsMember, f as ContractStyle, ft as ValueRead, g as Edge, gt as configOf, h as Deps, ht as appRoot, i as AuthoredEdge, it as SecretSource, j as ModuleBuilder, jt as resolve, k as LoadError, kt as paramSource, l as ConfigParam, lt as SourceValue, m as DependencyEnd, mt as Values, n as AppRootContext, nt as RunnableServiceNode, o as BuildAdapter, ot as SecretSourceUse, p as DepBindings, pt as ValueResourceNode, q as ProvisionedRef, r as AppRootNode, rt as RuntimeValue, s as Config, st as ServiceNode, t as AppConfigurationRead, tt as RootInputField, u as Connection, ut as VALUE_RESOURCE, v as Expose, vt as freezeNode, w as InputBinding, wt as isValue, x as GraphNode, xt as isParamSource, y as Graph, yt as inputManifest, z as ParamBinding } from "./graph-types-D4PrtP-l-B0uuchTl.mjs";
|
|
3
|
+
import { n as assertAppName, t as Load } from "./graph-CUYXjK8S-BzL-mhjq.mjs";
|
|
4
|
+
import { n as hydrateSync, t as hydrate } from "./index-D8chHe55.mjs";
|
|
5
5
|
export { type AppConfigurationRead, type AppRootContext, type AppRootNode, type AuthoredEdge, type BoundaryPort, type BuildAdapter, type Config, type ConfigDeclaration, type ConfigParam, type Connection, type Contract, type ContractStyle, type DepBindings, type DependencyEnd, type Deps, type Edge, type EnvironmentFacts, type Expose, type Graph, GraphCheckError, type GraphNode, type Hydrated, type HydratedDeps, type InputBinding, type InputBindingOf, type InputBindingUse, type InputRef, type InputValueOf, Load, LoadError, type LoadOptions, type ModuleBuilder, type ModuleContext, type ModuleInput, type ModuleInputField, type ModuleNode, type ModuleOutputs, type NODE, type NodeId, type ParamBinding, type ParamBindings, type ParamSource, type ParamSourceOptions, type Params, type PlainData, type PlainPointer, type Pointer, type PortEndpoint, type ProvisionNeed, type ProvisionedRef, RESOURCE_OUT_PORT, type RealValuesOf, type RefPort, type ResourceNode, ResourceNodeBase, type ResourceProps, type ResourcePropsMember, type RootInputField, type RunnableServiceNode, type RuntimeValue, SecretBox, type SecretSource, type SecretSourceOptions, type SecretSourceUse, type SecretString, type ServiceNode, type SourceOptions, type SourceValue, type VALUE_RESOURCE, type Value, type ValueRead, type ValueResourceNode, type Values, appRoot, assertAppName, configOf, dependency, freezeNode, hydrate, hydrateSync, inputManifest, isNode, isParamSource, isPlainPointer, isProvisionNeed, isSecretPointer, isSecretSource, isSecretString, isValue, isValueResource, module, number, param, paramSource, provisionNeed, resolve, resource, secretSource, service, slotsOf, string, valueResource };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as isPlainPointer, n as SecretBox, o as isSecretPointer, r as isSecretString } from "./describe-kind-Cpm_euxo-DsSPENQa.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { a as number, i as inputManifest, n as hydrate, o as param, r as hydrateSync, s as string, t as configOf } from "./dist-
|
|
2
|
+
import { C as resolve, D as service, O as slotsOf, S as provisionNeed, T as secretSource, _ as isValueResource, c as assertAppName, d as isNode, f as isParamSource, g as isValue, h as isSecretSource, i as RESOURCE_OUT_PORT, k as valueResource, l as dependency, m as isProvisionNeed, n as Load, o as ResourceNodeBase, r as LoadError, s as appRoot, t as GraphCheckError, u as freezeNode, v as module, w as resource, x as paramSource } from "./graph-D2WMLL43-CeiC5wdy.mjs";
|
|
3
|
+
import { a as number, i as inputManifest, n as hydrate, o as param, r as hydrateSync, s as string, t as configOf } from "./dist-Cf_mZHaH.mjs";
|
|
4
4
|
export { GraphCheckError, Load, LoadError, RESOURCE_OUT_PORT, ResourceNodeBase, SecretBox, appRoot, assertAppName, configOf, dependency, freezeNode, hydrate, hydrateSync, inputManifest, isNode, isParamSource, isPlainPointer, isProvisionNeed, isSecretPointer, isSecretSource, isSecretString, isValue, isValueResource, module, number, param, paramSource, provisionNeed, resolve, resource, secretSource, service, slotsOf, string, valueResource };
|