@prisma/composer-cli 0.11.0 → 0.12.0
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/bin.mjs +183 -175
- package/dist/bin.mjs.map +1 -1
- package/dist/{execute-deploy-destroy-DJ3BlpgU-DpcJjxvk.mjs → execute-deploy-destroy-Bsdh8hf4-BVXNSBmy.mjs} +4 -3
- package/dist/{execute-deploy-destroy-DJ3BlpgU-BCTSVylF.mjs.map → execute-deploy-destroy-Bsdh8hf4-BVXNSBmy.mjs.map} +1 -1
- package/dist/{execute-deploy-destroy-DJ3BlpgU-BCTSVylF.mjs → execute-deploy-destroy-Bsdh8hf4-CZVPrQtx.mjs} +4 -3
- package/dist/{execute-deploy-destroy-DJ3BlpgU-DpcJjxvk.mjs.map → execute-deploy-destroy-Bsdh8hf4-CZVPrQtx.mjs.map} +1 -1
- package/dist/{execute-dev-CQ0Lo2eN-DBThEMBv.mjs → execute-dev-CQ0Lo2eN-DxMcOjxh.mjs} +2 -2
- package/dist/{execute-dev-CQ0Lo2eN-DBThEMBv.mjs.map → execute-dev-CQ0Lo2eN-DxMcOjxh.mjs.map} +1 -1
- package/dist/{execute-dev-CQ0Lo2eN-BBNilsxZ.mjs → execute-dev-CQ0Lo2eN-WebHkuDn.mjs} +2 -2
- package/dist/{execute-dev-CQ0Lo2eN-BBNilsxZ.mjs.map → execute-dev-CQ0Lo2eN-WebHkuDn.mjs.map} +1 -1
- package/dist/{execute-log-CUzTOzSj-31WISHGD.mjs → execute-log-CUzTOzSj-BndClj6B.mjs} +2 -2
- package/dist/{execute-log-CUzTOzSj-31WISHGD.mjs.map → execute-log-CUzTOzSj-BndClj6B.mjs.map} +1 -1
- package/dist/{execute-log-CUzTOzSj-ERhhGgwJ.mjs → execute-log-CUzTOzSj-DPxnEKA2.mjs} +2 -2
- package/dist/{execute-log-CUzTOzSj-ERhhGgwJ.mjs.map → execute-log-CUzTOzSj-DPxnEKA2.mjs.map} +1 -1
- package/dist/{family-BqgXAnt0-BilZvb88.d.mts → family-BqgXAnt0-CU2L1I6j.d.mts} +50 -3
- package/dist/{family-BqgXAnt0-BilZvb88.d.mts.map → family-BqgXAnt0-CU2L1I6j.d.mts.map} +1 -1
- package/dist/family.d.mts +1 -1
- package/dist/family.mjs +182 -174
- package/dist/family.mjs.map +1 -1
- package/dist/{pipeline-Bt8QocRh-BWGl-fzK.mjs → pipeline-Bt8QocRh-BGjwJqNH.mjs} +138 -10
- package/dist/pipeline-Bt8QocRh-BGjwJqNH.mjs.map +1 -0
- package/dist/{pipeline-Bt8QocRh-DWh8gbfz.mjs → pipeline-Bt8QocRh-B_yOh-0h.mjs} +138 -10
- package/dist/pipeline-Bt8QocRh-B_yOh-0h.mjs.map +1 -0
- package/dist/testing.d.mts +1 -1
- package/package.json +6 -6
- package/dist/pipeline-Bt8QocRh-BWGl-fzK.mjs.map +0 -1
- package/dist/pipeline-Bt8QocRh-DWh8gbfz.mjs.map +0 -1
package/dist/{execute-log-CUzTOzSj-31WISHGD.mjs.map → execute-log-CUzTOzSj-BndClj6B.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-log-CUzTOzSj-
|
|
1
|
+
{"version":3,"file":"execute-log-CUzTOzSj-BndClj6B.mjs","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/execute-log-CUzTOzSj.mjs"],"sourcesContent":["import { r as toStructured } from \"./shared-BTnATsqm.mjs\";\nimport { t as resolveAppIdentity } from \"./pipeline-Bt8QocRh.mjs\";\nimport { t as withEmulatorRetry } from \"./emulator-retry-DGonap4g.mjs\";\nimport { CliStructuredError } from \"@internal/foundation/errors\";\nimport * as path from \"node:path\";\nimport { notOk, ok } from \"@internal/foundation/result\";\nimport { DEV_DIR, resolveLocalTargets } from \"@internal/core/local-target\";\n//#region src/operations/execute-log.ts\n/**\n* The log executor — run-log.ts's attach-and-tail (config → localTarget →\n* container → attach → logs) with console and signal handling removed: the\n* merged stream comes back as an AsyncIterable, ended by the caller's\n* AbortSignal. Reached only by lazy import from log.ts — this module's\n* static graph transitively loads alchemy's provider tree, so the control\n* entry must never import it statically.\n*/\nfunction failureMessage(error) {\n\treturn error instanceof Error ? error.message : String(error);\n}\n/** The merge queue's bound: past this, the oldest line is dropped and the\n* consumer is told via a `lines-dropped` event — a log viewer tolerates loss\n* better than the host tolerates unbounded memory growth. Exported so tests\n* can size their floods relative to the bound. */\nconst LOG_QUEUE_LIMIT = 1e4;\n/**\n* Merges every attachment's log stream into one iterable: one pump per\n* attachment pushing into a shared bounded queue. A pump's throw becomes a\n* `stream-failed` event and ends that pump only; the merged iterable ends\n* when `input.signal` aborts, when every pump ends, or when the consumer\n* stops iterating (an early `break` aborts an internal controller so the\n* pumps tear down — the generator never waits on a source that will not\n* end). No event is delivered after the iterable has ended. Address\n* filtering and `tail` apply exactly as the CLI always has.\n*/\nasync function* mergeLogStreams(attachments, input) {\n\tconst controller = new AbortController();\n\tconst { signal } = controller;\n\tconst abortInternal = () => controller.abort();\n\tif (input.signal?.aborted === true) controller.abort();\n\tinput.signal?.addEventListener(\"abort\", abortInternal, { once: true });\n\tconst queue = [];\n\tlet dropped = 0;\n\tlet done = false;\n\tlet active = attachments.length;\n\tlet wake;\n\tconst notify = () => {\n\t\twake?.();\n\t\twake = void 0;\n\t};\n\tsignal.addEventListener(\"abort\", notify, { once: true });\n\tconst emit = (event) => {\n\t\tif (done) return;\n\t\ttry {\n\t\t\tinput.onEvent?.(event);\n\t\t} catch {}\n\t};\n\tconst pump = async (attachment) => {\n\t\ttry {\n\t\t\tfor await (const { service, line } of attachment.logs(signal, { tail: input.tail ?? 0 })) {\n\t\t\t\tif (signal.aborted) return;\n\t\t\t\tif (input.address !== void 0 && service !== input.address) continue;\n\t\t\t\tif (queue.length >= 1e4) {\n\t\t\t\t\tqueue.shift();\n\t\t\t\t\tdropped += 1;\n\t\t\t\t}\n\t\t\t\tqueue.push({\n\t\t\t\t\tservice,\n\t\t\t\t\tline\n\t\t\t\t});\n\t\t\t\tnotify();\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tif (!signal.aborted) emit({\n\t\t\t\tkind: \"stream-failed\",\n\t\t\t\tmessage: failureMessage(error)\n\t\t\t});\n\t\t} finally {\n\t\t\tactive -= 1;\n\t\t\tnotify();\n\t\t}\n\t};\n\tfor (const attachment of attachments) pump(attachment);\n\ttry {\n\t\twhile (true) {\n\t\t\tlet next = queue.shift();\n\t\t\twhile (next !== void 0) {\n\t\t\t\tif (dropped > 0) {\n\t\t\t\t\tconst count = dropped;\n\t\t\t\t\tdropped = 0;\n\t\t\t\t\temit({\n\t\t\t\t\t\tkind: \"lines-dropped\",\n\t\t\t\t\t\tcount\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tyield next;\n\t\t\t\tnext = queue.shift();\n\t\t\t}\n\t\t\tif (signal.aborted || active === 0) break;\n\t\t\tawait new Promise((resolve) => {\n\t\t\t\twake = resolve;\n\t\t\t});\n\t\t}\n\t} finally {\n\t\tdone = true;\n\t\tcontroller.abort();\n\t\tsignal.removeEventListener(\"abort\", notify);\n\t\tinput.signal?.removeEventListener(\"abort\", abortInternal);\n\t}\n}\n/** Resolves the running app and attaches to its log streams; the caller consumes `lines`. */\nasync function executeLog(input, deps, cwd) {\n\tif (process.platform === \"win32\") return notOk(new CliStructuredError(\"LOG.PLATFORM_UNSUPPORTED\", \"local dev is not supported on Windows yet.\"));\n\tconst devDir = path.join(cwd, DEV_DIR);\n\tlet name;\n\tconst attachments = [];\n\tlet services;\n\ttry {\n\t\tconst identity = deps.identity ?? await resolveAppIdentity(input.entry, input.name, cwd, {\n\t\t\tconfig: deps.config,\n\t\t\tconfigPath: deps.configPath\n\t\t});\n\t\tname = identity.name;\n\t\tconst resolved = await resolveLocalTargets(identity.config);\n\t\tfor (const target of resolved.values()) try {\n\t\t\tconst container = await target.container.ensure({\n\t\t\t\tappName: name,\n\t\t\t\tstage: void 0\n\t\t\t});\n\t\t\tattachments.push(await withEmulatorRetry(() => target.attach({\n\t\t\t\tcontainer,\n\t\t\t\tdevDir\n\t\t\t})));\n\t\t} catch (error) {\n\t\t\tthrow toStructured(\"LOG.ATTACH_FAILED\", error);\n\t\t}\n\t\ttry {\n\t\t\tservices = (await Promise.all(attachments.map((a) => withEmulatorRetry(() => a.endpoints())))).flat();\n\t\t} catch (error) {\n\t\t\tthrow toStructured(\"LOG.ATTACH_FAILED\", error);\n\t\t}\n\t} catch (error) {\n\t\tif (CliStructuredError.is(error)) return notOk(error);\n\t\tthrow error;\n\t}\n\tif (services.length === 0) return ok({\n\t\tappName: name,\n\t\tservices: [],\n\t\tlines: mergeLogStreams([], input)\n\t});\n\tif (input.address !== void 0 && !services.some((s) => s.address === input.address)) return notOk(new CliStructuredError(\"LOG.ADDRESS_UNKNOWN\", `no service \"${input.address}\" in \"${name}\" — running services: ${services.map((s) => s.address).join(\", \")}.`));\n\treturn ok({\n\t\tappName: name,\n\t\tservices,\n\t\tlines: mergeLogStreams(attachments, input)\n\t});\n}\n//#endregion\nexport { LOG_QUEUE_LIMIT, executeLog };\n\n//# sourceMappingURL=execute-log-CUzTOzSj.mjs.map"],"mappings":";;;;;;;;;;;;;;AAgBA,SAAS,eAAe,OAAO;CAC9B,OAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;AAC7D;;;;;AAKA,MAAM,kBAAkB;;;;;;;;;;;AAWxB,gBAAgB,gBAAgB,aAAa,OAAO;CACnD,MAAM,aAAa,IAAI,gBAAgB;CACvC,MAAM,EAAE,WAAW;CACnB,MAAM,sBAAsB,WAAW,MAAM;CAC7C,IAAI,MAAM,QAAQ,YAAY,MAAM,WAAW,MAAM;CACrD,MAAM,QAAQ,iBAAiB,SAAS,eAAe,EAAE,MAAM,KAAK,CAAC;CACrE,MAAM,QAAQ,CAAC;CACf,IAAI,UAAU;CACd,IAAI,OAAO;CACX,IAAI,SAAS,YAAY;CACzB,IAAI;CACJ,MAAM,eAAe;EACpB,OAAO;EACP,OAA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OAAO,gBAAgB,aAAa,KAAK;CAC1C,CAAC;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as CliStructuredError, n as ok, s as toStructured, t as notOk } from "./result-B4XjxVK6.mjs";
|
|
2
|
-
import { t as resolveAppIdentity } from "./pipeline-Bt8QocRh-
|
|
2
|
+
import { t as resolveAppIdentity } from "./pipeline-Bt8QocRh-B_yOh-0h.mjs";
|
|
3
3
|
import { n as withEmulatorRetry, r as DEV_DIR, t as resolveLocalTargets } from "./local-target-H0IWu_FM.mjs";
|
|
4
4
|
import * as path from "node:path";
|
|
5
5
|
//#region ../../0-framework/3-tooling/cli/dist/execute-log-CUzTOzSj.mjs
|
|
@@ -154,4 +154,4 @@ async function executeLog(input, deps, cwd) {
|
|
|
154
154
|
//#endregion
|
|
155
155
|
export { LOG_QUEUE_LIMIT, executeLog };
|
|
156
156
|
|
|
157
|
-
//# sourceMappingURL=execute-log-CUzTOzSj-
|
|
157
|
+
//# sourceMappingURL=execute-log-CUzTOzSj-DPxnEKA2.mjs.map
|
package/dist/{execute-log-CUzTOzSj-ERhhGgwJ.mjs.map → execute-log-CUzTOzSj-DPxnEKA2.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-log-CUzTOzSj-
|
|
1
|
+
{"version":3,"file":"execute-log-CUzTOzSj-DPxnEKA2.mjs","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/execute-log-CUzTOzSj.mjs"],"sourcesContent":["import { r as toStructured } from \"./shared-BTnATsqm.mjs\";\nimport { t as resolveAppIdentity } from \"./pipeline-Bt8QocRh.mjs\";\nimport { t as withEmulatorRetry } from \"./emulator-retry-DGonap4g.mjs\";\nimport { CliStructuredError } from \"@internal/foundation/errors\";\nimport * as path from \"node:path\";\nimport { notOk, ok } from \"@internal/foundation/result\";\nimport { DEV_DIR, resolveLocalTargets } from \"@internal/core/local-target\";\n//#region src/operations/execute-log.ts\n/**\n* The log executor — run-log.ts's attach-and-tail (config → localTarget →\n* container → attach → logs) with console and signal handling removed: the\n* merged stream comes back as an AsyncIterable, ended by the caller's\n* AbortSignal. Reached only by lazy import from log.ts — this module's\n* static graph transitively loads alchemy's provider tree, so the control\n* entry must never import it statically.\n*/\nfunction failureMessage(error) {\n\treturn error instanceof Error ? error.message : String(error);\n}\n/** The merge queue's bound: past this, the oldest line is dropped and the\n* consumer is told via a `lines-dropped` event — a log viewer tolerates loss\n* better than the host tolerates unbounded memory growth. Exported so tests\n* can size their floods relative to the bound. */\nconst LOG_QUEUE_LIMIT = 1e4;\n/**\n* Merges every attachment's log stream into one iterable: one pump per\n* attachment pushing into a shared bounded queue. A pump's throw becomes a\n* `stream-failed` event and ends that pump only; the merged iterable ends\n* when `input.signal` aborts, when every pump ends, or when the consumer\n* stops iterating (an early `break` aborts an internal controller so the\n* pumps tear down — the generator never waits on a source that will not\n* end). No event is delivered after the iterable has ended. Address\n* filtering and `tail` apply exactly as the CLI always has.\n*/\nasync function* mergeLogStreams(attachments, input) {\n\tconst controller = new AbortController();\n\tconst { signal } = controller;\n\tconst abortInternal = () => controller.abort();\n\tif (input.signal?.aborted === true) controller.abort();\n\tinput.signal?.addEventListener(\"abort\", abortInternal, { once: true });\n\tconst queue = [];\n\tlet dropped = 0;\n\tlet done = false;\n\tlet active = attachments.length;\n\tlet wake;\n\tconst notify = () => {\n\t\twake?.();\n\t\twake = void 0;\n\t};\n\tsignal.addEventListener(\"abort\", notify, { once: true });\n\tconst emit = (event) => {\n\t\tif (done) return;\n\t\ttry {\n\t\t\tinput.onEvent?.(event);\n\t\t} catch {}\n\t};\n\tconst pump = async (attachment) => {\n\t\ttry {\n\t\t\tfor await (const { service, line } of attachment.logs(signal, { tail: input.tail ?? 0 })) {\n\t\t\t\tif (signal.aborted) return;\n\t\t\t\tif (input.address !== void 0 && service !== input.address) continue;\n\t\t\t\tif (queue.length >= 1e4) {\n\t\t\t\t\tqueue.shift();\n\t\t\t\t\tdropped += 1;\n\t\t\t\t}\n\t\t\t\tqueue.push({\n\t\t\t\t\tservice,\n\t\t\t\t\tline\n\t\t\t\t});\n\t\t\t\tnotify();\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tif (!signal.aborted) emit({\n\t\t\t\tkind: \"stream-failed\",\n\t\t\t\tmessage: failureMessage(error)\n\t\t\t});\n\t\t} finally {\n\t\t\tactive -= 1;\n\t\t\tnotify();\n\t\t}\n\t};\n\tfor (const attachment of attachments) pump(attachment);\n\ttry {\n\t\twhile (true) {\n\t\t\tlet next = queue.shift();\n\t\t\twhile (next !== void 0) {\n\t\t\t\tif (dropped > 0) {\n\t\t\t\t\tconst count = dropped;\n\t\t\t\t\tdropped = 0;\n\t\t\t\t\temit({\n\t\t\t\t\t\tkind: \"lines-dropped\",\n\t\t\t\t\t\tcount\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tyield next;\n\t\t\t\tnext = queue.shift();\n\t\t\t}\n\t\t\tif (signal.aborted || active === 0) break;\n\t\t\tawait new Promise((resolve) => {\n\t\t\t\twake = resolve;\n\t\t\t});\n\t\t}\n\t} finally {\n\t\tdone = true;\n\t\tcontroller.abort();\n\t\tsignal.removeEventListener(\"abort\", notify);\n\t\tinput.signal?.removeEventListener(\"abort\", abortInternal);\n\t}\n}\n/** Resolves the running app and attaches to its log streams; the caller consumes `lines`. */\nasync function executeLog(input, deps, cwd) {\n\tif (process.platform === \"win32\") return notOk(new CliStructuredError(\"LOG.PLATFORM_UNSUPPORTED\", \"local dev is not supported on Windows yet.\"));\n\tconst devDir = path.join(cwd, DEV_DIR);\n\tlet name;\n\tconst attachments = [];\n\tlet services;\n\ttry {\n\t\tconst identity = deps.identity ?? await resolveAppIdentity(input.entry, input.name, cwd, {\n\t\t\tconfig: deps.config,\n\t\t\tconfigPath: deps.configPath\n\t\t});\n\t\tname = identity.name;\n\t\tconst resolved = await resolveLocalTargets(identity.config);\n\t\tfor (const target of resolved.values()) try {\n\t\t\tconst container = await target.container.ensure({\n\t\t\t\tappName: name,\n\t\t\t\tstage: void 0\n\t\t\t});\n\t\t\tattachments.push(await withEmulatorRetry(() => target.attach({\n\t\t\t\tcontainer,\n\t\t\t\tdevDir\n\t\t\t})));\n\t\t} catch (error) {\n\t\t\tthrow toStructured(\"LOG.ATTACH_FAILED\", error);\n\t\t}\n\t\ttry {\n\t\t\tservices = (await Promise.all(attachments.map((a) => withEmulatorRetry(() => a.endpoints())))).flat();\n\t\t} catch (error) {\n\t\t\tthrow toStructured(\"LOG.ATTACH_FAILED\", error);\n\t\t}\n\t} catch (error) {\n\t\tif (CliStructuredError.is(error)) return notOk(error);\n\t\tthrow error;\n\t}\n\tif (services.length === 0) return ok({\n\t\tappName: name,\n\t\tservices: [],\n\t\tlines: mergeLogStreams([], input)\n\t});\n\tif (input.address !== void 0 && !services.some((s) => s.address === input.address)) return notOk(new CliStructuredError(\"LOG.ADDRESS_UNKNOWN\", `no service \"${input.address}\" in \"${name}\" — running services: ${services.map((s) => s.address).join(\", \")}.`));\n\treturn ok({\n\t\tappName: name,\n\t\tservices,\n\t\tlines: mergeLogStreams(attachments, input)\n\t});\n}\n//#endregion\nexport { LOG_QUEUE_LIMIT, executeLog };\n\n//# sourceMappingURL=execute-log-CUzTOzSj.mjs.map"],"mappings":";;;;;;;;;;;;;AAgBA,SAAS,eAAe,OAAO;CAC9B,OAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;AAC7D;;;;;AAKA,MAAM,kBAAkB;;;;;;;;;;;AAWxB,gBAAgB,gBAAgB,aAAa,OAAO;CACnD,MAAM,aAAa,IAAI,gBAAgB;CACvC,MAAM,EAAE,WAAW;CACnB,MAAM,sBAAsB,WAAW,MAAM;CAC7C,IAAI,MAAM,QAAQ,YAAY,MAAM,WAAW,MAAM;CACrD,MAAM,QAAQ,iBAAiB,SAAS,eAAe,EAAE,MAAM,KAAK,CAAC;CACrE,MAAM,QAAQ,CAAC;CACf,IAAI,UAAU;CACd,IAAI,OAAO;CACX,IAAI,SAAS,YAAY;C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AE,CAAC;CAC9P,OAAO,GAAG;EACT,SAAS;EACT;EACA,OAAO,gBAAgB,aAAa,KAAK;CAC1C,CAAC;AACF"}
|
|
@@ -158,7 +158,7 @@ declare namespace StandardSchemaV1 {
|
|
|
158
158
|
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
159
159
|
}
|
|
160
160
|
//#endregion
|
|
161
|
-
//#region ../../0-framework/1-core/core/dist/graph-types-
|
|
161
|
+
//#region ../../0-framework/1-core/core/dist/graph-types-BTTaRnih.d.mts
|
|
162
162
|
//#region src/config.d.ts
|
|
163
163
|
/**
|
|
164
164
|
* A declared config param — pure data: a caller-owned Standard Schema
|
|
@@ -496,8 +496,43 @@ type Expose = Readonly<Record<string, AnyContract>>;
|
|
|
496
496
|
type NodeId = string;
|
|
497
497
|
interface GraphNode {
|
|
498
498
|
readonly id: NodeId;
|
|
499
|
+
/**
|
|
500
|
+
* The containing node's id — `undefined` only on the root. Carried
|
|
501
|
+
* explicitly because containment is STATED, never derived: the dots in an
|
|
502
|
+
* address are a readable-uniqueness convention, and anything downstream
|
|
503
|
+
* (the platform's application topology included) treats the id as opaque.
|
|
504
|
+
*/
|
|
505
|
+
readonly parent: NodeId | undefined;
|
|
499
506
|
readonly node: ServiceNode | ResourceNode | DependencyEnd | ModuleNode;
|
|
500
507
|
}
|
|
508
|
+
/** One end of an authored edge: a boundary port named by its owning node, direction, and name. */
|
|
509
|
+
interface PortEndpoint {
|
|
510
|
+
readonly node: NodeId;
|
|
511
|
+
readonly direction: 'in' | 'out';
|
|
512
|
+
readonly name: string;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* A declared boundary port: a module's dep/expose entry, a service's
|
|
516
|
+
* input/expose entry, or a resource's one anonymous output (`$out`).
|
|
517
|
+
* `contractKind` is the protocol brand riding the port — a DependencyEnd's
|
|
518
|
+
* `type` on an `in` port, the exposed Contract's `kind` on an `out` port.
|
|
519
|
+
*/
|
|
520
|
+
interface BoundaryPort extends PortEndpoint {
|
|
521
|
+
readonly contractKind: string | undefined;
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* A pre-dereference edge, exactly as authored: module boundaries are
|
|
525
|
+
* ordinary edges (an input forwarded into a child is module-`in` →
|
|
526
|
+
* child-`in`; a child's output exposed by its module is child-`out` →
|
|
527
|
+
* module-`out`; a re-exposed own input is `in` → `out` on the same module),
|
|
528
|
+
* where the flat `edges` view resolves every forwarding chain through to the
|
|
529
|
+
* real producer. A wiring whose source names no port (a whole ref wired
|
|
530
|
+
* wholesale into an untyped slot) authors no edge here.
|
|
531
|
+
*/
|
|
532
|
+
interface AuthoredEdge {
|
|
533
|
+
readonly from: PortEndpoint;
|
|
534
|
+
readonly to: PortEndpoint;
|
|
535
|
+
}
|
|
501
536
|
/**
|
|
502
537
|
* `input`: a service consumes its own declared dependency slot — from the
|
|
503
538
|
* slot node to the service. `dependency`: a service consumes a provisioned
|
|
@@ -544,6 +579,10 @@ interface Graph {
|
|
|
544
579
|
/** Root + one per input, topo-ordered (deps first). */
|
|
545
580
|
readonly nodes: readonly GraphNode[];
|
|
546
581
|
readonly edges: readonly Edge[];
|
|
582
|
+
/** Every declared boundary port, in declaration order. */
|
|
583
|
+
readonly ports: readonly BoundaryPort[];
|
|
584
|
+
/** The authored (pre-dereference) edges between boundary ports, in declaration order. */
|
|
585
|
+
readonly authoredEdges: readonly AuthoredEdge[];
|
|
547
586
|
/** Every service input binding a `provision()` call supplied (ADR-0042). */
|
|
548
587
|
readonly inputBindings: readonly ServiceInputBinding[];
|
|
549
588
|
/** Every service param bound at provision — literal or source; unbound params are absent here and fall back to their `default` (see `buildConfig`). */
|
|
@@ -613,7 +652,7 @@ interface NotOk<F> {
|
|
|
613
652
|
*/
|
|
614
653
|
type Result$1<T, F> = Ok<T> | NotOk<F>;
|
|
615
654
|
//#endregion
|
|
616
|
-
//#region ../../0-framework/1-core/core/dist/app-config-
|
|
655
|
+
//#region ../../0-framework/1-core/core/dist/app-config-CooZZhD4.d.mts
|
|
617
656
|
//#region src/container-transport.d.ts
|
|
618
657
|
/**
|
|
619
658
|
* Carries resolved containers from the CLI process into the alchemy process
|
|
@@ -990,6 +1029,14 @@ interface TeardownInput {
|
|
|
990
1029
|
interface ReportBeginInput<C = unknown> {
|
|
991
1030
|
/** The resolved application name. */
|
|
992
1031
|
readonly appName: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* The loaded application graph — what this deploy declares. A reporter
|
|
1034
|
+
* that records the declared topology reads it here. Reporter
|
|
1035
|
+
* implementations only receive this input; a host that CONSTRUCTS it to
|
|
1036
|
+
* drive `ReporterDescriptor.begin` itself must now supply the graph it
|
|
1037
|
+
* loaded (a breaking addition to this published type).
|
|
1038
|
+
*/
|
|
1039
|
+
readonly graph: Graph;
|
|
993
1040
|
/** The stage name (`--stage`), or `undefined` for the default stage. */
|
|
994
1041
|
readonly stage: string | undefined;
|
|
995
1042
|
/** The directory the deploy command was run from — where a reporter reads repository metadata. */
|
|
@@ -1403,4 +1450,4 @@ interface CreateComposerFamilyOptions {
|
|
|
1403
1450
|
declare function createComposerFamily(options?: CreateComposerFamilyOptions): CommandFamily;
|
|
1404
1451
|
//#endregion
|
|
1405
1452
|
export { Result$1 as _, DeployInput as a, DestroyInput as c, LogAttached as d, LogDeps as f, ServiceEndpoint as g, OperationDeps as h, realOperations as i, DevInput as l, LogLine as m, CreateComposerFamilyOptions as n, DeploySuccess as o, LogInput as p, createComposerFamily as r, DestroyEvent as s, ComposerOperations as t, DevSession as u, CliStructuredError as v };
|
|
1406
|
-
//# sourceMappingURL=family-BqgXAnt0-
|
|
1453
|
+
//# sourceMappingURL=family-BqgXAnt0-CU2L1I6j.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"family-BqgXAnt0-
|
|
1
|
+
{"version":3,"file":"family-BqgXAnt0-CU2L1I6j.d.mts","names":[],"sources":["../../../0-framework/0-foundation/foundation/dist/errors.d.mts","../../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../0-framework/1-core/core/dist/graph-types-BTTaRnih.d.mts","../../../0-framework/3-tooling/cli/dist/load-entry-bBS2gv3n.d.mts","../../../0-framework/0-foundation/foundation/dist/result.d.mts","../../../0-framework/1-core/core/dist/app-config-CooZZhD4.d.mts","../../../0-framework/3-tooling/assemble/dist/index.d.mts","../../../0-framework/3-tooling/cli/dist/log-D5ZmSUfg.d.mts","../../../0-framework/3-tooling/cli/dist/family-BqgXAnt0.d.mts"],"x_google_ignoreList":[1],"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;;;;;UCjG5B,gBAAgB,iBAAiB,SAAS;;WAEvC,aAAa,gBAAgB,MAAM,OAAO;;kBAErC;;YAEJ,MAAM,iBAAiB,SAAS;;aAE7B;;aAEA;;aAEA,QAAQ,MAAM,OAAO;;;YAGxB,MAAM,iBAAiB,SAAS;;aAE7B,OAAO;;aAEP,QAAQ;;;OAGhB,WAAW,eAAe,mBAAmB,YAAY;;OAEzD,YAAY,eAAe,mBAAmB,YAAY;;;UAGzD,iBAAiB,iBAAiB,SAAS;;WAExC,aAAa,iBAAiB,MAAM,OAAO;;kBAEtC;;YAEJ,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,WAAW,gBAAgB,UAAU,iBAAiB,wBAAwB,OAAO,UAAU,QAAQ,OAAO;;;OAGtH,OAAO,UAAU,cAAc,UAAU;;YAEpC,cAAc;;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WACR;;WAEA,YAAY,OAAO;;;;;iBAMb,gBAAgB,OAAO,cAAc,MAAM,gBAAgB,QAAQ,eAAa;;;KAG5F;;;WAGM;WACA,oBAAoB;;WAEpB;WACA;;WAEA;WACA;;;;WAIA;WACA;;;;WAIA;WACA;WACA;WACA;;WAEA;;;;WAIA;WACA;;WAEA;;UAED;WACC;WACA;WACA;WACA;WACA,YAAY,OAAO;;;;;UAKpB;;WAEC,oBAAoB;;;EAG7B,QAAQ;;WAEC,QAAQ;;;;;iBAMF,YAAY,OAAO,UAAU,MAAM,gBAAgB,QAAQ,SAAO,YAAY;;;UAGrF;WACC;WACA,QAAQ;WACR;;;;UAID;WACC;WACA;;KAEN;;;WAGM;WACA;;;;;WAKA;WACA;;;;UAID;;WAEC,SAAS;;WAET,WAAW;;WAEX;;UAED;WACC;WACA;;WAEA;;;WAGA;WACA;;WAEA,SAAS;WACT,YAAY,OAAO;;UAEpB;;WAEC;;;WAGA,mBAAmB;;WAEnB,OAAO,cAAc;;;;;iBAMf,YAAY,OAAO,UAAU,MAAM,UAAU,QAAQ,SAAO,aAAa;;;;;;;;;;;;UCjQhF;WACC,eAAe;WACf,gBAAgB;WAChB,YAAY;WACZ,YAAY;;cAET,gBAAgB;UACpB;;WAEC,aAAa;;iBAEP,qBAAqB,UAAU,8BAA8B"}
|
package/dist/family.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as realOperations, n as CreateComposerFamilyOptions, r as createComposerFamily, t as ComposerOperations, v as CliStructuredError$1 } from "./family-BqgXAnt0-
|
|
1
|
+
import { i as realOperations, n as CreateComposerFamilyOptions, r as createComposerFamily, t as ComposerOperations, v as CliStructuredError$1 } from "./family-BqgXAnt0-CU2L1I6j.mjs";
|
|
2
2
|
import { Cli, CliRunHooks, ConfigSection, HostProcess } from "@prisma/cli-engine";
|
|
3
3
|
import { CliStructuredError } from "@prisma/cli-engine/protocol";
|
|
4
4
|
//#region ../../0-framework/3-tooling/cli/dist/family.d.mts
|