@telorun/sdk 0.72.0 → 0.74.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/bigint-json.d.ts +21 -0
- package/dist/bigint-json.d.ts.map +1 -1
- package/dist/bigint-json.js +28 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/resource-context.d.ts +6 -0
- package/dist/resource-context.d.ts.map +1 -1
- package/dist/type-schema-ref.d.ts +11 -0
- package/dist/type-schema-ref.d.ts.map +1 -1
- package/dist/type-schema-ref.js +15 -0
- package/dist/value-type.d.ts +166 -0
- package/dist/value-type.d.ts.map +1 -0
- package/dist/value-type.js +317 -0
- package/dist/value-types/entries/index.d.ts +3 -0
- package/dist/value-types/entries/index.d.ts.map +1 -0
- package/dist/value-types/entries/index.js +13 -0
- package/dist/value-types/entries/telo-bytes.json +7 -0
- package/dist/value-types/entries/telo-stream.json +15 -0
- package/dist/value-types/entries/telo-tcp-port.json +7 -0
- package/dist/value-types/entries/telo-udp-port.json +6 -0
- package/package.json +1 -1
- package/src/bigint-json.ts +27 -0
- package/src/index.ts +1 -0
- package/src/resource-context.ts +6 -0
- package/src/type-schema-ref.ts +16 -0
- package/src/value-type.ts +417 -0
- package/src/value-types/entries/index.ts +14 -0
- package/src/value-types/entries/telo-bytes.json +7 -0
- package/src/value-types/entries/telo-stream.json +15 -0
- package/src/value-types/entries/telo-tcp-port.json +7 -0
- package/src/value-types/entries/telo-udp-port.json +6 -0
package/dist/bigint-json.d.ts
CHANGED
|
@@ -39,4 +39,25 @@ export declare function isBigIntJsonEnabled(): boolean;
|
|
|
39
39
|
* Everything that wants exact digits on the wire needs no replacer at all.
|
|
40
40
|
*/
|
|
41
41
|
export declare function bigIntAt(holder: unknown, key: string): bigint | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* A declared-integer input read as a JS number, whichever representation the
|
|
44
|
+
* call site produced.
|
|
45
|
+
*
|
|
46
|
+
* A CEL integer is an int64 — a BigInt — and the kernel normalizes a declared
|
|
47
|
+
* `type: integer` OUTPUT to that form, so one resource's result reaching another
|
|
48
|
+
* resource's input arrives as a BigInt while a YAML literal at the same slot
|
|
49
|
+
* arrives as a plain number. A controller that reads such an input with
|
|
50
|
+
* `Number.isInteger(...)` or plain arithmetic therefore works for one call site
|
|
51
|
+
* and throws `Cannot mix BigInt and other types` for the other. Inputs are
|
|
52
|
+
* deliberately NOT normalized (that would change the authoring surface of every
|
|
53
|
+
* module rather than repair a false declaration), so this is how a controller
|
|
54
|
+
* reads one.
|
|
55
|
+
*
|
|
56
|
+
* Returns `undefined` for anything that is not an integer in either
|
|
57
|
+
* representation — including a BigInt too large for a double, since silently
|
|
58
|
+
* rounding it would be the precision loss int64 support exists to remove — so a
|
|
59
|
+
* caller's own "must be a non-negative integer" check still rejects what it
|
|
60
|
+
* should.
|
|
61
|
+
*/
|
|
62
|
+
export declare function integerInput(value: unknown): number | undefined;
|
|
42
63
|
//# sourceMappingURL=bigint-json.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigint-json.d.ts","sourceRoot":"","sources":["../src/bigint-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;uCAGuC;AACvC,eAAO,MAAM,yBAAyB,QAAgB,CAAC;AAEvD,oFAAoF;AACpF,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGzE"}
|
|
1
|
+
{"version":3,"file":"bigint-json.d.ts","sourceRoot":"","sources":["../src/bigint-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;uCAGuC;AACvC,eAAO,MAAM,yBAAyB,QAAgB,CAAC;AAEvD,oFAAoF;AACpF,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGzE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAK/D"}
|
package/dist/bigint-json.js
CHANGED
|
@@ -45,3 +45,31 @@ export function bigIntAt(holder, key) {
|
|
|
45
45
|
const source = holder?.[key];
|
|
46
46
|
return typeof source === "bigint" ? source : undefined;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* A declared-integer input read as a JS number, whichever representation the
|
|
50
|
+
* call site produced.
|
|
51
|
+
*
|
|
52
|
+
* A CEL integer is an int64 — a BigInt — and the kernel normalizes a declared
|
|
53
|
+
* `type: integer` OUTPUT to that form, so one resource's result reaching another
|
|
54
|
+
* resource's input arrives as a BigInt while a YAML literal at the same slot
|
|
55
|
+
* arrives as a plain number. A controller that reads such an input with
|
|
56
|
+
* `Number.isInteger(...)` or plain arithmetic therefore works for one call site
|
|
57
|
+
* and throws `Cannot mix BigInt and other types` for the other. Inputs are
|
|
58
|
+
* deliberately NOT normalized (that would change the authoring surface of every
|
|
59
|
+
* module rather than repair a false declaration), so this is how a controller
|
|
60
|
+
* reads one.
|
|
61
|
+
*
|
|
62
|
+
* Returns `undefined` for anything that is not an integer in either
|
|
63
|
+
* representation — including a BigInt too large for a double, since silently
|
|
64
|
+
* rounding it would be the precision loss int64 support exists to remove — so a
|
|
65
|
+
* caller's own "must be a non-negative integer" check still rejects what it
|
|
66
|
+
* should.
|
|
67
|
+
*/
|
|
68
|
+
export function integerInput(value) {
|
|
69
|
+
if (typeof value === "number")
|
|
70
|
+
return Number.isInteger(value) ? value : undefined;
|
|
71
|
+
if (typeof value !== "bigint")
|
|
72
|
+
return undefined;
|
|
73
|
+
const asNumber = Number(value);
|
|
74
|
+
return Number.isSafeInteger(asNumber) ? asNumber : undefined;
|
|
75
|
+
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,12 @@ export interface LoadOptions {
|
|
|
20
20
|
* inline imports resolve and execute identically to authored `Telo.Import`
|
|
21
21
|
* documents. Mirrors the analyzer loader's option of the same name. */
|
|
22
22
|
desugarImports?: boolean;
|
|
23
|
+
/** When true, legacy manifest spellings are rewritten to the current ones
|
|
24
|
+
* before the manifests are returned, so a module published years ago loads
|
|
25
|
+
* against today's vocabulary. On for every runtime load; off only for a
|
|
26
|
+
* round-trip view that must show the author's own text. Mirrors the analyzer
|
|
27
|
+
* loader's option of the same name. */
|
|
28
|
+
migrate?: boolean;
|
|
23
29
|
}
|
|
24
30
|
export interface DataValidator {
|
|
25
31
|
validate(data: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-context.d.ts","sourceRoot":"","sources":["../src/resource-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,QAAQ,EACR,eAAe,EACf,SAAS,EACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B;gFAC4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;4EAGwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"resource-context.d.ts","sourceRoot":"","sources":["../src/resource-context.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AC;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IACvC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;CACxC"}
|
|
@@ -28,6 +28,17 @@ export declare const TELO_TYPE_SCHEME = "telo://";
|
|
|
28
28
|
* and the loader rewrites it to this. Published manifests are unaffected.
|
|
29
29
|
*/
|
|
30
30
|
export declare function canonicalTypeSchemaId(moduleName: string, typeName: string): string;
|
|
31
|
+
/** The inverse of {@link canonicalTypeSchemaId}. Returns null for any other
|
|
32
|
+
* string, including the authoring authority form and fragment-bearing built-ins.
|
|
33
|
+
*
|
|
34
|
+
* A resolver reads a named shape through this rather than by bare name: the
|
|
35
|
+
* canonical id carries the OWNING MODULE, so two libraries declaring a shape of
|
|
36
|
+
* the same name stay distinct. Resolving by name alone was how an alias got
|
|
37
|
+
* silently dropped. */
|
|
38
|
+
export declare function parseCanonicalTypeSchemaId(ref: unknown): {
|
|
39
|
+
moduleName: string;
|
|
40
|
+
typeName: string;
|
|
41
|
+
} | null;
|
|
31
42
|
/**
|
|
32
43
|
* Resolve `extends` into a single self-contained object schema by deep-merging an
|
|
33
44
|
* ordered list of already-resolved schemas (parents first, the own schema last):
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-schema-ref.d.ts","sourceRoot":"","sources":["../src/type-schema-ref.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAElF;AAiBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GACjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqCzB;AAED,0EAA0E;AAC1E,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,WAAW,GAAG,IAAI,CAKjE"}
|
|
1
|
+
{"version":3,"file":"type-schema-ref.d.ts","sourceRoot":"","sources":["../src/type-schema-ref.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAElF;AAED;;;;;;wBAMwB;AACxB,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,OAAO,GACX;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAKjD;AAiBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GACjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqCzB;AAED,0EAA0E;AAC1E,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,WAAW,GAAG,IAAI,CAKjE"}
|
package/dist/type-schema-ref.js
CHANGED
|
@@ -30,6 +30,21 @@ export const TELO_TYPE_SCHEME = "telo://";
|
|
|
30
30
|
export function canonicalTypeSchemaId(moduleName, typeName) {
|
|
31
31
|
return `telo:${moduleName}/${typeName}`;
|
|
32
32
|
}
|
|
33
|
+
/** The inverse of {@link canonicalTypeSchemaId}. Returns null for any other
|
|
34
|
+
* string, including the authoring authority form and fragment-bearing built-ins.
|
|
35
|
+
*
|
|
36
|
+
* A resolver reads a named shape through this rather than by bare name: the
|
|
37
|
+
* canonical id carries the OWNING MODULE, so two libraries declaring a shape of
|
|
38
|
+
* the same name stay distinct. Resolving by name alone was how an alias got
|
|
39
|
+
* silently dropped. */
|
|
40
|
+
export function parseCanonicalTypeSchemaId(ref) {
|
|
41
|
+
if (typeof ref !== "string")
|
|
42
|
+
return null;
|
|
43
|
+
const match = /^telo:([^/#:]+)\/([^#/]+)$/.exec(ref);
|
|
44
|
+
if (!match)
|
|
45
|
+
return null;
|
|
46
|
+
return { moduleName: match[1], typeName: match[2] };
|
|
47
|
+
}
|
|
33
48
|
/** Top-level keywords merged structurally rather than copied wholesale when
|
|
34
49
|
* resolving `extends`: object shape (`properties` / `required` /
|
|
35
50
|
* `additionalProperties`) is deep-merged, and composition keywords (`allOf` /
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `x-telo-type` — the one annotation that says what the value at a slot IS,
|
|
3
|
+
* beyond what JSON Schema's `type` vocabulary can express, and the single
|
|
4
|
+
* accessor every surface reads it through (the `ref-slot.ts` precedent).
|
|
5
|
+
*
|
|
6
|
+
* It replaced three keywords that answered one question differently: a nominal
|
|
7
|
+
* brand from a closed kernel table (`x-telo-type: TcpPort`), raw bytes
|
|
8
|
+
* (`x-telo-binary: true`), and a live handle (`x-telo-stream: true`). They
|
|
9
|
+
* differed in POSTURE toward the JSON Schema layer — refine, replace, exempt —
|
|
10
|
+
* not in kind, so each spelled as its own keyword meant a fourth cost eleven
|
|
11
|
+
* files across four packages, and left three defects: a typo'd brand degraded
|
|
12
|
+
* silently, bytes had no CEL identity, and a module string-matched the keyword
|
|
13
|
+
* because there was nothing on its surface to read.
|
|
14
|
+
*
|
|
15
|
+
* THE VOCABULARY IS DATA; THE BINDING TO A LANGUAGE IS NOT. Entries live at
|
|
16
|
+
* `sdk/value-types/*.json` (see the README there) and are copied in by the SDK's
|
|
17
|
+
* `prepare`. Every runtime that hosts Telo reads the same files — the Rust half
|
|
18
|
+
* types an `!include-bytes` slot from them in a kernel with no CEL engine — so
|
|
19
|
+
* an entry declares a symbolic `binding`, never a constructor name, and each
|
|
20
|
+
* runtime carries its own table mapping that key to its own identity.
|
|
21
|
+
*
|
|
22
|
+
* THE REGISTRY IS IN THE SDK because it is dependency-free and Node-built-in-free
|
|
23
|
+
* (so a browser-side analyzer can read it), because `Stream` already lives here,
|
|
24
|
+
* and because it is the only placement a module controller can reach: a module
|
|
25
|
+
* may import `@telorun/sdk` and nothing else.
|
|
26
|
+
*/
|
|
27
|
+
export declare const X_TELO_TYPE = "x-telo-type";
|
|
28
|
+
/** How a value is represented, which is the one thing an entry declares.
|
|
29
|
+
*
|
|
30
|
+
* - `json` — an ordinary value its declared schema already validates. The
|
|
31
|
+
* name adds nominal identity for static wiring, nothing else.
|
|
32
|
+
* - `instance` — not JSON at all. This is what makes a value unauthorable: no
|
|
33
|
+
* YAML literal is ever a byte buffer or a stream handle. */
|
|
34
|
+
export type ValueTypeRepresentation = "json" | "instance";
|
|
35
|
+
/** A named type parameter. Every parameter is optional and defaults to *any*,
|
|
36
|
+
* so an unparameterized use of a generic type stays legal. Named rather than
|
|
37
|
+
* positional so a diagnostic can say `of` instead of "argument 0", and so a
|
|
38
|
+
* second parameter can be added without a migration. */
|
|
39
|
+
export interface ValueTypeParameter {
|
|
40
|
+
readonly name: string;
|
|
41
|
+
/** This parameter's argument is what ITERATING a value of the type yields.
|
|
42
|
+
* Declared here so "what is the element of this collection" is answered by
|
|
43
|
+
* the vocabulary rather than by a consumer that knows one type's name — the
|
|
44
|
+
* same reason `live` is a field and not a check against `Telo.Stream`. At
|
|
45
|
+
* most one parameter per entry may carry it. */
|
|
46
|
+
readonly element?: boolean;
|
|
47
|
+
readonly description?: string;
|
|
48
|
+
}
|
|
49
|
+
/** One value type, exactly as its entry file declares it. */
|
|
50
|
+
export interface ValueTypeEntry {
|
|
51
|
+
/** `Telo.`-qualified. The closed vocabulary an author writes at the name slot. */
|
|
52
|
+
readonly name: string;
|
|
53
|
+
readonly representation: ValueTypeRepresentation;
|
|
54
|
+
/** `json` only — the JSON Schema type this name refines. */
|
|
55
|
+
readonly base?: string;
|
|
56
|
+
/** `instance` only — the symbolic key a runtime's binding table maps. */
|
|
57
|
+
readonly binding?: string;
|
|
58
|
+
/** An instance whose consumption has effects, so it is exempt from validation
|
|
59
|
+
* rather than asserted. Exemption is from VALIDATION, never from TYPING. */
|
|
60
|
+
readonly live: boolean;
|
|
61
|
+
readonly parameters: readonly ValueTypeParameter[];
|
|
62
|
+
readonly description: string;
|
|
63
|
+
}
|
|
64
|
+
/** What one runtime can say about an `instance` representation. Node's identity
|
|
65
|
+
* is a constructor (`instanceof` is the assertion) plus the CEL type an
|
|
66
|
+
* expression at such a slot carries. */
|
|
67
|
+
export interface ValueTypeBinding {
|
|
68
|
+
/** The constructor an assertion tests against. `Buffer` extends `Uint8Array`,
|
|
69
|
+
* so a Node buffer satisfies `bytes` without a second rule. */
|
|
70
|
+
readonly constructor: Function;
|
|
71
|
+
/** The CEL type a value of this representation carries. */
|
|
72
|
+
readonly celType: string;
|
|
73
|
+
/** A stand-in the analyzer substitutes for a CEL leaf at such a slot, so the
|
|
74
|
+
* static check and the runtime assertion agree BY CONSTRUCTION rather than by
|
|
75
|
+
* two rules kept in step. Absent for a `live` type, whose value is never
|
|
76
|
+
* validated and so needs nothing to satisfy. */
|
|
77
|
+
readonly placeholder?: () => unknown;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Node's binding table — the ONLY per-language artifact in the whole mechanism.
|
|
81
|
+
*
|
|
82
|
+
* Keyed by an entry's symbolic `binding`, never by its name, so a runtime that
|
|
83
|
+
* represents two entries the same way says so once and a rename of a type does
|
|
84
|
+
* not touch any table.
|
|
85
|
+
*/
|
|
86
|
+
export declare const VALUE_TYPE_BINDINGS: Readonly<Record<string, ValueTypeBinding>>;
|
|
87
|
+
/**
|
|
88
|
+
* Read one entry file's parsed data.
|
|
89
|
+
*
|
|
90
|
+
* Reading is STRICT and the vocabulary is closed at every level. A malformed or
|
|
91
|
+
* typo'd entry is an authoring mistake whose only other outcome is a type that
|
|
92
|
+
* quietly is not in the vocabulary — which reads to an author as "unknown name",
|
|
93
|
+
* pointing at their manifest instead of at the entry.
|
|
94
|
+
*/
|
|
95
|
+
export declare function parseValueTypeEntry(file: string, data: unknown): ValueTypeEntry;
|
|
96
|
+
/** Every declared value type, keyed by its `Telo.`-qualified name. */
|
|
97
|
+
export declare const VALUE_TYPES: ReadonlyMap<string, ValueTypeEntry>;
|
|
98
|
+
/** The declared names, in entry order — what `telo cel types` and the generated
|
|
99
|
+
* docs section enumerate. */
|
|
100
|
+
export declare function valueTypeNames(): string[];
|
|
101
|
+
/** A read `x-telo-type` annotation: the type it names plus its type arguments. */
|
|
102
|
+
export interface ValueTypeSlot {
|
|
103
|
+
/** The name exactly as written, which is also the canonical one — the
|
|
104
|
+
* vocabulary is closed, so there is nothing to resolve. */
|
|
105
|
+
readonly name: string;
|
|
106
|
+
/** The registry entry, or undefined when the name is not a declared type.
|
|
107
|
+
* Present separately from `name` so a diagnostic can report the name the
|
|
108
|
+
* author wrote rather than swallowing an unknown one. */
|
|
109
|
+
readonly entry: ValueTypeEntry | undefined;
|
|
110
|
+
/** Type arguments by parameter name. Each value is a schema node. */
|
|
111
|
+
readonly args: Readonly<Record<string, unknown>>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Read the annotation off a schema node.
|
|
115
|
+
*
|
|
116
|
+
* Two spellings, one meaning: a bare name (`x-telo-type: Telo.Bytes`) and the
|
|
117
|
+
* object form carrying arguments (`{ name: Telo.Stream, of: … }`). Returns
|
|
118
|
+
* undefined when the node carries no annotation at all — an unknown NAME still
|
|
119
|
+
* returns a slot, with `entry` undefined, because silently reading it as "no
|
|
120
|
+
* value type" is the degrade this annotation replaced.
|
|
121
|
+
*/
|
|
122
|
+
export declare function readValueTypeSlot(schema: unknown): ValueTypeSlot | undefined;
|
|
123
|
+
/** The entry a schema node declares, or undefined. The common read. */
|
|
124
|
+
export declare function valueTypeOf(schema: unknown): ValueTypeEntry | undefined;
|
|
125
|
+
/** True when this node declares a value type at all (known or not). */
|
|
126
|
+
export declare function isValueTypeSlot(schema: unknown): boolean;
|
|
127
|
+
/** True when the node declares a `live` type, so its value is exempt from
|
|
128
|
+
* validation — never traversed, never asserted. Typing is unaffected. */
|
|
129
|
+
export declare function isLiveSlot(schema: unknown): boolean;
|
|
130
|
+
/** True when the node declares a type represented as a runtime instance —
|
|
131
|
+
* the values no manifest literal can ever be. */
|
|
132
|
+
export declare function isInstanceSlot(schema: unknown): boolean;
|
|
133
|
+
/**
|
|
134
|
+
* The schema of what iterating a value at this slot yields, or undefined when
|
|
135
|
+
* the slot declares no value type, or one with no element parameter.
|
|
136
|
+
*
|
|
137
|
+
* The whole point of reading it from the entry is that no consumer names a type:
|
|
138
|
+
* a future iterable value type is covered by declaring `element` on its own
|
|
139
|
+
* parameter, with nothing to change here or in the analyzer. An element
|
|
140
|
+
* parameter left unsupplied means *any*, exactly as every other omitted argument
|
|
141
|
+
* does, so an unparameterized use degrades to permissive rather than to nothing.
|
|
142
|
+
*/
|
|
143
|
+
export declare function elementSchemaOf(schema: unknown): unknown | undefined;
|
|
144
|
+
/** The binding row for a schema node's declared type, or undefined when it
|
|
145
|
+
* declares none / declares a `json` one. */
|
|
146
|
+
export declare function bindingOf(schema: unknown): ValueTypeBinding | undefined;
|
|
147
|
+
/** The stand-in for a CEL leaf at this slot, or undefined when the slot declares
|
|
148
|
+
* no instance type (ordinary JSON, so the schema's own shape decides) or a live
|
|
149
|
+
* one (nothing validates it, so nothing has to satisfy anything). */
|
|
150
|
+
export declare function valueTypePlaceholder(schema: unknown): unknown | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* The CEL type a value at this slot carries.
|
|
153
|
+
*
|
|
154
|
+
* A `json` representation carries its own NAME as a nominal brand — which is the
|
|
155
|
+
* whole point of one, since a `Telo.TcpPort` and a `Telo.UdpPort` are structurally
|
|
156
|
+
* identical. An `instance` carries whatever its binding says.
|
|
157
|
+
*/
|
|
158
|
+
export declare function celTypeOfValueType(entry: ValueTypeEntry): string;
|
|
159
|
+
/** The CEL type a brand degrades to where the consuming slot declares none —
|
|
160
|
+
* gradual typing, so a `Telo.TcpPort` flows freely into a plain integer field.
|
|
161
|
+
* Undefined for an `instance`, which has no base to fall back to. */
|
|
162
|
+
export declare function celBaseOfValueType(entry: ValueTypeEntry): string | undefined;
|
|
163
|
+
/** Every `json` representation's CEL brand → the base type it refines. The
|
|
164
|
+
* gradual-typing table, derived rather than hand-written. */
|
|
165
|
+
export declare function valueBrandBases(): Record<string, string>;
|
|
166
|
+
//# sourceMappingURL=value-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-type.d.ts","sourceRoot":"","sources":["../src/value-type.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAKH,eAAO,MAAM,WAAW,gBAAgB,CAAC;AAEzC;;;;;4EAK4E;AAC5E,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,UAAU,CAAC;AAE1D;;;yDAGyD;AACzD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;;qDAIiD;IACjD,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,6DAA6D;AAC7D,MAAM,WAAW,cAAc;IAC7B,kFAAkF;IAClF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,cAAc,EAAE,uBAAuB,CAAC;IACjD,4DAA4D;IAC5D,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CA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