@flighthq/types 0.5.1-next.1700.cefb2f9 → 0.5.1-next.1704.1832e8b

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/README.md CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/types`. The `@flight
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/types@0.5.1-next.1700.cefb2f9](https://github.com/flighthq/flight/tree/cefb2f9914270340afd4cc39e407f1202bcf8fc5/packages/types)
17
- - [License](https://github.com/flighthq/flight/blob/cefb2f9914270340afd4cc39e407f1202bcf8fc5/LICENSE.md)
16
+ - [Source for @flighthq/types@0.5.1-next.1704.1832e8b](https://github.com/flighthq/flight/tree/1832e8b8f7a898d2b15ad3712c3262f0dbfddda1/packages/types)
17
+ - [License](https://github.com/flighthq/flight/blob/1832e8b8f7a898d2b15ad3712c3262f0dbfddda1/LICENSE.md)
@@ -36,8 +36,27 @@ export interface RequirementTranslation {
36
36
  readonly from: Requirement;
37
37
  readonly to: readonly Requirement[];
38
38
  }
39
+ /**
40
+ * What one backend needs that the CONTENT does not choose, named so a generated module can import it.
41
+ *
42
+ * A manifest replaces exactly one part of a render configuration — the node renderers a document
43
+ * implies. The rest is backend machinery (a shape-command table, a blend-mode application) that no
44
+ * requirement can express, and some of it is not even kind-keyed. Naming it HERE rather than in the
45
+ * plugin keeps the plugin ignorant of which render packages exist: it emits whatever the catalog
46
+ * declares, so a caller with their own backend is served exactly like a built-in one.
47
+ */
48
+ export interface RequirementBackend {
49
+ readonly infrastructureImport: string;
50
+ readonly infrastructureSymbol: string;
51
+ readonly name: string;
52
+ }
39
53
  export interface RequirementCatalog {
40
54
  readonly entries: RequirementCatalogEntry[];
55
+ /**
56
+ * Per-backend machinery a complete configuration needs. Absent means the generated module offers
57
+ * only the content-derived fragment, which is correct but is NOT a working render configuration.
58
+ */
59
+ readonly backends?: readonly RequirementBackend[];
41
60
  /** Format-to-render implications. Absent means a catalog that resolves render backends not at all. */
42
61
  readonly translations?: readonly RequirementTranslation[];
43
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementCatalog.d.ts","sourceRoot":"","sources":["../src/RequirementCatalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAK3D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB;;;;;;OAMG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,EAAE,EAAE,SAAS,WAAW,EAAE,CAAC;CACrC;AAGD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,OAAO,EAAE,uBAAuB,EAAE,CAAC;IAC5C,sGAAsG;IACtG,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;CAC3D"}
1
+ {"version":3,"file":"RequirementCatalog.d.ts","sourceRoot":"","sources":["../src/RequirementCatalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAK3D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB;;;;;;OAMG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,EAAE,EAAE,SAAS,WAAW,EAAE,CAAC;CACrC;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAGD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,OAAO,EAAE,uBAAuB,EAAE,CAAC;IAC5C;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAClD,sGAAsG;IACtG,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;CAC3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/types",
3
- "version": "0.5.1-next.1700.cefb2f9",
3
+ "version": "0.5.1-next.1704.1832e8b",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {