@prisma/composer 0.39.0-dev.1 → 0.39.0-dev.11

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.
Files changed (141) hide show
  1. package/dist/{app-config-UeKFBma7-CohaMmWp.d.mts → app-config-DriAu5RU-C8hYpR38.d.mts} +88 -83
  2. package/dist/app-config-DriAu5RU-C8hYpR38.d.mts.map +1 -0
  3. package/dist/{app-configuration-file-CeJvBAti-D3uDlheX.mjs → app-configuration-file-D0rB5g65-CdMrjkCc.mjs} +50 -85
  4. package/dist/app-configuration-file-D0rB5g65-CdMrjkCc.mjs.map +1 -0
  5. package/dist/app-converge-bS1l9jIf-DRGbjw2D.mjs +88 -0
  6. package/dist/app-converge-bS1l9jIf-DRGbjw2D.mjs.map +1 -0
  7. package/dist/arktype.d.mts +7 -5
  8. package/dist/arktype.d.mts.map +1 -1
  9. package/dist/arktype.mjs +7 -5
  10. package/dist/arktype.mjs.map +1 -1
  11. package/dist/config-Bpi8QVLB.d.mts +1 -0
  12. package/dist/config.d.mts +3 -3
  13. package/dist/config.mjs +2 -2
  14. package/dist/control.d.mts +19 -21
  15. package/dist/control.d.mts.map +1 -1
  16. package/dist/control.mjs +4 -4
  17. package/dist/control.mjs.map +1 -1
  18. package/dist/converge-in-process-CTomEXaD-BnDylZP8.d.mts +67 -0
  19. package/dist/converge-in-process-CTomEXaD-BnDylZP8.d.mts.map +1 -0
  20. package/dist/converge-in-process-x89zb2MF-Dvj-J8xo.mjs +258 -0
  21. package/dist/converge-in-process-x89zb2MF-Dvj-J8xo.mjs.map +1 -0
  22. package/dist/{deploy-3EXLVrtG.mjs → deploy-CSU0kr4j.mjs} +130 -38
  23. package/dist/deploy-CSU0kr4j.mjs.map +1 -0
  24. package/dist/deploy-DHgEJDpg.d.mts +32 -0
  25. package/dist/deploy-DHgEJDpg.d.mts.map +1 -0
  26. package/dist/deploy.d.mts +4 -4
  27. package/dist/deploy.mjs +3 -3
  28. package/dist/{deployment-summary-p88NV5m5-SgniM8TX.d.mts → deployment-summary-6LgQDUuu-Cu_6UNhc.d.mts} +7 -4
  29. package/dist/deployment-summary-6LgQDUuu-Cu_6UNhc.d.mts.map +1 -0
  30. package/dist/{deployment-summary-D74WrJX7-DQ3LDUuO.mjs → deployment-summary-CVJZn2v0-Dz-gX1rp.mjs} +16 -44
  31. package/dist/deployment-summary-CVJZn2v0-Dz-gX1rp.mjs.map +1 -0
  32. package/dist/{describe-kind-Cpm_euxo-CkhlGJUL.mjs → describe-kind-Cpm_euxo-DsSPENQa.mjs} +4 -4
  33. package/dist/describe-kind-Cpm_euxo-DsSPENQa.mjs.map +1 -0
  34. package/dist/dev-converge-messages-DML4rTz7-C_EAB5M_.mjs +165 -0
  35. package/dist/dev-converge-messages-DML4rTz7-C_EAB5M_.mjs.map +1 -0
  36. package/dist/dev-converge-worker.d.mts +1 -0
  37. package/dist/dev-converge-worker.mjs +142 -0
  38. package/dist/dev-converge-worker.mjs.map +1 -0
  39. package/dist/{dev-current-wD5YDLjA-CzyFYXni.mjs → dev-current-lAlj53eX-DrtBnAmA.mjs} +11 -7
  40. package/dist/dev-current-lAlj53eX-DrtBnAmA.mjs.map +1 -0
  41. package/dist/{dev-environment-name-6eEr5PW8-BwusWVKi.mjs → dev-environment-name-6eEr5PW8-7ntm9Xhs.mjs} +3 -3
  42. package/dist/{dev-environment-name-6eEr5PW8-BwusWVKi.mjs.map → dev-environment-name-6eEr5PW8-7ntm9Xhs.mjs.map} +1 -1
  43. package/dist/{dist-ynqBR6y8.mjs → dist-Cf_mZHaH.mjs} +4 -26
  44. package/dist/dist-Cf_mZHaH.mjs.map +1 -0
  45. package/dist/{emulator-retry-CV8rl69G-BgUzkxc-.mjs → emulator-retry-CV8rl69G-scQ105wk.mjs} +2 -2
  46. package/dist/{emulator-retry-CV8rl69G-BgUzkxc-.mjs.map → emulator-retry-CV8rl69G-scQ105wk.mjs.map} +1 -1
  47. package/dist/{errors-0e8IVwzi.mjs → errors-DI3TBXE-.mjs} +7 -2
  48. package/dist/{errors-0e8IVwzi.mjs.map → errors-DI3TBXE-.mjs.map} +1 -1
  49. package/dist/{execute-deploy-destroy-DOzo2Psp-DmS5miT4.mjs → execute-deploy-destroy-DN16ETAk-BaopEKsA.mjs} +376 -86
  50. package/dist/execute-deploy-destroy-DN16ETAk-BaopEKsA.mjs.map +1 -0
  51. package/dist/{execute-dev-BIyOI3Ys-BbDOLlV4.mjs → execute-dev-DnVmNpc1-kSyPML7l.mjs} +455 -221
  52. package/dist/execute-dev-DnVmNpc1-kSyPML7l.mjs.map +1 -0
  53. package/dist/{execute-dev-current-CKOzjWuO-BPecs6Lf.mjs → execute-dev-current-CZdmxVQ4-Bij2LeBY.mjs} +7 -7
  54. package/dist/{execute-dev-current-CKOzjWuO-BPecs6Lf.mjs.map → execute-dev-current-CZdmxVQ4-Bij2LeBY.mjs.map} +1 -1
  55. package/dist/{execute-log-BDdHor71-B2p8Zae2.mjs → execute-log-Bl-j6izb-BTAo6tRM.mjs} +8 -8
  56. package/dist/{execute-log-BDdHor71-B2p8Zae2.mjs.map → execute-log-Bl-j6izb-BTAo6tRM.mjs.map} +1 -1
  57. package/dist/{graph-C7mdtisq-RnKiwVsx.d.mts → graph-CUYXjK8S-BzL-mhjq.d.mts} +3 -3
  58. package/dist/graph-CUYXjK8S-BzL-mhjq.d.mts.map +1 -0
  59. package/dist/{graph-BzPLUUsB-D7EnB1F5.mjs → graph-D2WMLL43-CeiC5wdy.mjs} +150 -107
  60. package/dist/graph-D2WMLL43-CeiC5wdy.mjs.map +1 -0
  61. package/dist/{graph-types-s5V7pGj2-BxSqB1ZH.d.mts → graph-types-D4PrtP-l-B0uuchTl.d.mts} +101 -98
  62. package/dist/graph-types-D4PrtP-l-B0uuchTl.d.mts.map +1 -0
  63. package/dist/http.d.mts +2 -2
  64. package/dist/http.mjs +2 -2
  65. package/dist/{index-DyuwxTtd.d.mts → index-D8chHe55.d.mts} +3 -3
  66. package/dist/{index-DyuwxTtd.d.mts.map → index-D8chHe55.d.mts.map} +1 -1
  67. package/dist/index.d.mts +5 -5
  68. package/dist/index.mjs +4 -4
  69. package/dist/internal-app-configuration-file.d.mts +7 -10
  70. package/dist/internal-app-configuration-file.d.mts.map +1 -1
  71. package/dist/internal-app-configuration-file.mjs +2 -2
  72. package/dist/internal-converge-contract.d.mts +16 -0
  73. package/dist/internal-converge-contract.d.mts.map +1 -0
  74. package/dist/internal-converge-contract.mjs +16 -0
  75. package/dist/internal-converge-contract.mjs.map +1 -0
  76. package/dist/internal-converge.d.mts +5 -0
  77. package/dist/internal-converge.mjs +4 -0
  78. package/dist/load-entry-CEoVBdMj-CHOz7jKf.mjs +527 -0
  79. package/dist/load-entry-CEoVBdMj-CHOz7jKf.mjs.map +1 -0
  80. package/dist/local-target-7KRsLMDO.d.mts +31 -0
  81. package/dist/local-target-7KRsLMDO.d.mts.map +1 -0
  82. package/dist/{local-target-Dd8FJEb5.mjs → local-target-DhU1vaxd.mjs} +8 -8
  83. package/dist/{local-target-Dd8FJEb5.mjs.map → local-target-DhU1vaxd.mjs.map} +1 -1
  84. package/dist/local-target.d.mts +3 -31
  85. package/dist/local-target.mjs +1 -1
  86. package/dist/{nextjs-DLyeRR7M-0lw_cBIr.d.mts → nextjs-DLyeRR7M-CzUbvPaJ.d.mts} +3 -3
  87. package/dist/{nextjs-DLyeRR7M-0lw_cBIr.d.mts.map → nextjs-DLyeRR7M-CzUbvPaJ.d.mts.map} +1 -1
  88. package/dist/nextjs-control.d.mts +4 -4
  89. package/dist/nextjs.d.mts +1 -1
  90. package/dist/node-control.d.mts +3 -3
  91. package/dist/node.d.mts +2 -2
  92. package/dist/{pointer-CyQZZugO-D7k3vibs.d.mts → pointer-BX2KJ720-BxcfpaHP.d.mts} +8 -6
  93. package/dist/{pointer-CyQZZugO-D7k3vibs.d.mts.map → pointer-BX2KJ720-BxcfpaHP.d.mts.map} +1 -1
  94. package/dist/{preflight-transport-DmmtoFPH-CnDWufmu.mjs → preflight-transport-2d6iIchu-B-v7Di6I.mjs} +7 -44
  95. package/dist/preflight-transport-2d6iIchu-B-v7Di6I.mjs.map +1 -0
  96. package/dist/{redaction-DXung4ip-bBoNomi3.mjs → redaction-DY6eDC12-W-FzW7_r.mjs} +32 -15
  97. package/dist/redaction-DY6eDC12-W-FzW7_r.mjs.map +1 -0
  98. package/dist/{redaction-Bf8FvTFH-D_HvoMrf.d.mts → redaction-Dn7BRdaP-BcLSPhLV.d.mts} +65 -16
  99. package/dist/redaction-Dn7BRdaP-BcLSPhLV.d.mts.map +1 -0
  100. package/dist/report.d.mts +3 -3
  101. package/dist/report.mjs +2 -2
  102. package/dist/report.mjs.map +1 -1
  103. package/dist/service-rpc.d.mts +2 -2
  104. package/dist/service-rpc.mjs +2 -2
  105. package/dist/steps-BZXNqW6U-C_ME2VLd.mjs +112 -0
  106. package/dist/steps-BZXNqW6U-C_ME2VLd.mjs.map +1 -0
  107. package/dist/testing.d.mts +1 -1
  108. package/dist/validate-environment-DCZiNSlR-C7lv0cH1.mjs +344 -0
  109. package/dist/validate-environment-DCZiNSlR-C7lv0cH1.mjs.map +1 -0
  110. package/dist/zod.d.mts +6 -5
  111. package/dist/zod.d.mts.map +1 -1
  112. package/dist/zod.mjs +6 -5
  113. package/dist/zod.mjs.map +1 -1
  114. package/package.json +15 -13
  115. package/skills/prisma-composer-core-concepts/SKILL.md +47 -66
  116. package/src/exports/dev-converge-worker.ts +2 -0
  117. package/src/exports/internal-converge-contract.ts +1 -0
  118. package/src/exports/internal-converge.ts +1 -0
  119. package/dist/app-config-UeKFBma7-CohaMmWp.d.mts.map +0 -1
  120. package/dist/app-configuration-file-CeJvBAti-D3uDlheX.mjs.map +0 -1
  121. package/dist/config-BeZEgGCg.d.mts +0 -1
  122. package/dist/deploy-3EXLVrtG.mjs.map +0 -1
  123. package/dist/deploy-Xi4_JrtE.d.mts +0 -2
  124. package/dist/deployment-summary-D74WrJX7-DQ3LDUuO.mjs.map +0 -1
  125. package/dist/deployment-summary-p88NV5m5-SgniM8TX.d.mts.map +0 -1
  126. package/dist/describe-kind-Cpm_euxo-CkhlGJUL.mjs.map +0 -1
  127. package/dist/dev-current-wD5YDLjA-CzyFYXni.mjs.map +0 -1
  128. package/dist/dist-ynqBR6y8.mjs.map +0 -1
  129. package/dist/execute-deploy-destroy-DOzo2Psp-DmS5miT4.mjs.map +0 -1
  130. package/dist/execute-dev-BIyOI3Ys-BbDOLlV4.mjs.map +0 -1
  131. package/dist/graph-BzPLUUsB-D7EnB1F5.mjs.map +0 -1
  132. package/dist/graph-C7mdtisq-RnKiwVsx.d.mts.map +0 -1
  133. package/dist/graph-types-s5V7pGj2-BxSqB1ZH.d.mts.map +0 -1
  134. package/dist/local-target.d.mts.map +0 -1
  135. package/dist/preflight-transport-DmmtoFPH-CnDWufmu.mjs.map +0 -1
  136. package/dist/redaction-Bf8FvTFH-D_HvoMrf.d.mts.map +0 -1
  137. package/dist/redaction-DXung4ip-bBoNomi3.mjs.map +0 -1
  138. package/dist/run-alchemy-CRLAyOtt-CBUV28We.mjs +0 -236
  139. package/dist/run-alchemy-CRLAyOtt-CBUV28We.mjs.map +0 -1
  140. package/dist/validate-environment-D1BTCkTs-BQprjyNP.mjs +0 -739
  141. package/dist/validate-environment-D1BTCkTs-BQprjyNP.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { a as SecretString, t as Pointer } from "./pointer-CyQZZugO-D7k3vibs.mjs";
1
+ import { n as Pointer, o as SecretString } from "./pointer-BX2KJ720-BxcfpaHP.mjs";
2
2
  import { StandardSchemaV1 } from "@standard-schema/spec";
3
3
  //#region ../../0-framework/0-foundation/foundation/dist/errors.d.mts
4
4
  //#region src/structured-error.d.ts
@@ -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-s5V7pGj2.d.mts
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
@@ -134,12 +134,8 @@ interface Connection<P extends Params = Params, C = unknown> {
134
134
  hydrate(values: Values<P>): C | Promise<C>;
135
135
  }
136
136
  /**
137
- * The enumerable config surface of a service — derivable from the graph
138
- * alone, nothing booted, no platform keys. The introspection artifact (values
139
- * absent). `schema` is a data-only projection of the param's Standard Schema
140
- * (JSON Schema when the vendor supports the optional conversion, a `{ vendor }`
141
- * tag otherwise) — never the param's functions. Physical locations are the
142
- * target pack's business. Secrets are not here: they are `secretString()` fields of a service's input, bound with `envSecret()`.
137
+ * A service's config surface, read from the graph alone, without values. `schema` is a data-only projection of the param's schema:
138
+ * JSON Schema when the vendor converts, a `{ vendor }` tag otherwise.
143
139
  */
144
140
  interface ConfigDeclaration {
145
141
  readonly owner: 'service' | {
@@ -174,27 +170,9 @@ interface Config {
174
170
  declare function configOf(root: ServiceNode): readonly ConfigDeclaration[];
175
171
  /**
176
172
  * The app's input manifest: every service input binding a `provision()` call
177
- * supplied (ADR-0042). Pure graph introspection, TARGET-AGNOSTIC — a deploy
178
- * target's recursive descent classifies the binding's leaves (its preflight
179
- * verifies each `envSecret` leaf's platform var exists before deploy; the
180
- * values are provisioned out-of-band).
173
+ * supplied (ADR-0042).
181
174
  */
182
175
  declare function inputManifest(graph: Graph): readonly InputBindingUse[];
183
- /**
184
- * The app's param-binding manifest: every param a `provision()` call bound —
185
- * literal or an opaque, target-defined `ParamSource` — at the address that
186
- * declared it. The param sibling of `provisionManifest`, for a deploy
187
- * target's own preflight to consume. Pure graph introspection,
188
- * TARGET-AGNOSTIC; a param this manifest omits simply falls back to its own
189
- * `default` at `buildConfig`.
190
- */
191
- declare function paramManifest(graph: Graph): readonly ParamBinding[];
192
- /**
193
- * Every secret source a binding in the graph names, wherever it sits: what a
194
- * deploy target's preflight checks.
195
- * Pure graph introspection, TARGET-AGNOSTIC.
196
- */
197
- declare function secretSourceManifest(graph: Graph): readonly SecretSourceUse[];
198
176
  interface ParamOptions<T> {
199
177
  readonly optional?: boolean;
200
178
  readonly default?: T;
@@ -210,6 +188,7 @@ declare function param<S extends StandardSchemaV1>(schema: S, opts?: ParamOption
210
188
  //#region src/value.d.ts
211
189
  declare const VALUE: unique symbol;
212
190
  declare const VALUE_ORIGIN: unique symbol;
191
+ declare const VALUE_RESOURCE: unique symbol;
213
192
  declare const VALUE_TYPE: unique symbol;
214
193
  /** Where Load gets a value's real value. Internal to core; not re-exported from the public barrel. */
215
194
  type ValueOrigin<T> = {
@@ -229,35 +208,32 @@ type ValueOrigin<T> = {
229
208
  } | {
230
209
  readonly kind: 'source';
231
210
  readonly sourceKind: 'param';
232
- /** How an error names the source, e.g. `envParam('REGION')`. */
211
+ /** How an error names the source. */
233
212
  readonly label: string;
234
- /** The app configuration key whose text at deploy is the real value, as for `envParam()`. `undefined` for a value known only at boot, whose real value is `source`, a pointer. */
235
- readonly configurationKey: string | undefined;
213
+ readonly resource: NodeId | undefined;
236
214
  /** The source itself. Not enumerable, so a copy's origin compares equal and the origin holds no cycle. */
237
215
  readonly source: ParamSource;
238
216
  } | {
239
217
  readonly kind: 'source';
240
218
  readonly sourceKind: 'secret';
241
- /** How an error names the source, e.g. `envSecret('STRIPE_KEY')`. */
219
+ /** How an error names the source. */
242
220
  readonly label: string;
243
- /** The app secrets key that holds the secret's value, as for `envSecret()`. `undefined` for a secret source built without one. */
221
+ /** The app secrets key that holds the secret's value. `undefined` for a secret source built without one. */
244
222
  readonly secretsKey: string | undefined;
223
+ readonly resource: NodeId | undefined;
245
224
  /** The source itself. Not enumerable, so a copy's origin compares equal and the origin holds no cycle. */
246
225
  readonly source: SecretSource;
247
226
  };
248
227
  /**
249
- * An opaque stand-in a module body can pass wherever a `T` is accepted
250
- * (ADR-0062). `environment.name` is one; each field of a module's `input` is
251
- * one; `resolve()` returns one computed from others; a deploy target's source,
252
- * such as `envParam()` or `envSecret()`, is one too. A deploy-time value's real
253
- * value is known by the end of Load; a runtime value's real value at deploy is a pointer.
228
+ * A stand-in a module body passes wherever a `T` is accepted (ADR-0062): `environment.name`, an input field, a `resolve()` result or a target's source.
229
+ * A deploy-time value is known by the end of Load; a runtime value's real value at deploy is a pointer.
254
230
  */
255
231
  interface Value<T> {
256
232
  readonly [VALUE]: true;
257
233
  readonly [VALUE_TYPE]?: T;
258
234
  readonly [VALUE_ORIGIN]: ValueOrigin<T>;
259
235
  }
260
- /** A value known only at boot (ADR-0062): its real value at deploy is a `Pointer<T>`, which names the platform variable the service reads at boot. */
236
+ /** A value known only at boot (ADR-0062): its real value at deploy is a `Pointer<T>`, which names the variable on the platform that the service reads at boot. */
261
237
  type RuntimeValue<T> = Value<Pointer<T>>;
262
238
  /** The tuple of real-value types a dependency tuple stands for: what `resolve()`'s `fn` receives. */
263
239
  type RealValuesOf<D extends readonly unknown[]> = { readonly [K in keyof D]: D[K] extends Value<infer T> ? T : never; };
@@ -333,7 +309,7 @@ type NotModuleInput = {
333
309
  //#region src/node.d.ts
334
310
  declare const NODE: unique symbol;
335
311
  declare const SECRET_SOURCE: unique symbol;
336
- /** A secret's source: a target-defined payload core forwards but never inspects. It is a value too, known only at boot; its real value at deploy is the source itself, a secret pointer. A target (e.g. @prisma/composer-prisma-cloud's `envSecret`) builds one with `secretSource()`. */
312
+ /** A secret's source: a target-defined payload core forwards but never inspects. It is a value too, known only at boot; its real value at deploy is the source itself, a secret pointer. A target builds one with `secretSource()`. */
337
313
  interface SecretSource<T = unknown> extends Value<unknown> {
338
314
  readonly [SECRET_SOURCE]: true;
339
315
  /** Target-defined. Core never reads this; the target that authored the source reads it back. */
@@ -341,24 +317,22 @@ interface SecretSource<T = unknown> extends Value<unknown> {
341
317
  }
342
318
  /** What a deploy target says about a source it builds. */
343
319
  interface SourceOptions {
344
- /** How errors name the source, e.g. `envSecret('STRIPE_KEY')`. Defaults to `a secret source` or `a param source`. */
320
+ /** How errors name the source. Defaults to `a source`. */
345
321
  readonly label?: string;
346
322
  }
347
323
  /** What a deploy target says about a secret source it builds. */
348
324
  interface SecretSourceOptions extends SourceOptions {
349
- /** The app secrets key that holds this secret's value, as `envSecret('NAME')`'s `NAME`. Composer redacts the value under it wherever it prints, and `prisma dev` hands it to its second process. */
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. */
350
326
  readonly secretsKey?: string;
351
327
  }
352
328
  /** What a deploy target says about a param source it builds. */
353
329
  interface ParamSourceOptions extends SourceOptions {
354
- /** The app configuration key whose text at deploy is the source's real value, as for `envParam()`. Without one the source is known only at boot, and its real value is the source itself, a pointer. */
355
- readonly configurationKey?: string;
356
- /** For a source known only at boot: `true` makes the source a secret pointer, whose variable holds a secret; otherwise it is a plain pointer. */
330
+ /** `true` makes the source a secret pointer, whose variable holds a secret; otherwise it is a plain pointer. */
357
331
  readonly redacted?: boolean;
358
332
  }
359
- /** Builds a secret source from a target-defined payload: the SPI a deploy target's own constructor (e.g. `envSecret`) calls. The source is a value whose real value at deploy is itself, a pointer. Core forwards it and never inspects the payload. */
333
+ /** 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. */
360
334
  declare function secretSource<P, T = unknown>(payload: P, options?: SecretSourceOptions): SecretSource<P> & Value<T>;
361
- /** True if `value` is a secret source, such as an `envSecret()` result. */
335
+ /** True if `value` is a secret source. */
362
336
  declare function isSecretSource(value: unknown): value is SecretSource;
363
337
  declare const PROVISION_NEED: unique symbol;
364
338
  /** A param value the framework mints. Opaque to core: it forwards the payload to the resolved provisioner and never reads it (ADR-0031). */
@@ -374,18 +348,18 @@ declare function provisionNeed<T = undefined>(brand: symbol, payload?: T): Provi
374
348
  /** True if `value` is a provisioning need (a `provisionNeed()` result). */
375
349
  declare function isProvisionNeed(value: unknown): value is ProvisionNeed;
376
350
  declare const PARAM_SOURCE: unique symbol;
377
- /** A param's source: a target-defined payload core forwards but never inspects. It is a value too: known at deploy when it names an app configuration key (`envParam`), otherwise known only at boot, with the source itself as its real value: a secret pointer when it is redacted, a plain pointer otherwise. A target builds one with `paramSource()`. */
351
+ /** A param's source: a target-defined payload core forwards but never inspects. It is a value too, known only at boot, with the source itself as its real value: a secret pointer when it is redacted, a plain pointer otherwise. A target builds one with `paramSource()`. */
378
352
  interface ParamSource<T = unknown> extends Value<unknown> {
379
353
  readonly [PARAM_SOURCE]: true;
380
354
  /** Target-defined. Core never reads this; the target that authored the source reads it back. */
381
355
  readonly payload: T;
382
356
  }
383
- /** Builds a param source from a target-defined payload: the SPI a deploy target's own constructor (e.g. `envParam`) calls. Core forwards it and never inspects the payload. */
357
+ /** 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. */
384
358
  declare function paramSource<P, T = unknown>(payload: P, options?: ParamSourceOptions): ParamSource<P> & Value<T>;
385
- /** True if `value` is a param source, such as an `envParam()` result. */
359
+ /** True if `value` is a param source. */
386
360
  declare function isParamSource(value: unknown): value is ParamSource;
387
- /** What `provision(service, { params })` accepts per declared param: a literal (schema-validated when config is built) or an opaque `ParamSource`, taking precedence over `param.default`. Every entry is optional — an unbound param falls back to its `default`. */
388
- type ParamBindings<P extends Params> = { readonly [K in keyof P]?: StandardSchemaV1.InferOutput<P[K]['schema']> | ParamSource | (StandardSchemaV1.InferOutput<P[K]['schema']> extends PlainData ? Value<StandardSchemaV1.InferOutput<P[K]['schema']>> : never); };
361
+ /** What `provision(service, { params })` accepts per declared param: a literal (schema-validated when config is built) or a deploy-time value, taking precedence over `param.default`. Every entry is optional — an unbound param falls back to its `default`. */
362
+ type ParamBindings<P extends Params> = { readonly [K in keyof P]?: StandardSchemaV1.InferOutput<P[K]['schema']> | (StandardSchemaV1.InferOutput<P[K]['schema']> extends PlainData ? Value<StandardSchemaV1.InferOutput<P[K]['schema']>> : never); };
389
363
  /**
390
364
  * What `provision(node, { input })` accepts, for a module or a service, where
391
365
  * the node's input schema expects `T` (its Standard Schema input type): the
@@ -400,7 +374,7 @@ type InputBinding<T> = Value<T> | (T extends Pointer<unknown> ? never : T extend
400
374
  type InputBindingOf<I extends StandardSchemaV1 | undefined> = InputBinding<StandardSchemaV1.InferInput<NonNullable<I>>>;
401
375
  /**
402
376
  * `T` with every pointer removed, at any depth: what a service reads at boot,
403
- * when each pointer has been replaced by the text of the variable it names.
377
+ * when each pointer has been replaced by the value of the variable it names.
404
378
  * Only arrays and plain object types are walked; a class instance such as a
405
379
  * `Date` or a `SecretString` is kept as it is.
406
380
  */
@@ -547,8 +521,8 @@ interface AppRootContext<I extends StandardSchemaV1 | undefined = StandardSchema
547
521
  readonly input: I extends StandardSchemaV1 ? ModuleInput<I> : undefined;
548
522
  /** The deploy-time facts of the environment, each a value (ADR-0062). */
549
523
  readonly environment: EnvironmentFacts;
550
- /** Registers an owned child (resource, service or module) under a stable id. */
551
- readonly provision: ModuleBuilder['provision'];
524
+ /** Registers an owned child (resource, service, module or value resource) under a stable id. */
525
+ readonly provision: AppRootProvision;
552
526
  }
553
527
  /**
554
528
  * A module's forwarded-input value: the same ref-port shape a producer's
@@ -621,21 +595,25 @@ type ModuleProvisionOptions<D extends Deps, I extends StandardSchemaV1 | undefin
621
595
  } : unknown);
622
596
  /** The options are optional exactly when nothing is required. */
623
597
  type ModuleProvisionArgs<D extends Deps, I extends StandardSchemaV1 | undefined> = I extends StandardSchemaV1 ? [opts: ModuleProvisionOptions<D, I>] : [keyof D] extends [never] ? [opts?: ModuleProvisionOptions<D, I>] : [opts: ModuleProvisionOptions<D, I>];
624
- /** The options `provision()` takes after a service or module node `N`. */
625
- type ProvisionArgs<N> = N extends ServiceNode<infer D, infer P, Expose, infer I> ? ServiceProvisionArgs<D, I, ParamBindings<P>> : N extends ModuleNode<infer D, Expose, infer I> ? ModuleProvisionArgs<D, I> : never;
598
+ type ProvisionArgs<N> = N extends ValueResourceNode ? [opts?: {
599
+ id?: string;
600
+ }] : N extends ServiceNode<infer D, infer P, Expose, infer I> ? ServiceProvisionArgs<D, I, ParamBindings<P>> : N extends ModuleNode<infer D, Expose, infer I> ? ModuleProvisionArgs<D, I> : never;
626
601
  /** The contracts a service or module node `N` exposes. */
627
602
  type ExposeOf<N> = N extends ServiceNode<Deps, Params, infer E, StandardSchemaV1 | undefined> ? E : N extends ModuleNode<Deps, infer E, StandardSchemaV1 | undefined> ? E : never;
628
- interface ModuleBuilder {
603
+ type OnlyInAppRoot = "Only appRoot() can provision a resource that is a value. Provision it in the app root and pass its value down through this module's input.";
604
+ interface SharedProvision {
629
605
  /** Provisions an owned resource; its id defaults to the node's `name`. */
630
- provision<C extends AnyContract | undefined>(resource: ResourceNode<C>, opts?: {
606
+ <C extends AnyContract | undefined>(resource: ResourceNode<C> & {
607
+ readonly [VALUE_RESOURCE]?: undefined;
608
+ }, opts?: {
631
609
  id?: string;
632
610
  }): {
633
611
  readonly id: string;
634
612
  } & (C extends AnyContract ? RefPort<C> : Record<never, never>);
635
- /** Registers an owned service; its id defaults to the node's `name`; `deps`/`input` are required iff it declares them; a reserved param may be bound (literal or `ParamSource`), overriding its default. */
636
- provision<D extends Deps, P extends Params, E extends Expose, I extends StandardSchemaV1 | undefined>(service: ServiceNode<D, P, E, I>, ...args: ServiceProvisionArgs<D, I, ParamBindings<P>>): ProvisionedRef<E>;
613
+ /** Registers an owned service; its id defaults to the node's `name`; `deps`/`input` are required iff it declares them; a reserved param may be bound (literal or deploy-time value), overriding its default. */
614
+ <D extends Deps, P extends Params, E extends Expose, I extends StandardSchemaV1 | undefined>(service: ServiceNode<D, P, E, I>, ...args: ServiceProvisionArgs<D, I, ParamBindings<P>>): ProvisionedRef<E>;
637
615
  /** Registers an owned child module; its id defaults to the node's `name`; `deps` and `input` are required iff it declares them. */
638
- provision<D extends Deps, E extends Expose, I extends StandardSchemaV1 | undefined>(child: ModuleNode<D, E, I>, ...args: ModuleProvisionArgs<D, I>): ProvisionedRef<E>;
616
+ <D extends Deps, E extends Expose, I extends StandardSchemaV1 | undefined>(child: ModuleNode<D, E, I>, ...args: ModuleProvisionArgs<D, I>): ProvisionedRef<E>;
639
617
  /**
640
618
  * The service call with `deps` written out. `ServiceProvisionArgs` above
641
619
  * cannot resolve while `D` or `I` is still an unbound type parameter — a
@@ -643,36 +621,42 @@ interface ModuleBuilder {
643
621
  * that call site resolves to this overload, or to the next one for a
644
622
  * service without an input schema.
645
623
  */
646
- provision<D extends Deps, P extends Params, E extends Expose, I extends StandardSchemaV1 | undefined>(service: ServiceNode<D, P, E, I>, opts: {
624
+ <D extends Deps, P extends Params, E extends Expose, I extends StandardSchemaV1 | undefined>(service: ServiceNode<D, P, E, I>, opts: {
647
625
  id?: string;
648
626
  deps: DepBindings<D>;
649
627
  input: InputBindingOf<I>;
650
628
  params?: ParamBindings<P>;
651
629
  }): ProvisionedRef<E>;
652
- provision<D extends Deps, P extends Params, E extends Expose>(service: ServiceNode<D, P, E, undefined>, opts: {
630
+ <D extends Deps, P extends Params, E extends Expose>(service: ServiceNode<D, P, E, undefined>, opts: {
653
631
  id?: string;
654
632
  deps: DepBindings<D>;
655
633
  input?: never;
656
634
  params?: ParamBindings<P>;
657
635
  }): ProvisionedRef<E>;
658
636
  /** The child-module call with `deps` written out — the same generic-wrapper escape as the two service overloads above. */
659
- provision<D extends Deps, E extends Expose, I extends StandardSchemaV1 | undefined>(child: ModuleNode<D, E, I>, opts: {
637
+ <D extends Deps, E extends Expose, I extends StandardSchemaV1 | undefined>(child: ModuleNode<D, E, I>, opts: {
660
638
  id?: string;
661
639
  deps: DepBindings<D>;
662
640
  input: InputBindingOf<I>;
663
641
  }): ProvisionedRef<E>;
664
- provision<D extends Deps, E extends Expose>(child: ModuleNode<D, E, undefined>, opts: {
642
+ <D extends Deps, E extends Expose>(child: ModuleNode<D, E, undefined>, opts: {
665
643
  id?: string;
666
644
  deps: DepBindings<D>;
667
645
  input?: never;
668
646
  }): ProvisionedRef<E>;
669
- /**
670
- * Any service or child module. Declared last, so a call no overload accepts
671
- * reports this overload's error, which names the binding key that does not
672
- * fit, or says a module's whole input is not a value.
673
- */
674
- provision<N extends ServiceNode | ModuleNode>(node: N, ...args: ProvisionArgs<N>): ProvisionedRef<ExposeOf<N>>;
675
647
  }
648
+ type ProvisionInModule = <N extends ServiceNode | ModuleNode | ValueResourceNode>(node: N extends ValueResourceNode ? OnlyInAppRoot : N, ...args: ProvisionArgs<N>) => ProvisionedRef<ExposeOf<N>>;
649
+ type ProvisionValue = <V extends SourceValue>(node: ValueResourceNode<V>, opts?: {
650
+ readonly id?: string;
651
+ }) => V & {
652
+ readonly id: string;
653
+ };
654
+ type ProvisionInAppRoot = <N extends ServiceNode | ModuleNode | ValueResourceNode>(node: N, ...args: ProvisionArgs<N>) => ProvisionedRef<ExposeOf<N>>;
655
+ interface ModuleBuilder {
656
+ /** Registers an owned child (resource, service or module) under a stable id. */
657
+ readonly provision: SharedProvision & ProvisionInModule;
658
+ }
659
+ type AppRootProvision = ProvisionValue & SharedProvision & ProvisionInAppRoot;
676
660
  /** Dependency map: name → the slot the service declares. Only declarations are admitted, never a concrete ResourceNode. */
677
661
  type Deps = Record<string, DependencyEnd<any, any>>;
678
662
  /** Output-port map: name → the Contract a service exposes for others to depend on. */
@@ -726,6 +710,22 @@ declare function resource<C extends AnyContract | undefined = undefined, D exten
726
710
  deps?: DepBindings<D>;
727
711
  props?: P;
728
712
  }): ResourceNode<C, D, P>;
713
+ /** What a value resource holds: a secret source or a param source, known only at boot. */
714
+ type SourceValue = (SecretSource | ParamSource) & RuntimeValue<unknown>;
715
+ /** A resource node that is also a value. Only `provision()` in an app root's body takes its value out. It provides no contract and has no dependencies. */
716
+ type ValueResourceNode<V extends SourceValue = SourceValue> = ResourceNode<undefined, Record<never, never>> & {
717
+ readonly [VALUE_RESOURCE]: V;
718
+ };
719
+ /** 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. */
720
+ declare function valueResource<V extends SourceValue>(def: {
721
+ readonly name: string;
722
+ readonly extension: string;
723
+ readonly type: string;
724
+ readonly props?: ResourceProps;
725
+ readonly value: V;
726
+ }): ValueResourceNode<V>;
727
+ /** True for a resource node that is a value: one that holds a source under the value resource key. */
728
+ declare function isValueResource(node: unknown): node is ValueResourceNode;
729
729
  /**
730
730
  * Constructs a branded, frozen Service node — declarations only (inputs,
731
731
  * params, the input schema, build adapter, and the ports it exposes). Pure;
@@ -782,7 +782,7 @@ declare function appRoot<I extends StandardSchemaV1 | undefined = undefined>(nam
782
782
  */
783
783
  declare function isNode(value: unknown): value is ServiceNode | ResourceNode | DependencyEnd | ModuleNode | AppRootNode;
784
784
  /** A node's dependency slots. A resource node built by another installed copy of core may have no `inputs`; that means none. */
785
- declare function slotsOf(node: ServiceNode | ResourceNode): ServiceNode['inputs'];
785
+ declare function slotsOf(node: ServiceNode | ResourceNode<AnyContract | undefined>): ServiceNode['inputs'];
786
786
  //#endregion
787
787
  //#region src/graph-types.d.ts
788
788
  /** Path-derived: root-scope children are bare ids ("auth", "db"); a nested module's own children dot-join under its address ("auth.db"). */
@@ -795,15 +795,14 @@ interface RootInputField {
795
795
  readonly value?: unknown;
796
796
  }
797
797
  /**
798
- * What a Load read from the app configuration (ADR-0062). The deploy's and `prisma dev`'s
799
- * first process writes it to the app configuration file, and their second process Loads with
800
- * it in place of the app configuration.
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. */
804
805
  readonly rootInput: readonly RootInputField[];
805
- /** The text the app configuration holds for each configuration key a source reads, such as `envParam('NAME')`'s `NAME`. A key the app configuration does not hold, or holds as `''`, is absent. */
806
- readonly configurationKeyText: Readonly<Record<string, string>>;
807
806
  }
808
807
  interface CommonLoadOptions {
809
808
  /** The root's address: the app name. Defaults to the root's `name`. */
@@ -811,16 +810,16 @@ interface CommonLoadOptions {
811
810
  /** The facts of the environment being loaded. `name` is what `--environment` gave. Required by any value over `environment.name`. */
812
811
  readonly environment?: EnvironmentRealValues;
813
812
  }
814
- /** Load's options in the first process, or wherever the app configuration is at hand. */
813
+ /** Load's options wherever the app configuration is at hand: the first Load of a command. */
815
814
  interface FirstProcessLoadOptions extends CommonLoadOptions {
816
- /** The app configuration (ADR-0062): what the `config` adapters return. It is the root's input, which the root's schema checks, and what a source with a configuration key, such as `envParam('NAME')`, reads. */
815
+ /** The app configuration (ADR-0062): what the `config` adapters return. It is the root's input, which the root's schema checks. */
817
816
  readonly configuration?: Readonly<Record<string, unknown>>;
818
817
  readonly appConfigurationRead?: never;
819
818
  }
820
- /** Load's options in the deploy's and dev's second process. */
819
+ /** Load's options in a Load that takes what an earlier Load of the same app read. */
821
820
  interface SecondProcessLoadOptions extends CommonLoadOptions {
822
821
  readonly configuration?: never;
823
- /** What the first process's Load read, from the app configuration file. Load takes each root field from it without running the root's schema. */
822
+ /** What the earlier Load read. Load takes each root field from it without running the root's schema. */
824
823
  readonly appConfigurationRead: AppConfigurationRead;
825
824
  }
826
825
  type LoadOptions = FirstProcessLoadOptions | SecondProcessLoadOptions;
@@ -890,31 +889,32 @@ interface InputBindingUse {
890
889
  /** The binding object supplied at provision. */
891
890
  readonly binding: unknown;
892
891
  }
893
- /**
894
- * A resolved param binding: a `provision()` call bound a service's param
895
- * slot to either a literal value or an opaque `ParamSource` — the non-secret
896
- * sibling of `SecretBinding`. Unlike a secret, a param binding is not
897
- * required for every declared param (a param may fall back to its own
898
- * `default`), so this list only carries the ones a `provision()` call
899
- * actually bound.
900
- */
901
892
  interface ParamBinding {
902
893
  /** The graph address of the service that declares the param. */
903
894
  readonly serviceAddress: NodeId;
904
895
  /** The param name on that service. */
905
896
  readonly slot: string;
906
- /** A literal value (schema-validated by `buildConfig`) or an opaque `ParamSource` (the deploy target reads its own payload back) — check with `isParamSource`. Core never inspects a `ParamSource`'s payload. */
897
+ /** A literal value, schema-validated by `buildConfig`. */
907
898
  readonly binding: unknown;
908
899
  }
909
- /** A secret source a binding in the graph names, wherever it sits (ADR-0029). Deploy preflight checks every one, including one in a module's input that no service receives. */
900
+ /** A secret source a binding in the graph names, or a secret value resource, wherever it sits (ADR-0029). Deploy preflight checks every one, including one in a module's input that no service receives. */
910
901
  interface SecretSourceUse {
911
902
  /** The source, as its target built it. Core never reads its payload. */
912
903
  readonly source: SecretSource;
913
- /** A service whose final binding holds it, if one does. Otherwise the module whose input holds it. */
904
+ /** A service whose final binding holds it, if one does. Otherwise the secret value resource itself, or the module whose input holds it. */
914
905
  readonly address: NodeId;
915
906
  /** That node's kind. */
916
907
  readonly nodeKind: 'service' | 'module' | 'resource';
917
908
  }
909
+ /** One service reading one value resource's value. */
910
+ interface ValueRead {
911
+ /** The service whose resolved binding holds the value. */
912
+ readonly reader: NodeId;
913
+ /** The address of the value resource. */
914
+ readonly resource: NodeId;
915
+ /** The dotted key path in the service's input binding; `''` for the whole binding. */
916
+ readonly path: string;
917
+ }
918
918
  interface Graph {
919
919
  readonly root: GraphNode;
920
920
  /** Root + one per input, topo-ordered (deps first). */
@@ -926,17 +926,20 @@ interface Graph {
926
926
  readonly authoredEdges: readonly AuthoredEdge[];
927
927
  /** Every service input binding a `provision()` call supplied (ADR-0042). */
928
928
  readonly inputBindings: readonly InputBindingUse[];
929
- /** Every service param bound at provision — literal or source; unbound params are absent here and fall back to their `default` (see `buildConfig`). */
929
+ /** Every service param bound at provision; unbound params are absent here and fall back to their `default` (see `buildConfig`). */
930
930
  readonly params: readonly ParamBinding[];
931
- /** Every secret source a binding names, once each, in the order Load met them (ADR-0029). */
931
+ /** Every secret source a binding names, and every secret value resource, once each (ADR-0029). */
932
932
  readonly secretSources: readonly SecretSourceUse[];
933
+ /** Each service that reads a value resource's value, and where in its binding it reads it. */
934
+ readonly valueReads: readonly ValueRead[];
933
935
  /** What this Load read from the app configuration (ADR-0062). Empty when Load was given none. */
934
936
  readonly appConfigurationRead: AppConfigurationRead;
935
937
  }
936
938
  /**
937
939
  * Thrown by Load when the graph is malformed. Structured at origin
938
- * (base-type rule 6): one type-level code covers every raise site until a
939
- * finer per-site taxonomy is carved out. The `name` stays
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
940
943
  * `CliStructuredError` — structural recognition depends on it.
941
944
  */
942
945
  declare class LoadError extends CliStructuredError {
@@ -951,5 +954,5 @@ declare class GraphCheckError extends CliStructuredError {
951
954
  });
952
955
  }
953
956
  //#endregion
954
- export { ResourceProps as $, LoadOptions as A, secretSourceManifest as At, ParamBindings as B, HydratedDeps as C, param as Ct, InputRef as D, resolve as Dt, InputBindingUse as E, provisionNeed as Et, ModuleNode as F, PortEndpoint as G, ParamSourceOptions as H, ModuleOutputs as I, RESOURCE_OUT_PORT as J, ProvisionNeed as K, NODE as L, ModuleContext as M, slotsOf as Mt, ModuleInput as N, string as Nt, InputValueOf as O, resource as Ot, ModuleInputField as P, CliStructuredError as Pt, ResourceNodeBase as Q, NodeId as R, Hydrated as S, number as St, InputBindingOf as T, paramSource as Tt, Params as U, ParamSource as V, PlainData as W, RefPort as X, RealValuesOf as Y, ResourceNode as Z, EnvironmentFacts as _, isParamSource as _t, BoundaryPort as a, SecretSourceOptions as at, GraphCheckError as b, isValue as bt, ConfigDeclaration as c, SourceOptions as ct, Contract as d, appRoot as dt, ResourcePropsMember as et, ContractStyle as f, configOf as ft, Edge as g, isNode as gt, Deps as h, inputManifest as ht, AuthoredEdge as i, SecretSource as it, ModuleBuilder as j, service as jt, LoadError as k, secretSource as kt, ConfigParam as l, Value as lt, DependencyEnd as m, freezeNode as mt, AppRootContext as n, RunnableServiceNode as nt, BuildAdapter as o, SecretSourceUse as ot, DepBindings as p, dependency 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, Values as ut, Expose as v, isProvisionNeed as vt, InputBinding as w, paramManifest as wt, GraphNode as x, module as xt, Graph as y, isSecretSource as yt, ParamBinding as z };
955
- //# sourceMappingURL=graph-types-s5V7pGj2-BxSqB1ZH.d.mts.map
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 };
958
+ //# sourceMappingURL=graph-types-D4PrtP-l-B0uuchTl.d.mts.map
@@ -0,0 +1 @@
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,YAAY,EAAE,4BAA4B,iBAAiB,YAAY,EAAE,gBAAgB,iBAAiB,YAAY,EAAE;;;;;;;UAO9P,WAAW,UAAU,SAAS,QAAQ;WACrC,QAAQ;EACjB,QAAQ,QAAQ,OAAO,KAAK,IAAI,QAAQ;;;;;;UAMhC;WACC;aACE;;WAEF;WACA,QAAQ,SAAS;WACjB;WACA;;;;;;;;;;UAUD;WACC,SAAS,SAAS;WAClB,QAAQ,SAAS,eAAe,SAAS;;;;;;;;;;;iBAWnC,SAAS,MAAM,uBAAuB;;;;;iBAKtC,cAAc,OAAO,iBA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iBAAiB;aAClB"}
package/dist/http.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { d as Contract, m as DependencyEnd } from "./graph-types-s5V7pGj2-BxSqB1ZH.mjs";
2
- import "./index-DyuwxTtd.mjs";
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 { c as dependency } from "./graph-BzPLUUsB-D7EnB1F5.mjs";
2
- import { l as string } from "./dist-ynqBR6y8.mjs";
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-s5V7pGj2-BxSqB1ZH.mjs";
2
- import "./graph-C7mdtisq-RnKiwVsx.mjs";
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-DyuwxTtd.d.mts.map
22
+ //# sourceMappingURL=index-D8chHe55.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-DyuwxTtd.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"}
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
- import { a as SecretString, i as SecretBox, n as isPlainPointer, o as isSecretString, r as isSecretPointer, t as Pointer } from "./pointer-CyQZZugO-D7k3vibs.mjs";
2
- import { $ as ResourceProps, A as LoadOptions, At as secretSourceManifest, B as ParamBindings, C as HydratedDeps, Ct as param, D as InputRef, Dt as resolve, E as InputBindingUse, Et as provisionNeed, F as ModuleNode, G as PortEndpoint, H as ParamSourceOptions, I as ModuleOutputs, J as RESOURCE_OUT_PORT, K as ProvisionNeed, L as NODE, M as ModuleContext, Mt as slotsOf, N as ModuleInput, Nt as string, O as InputValueOf, Ot as resource, P as ModuleInputField, Q as ResourceNodeBase, R as NodeId, S as Hydrated, St as number, T as InputBindingOf, Tt as paramSource, U as Params, V as ParamSource, W as PlainData, X as RefPort, Y as RealValuesOf, Z as ResourceNode, _ as EnvironmentFacts, _t as isParamSource, a as BoundaryPort, at as SecretSourceOptions, b as GraphCheckError, bt as isValue, c as ConfigDeclaration, ct as SourceOptions, d as Contract, dt as appRoot, et as ResourcePropsMember, f as ContractStyle, ft as configOf, g as Edge, gt as isNode, h as Deps, ht as inputManifest, i as AuthoredEdge, it as SecretSource, j as ModuleBuilder, jt as service, k as LoadError, kt as secretSource, l as ConfigParam, lt as Value, m as DependencyEnd, mt as freezeNode, n as AppRootContext, nt as RunnableServiceNode, o as BuildAdapter, ot as SecretSourceUse, p as DepBindings, pt as dependency, 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 Values, v as Expose, vt as isProvisionNeed, w as InputBinding, wt as paramManifest, x as GraphNode, xt as module, y as Graph, yt as isSecretSource, z as ParamBinding } from "./graph-types-s5V7pGj2-BxSqB1ZH.mjs";
3
- import { n as assertAppName, t as Load } from "./graph-C7mdtisq-RnKiwVsx.mjs";
4
- import { n as hydrateSync, t as hydrate } from "./index-DyuwxTtd.mjs";
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 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 Value, type Values, appRoot, assertAppName, configOf, dependency, freezeNode, hydrate, hydrateSync, inputManifest, isNode, isParamSource, isPlainPointer, isProvisionNeed, isSecretPointer, isSecretSource, isSecretString, isValue, module, number, param, paramManifest, paramSource, provisionNeed, resolve, resource, secretSource, secretSourceManifest, service, slotsOf, string };
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-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
+ 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
- import { a as isPlainPointer, n as SecretBox, o as isSecretPointer, r as isSecretString } from "./describe-kind-Cpm_euxo-CkhlGJUL.mjs";
2
- import { C as service, _ as paramSource, a as ResourceNodeBase, b as resource, c as dependency, d as isParamSource, f as isProvisionNeed, h as module, i as RESOURCE_OUT_PORT, l as freezeNode, m as isValue, n as Load, o as appRoot, p as isSecretSource, r as LoadError, s as assertAppName, t as GraphCheckError, u as isNode, v as provisionNeed, w as slotsOf, x as secretSource, y as resolve } from "./graph-BzPLUUsB-D7EnB1F5.mjs";
3
- import { a as number, c as secretSourceManifest, i as inputManifest, l as string, n as hydrate, o as param, r as hydrateSync, s as paramManifest, t as configOf } from "./dist-ynqBR6y8.mjs";
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, module, number, param, paramManifest, paramSource, provisionNeed, resolve, resource, secretSource, secretSourceManifest, service, slotsOf, string };
1
+ import { a as isPlainPointer, n as SecretBox, o as isSecretPointer, r as isSecretString } from "./describe-kind-Cpm_euxo-DsSPENQa.mjs";
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
+ 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 };
@@ -1,19 +1,16 @@
1
- import { t as AppConfigurationRead } from "./graph-types-s5V7pGj2-BxSqB1ZH.mjs";
2
- import { L as NamedSecrets } from "./app-config-UeKFBma7-CohaMmWp.mjs";
3
- import "./config-BeZEgGCg.mjs";
4
- import "./index-DyuwxTtd.mjs";
5
- import "./redaction-Bf8FvTFH-D_HvoMrf.mjs";
6
- //#region ../../0-framework/3-tooling/cli/dist/app-configuration-file-ptkFLQ7p.d.mts
1
+ import { t as AppConfigurationRead } from "./graph-types-D4PrtP-l-B0uuchTl.mjs";
2
+ import "./index-D8chHe55.mjs";
3
+ import "./redaction-Dn7BRdaP-BcLSPhLV.mjs";
4
+ //#region ../../0-framework/3-tooling/cli/dist/app-configuration-file.d.mts
7
5
  //#region src/app-configuration-file.d.ts
8
- /** What the app configuration file holds: what the first process's Load read from the app configuration, and the node addresses of the graph it built. */
6
+ /** What the app configuration file holds: what the first process's Load read, the plain platform variable texts, and the graph's node addresses. */
9
7
  interface AppConfigurationFile {
10
8
  readonly appConfigurationRead: AppConfigurationRead;
9
+ readonly plainVariableText: Readonly<Record<string, string>>;
11
10
  readonly nodeAddresses: readonly string[];
12
11
  }
13
12
  /** Second process: the app configuration file the first process named in its environment. */
14
13
  declare function readAppConfigurationFile(env: Readonly<Record<string, string | undefined>>): AppConfigurationFile;
15
- /** Second process, under `prisma dev`: the named secrets the first process handed it. */
16
- declare function namedSecretsFromEnvironment(env: Readonly<Record<string, string | undefined>>): NamedSecrets;
17
14
  //#endregion
18
- export { namedSecretsFromEnvironment, readAppConfigurationFile };
15
+ export { readAppConfigurationFile };
19
16
  //# sourceMappingURL=internal-app-configuration-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal-app-configuration-file.d.mts","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/app-configuration-file-ptkFLQ7p.d.mts"],"mappings":";;;;;;;;UAKU;WACC,sBAAsB;WACtB;;;iBA8BM,yBAAyB,KAAK,SAAS,sCAAsC;;iBAE7E,4BAA4B,KAAK,SAAS,sCAAsC"}
1
+ {"version":3,"file":"internal-app-configuration-file.d.mts","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/app-configuration-file.d.mts"],"mappings":";;;;;;UAIU;WACC,sBAAsB;WACtB,mBAAmB,SAAS;WAC5B;;;iBAGM,yBAAyB,KAAK,SAAS,sCAAsC"}
@@ -1,2 +1,2 @@
1
- import { a as readAppConfigurationFile, r as namedSecretsFromEnvironment } from "./app-configuration-file-CeJvBAti-D3uDlheX.mjs";
2
- export { namedSecretsFromEnvironment, readAppConfigurationFile };
1
+ import { r as readAppConfigurationFile } from "./app-configuration-file-D0rB5g65-CdMrjkCc.mjs";
2
+ export { readAppConfigurationFile };
@@ -0,0 +1,16 @@
1
+ //#region ../../0-framework/3-tooling/cli/dist/converge-contract.d.mts
2
+ //#region src/converge-contract.d.ts
3
+ /**
4
+ * The version of the shapes the `prisma` host and the app's
5
+ * `@prisma/composer` pass each other through `internal/converge`:
6
+ * `LowerOptions`, `ConvergeRequest`, `ConvergeOutcome`, `ConvergeEvent`,
7
+ * `DeploymentResult`, and the functions the entry exports (`lower`,
8
+ * `convergeInProcess`, `localTargetProviders`, `devState`). Bump it only
9
+ * when one of them changes in a way the other side cannot read;
10
+ * `converge-contract.test-d.ts` fails on any change to the shapes. Imports
11
+ * nothing, so a host can read it before loading the converge.
12
+ */
13
+ declare const CONVERGE_CONTRACT = 2;
14
+ //#endregion
15
+ export { CONVERGE_CONTRACT };
16
+ //# sourceMappingURL=internal-converge-contract.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal-converge-contract.d.mts","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/converge-contract.d.mts"],"mappings":";;;;;;;;;;;;cAWc"}