@idfkit/schemas 0.2.0-rc.1 → 0.2.0-rc.2
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/data/docs.json.gz +0 -0
- package/data/manifest-22-1-0.json.gz +0 -0
- package/data/manifest-22-2-0.json.gz +0 -0
- package/data/manifest-23-1-0.json.gz +0 -0
- package/data/manifest-23-2-0.json.gz +0 -0
- package/data/manifest-24-1-0.json.gz +0 -0
- package/data/manifest-24-2-0.json.gz +0 -0
- package/data/manifest-25-1-0.json.gz +0 -0
- package/data/manifest-25-2-0.json.gz +0 -0
- package/data/manifest-26-1-0.json.gz +0 -0
- package/data/manifest-8-9-0.json.gz +0 -0
- package/data/manifest-9-0-1.json.gz +0 -0
- package/data/manifest-9-1-0.json.gz +0 -0
- package/data/manifest-9-2-0.json.gz +0 -0
- package/data/manifest-9-3-0.json.gz +0 -0
- package/data/manifest-9-4-0.json.gz +0 -0
- package/data/manifest-9-5-0.json.gz +0 -0
- package/data/manifest-9-6-0.json.gz +0 -0
- package/data/types.json.gz +0 -0
- package/dist/types.d.ts +39 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/data/types.json.gz
CHANGED
|
Binary file
|
package/dist/types.d.ts
CHANGED
|
@@ -78,6 +78,28 @@ export interface SlimField {
|
|
|
78
78
|
u?: string;
|
|
79
79
|
/** Value is case-sensitive and must not be normalized. */
|
|
80
80
|
rc?: 1;
|
|
81
|
+
/**
|
|
82
|
+
* The enum also accepts the empty string.
|
|
83
|
+
*
|
|
84
|
+
* `e` is filtered of `''` because it is what validation checks against, and
|
|
85
|
+
* admitting the blank there would change what `validate()` accepts. Python's
|
|
86
|
+
* `describe_object_type` reports it, so the description path puts it back
|
|
87
|
+
* from this flag and validation never sees it.
|
|
88
|
+
*
|
|
89
|
+
* A flag rather than an index because the blank is first every time: across
|
|
90
|
+
* all 17 bundled schemas, all 21,962 blank-bearing enums carry it at position
|
|
91
|
+
* 0. `bundle.test.ts` asserts that, so a schema that breaks it fails loudly
|
|
92
|
+
* instead of silently reordering a choice list.
|
|
93
|
+
*/
|
|
94
|
+
eb?: 1;
|
|
95
|
+
/**
|
|
96
|
+
* The field's explanatory sentence, as an index into the prose pool.
|
|
97
|
+
*
|
|
98
|
+
* An index, not the text: 3,837 distinct field notes are shared across about
|
|
99
|
+
* 119,000 occurrences. Resolve it against `docs.json.gz`, which is loaded on
|
|
100
|
+
* demand and is never on the parse path.
|
|
101
|
+
*/
|
|
102
|
+
n?: number;
|
|
81
103
|
}
|
|
82
104
|
export interface SlimExtensible {
|
|
83
105
|
/** epJSON key holding the array, e.g. `vertices`. */
|
|
@@ -106,6 +128,23 @@ export interface SlimType {
|
|
|
106
128
|
x?: SlimExtensible;
|
|
107
129
|
/** IDD group, e.g. `Thermal Zones and Surfaces`. */
|
|
108
130
|
g?: string;
|
|
131
|
+
/**
|
|
132
|
+
* The type's explanatory sentence, as an index into the prose pool.
|
|
133
|
+
*
|
|
134
|
+
* See `SlimField.n`. Present for 845 of 858 types in 26.1.0; a type with no
|
|
135
|
+
* memo in the source schema has none here, and both languages report nothing
|
|
136
|
+
* rather than a placeholder.
|
|
137
|
+
*/
|
|
138
|
+
m?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Field names in declaration order, for the types where `f` cannot give it.
|
|
141
|
+
*
|
|
142
|
+
* `f` holds only the name for exactly three types in every bundled version,
|
|
143
|
+
* so the description path would otherwise fall back to the key order of `p` —
|
|
144
|
+
* which the content-addressing serializer has sorted alphabetically. This
|
|
145
|
+
* records the order that sort destroys, and is emitted only for those three.
|
|
146
|
+
*/
|
|
147
|
+
fo?: string[];
|
|
109
148
|
}
|
|
110
149
|
/** A manifest maps object type name to a blob hash in the shared store. */
|
|
111
150
|
export type Manifest = Record<string, string>;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAC/E,MAAM,MAAM,SAAS;AACnB,+BAA+B;AAC7B,GAAG;AACL,oDAAoD;GAClD,GAAG;AACL,gDAAgD;GAC9C,GAAG;AACL,gCAAgC;GAC9B,KAAK,CAAC;AAEV,MAAM,WAAW,SAAS;IACxB,qBAAqB;IACrB,CAAC,EAAE,SAAS,CAAC;IACb;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC;IACT;;;;;;;;;;;;;;OAcG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC;IACd,oFAAoF;IACpF,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC;IACd,+EAA+E;IAC/E,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf;;;;;;OAMG;IACH,CAAC,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACxB,iEAAiE;IACjE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,qDAAqD;IACrD,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,0DAA0D;IAC1D,EAAE,CAAC,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAC/E,MA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