@vizejs/marquette 0.815.0 → 0.816.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/author.ts","../src/model.ts"],"sourcesContent":["import type {\n ApplicationMarquette,\n BackendId,\n CapabilityDefinition,\n CapabilityId,\n EnvironmentId,\n MarquetteBackend,\n MarquetteEnvironment,\n MarquetteProtocol,\n MarquetteRoute,\n ProtocolId,\n ServerEnvironmentId,\n TargetId,\n} from \"./model.js\";\n\n/**\n * Cross-reference constraints derived from the literals in one marquette.\n *\n * Keeping this type separate makes editor diagnostics point at the authored\n * reference instead of widening every identifier to `string`.\n */\nexport type MarquetteReferenceConstraints<Marquette extends ApplicationMarquette> = {\n readonly capabilities?: {\n readonly [Id in CapabilityId<Marquette>]: CapabilityDefinition & { readonly id: Id };\n };\n readonly environments?: readonly (MarquetteEnvironment<string, EnvironmentId<Marquette>> & {\n readonly capabilities?: readonly CapabilityId<Marquette>[];\n readonly target: TargetId<Marquette>;\n })[];\n readonly backends?: readonly (MarquetteBackend<string, ServerEnvironmentId<Marquette>> & {\n readonly capabilities?: readonly CapabilityId<Marquette>[];\n })[];\n readonly protocols?: readonly (MarquetteProtocol<string, BackendId<Marquette>> & {\n readonly capabilities?: readonly CapabilityId<Marquette>[];\n })[];\n readonly routes?: readonly (MarquetteRoute<\n string,\n EnvironmentId<Marquette>,\n BackendId<Marquette>,\n ProtocolId<Marquette>\n > & { readonly capabilities?: readonly CapabilityId<Marquette>[] })[];\n};\n\n/**\n * Defines an application marquette while preserving every authored literal.\n *\n * Environment dependencies, backend owners, protocol owners, and route\n * references are checked against identifiers declared in the same object.\n * The function returns its input without allocation or runtime work.\n *\n * @example\n * ```ts\n * const app = defineApplicationMarquette({\n * application: \"shop\",\n * targets: [\"web\"],\n * environments: [\n * { id: \"web\", target: \"web\", consumer: \"client\", runtime: \"browser\" },\n * ],\n * routes: [\n * { id: \"home\", path: \"/\", environment: \"web\", rendering: \"client\" },\n * ],\n * });\n * ```\n */\nexport function defineApplicationMarquette<const Marquette extends ApplicationMarquette>(\n marquette: Marquette & MarquetteReferenceConstraints<NoInfer<Marquette>>,\n): Marquette {\n return marquette;\n}\n","/** Current serialized application-marquette format. */\nexport const MARQUETTE_FORMAT_VERSION = 1 as const;\n\n/** User-visible target produced by an application marquette. */\nexport type MarquetteTarget = \"web\" | \"native\" | \"desktop\" | \"terminal\";\n\n/** Runtime family that executes one environment. */\nexport type RuntimeFamily =\n | \"browser\"\n | \"javascript\"\n | \"rust\"\n | \"go\"\n | \"jvm\"\n | \"native\"\n | \"desktop\"\n | \"terminal\"\n | \"external\";\n\n/** Side of the application graph that consumes an environment. */\nexport type EnvironmentConsumer = \"client\" | \"server\";\n\n/** Backend implementation family selected by an application. */\nexport type BackendFamily = \"javascript\" | \"rust\" | \"go\" | \"jvm\" | \"external\";\n\n/** Semantic family used by one data or procedure endpoint. */\nexport type ProtocolFamily = \"schema-query\" | \"typed-rpc\" | \"binary-rpc\";\n\n/** Rendering strategy selected for one route or target view. */\nexport type RenderingMode =\n | \"client\"\n | \"static\"\n | \"server\"\n | \"stream\"\n | \"partial\"\n | \"hybrid\"\n | \"native\"\n | \"desktop\"\n | \"terminal\";\n\n/** Versioned capability understood by adapters and developer tools. */\nexport interface CapabilityDefinition {\n /** Stable lowercase capability identifier. */\n readonly id: string;\n /** Summary shown by diagnostics, documentation, and AI tooling. */\n readonly description: string;\n /**\n * Capability contract version.\n *\n * @default 1\n */\n readonly version?: number;\n}\n\n/** Independently transformed and cached application environment. */\nexport interface MarquetteEnvironment<\n Id extends string = string,\n DependencyId extends string = string,\n> {\n /** Stable identifier, unique within the application. */\n readonly id: Id;\n /** User-visible target served by this environment. */\n readonly target: MarquetteTarget;\n /** Whether output is consumed by an end user or a trusted runtime. */\n readonly consumer: EnvironmentConsumer;\n /** Runtime family that executes the output. */\n readonly runtime: RuntimeFamily;\n /**\n * Authored entry module.\n *\n * @default undefined\n */\n readonly entry?: string;\n /**\n * Environments that must build first.\n *\n * @default []\n */\n readonly dependsOn?: readonly DependencyId[];\n /**\n * Capabilities required from the environment adapter.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Backend application or independently deployed service. */\nexport interface MarquetteBackend<\n Id extends string = string,\n EnvironmentId extends string = string,\n> {\n /** Stable backend identifier. */\n readonly id: Id;\n /** Backend implementation family. */\n readonly family: BackendFamily;\n /**\n * Server environment that owns local execution.\n *\n * @default undefined\n */\n readonly environment?: EnvironmentId;\n /**\n * Capabilities required from the backend adapter.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Protocol endpoint exposed by a backend. */\nexport interface MarquetteProtocol<Id extends string = string, BackendId extends string = string> {\n /** Stable endpoint identifier. */\n readonly id: Id;\n /** Protocol semantic family. */\n readonly family: ProtocolFamily;\n /** Backend that owns the endpoint. */\n readonly backend: BackendId;\n /**\n * Capabilities required from the protocol adapter.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Typed application route or target view. */\nexport interface MarquetteRoute<\n Id extends string = string,\n EnvironmentId extends string = string,\n BackendId extends string = string,\n ProtocolId extends string = string,\n> {\n /** Stable identifier used by generated navigation APIs. */\n readonly id: Id;\n /** Logical path, always beginning with `/`. */\n readonly path: `/${string}`;\n /** Environment that owns the rendered route. */\n readonly environment: EnvironmentId;\n /** Rendering strategy used by the route. */\n readonly rendering: RenderingMode;\n /**\n * Backend used by data loading, mutations, or server rendering.\n *\n * @default undefined\n */\n readonly backend?: BackendId;\n /**\n * Protocol endpoint used as the route data contract.\n *\n * @default undefined\n */\n readonly protocol?: ProtocolId;\n /**\n * Capabilities required by the route.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Complete, versioned application marquette. */\nexport interface ApplicationMarquette<\n Environments extends readonly MarquetteEnvironment[] = readonly MarquetteEnvironment[],\n Backends extends readonly MarquetteBackend[] = readonly MarquetteBackend[],\n Protocols extends readonly MarquetteProtocol[] = readonly MarquetteProtocol[],\n Routes extends readonly MarquetteRoute[] = readonly MarquetteRoute[],\n> {\n /**\n * Serialized contract format.\n *\n * @default 1\n */\n readonly formatVersion?: typeof MARQUETTE_FORMAT_VERSION;\n /** Stable lowercase application identifier. */\n readonly application: string;\n /**\n * User-visible application targets.\n *\n * @default []\n */\n readonly targets?: readonly MarquetteTarget[];\n /**\n * Versioned capability definitions keyed by identifier.\n *\n * @default {}\n */\n readonly capabilities?: Readonly<Record<string, CapabilityDefinition>>;\n /**\n * Independently transformed application environments.\n *\n * @default []\n */\n readonly environments?: Environments;\n /**\n * Backend applications and services.\n *\n * @default []\n */\n readonly backends?: Backends;\n /**\n * Protocol endpoints.\n *\n * @default []\n */\n readonly protocols?: Protocols;\n /**\n * Typed routes and target views.\n *\n * @default []\n */\n readonly routes?: Routes;\n}\n\n/** Extracts identifiers only when a collection is present in the authored object. */\ntype DeclaredId<Marquette, Collection extends PropertyKey> = Marquette extends {\n readonly [Key in Collection]: readonly { readonly id: infer Id extends string }[];\n}\n ? Id\n : never;\n\n/** Exact environment identifier union inferred from a marquette. */\nexport type EnvironmentId<Marquette extends ApplicationMarquette> = DeclaredId<\n Marquette,\n \"environments\"\n>;\n\n/** Exact server-owned environment identifier union inferred from a marquette. */\nexport type ServerEnvironmentId<Marquette extends ApplicationMarquette> = Marquette extends {\n readonly environments: readonly (infer Environment)[];\n}\n ? Environment extends {\n readonly consumer: \"server\";\n readonly id: infer Id extends string;\n }\n ? Id\n : never\n : never;\n\n/** Exact backend identifier union inferred from a marquette. */\nexport type BackendId<Marquette extends ApplicationMarquette> = DeclaredId<Marquette, \"backends\">;\n\n/** Exact protocol identifier union inferred from a marquette. */\nexport type ProtocolId<Marquette extends ApplicationMarquette> = DeclaredId<Marquette, \"protocols\">;\n\n/** Exact route identifier union inferred from a marquette. */\nexport type RouteId<Marquette extends ApplicationMarquette> = DeclaredId<Marquette, \"routes\">;\n\n/** Exact target union inferred from the authored target list. */\nexport type TargetId<Marquette extends ApplicationMarquette> = Marquette extends {\n readonly targets: readonly (infer Target extends MarquetteTarget)[];\n}\n ? Target\n : never;\n\n/** Exact capability identifier union inferred from authored capability keys. */\nexport type CapabilityId<Marquette extends ApplicationMarquette> = Marquette extends {\n readonly capabilities: Readonly<Record<infer Id extends string, CapabilityDefinition>>;\n}\n ? Id\n : never;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgEA,SAAgB,2BACd,WACW;CACX,OAAO;AACT;;;;ACnEA,MAAa,2BAA2B"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/author.ts","../src/model.ts"],"sourcesContent":["import type {\n ApplicationMarquette,\n BackendId,\n CapabilityDefinition,\n CapabilityId,\n EnvironmentId,\n MarquetteBackend,\n MarquetteEnvironment,\n MarquetteProtocol,\n MarquetteRoute,\n ProtocolId,\n ServerEnvironmentId,\n TargetId,\n} from \"./model.js\";\n\n/**\n * Cross-reference constraints derived from the literals in one marquette.\n *\n * Keeping this type separate makes editor diagnostics point at the authored\n * reference instead of widening every identifier to `string`.\n */\nexport type MarquetteReferenceConstraints<Marquette extends ApplicationMarquette> = {\n readonly capabilities?: {\n readonly [Id in CapabilityId<Marquette>]: CapabilityDefinition & { readonly id: Id };\n };\n readonly environments?: readonly (MarquetteEnvironment<string, EnvironmentId<Marquette>> & {\n readonly capabilities?: readonly CapabilityId<Marquette>[];\n readonly target: TargetId<Marquette>;\n })[];\n readonly backends?: readonly (MarquetteBackend<string, ServerEnvironmentId<Marquette>> & {\n readonly capabilities?: readonly CapabilityId<Marquette>[];\n })[];\n readonly protocols?: readonly (MarquetteProtocol<string, BackendId<Marquette>> & {\n readonly capabilities?: readonly CapabilityId<Marquette>[];\n })[];\n readonly routes?: readonly (MarquetteRoute<\n string,\n EnvironmentId<Marquette>,\n BackendId<Marquette>,\n ProtocolId<Marquette>\n > & { readonly capabilities?: readonly CapabilityId<Marquette>[] })[];\n};\n\n/**\n * Defines an application marquette while preserving every authored literal.\n *\n * Environment dependencies, backend owners, protocol owners, and route\n * references are checked against identifiers declared in the same object.\n * The function returns its input without allocation or runtime work.\n *\n * @example\n * ```ts\n * const app = defineApplicationMarquette({\n * application: \"shop\",\n * targets: [\"web\"],\n * environments: [\n * { id: \"web\", target: \"web\", consumer: \"client\", runtime: \"browser\" },\n * ],\n * routes: [\n * { id: \"home\", path: \"/\", environment: \"web\", rendering: \"client\" },\n * ],\n * });\n * ```\n */\nexport function defineApplicationMarquette<const Marquette extends ApplicationMarquette>(\n marquette: Marquette & MarquetteReferenceConstraints<NoInfer<Marquette>>,\n): Marquette {\n return marquette;\n}\n","/** Current serialized application-marquette format. */\nexport const MARQUETTE_FORMAT_VERSION = 1 as const;\n\n/** User-visible target produced by an application marquette. */\nexport type MarquetteTarget = \"web\" | \"native\" | \"desktop\" | \"terminal\";\n\n/** Runtime family that executes one environment. */\nexport type RuntimeFamily =\n | \"browser\"\n | \"javascript\"\n | \"rust\"\n | \"go\"\n | \"jvm\"\n | \"native\"\n | \"desktop\"\n | \"terminal\"\n | \"external\";\n\n/** Side of the application graph that consumes an environment. */\nexport type EnvironmentConsumer = \"client\" | \"server\";\n\n/** Backend implementation family selected by an application. */\nexport type BackendFamily = \"javascript\" | \"rust\" | \"go\" | \"jvm\" | \"external\";\n\n/** Semantic family used by one data or procedure endpoint. */\nexport type ProtocolFamily = \"schema-query\" | \"typed-rpc\" | \"binary-rpc\";\n\n/** Rendering strategy selected for one route or target view. */\nexport type RenderingMode =\n | \"client\"\n | \"static\"\n | \"server\"\n | \"stream\"\n | \"partial\"\n | \"hybrid\"\n | \"native\"\n | \"desktop\"\n | \"terminal\";\n\n/** Versioned capability understood by adapters and developer tools. */\nexport interface CapabilityDefinition {\n /** Stable lowercase capability identifier. */\n readonly id: string;\n /** Summary shown by diagnostics, documentation, and AI tooling. */\n readonly description: string;\n /**\n * Capability contract version as a positive unsigned 32-bit integer.\n *\n * @default 1\n */\n readonly version?: number;\n}\n\n/** Independently transformed and cached application environment. */\nexport interface MarquetteEnvironment<\n Id extends string = string,\n DependencyId extends string = string,\n> {\n /** Stable identifier, unique within the application. */\n readonly id: Id;\n /** User-visible target served by this environment. */\n readonly target: MarquetteTarget;\n /** Whether output is consumed by an end user or a trusted runtime. */\n readonly consumer: EnvironmentConsumer;\n /** Runtime family that executes the output. */\n readonly runtime: RuntimeFamily;\n /**\n * Authored entry module.\n *\n * @default undefined\n */\n readonly entry?: string;\n /**\n * Environments that must build first.\n *\n * @default []\n */\n readonly dependsOn?: readonly DependencyId[];\n /**\n * Capabilities required from the environment adapter.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Backend application or independently deployed service. */\nexport interface MarquetteBackend<\n Id extends string = string,\n EnvironmentId extends string = string,\n> {\n /** Stable backend identifier. */\n readonly id: Id;\n /** Backend implementation family. */\n readonly family: BackendFamily;\n /**\n * Server environment that owns local execution.\n *\n * @default undefined\n */\n readonly environment?: EnvironmentId;\n /**\n * Capabilities required from the backend adapter.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Protocol endpoint exposed by a backend. */\nexport interface MarquetteProtocol<Id extends string = string, BackendId extends string = string> {\n /** Stable endpoint identifier. */\n readonly id: Id;\n /** Protocol semantic family. */\n readonly family: ProtocolFamily;\n /** Backend that owns the endpoint. */\n readonly backend: BackendId;\n /**\n * Capabilities required from the protocol adapter.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Typed application route or target view. */\nexport interface MarquetteRoute<\n Id extends string = string,\n EnvironmentId extends string = string,\n BackendId extends string = string,\n ProtocolId extends string = string,\n> {\n /** Stable identifier used by generated navigation APIs. */\n readonly id: Id;\n /** Logical path, always beginning with `/`. */\n readonly path: `/${string}`;\n /** Environment that owns the rendered route. */\n readonly environment: EnvironmentId;\n /** Rendering strategy used by the route. */\n readonly rendering: RenderingMode;\n /**\n * Backend used by data loading, mutations, or server rendering.\n *\n * @default undefined\n */\n readonly backend?: BackendId;\n /**\n * Protocol endpoint used as the route data contract.\n *\n * @default undefined\n */\n readonly protocol?: ProtocolId;\n /**\n * Capabilities required by the route.\n *\n * @default []\n */\n readonly capabilities?: readonly string[];\n}\n\n/** Complete, versioned application marquette. */\nexport interface ApplicationMarquette<\n Environments extends readonly MarquetteEnvironment[] = readonly MarquetteEnvironment[],\n Backends extends readonly MarquetteBackend[] = readonly MarquetteBackend[],\n Protocols extends readonly MarquetteProtocol[] = readonly MarquetteProtocol[],\n Routes extends readonly MarquetteRoute[] = readonly MarquetteRoute[],\n> {\n /**\n * Serialized contract format.\n *\n * @default 1\n */\n readonly formatVersion?: typeof MARQUETTE_FORMAT_VERSION;\n /** Stable lowercase application identifier. */\n readonly application: string;\n /**\n * User-visible application targets.\n *\n * @default []\n */\n readonly targets?: readonly MarquetteTarget[];\n /**\n * Versioned capability definitions keyed by identifier.\n *\n * @default {}\n */\n readonly capabilities?: Readonly<Record<string, CapabilityDefinition>>;\n /**\n * Independently transformed application environments.\n *\n * @default []\n */\n readonly environments?: Environments;\n /**\n * Backend applications and services.\n *\n * @default []\n */\n readonly backends?: Backends;\n /**\n * Protocol endpoints.\n *\n * @default []\n */\n readonly protocols?: Protocols;\n /**\n * Typed routes and target views.\n *\n * @default []\n */\n readonly routes?: Routes;\n}\n\n/** Extracts identifiers only when a collection is present in the authored object. */\ntype DeclaredId<Marquette, Collection extends PropertyKey> = Marquette extends {\n readonly [Key in Collection]: readonly { readonly id: infer Id extends string }[];\n}\n ? Id\n : never;\n\n/** Exact environment identifier union inferred from a marquette. */\nexport type EnvironmentId<Marquette extends ApplicationMarquette> = DeclaredId<\n Marquette,\n \"environments\"\n>;\n\n/** Exact server-owned environment identifier union inferred from a marquette. */\nexport type ServerEnvironmentId<Marquette extends ApplicationMarquette> = Marquette extends {\n readonly environments: readonly (infer Environment)[];\n}\n ? Environment extends {\n readonly consumer: \"server\";\n readonly id: infer Id extends string;\n }\n ? Id\n : never\n : never;\n\n/** Exact backend identifier union inferred from a marquette. */\nexport type BackendId<Marquette extends ApplicationMarquette> = DeclaredId<Marquette, \"backends\">;\n\n/** Exact protocol identifier union inferred from a marquette. */\nexport type ProtocolId<Marquette extends ApplicationMarquette> = DeclaredId<Marquette, \"protocols\">;\n\n/** Exact route identifier union inferred from a marquette. */\nexport type RouteId<Marquette extends ApplicationMarquette> = DeclaredId<Marquette, \"routes\">;\n\n/** Exact target union inferred from the authored target list. */\nexport type TargetId<Marquette extends ApplicationMarquette> = Marquette extends {\n readonly targets: readonly (infer Target extends MarquetteTarget)[];\n}\n ? Target\n : never;\n\n/** Exact capability identifier union inferred from authored capability keys. */\nexport type CapabilityId<Marquette extends ApplicationMarquette> = Marquette extends {\n readonly capabilities: Readonly<Record<infer Id extends string, CapabilityDefinition>>;\n}\n ? Id\n : never;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgEA,SAAgB,2BACd,WACW;CACX,OAAO;AACT;;;;ACnEA,MAAa,2BAA2B"}
@@ -20,7 +20,7 @@ interface CapabilityDefinition {
20
20
  /** Summary shown by diagnostics, documentation, and AI tooling. */
21
21
  readonly description: string;
22
22
  /**
23
- * Capability contract version.
23
+ * Capability contract version as a positive unsigned 32-bit integer.
24
24
  *
25
25
  * @default 1
26
26
  */
@@ -194,4 +194,4 @@ type CapabilityId<Marquette extends ApplicationMarquette> = Marquette extends {
194
194
  } ? Id : never;
195
195
  //#endregion
196
196
  export { RouteId as _, CapabilityId as a, TargetId as b, MARQUETTE_FORMAT_VERSION as c, MarquetteProtocol as d, MarquetteRoute as f, RenderingMode as g, ProtocolId as h, CapabilityDefinition as i, MarquetteBackend as l, ProtocolFamily as m, BackendFamily as n, EnvironmentConsumer as o, MarquetteTarget as p, BackendId as r, EnvironmentId as s, ApplicationMarquette as t, MarquetteEnvironment as u, RuntimeFamily as v, ServerEnvironmentId as y };
197
- //# sourceMappingURL=model-B_mM8AeH.d.mts.map
197
+ //# sourceMappingURL=model-BcXukmxj.d.mts.map
@@ -1 +1 @@
1
- {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AC7B,iBAAA,cAA+B,iBAAA,4BAClC,cAAA,cAA4B,cAAA;EApCpD;;;;;EAAA,SA2CS,aAAA,UAAuB,wBAAA;EAnCV;EAAA,SAqCb,WAAA;EAnCW;;;;;EAAA,SAyCX,OAAA,YAAmB,eAAA;EAvBP;AAAA;AAIvB;;;EAJuB,SA6BZ,YAAA,GAAe,QAAA,CAAS,MAAA,SAAe,oBAAA;EAxBgB;;;;;EAAA,SA8BvD,YAAA,GAAe,YAAA;EA3B4B;;;;;EAAA,SAiC3C,QAAA,GAAW,QAAA;EANI;;;;;EAAA,SAYf,SAAA,GAAY,SAAA;EA1CrB;;;;;EAAA,SAgDS,MAAA,GAAS,MAAA;AAAA;;KAIf,UAAA,+BAAyC,WAAA,IAAe,SAAA,4BAC1C,UAAA;EAAA,SAAiC,EAAA;AAAA,QAEhD,EAAA;;KAIQ,aAAA,mBAAgC,oBAAA,IAAwB,UAAA,CAClE,SAAA;;KAKU,mBAAA,mBAAsC,oBAAA,IAAwB,SAAS;EAAA,SACxE,YAAA;AAAA,IAEP,WAAA;EAAA,SACW,QAAA;EAAA,SACA,EAAA;AAAA,IAET,EAAA;;KAKM,SAAA,mBAA4B,oBAAA,IAAwB,UAAA,CAAW,SAAA;;KAG/D,UAAA,mBAA6B,oBAAA,IAAwB,UAAA,CAAW,SAAA;;KAGhE,OAAA,mBAA0B,oBAAA,IAAwB,UAAA,CAAW,SAAA;;KAG7D,QAAA,mBAA2B,oBAAA,IAAwB,SAAA;EAAA,SACpD,OAAA,iCAAwC,eAAA;AAAA,IAE/C,MAAA;;KAIQ,YAAA,mBAA+B,oBAAA,IAAwB,SAAA;EAAA,SACxD,YAAA,EAAc,QAAA,CAAS,MAAA,0BAAgC,oBAAA;AAAA,IAE9D,EAAA"}
@@ -0,0 +1,381 @@
1
+ //#region src/adapter-model.d.ts
2
+ /** Current serialized adapter-capability manifest format. */
3
+ declare const ADAPTER_CAPABILITY_FORMAT_VERSION: 1;
4
+ /** Inclusive version range supported for one capability contract. */
5
+ interface AdapterCapabilitySupport {
6
+ /** Stable capability identifier from an application marquette. */
7
+ readonly id: string;
8
+ /** Oldest supported capability contract version, inclusive; a positive unsigned 32-bit integer. */
9
+ readonly minVersion: number;
10
+ /** Newest supported capability contract version, inclusive; a positive unsigned 32-bit integer. */
11
+ readonly maxVersion: number;
12
+ }
13
+ /** Versioned, language-neutral capabilities offered by one adapter. */
14
+ interface AdapterCapabilityManifest {
15
+ /**
16
+ * Serialized manifest format.
17
+ *
18
+ * @default 1
19
+ */
20
+ readonly formatVersion?: typeof ADAPTER_CAPABILITY_FORMAT_VERSION;
21
+ /** Stable adapter identifier shown in diagnostics and reports. */
22
+ readonly adapter: string;
23
+ /**
24
+ * Supported capability ranges.
25
+ *
26
+ * @default []
27
+ */
28
+ readonly capabilities?: readonly AdapterCapabilitySupport[];
29
+ }
30
+ /** Stable validation code for an adapter capability manifest. */
31
+ type AdapterCapabilityDiagnosticCode = "invalid-format-version" | "invalid-adapter-id" | "invalid-capability-id" | "invalid-version" | "invalid-version-range" | "duplicate-capability";
32
+ /** Deterministic validation diagnostic for an adapter capability manifest. */
33
+ interface AdapterCapabilityDiagnostic {
34
+ /** Stable machine-readable diagnostic code. */
35
+ readonly code: AdapterCapabilityDiagnosticCode;
36
+ /** JSON-style path of the invalid value. */
37
+ readonly path: string;
38
+ /** Human-readable explanation. */
39
+ readonly message: string;
40
+ }
41
+ /** Stable incompatibility code emitted during capability negotiation. */
42
+ type AdapterCapabilityMismatchCode = "unknown-requirement" | "missing-capability" | "version-below-minimum" | "version-above-maximum" | "invalid-requirement-version";
43
+ /** One failed adapter capability requirement. */
44
+ interface AdapterCapabilityMismatch {
45
+ /** Stable machine-readable mismatch code. */
46
+ readonly code: AdapterCapabilityMismatchCode;
47
+ /** Required capability identifier. */
48
+ readonly capability: string;
49
+ /** JSON-style path of the unsupported application capability requirement. */
50
+ readonly path: string;
51
+ /** Human-readable explanation with stable wording for renderer diagnostics. */
52
+ readonly message: string;
53
+ /** Required contract version when the capability is declared. */
54
+ readonly requiredVersion?: number;
55
+ /** Adapter minimum when support exists. */
56
+ readonly minVersion?: number;
57
+ /** Adapter maximum when support exists. */
58
+ readonly maxVersion?: number;
59
+ }
60
+ //#endregion
61
+ //#region src/model.d.ts
62
+ /** Current serialized application-marquette format. */
63
+ declare const MARQUETTE_FORMAT_VERSION: 1;
64
+ /** User-visible target produced by an application marquette. */
65
+ type MarquetteTarget = "web" | "native" | "desktop" | "terminal";
66
+ /** Runtime family that executes one environment. */
67
+ type RuntimeFamily = "browser" | "javascript" | "rust" | "go" | "jvm" | "native" | "desktop" | "terminal" | "external";
68
+ /** Side of the application graph that consumes an environment. */
69
+ type EnvironmentConsumer = "client" | "server";
70
+ /** Backend implementation family selected by an application. */
71
+ type BackendFamily = "javascript" | "rust" | "go" | "jvm" | "external";
72
+ /** Semantic family used by one data or procedure endpoint. */
73
+ type ProtocolFamily = "schema-query" | "typed-rpc" | "binary-rpc";
74
+ /** Rendering strategy selected for one route or target view. */
75
+ type RenderingMode = "client" | "static" | "server" | "stream" | "partial" | "hybrid" | "native" | "desktop" | "terminal";
76
+ /** Versioned capability understood by adapters and developer tools. */
77
+ interface CapabilityDefinition {
78
+ /** Stable lowercase capability identifier. */
79
+ readonly id: string;
80
+ /** Summary shown by diagnostics, documentation, and AI tooling. */
81
+ readonly description: string;
82
+ /**
83
+ * Capability contract version as a positive unsigned 32-bit integer.
84
+ *
85
+ * @default 1
86
+ */
87
+ readonly version?: number;
88
+ }
89
+ /** Independently transformed and cached application environment. */
90
+ interface MarquetteEnvironment<Id extends string = string, DependencyId extends string = string> {
91
+ /** Stable identifier, unique within the application. */
92
+ readonly id: Id;
93
+ /** User-visible target served by this environment. */
94
+ readonly target: MarquetteTarget;
95
+ /** Whether output is consumed by an end user or a trusted runtime. */
96
+ readonly consumer: EnvironmentConsumer;
97
+ /** Runtime family that executes the output. */
98
+ readonly runtime: RuntimeFamily;
99
+ /**
100
+ * Authored entry module.
101
+ *
102
+ * @default undefined
103
+ */
104
+ readonly entry?: string;
105
+ /**
106
+ * Environments that must build first.
107
+ *
108
+ * @default []
109
+ */
110
+ readonly dependsOn?: readonly DependencyId[];
111
+ /**
112
+ * Capabilities required from the environment adapter.
113
+ *
114
+ * @default []
115
+ */
116
+ readonly capabilities?: readonly string[];
117
+ }
118
+ /** Backend application or independently deployed service. */
119
+ interface MarquetteBackend<Id extends string = string, EnvironmentId extends string = string> {
120
+ /** Stable backend identifier. */
121
+ readonly id: Id;
122
+ /** Backend implementation family. */
123
+ readonly family: BackendFamily;
124
+ /**
125
+ * Server environment that owns local execution.
126
+ *
127
+ * @default undefined
128
+ */
129
+ readonly environment?: EnvironmentId;
130
+ /**
131
+ * Capabilities required from the backend adapter.
132
+ *
133
+ * @default []
134
+ */
135
+ readonly capabilities?: readonly string[];
136
+ }
137
+ /** Protocol endpoint exposed by a backend. */
138
+ interface MarquetteProtocol<Id extends string = string, BackendId extends string = string> {
139
+ /** Stable endpoint identifier. */
140
+ readonly id: Id;
141
+ /** Protocol semantic family. */
142
+ readonly family: ProtocolFamily;
143
+ /** Backend that owns the endpoint. */
144
+ readonly backend: BackendId;
145
+ /**
146
+ * Capabilities required from the protocol adapter.
147
+ *
148
+ * @default []
149
+ */
150
+ readonly capabilities?: readonly string[];
151
+ }
152
+ /** Typed application route or target view. */
153
+ interface MarquetteRoute<Id extends string = string, EnvironmentId extends string = string, BackendId extends string = string, ProtocolId extends string = string> {
154
+ /** Stable identifier used by generated navigation APIs. */
155
+ readonly id: Id;
156
+ /** Logical path, always beginning with `/`. */
157
+ readonly path: `/${string}`;
158
+ /** Environment that owns the rendered route. */
159
+ readonly environment: EnvironmentId;
160
+ /** Rendering strategy used by the route. */
161
+ readonly rendering: RenderingMode;
162
+ /**
163
+ * Backend used by data loading, mutations, or server rendering.
164
+ *
165
+ * @default undefined
166
+ */
167
+ readonly backend?: BackendId;
168
+ /**
169
+ * Protocol endpoint used as the route data contract.
170
+ *
171
+ * @default undefined
172
+ */
173
+ readonly protocol?: ProtocolId;
174
+ /**
175
+ * Capabilities required by the route.
176
+ *
177
+ * @default []
178
+ */
179
+ readonly capabilities?: readonly string[];
180
+ }
181
+ /** Complete, versioned application marquette. */
182
+ interface ApplicationMarquette<Environments extends readonly MarquetteEnvironment[] = readonly MarquetteEnvironment[], Backends extends readonly MarquetteBackend[] = readonly MarquetteBackend[], Protocols extends readonly MarquetteProtocol[] = readonly MarquetteProtocol[], Routes extends readonly MarquetteRoute[] = readonly MarquetteRoute[]> {
183
+ /**
184
+ * Serialized contract format.
185
+ *
186
+ * @default 1
187
+ */
188
+ readonly formatVersion?: typeof MARQUETTE_FORMAT_VERSION;
189
+ /** Stable lowercase application identifier. */
190
+ readonly application: string;
191
+ /**
192
+ * User-visible application targets.
193
+ *
194
+ * @default []
195
+ */
196
+ readonly targets?: readonly MarquetteTarget[];
197
+ /**
198
+ * Versioned capability definitions keyed by identifier.
199
+ *
200
+ * @default {}
201
+ */
202
+ readonly capabilities?: Readonly<Record<string, CapabilityDefinition>>;
203
+ /**
204
+ * Independently transformed application environments.
205
+ *
206
+ * @default []
207
+ */
208
+ readonly environments?: Environments;
209
+ /**
210
+ * Backend applications and services.
211
+ *
212
+ * @default []
213
+ */
214
+ readonly backends?: Backends;
215
+ /**
216
+ * Protocol endpoints.
217
+ *
218
+ * @default []
219
+ */
220
+ readonly protocols?: Protocols;
221
+ /**
222
+ * Typed routes and target views.
223
+ *
224
+ * @default []
225
+ */
226
+ readonly routes?: Routes;
227
+ }
228
+ //#endregion
229
+ //#region src/native-build-model.d.ts
230
+ /** Stable discriminator for serialized native build profiles. */
231
+ declare const NATIVE_BUILD_PROFILE_FORMAT: "vize.native-build-profile";
232
+ /** Current serialized native build profile version. */
233
+ declare const NATIVE_BUILD_PROFILE_FORMAT_VERSION: 1;
234
+ /** Native application platforms understood by the managed build contract. */
235
+ type NativeBuildPlatform = "android" | "ios";
236
+ /** Intended lifecycle stage of a native build. */
237
+ type NativeBuildConfiguration = "development" | "preview" | "production";
238
+ /** Installation or distribution destination produced by one target. */
239
+ type NativeBuildDestination = "simulator" | "device" | "store";
240
+ /** How signing material is selected without embedding credentials in the profile. */
241
+ type NativeBuildSigning = "none" | "automatic" | "manual";
242
+ /** One platform and destination emitted from a native build profile. */
243
+ interface NativeBuildTarget {
244
+ /** Native platform to build. */
245
+ readonly platform: NativeBuildPlatform;
246
+ /** Installation or distribution destination. */
247
+ readonly destination: NativeBuildDestination;
248
+ /**
249
+ * Signing selection implemented by the local or hosted executor.
250
+ *
251
+ * Credentials are supplied out of band and never serialized here.
252
+ *
253
+ * @default "none"
254
+ */
255
+ readonly signing?: NativeBuildSigning;
256
+ }
257
+ /** Over-the-air update selection attached to a native build. */
258
+ interface NativeBuildUpdateSelection {
259
+ /** Portable rollout channel identifier. */
260
+ readonly channel: string;
261
+ /** Runtime compatibility version checked before applying an update. */
262
+ readonly runtimeVersion: string;
263
+ }
264
+ /**
265
+ * Language-neutral profile consumed unchanged by local and hosted native builders.
266
+ *
267
+ * Execution location, credentials, and secret values deliberately stay outside
268
+ * this record so the exact same profile can be admitted by either executor.
269
+ */
270
+ interface NativeBuildProfile {
271
+ /** Serialized record discriminator. */
272
+ readonly format: typeof NATIVE_BUILD_PROFILE_FORMAT;
273
+ /** Serialized contract version. */
274
+ readonly formatVersion: typeof NATIVE_BUILD_PROFILE_FORMAT_VERSION;
275
+ /** Stable profile identifier, such as `development` or `production`. */
276
+ readonly profile: string;
277
+ /** Intended lifecycle stage of the produced artifacts. */
278
+ readonly configuration: NativeBuildConfiguration;
279
+ /** Native environment identifier declared by the application marquette. */
280
+ readonly environment: string;
281
+ /** Non-empty platform and destination matrix. */
282
+ readonly targets: readonly NativeBuildTarget[];
283
+ /**
284
+ * Native capabilities required by every target in this profile.
285
+ *
286
+ * @default []
287
+ */
288
+ readonly capabilities?: readonly string[];
289
+ /** Optional over-the-air update compatibility selection. */
290
+ readonly updates?: NativeBuildUpdateSelection;
291
+ }
292
+ /** Stable validation code for a native build profile. */
293
+ type NativeBuildProfileDiagnosticCode = "invalid-format" | "invalid-format-version" | "invalid-profile-id" | "invalid-environment-id" | "missing-target" | "duplicate-target" | "store-requires-production" | "store-requires-signing" | "invalid-update-channel" | "invalid-runtime-version" | "invalid-capability-id" | "duplicate-capability";
294
+ /** Deterministic semantic validation diagnostic for a native build profile. */
295
+ interface NativeBuildProfileDiagnostic {
296
+ /** Stable machine-readable diagnostic code. */
297
+ readonly code: NativeBuildProfileDiagnosticCode;
298
+ /** JSON-style path of the invalid value. */
299
+ readonly path: string;
300
+ /** Human-readable explanation shared by every executor. */
301
+ readonly message: string;
302
+ }
303
+ //#endregion
304
+ //#region src/validate.d.ts
305
+ /** Severity of an application-marquette diagnostic. */
306
+ type MarquetteDiagnosticSeverity = "error" | "warning";
307
+ /** Stable, source-addressable application-marquette diagnostic. */
308
+ interface MarquetteDiagnostic {
309
+ /** Stable machine-readable diagnostic code. */
310
+ readonly code: `VIZE_MARQUETTE_${string}`;
311
+ /** Severity used by CLI, editor, test, and CI consumers. */
312
+ readonly severity: MarquetteDiagnosticSeverity;
313
+ /** JSON-style path into the authored marquette. */
314
+ readonly path: string;
315
+ /** Human-readable explanation and next action. */
316
+ readonly message: string;
317
+ }
318
+ //#endregion
319
+ //#region src/native-build-admission.d.ts
320
+ /** Application-to-build binding failure that must prevent executor scheduling. */
321
+ interface NativeBuildBindingDiagnostic {
322
+ /** Stable machine-readable binding refusal. */
323
+ readonly code: "unknown-environment" | "environment-not-native" | "environment-not-client";
324
+ /** Location of the profile or application value that prevents admission. */
325
+ readonly path: string;
326
+ /** Human-readable explanation shared by local and hosted executors. */
327
+ readonly message: string;
328
+ }
329
+ /** A source-qualified finding retained from every native build admission layer. */
330
+ type NativeBuildAdmissionDiagnostic = (MarquetteDiagnostic & {
331
+ /** Contract layer that owns this finding. */readonly source: "application";
332
+ }) | (NativeBuildProfileDiagnostic & {
333
+ /** Contract layer that owns this finding. */readonly source: "profile"; /** Build refusal severity. */
334
+ readonly severity: "error";
335
+ }) | (NativeBuildBindingDiagnostic & {
336
+ /** Contract layer that owns this finding. */readonly source: "binding"; /** Build refusal severity. */
337
+ readonly severity: "error";
338
+ }) | (AdapterCapabilityDiagnostic & {
339
+ /** Contract layer that owns this finding. */readonly source: "adapter"; /** Build refusal severity. */
340
+ readonly severity: "error";
341
+ }) | (AdapterCapabilityMismatch & {
342
+ /** Contract layer that owns this finding. */readonly source: "capability"; /** Build refusal severity. */
343
+ readonly severity: "error";
344
+ });
345
+ /** Deterministic decision computed before a local or hosted native build runs. */
346
+ interface NativeBuildAdmission {
347
+ /** Whether every contract, environment binding, and capability requirement passed. */
348
+ readonly allowed: boolean;
349
+ /** Profile whose configuration was admitted or refused. */
350
+ readonly profile: string;
351
+ /** Application environment selected by that profile. */
352
+ readonly environment: string;
353
+ /** Adapter whose capability ranges were checked. */
354
+ readonly adapter: string;
355
+ /** Sorted union of profile, environment, and selected-route capability requirements. */
356
+ readonly capabilities: readonly string[];
357
+ /** Source-qualified findings in stable source, path, code, and message order. */
358
+ readonly diagnostics: readonly NativeBuildAdmissionDiagnostic[];
359
+ }
360
+ /**
361
+ * Binds a native build profile to an application and a concrete adapter manifest.
362
+ *
363
+ * Standalone profile validation cannot establish that the selected environment
364
+ * exists, is a native client, or that its routes can execute with the adapter.
365
+ * Admission checks all three contracts and negotiates the deduplicated union of
366
+ * profile, environment, and selected-route capabilities. Invalid application,
367
+ * profile, or adapter contracts and unsupported capability versions fail closed.
368
+ * Strict profile and adapter parsing runs first: malformed fields, unknown
369
+ * executor or secret fields, and unsafe numeric bounds throw `TypeError` before
370
+ * graph inspection. Semantically invalid contracts return `allowed: false`.
371
+ *
372
+ * This experimental synchronous decision neither schedules a build nor handles
373
+ * secrets. Executors must inspect `allowed` immediately before scheduling, using
374
+ * the same inputs they pass to the build. Application warnings remain visible
375
+ * without becoming errors. Inputs are not mutated; cost is linear in contract
376
+ * collections plus sorting their diagnostics and required capability identifiers.
377
+ */
378
+ declare function admitNativeBuildProfile(marquette: ApplicationMarquette, profile: NativeBuildProfile, adapter: AdapterCapabilityManifest): NativeBuildAdmission;
379
+ //#endregion
380
+ export { NativeBuildAdmission, NativeBuildAdmissionDiagnostic, NativeBuildBindingDiagnostic, admitNativeBuildProfile };
381
+ //# sourceMappingURL=native-build-admission.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"native-build-admission.d.mts","names":[],"sources":["../src/adapter-model.ts","../src/model.ts","../src/native-build-model.ts","../src/validate.ts","../src/native-build-admission.ts"],"mappings":";;cACa,iCAAA;;UAGI,wBAAA;EAH0C;EAAA,SAKhD,EAAA;EAFM;EAAA,SAIN,UAAA;;WAEA,UAAA;AAAA;;UAIM,yBAAA;EAJI;AAAA;AAIrB;;;EAJqB,SAUV,aAAA,UAAuB,iCAAA;EAAvB;EAAA,SAEA,OAAA;EAAA;;;;AAMgD;EANhD,SAMA,YAAA,YAAwB,wBAAwB;AAAA;;KAI/C,+BAAA;AAA+B;AAAA,UAS1B,2BAAA;EAA2B;EAAA,SAEjC,IAAA,EAAM,+BAA+B;EAAA;EAAA,SAErC,IAAA;EAFM;EAAA,SAIN,OAAA;AAAA;;KAIC,6BAAA;AAAZ;AAAA,UAQiB,yBAAA;;WAEN,IAAA,EAAM,6BAA6B;EAVL;EAAA,SAY9B,UAAA;EAJ+B;EAAA,SAM/B,IAAA;EAJmC;EAAA,SAMnC,OAAA;EANM;EAAA,SAQN,eAAA;EAJA;EAAA,SAMA,UAAA;EAFA;EAAA,SAIA,UAAA;AAAA;;;;cCxEE,wBAAA;;KAGD,eAAA;;KAGA,aAAA;ADHZ;AAAA,KCeY,mBAAA;;KAGA,aAAA;;KAGA,cAAA;;KAGA,aAAA;ADlBS;AAAA,UC8BJ,oBAAA;ED1ByB;EAAA,SC4B/B,EAAA;EDdgD;EAAA,SCgBhD,WAAA;EDxBuB;;;;;EAAA,SC8BvB,OAAA;AAAA;;UAIM,oBAAA;EDtB0B;EAAA,SC2BhC,EAAA,EAAI,EAAA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