@formspec/core 0.1.0-alpha.21 → 0.1.0-alpha.26
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/core-alpha.d.ts +1533 -0
- package/dist/core-beta.d.ts +1533 -0
- package/dist/core-internal.d.ts +1533 -0
- package/dist/core.d.ts +94 -634
- package/dist/extensions/index.d.ts +47 -16
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/index.cjs +2 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -27
- package/dist/index.js.map +1 -1
- package/dist/internals.cjs +165 -0
- package/dist/internals.cjs.map +1 -0
- package/dist/internals.d.ts +13 -0
- package/dist/internals.d.ts.map +1 -0
- package/dist/internals.js +115 -0
- package/dist/internals.js.map +1 -0
- package/dist/types/constraint-definitions.d.ts +8 -8
- package/dist/types/constraint-definitions.d.ts.map +1 -1
- package/dist/types/elements.d.ts +2 -0
- package/dist/types/elements.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/ir.d.ts +131 -41
- package/dist/types/ir.d.ts.map +1 -1
- package/package.json +10 -5
package/dist/types/ir.d.ts
CHANGED
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
* The current IR format version. Centralized here so all canonicalizers
|
|
15
15
|
* and consumers reference a single source of truth.
|
|
16
16
|
*
|
|
17
|
-
* @
|
|
17
|
+
* @beta
|
|
18
18
|
*/
|
|
19
19
|
export declare const IR_VERSION: "0.1.0";
|
|
20
20
|
/**
|
|
21
21
|
* A JSON-serializable value. All IR nodes must be representable as JSON.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @beta
|
|
24
24
|
*/
|
|
25
25
|
export type JsonValue = null | boolean | number | string | readonly JsonValue[] | {
|
|
26
26
|
readonly [key: string]: JsonValue;
|
|
@@ -29,7 +29,7 @@ export type JsonValue = null | boolean | number | string | readonly JsonValue[]
|
|
|
29
29
|
* Describes the origin of an IR node.
|
|
30
30
|
* Enables diagnostics that point to the source of a contradiction or error.
|
|
31
31
|
*
|
|
32
|
-
* @
|
|
32
|
+
* @beta
|
|
33
33
|
*/
|
|
34
34
|
export interface Provenance {
|
|
35
35
|
/** The authoring surface that produced this node. */
|
|
@@ -52,7 +52,7 @@ export interface Provenance {
|
|
|
52
52
|
* A path targeting a sub-field within a complex type.
|
|
53
53
|
* Used by constraints and annotations to target nested properties.
|
|
54
54
|
*
|
|
55
|
-
* @
|
|
55
|
+
* @beta
|
|
56
56
|
*/
|
|
57
57
|
export interface PathTarget {
|
|
58
58
|
/**
|
|
@@ -65,7 +65,7 @@ export interface PathTarget {
|
|
|
65
65
|
/**
|
|
66
66
|
* Discriminated union of all type representations in the IR.
|
|
67
67
|
*
|
|
68
|
-
* @
|
|
68
|
+
* @beta
|
|
69
69
|
*/
|
|
70
70
|
export type TypeNode = PrimitiveTypeNode | EnumTypeNode | ArrayTypeNode | ObjectTypeNode | RecordTypeNode | UnionTypeNode | ReferenceTypeNode | DynamicTypeNode | CustomTypeNode;
|
|
71
71
|
/**
|
|
@@ -74,16 +74,18 @@ export type TypeNode = PrimitiveTypeNode | EnumTypeNode | ArrayTypeNode | Object
|
|
|
74
74
|
* Note: integer is NOT a primitive kind — integer semantics are expressed
|
|
75
75
|
* via a `multipleOf: 1` constraint on a number type.
|
|
76
76
|
*
|
|
77
|
-
* @
|
|
77
|
+
* @beta
|
|
78
78
|
*/
|
|
79
79
|
export interface PrimitiveTypeNode {
|
|
80
|
+
/** Discriminator identifying this node as a primitive type. */
|
|
80
81
|
readonly kind: "primitive";
|
|
82
|
+
/** Primitive value family represented by this node. */
|
|
81
83
|
readonly primitiveKind: "string" | "number" | "integer" | "bigint" | "boolean" | "null";
|
|
82
84
|
}
|
|
83
85
|
/**
|
|
84
86
|
* A member of a static enum type.
|
|
85
87
|
*
|
|
86
|
-
* @
|
|
88
|
+
* @beta
|
|
87
89
|
*/
|
|
88
90
|
export interface EnumMember {
|
|
89
91
|
/** The serialized value stored in data. */
|
|
@@ -94,29 +96,36 @@ export interface EnumMember {
|
|
|
94
96
|
/**
|
|
95
97
|
* Static enum type with members known at build time.
|
|
96
98
|
*
|
|
97
|
-
* @
|
|
99
|
+
* @beta
|
|
98
100
|
*/
|
|
99
101
|
export interface EnumTypeNode {
|
|
102
|
+
/** Discriminator identifying this node as an enum type. */
|
|
100
103
|
readonly kind: "enum";
|
|
104
|
+
/** Allowed enum members in declaration order. */
|
|
101
105
|
readonly members: readonly EnumMember[];
|
|
102
106
|
}
|
|
103
107
|
/**
|
|
104
108
|
* Array type with a single items type.
|
|
105
109
|
*
|
|
106
|
-
* @
|
|
110
|
+
* @beta
|
|
107
111
|
*/
|
|
108
112
|
export interface ArrayTypeNode {
|
|
113
|
+
/** Discriminator identifying this node as an array type. */
|
|
109
114
|
readonly kind: "array";
|
|
115
|
+
/** Item type for each array entry. */
|
|
110
116
|
readonly items: TypeNode;
|
|
111
117
|
}
|
|
112
118
|
/**
|
|
113
119
|
* A named property within an object type.
|
|
114
120
|
*
|
|
115
|
-
* @
|
|
121
|
+
* @beta
|
|
116
122
|
*/
|
|
117
123
|
export interface ObjectProperty {
|
|
124
|
+
/** Property name as it appears in the containing object type. */
|
|
118
125
|
readonly name: string;
|
|
126
|
+
/** Canonical IR type for this property. */
|
|
119
127
|
readonly type: TypeNode;
|
|
128
|
+
/** Whether the property may be omitted from object values. */
|
|
120
129
|
readonly optional: boolean;
|
|
121
130
|
/**
|
|
122
131
|
* Use-site constraints on this property.
|
|
@@ -127,14 +136,16 @@ export interface ObjectProperty {
|
|
|
127
136
|
readonly constraints: readonly ConstraintNode[];
|
|
128
137
|
/** Use-site annotations on this property. */
|
|
129
138
|
readonly annotations: readonly AnnotationNode[];
|
|
139
|
+
/** Source location that produced this property entry. */
|
|
130
140
|
readonly provenance: Provenance;
|
|
131
141
|
}
|
|
132
142
|
/**
|
|
133
143
|
* Object type with named properties.
|
|
134
144
|
*
|
|
135
|
-
* @
|
|
145
|
+
* @beta
|
|
136
146
|
*/
|
|
137
147
|
export interface ObjectTypeNode {
|
|
148
|
+
/** Discriminator identifying this node as an object type. */
|
|
138
149
|
readonly kind: "object";
|
|
139
150
|
/**
|
|
140
151
|
* Named properties of this object. Order is preserved from the source
|
|
@@ -155,9 +166,10 @@ export interface ObjectTypeNode {
|
|
|
155
166
|
* Emitted as `{ "type": "object", "additionalProperties": <value schema> }` in
|
|
156
167
|
* JSON Schema per spec 003 §2.5.
|
|
157
168
|
*
|
|
158
|
-
* @
|
|
169
|
+
* @beta
|
|
159
170
|
*/
|
|
160
171
|
export interface RecordTypeNode {
|
|
172
|
+
/** Discriminator identifying this node as a record type. */
|
|
161
173
|
readonly kind: "record";
|
|
162
174
|
/** The type of each value in the dictionary. */
|
|
163
175
|
readonly valueType: TypeNode;
|
|
@@ -165,18 +177,21 @@ export interface RecordTypeNode {
|
|
|
165
177
|
/**
|
|
166
178
|
* Union type for non-enum unions. Nullable types are represented as `T | null`.
|
|
167
179
|
*
|
|
168
|
-
* @
|
|
180
|
+
* @beta
|
|
169
181
|
*/
|
|
170
182
|
export interface UnionTypeNode {
|
|
183
|
+
/** Discriminator identifying this node as a union type. */
|
|
171
184
|
readonly kind: "union";
|
|
185
|
+
/** Member types that participate in the union. */
|
|
172
186
|
readonly members: readonly TypeNode[];
|
|
173
187
|
}
|
|
174
188
|
/**
|
|
175
189
|
* Named type reference preserved for `$defs` and `$ref` emission.
|
|
176
190
|
*
|
|
177
|
-
* @
|
|
191
|
+
* @beta
|
|
178
192
|
*/
|
|
179
193
|
export interface ReferenceTypeNode {
|
|
194
|
+
/** Discriminator identifying this node as a named reference type. */
|
|
180
195
|
readonly kind: "reference";
|
|
181
196
|
/**
|
|
182
197
|
* The fully-qualified name of the referenced type.
|
|
@@ -193,10 +208,12 @@ export interface ReferenceTypeNode {
|
|
|
193
208
|
/**
|
|
194
209
|
* Dynamic type whose schema is resolved at runtime from a named data source.
|
|
195
210
|
*
|
|
196
|
-
* @
|
|
211
|
+
* @beta
|
|
197
212
|
*/
|
|
198
213
|
export interface DynamicTypeNode {
|
|
214
|
+
/** Discriminator identifying this node as a runtime-resolved type. */
|
|
199
215
|
readonly kind: "dynamic";
|
|
216
|
+
/** Dynamic schema family resolved for this field. */
|
|
200
217
|
readonly dynamicKind: "enum" | "schema";
|
|
201
218
|
/** Key identifying the runtime data source or schema provider. */
|
|
202
219
|
readonly sourceKey: string;
|
|
@@ -209,9 +226,10 @@ export interface DynamicTypeNode {
|
|
|
209
226
|
/**
|
|
210
227
|
* Custom type registered by an extension.
|
|
211
228
|
*
|
|
212
|
-
* @
|
|
229
|
+
* @beta
|
|
213
230
|
*/
|
|
214
231
|
export interface CustomTypeNode {
|
|
232
|
+
/** Discriminator identifying this node as an extension-provided type. */
|
|
215
233
|
readonly kind: "custom";
|
|
216
234
|
/**
|
|
217
235
|
* The extension-qualified type identifier.
|
|
@@ -229,7 +247,7 @@ export interface CustomTypeNode {
|
|
|
229
247
|
* Discriminated union of all constraint types.
|
|
230
248
|
* Constraints are set-influencing: they narrow the set of valid values.
|
|
231
249
|
*
|
|
232
|
-
* @
|
|
250
|
+
* @beta
|
|
233
251
|
*/
|
|
234
252
|
export type ConstraintNode = NumericConstraintNode | LengthConstraintNode | PatternConstraintNode | ArrayCardinalityConstraintNode | EnumMemberConstraintNode | ConstConstraintNode | CustomConstraintNode;
|
|
235
253
|
/**
|
|
@@ -242,14 +260,18 @@ export type ConstraintNode = NumericConstraintNode | LengthConstraintNode | Patt
|
|
|
242
260
|
* Type applicability: may only attach to fields with `PrimitiveTypeNode("number")`
|
|
243
261
|
* or a `ReferenceTypeNode` that resolves to one.
|
|
244
262
|
*
|
|
245
|
-
* @
|
|
263
|
+
* @beta
|
|
246
264
|
*/
|
|
247
265
|
export interface NumericConstraintNode {
|
|
266
|
+
/** Discriminator identifying this node as a constraint. */
|
|
248
267
|
readonly kind: "constraint";
|
|
268
|
+
/** Specific numeric constraint represented by this node. */
|
|
249
269
|
readonly constraintKind: "minimum" | "maximum" | "exclusiveMinimum" | "exclusiveMaximum" | "multipleOf";
|
|
270
|
+
/** Numeric value carried by the constraint. */
|
|
250
271
|
readonly value: number;
|
|
251
272
|
/** If present, targets a nested sub-field rather than the field itself. */
|
|
252
273
|
readonly path?: PathTarget;
|
|
274
|
+
/** Source location that produced this constraint. */
|
|
253
275
|
readonly provenance: Provenance;
|
|
254
276
|
}
|
|
255
277
|
/**
|
|
@@ -262,13 +284,18 @@ export interface NumericConstraintNode {
|
|
|
262
284
|
* Type applicability: `minLength`/`maxLength` require `PrimitiveTypeNode("string")`;
|
|
263
285
|
* `minItems`/`maxItems` require `ArrayTypeNode`.
|
|
264
286
|
*
|
|
265
|
-
* @
|
|
287
|
+
* @beta
|
|
266
288
|
*/
|
|
267
289
|
export interface LengthConstraintNode {
|
|
290
|
+
/** Discriminator identifying this node as a constraint. */
|
|
268
291
|
readonly kind: "constraint";
|
|
292
|
+
/** Specific length or cardinality constraint represented by this node. */
|
|
269
293
|
readonly constraintKind: "minLength" | "maxLength" | "minItems" | "maxItems";
|
|
294
|
+
/** Inclusive bound value carried by the constraint. */
|
|
270
295
|
readonly value: number;
|
|
296
|
+
/** Nested path target, when the constraint applies below the field root. */
|
|
271
297
|
readonly path?: PathTarget;
|
|
298
|
+
/** Source location that produced this constraint. */
|
|
272
299
|
readonly provenance: Provenance;
|
|
273
300
|
}
|
|
274
301
|
/**
|
|
@@ -279,59 +306,80 @@ export interface LengthConstraintNode {
|
|
|
279
306
|
*
|
|
280
307
|
* Type applicability: requires `PrimitiveTypeNode("string")`.
|
|
281
308
|
*
|
|
282
|
-
* @
|
|
309
|
+
* @beta
|
|
283
310
|
*/
|
|
284
311
|
export interface PatternConstraintNode {
|
|
312
|
+
/** Discriminator identifying this node as a constraint. */
|
|
285
313
|
readonly kind: "constraint";
|
|
314
|
+
/** Specific pattern constraint represented by this node. */
|
|
286
315
|
readonly constraintKind: "pattern";
|
|
287
316
|
/** ECMA-262 regular expression, without delimiters. */
|
|
288
317
|
readonly pattern: string;
|
|
318
|
+
/** Nested path target, when the constraint applies below the field root. */
|
|
289
319
|
readonly path?: PathTarget;
|
|
320
|
+
/** Source location that produced this constraint. */
|
|
290
321
|
readonly provenance: Provenance;
|
|
291
322
|
}
|
|
292
323
|
/**
|
|
293
324
|
* Array uniqueness constraint.
|
|
294
325
|
*
|
|
295
|
-
* @
|
|
326
|
+
* @beta
|
|
296
327
|
*/
|
|
297
328
|
export interface ArrayCardinalityConstraintNode {
|
|
329
|
+
/** Discriminator identifying this node as a constraint. */
|
|
298
330
|
readonly kind: "constraint";
|
|
331
|
+
/** Specific array-cardinality constraint represented by this node. */
|
|
299
332
|
readonly constraintKind: "uniqueItems";
|
|
333
|
+
/** Marker value used for boolean-style array uniqueness constraints. */
|
|
300
334
|
readonly value: true;
|
|
335
|
+
/** Nested path target, when the constraint applies below the field root. */
|
|
301
336
|
readonly path?: PathTarget;
|
|
337
|
+
/** Source location that produced this constraint. */
|
|
302
338
|
readonly provenance: Provenance;
|
|
303
339
|
}
|
|
304
340
|
/**
|
|
305
341
|
* Enum member subset constraint that only narrows the allowed member set.
|
|
306
342
|
*
|
|
307
|
-
* @
|
|
343
|
+
* @beta
|
|
308
344
|
*/
|
|
309
345
|
export interface EnumMemberConstraintNode {
|
|
346
|
+
/** Discriminator identifying this node as a constraint. */
|
|
310
347
|
readonly kind: "constraint";
|
|
348
|
+
/** Specific enum-membership constraint represented by this node. */
|
|
311
349
|
readonly constraintKind: "allowedMembers";
|
|
350
|
+
/** Subset of enum member values that remain valid. */
|
|
312
351
|
readonly members: readonly (string | number)[];
|
|
352
|
+
/** Nested path target, when the constraint applies below the field root. */
|
|
313
353
|
readonly path?: PathTarget;
|
|
354
|
+
/** Source location that produced this constraint. */
|
|
314
355
|
readonly provenance: Provenance;
|
|
315
356
|
}
|
|
316
357
|
/**
|
|
317
358
|
* Literal-value equality constraint.
|
|
318
359
|
*
|
|
319
|
-
* @
|
|
360
|
+
* @beta
|
|
320
361
|
*/
|
|
321
362
|
export interface ConstConstraintNode {
|
|
363
|
+
/** Discriminator identifying this node as a constraint. */
|
|
322
364
|
readonly kind: "constraint";
|
|
365
|
+
/** Specific literal-equality constraint represented by this node. */
|
|
323
366
|
readonly constraintKind: "const";
|
|
367
|
+
/** JSON-serializable literal value the field must equal. */
|
|
324
368
|
readonly value: JsonValue;
|
|
369
|
+
/** Nested path target, when the constraint applies below the field root. */
|
|
325
370
|
readonly path?: PathTarget;
|
|
371
|
+
/** Source location that produced this constraint. */
|
|
326
372
|
readonly provenance: Provenance;
|
|
327
373
|
}
|
|
328
374
|
/**
|
|
329
375
|
* Extension-registered custom constraint.
|
|
330
376
|
*
|
|
331
|
-
* @
|
|
377
|
+
* @beta
|
|
332
378
|
*/
|
|
333
379
|
export interface CustomConstraintNode {
|
|
380
|
+
/** Discriminator identifying this node as a constraint. */
|
|
334
381
|
readonly kind: "constraint";
|
|
382
|
+
/** Specific custom-constraint marker used for extension nodes. */
|
|
335
383
|
readonly constraintKind: "custom";
|
|
336
384
|
/** Extension-qualified ID: `"<vendor-prefix>/<extension-name>/<constraint-name>"` */
|
|
337
385
|
readonly constraintId: string;
|
|
@@ -339,7 +387,9 @@ export interface CustomConstraintNode {
|
|
|
339
387
|
readonly payload: JsonValue;
|
|
340
388
|
/** How this constraint composes with others of the same `constraintId`. */
|
|
341
389
|
readonly compositionRule: "intersect" | "override";
|
|
390
|
+
/** Nested path target, when the constraint applies below the field root. */
|
|
342
391
|
readonly path?: PathTarget;
|
|
392
|
+
/** Source location that produced this constraint. */
|
|
343
393
|
readonly provenance: Provenance;
|
|
344
394
|
}
|
|
345
395
|
/**
|
|
@@ -347,29 +397,37 @@ export interface CustomConstraintNode {
|
|
|
347
397
|
* Annotations are value-influencing: they describe or present a field
|
|
348
398
|
* but do not affect which values are valid.
|
|
349
399
|
*
|
|
350
|
-
* @
|
|
400
|
+
* @beta
|
|
351
401
|
*/
|
|
352
402
|
export type AnnotationNode = DisplayNameAnnotationNode | DescriptionAnnotationNode | RemarksAnnotationNode | FormatAnnotationNode | PlaceholderAnnotationNode | DefaultValueAnnotationNode | DeprecatedAnnotationNode | FormatHintAnnotationNode | CustomAnnotationNode;
|
|
353
403
|
/**
|
|
354
404
|
* Display-name annotation.
|
|
355
405
|
*
|
|
356
|
-
* @
|
|
406
|
+
* @beta
|
|
357
407
|
*/
|
|
358
408
|
export interface DisplayNameAnnotationNode {
|
|
409
|
+
/** Discriminator identifying this node as an annotation. */
|
|
359
410
|
readonly kind: "annotation";
|
|
411
|
+
/** Specific annotation kind represented by this node. */
|
|
360
412
|
readonly annotationKind: "displayName";
|
|
413
|
+
/** Human-readable display label for the field or type. */
|
|
361
414
|
readonly value: string;
|
|
415
|
+
/** Source location that produced this annotation. */
|
|
362
416
|
readonly provenance: Provenance;
|
|
363
417
|
}
|
|
364
418
|
/**
|
|
365
419
|
* Description annotation.
|
|
366
420
|
*
|
|
367
|
-
* @
|
|
421
|
+
* @beta
|
|
368
422
|
*/
|
|
369
423
|
export interface DescriptionAnnotationNode {
|
|
424
|
+
/** Discriminator identifying this node as an annotation. */
|
|
370
425
|
readonly kind: "annotation";
|
|
426
|
+
/** Specific annotation kind represented by this node. */
|
|
371
427
|
readonly annotationKind: "description";
|
|
428
|
+
/** Description text surfaced in generated schemas and tooling. */
|
|
372
429
|
readonly value: string;
|
|
430
|
+
/** Source location that produced this annotation. */
|
|
373
431
|
readonly provenance: Provenance;
|
|
374
432
|
}
|
|
375
433
|
/**
|
|
@@ -380,92 +438,118 @@ export interface DescriptionAnnotationNode {
|
|
|
380
438
|
* this in doc comments; API Documenter renders the source `@remarks`
|
|
381
439
|
* natively in a dedicated Remarks section.
|
|
382
440
|
*
|
|
383
|
-
* @
|
|
441
|
+
* @beta
|
|
384
442
|
*/
|
|
385
443
|
export interface RemarksAnnotationNode {
|
|
444
|
+
/** Discriminator identifying this node as an annotation. */
|
|
386
445
|
readonly kind: "annotation";
|
|
446
|
+
/** Specific annotation kind represented by this node. */
|
|
387
447
|
readonly annotationKind: "remarks";
|
|
448
|
+
/** Long-form remarks content carried through canonicalization. */
|
|
388
449
|
readonly value: string;
|
|
450
|
+
/** Source location that produced this annotation. */
|
|
389
451
|
readonly provenance: Provenance;
|
|
390
452
|
}
|
|
391
453
|
/**
|
|
392
454
|
* Schema format annotation, for example `email`, `date`, or `uri`.
|
|
393
455
|
*
|
|
394
|
-
* @
|
|
456
|
+
* @beta
|
|
395
457
|
*/
|
|
396
458
|
export interface FormatAnnotationNode {
|
|
459
|
+
/** Discriminator identifying this node as an annotation. */
|
|
397
460
|
readonly kind: "annotation";
|
|
461
|
+
/** Specific annotation kind represented by this node. */
|
|
398
462
|
readonly annotationKind: "format";
|
|
463
|
+
/** Schema format keyword value to emit downstream. */
|
|
399
464
|
readonly value: string;
|
|
465
|
+
/** Source location that produced this annotation. */
|
|
400
466
|
readonly provenance: Provenance;
|
|
401
467
|
}
|
|
402
468
|
/**
|
|
403
469
|
* Placeholder annotation.
|
|
404
470
|
*
|
|
405
|
-
* @
|
|
471
|
+
* @beta
|
|
406
472
|
*/
|
|
407
473
|
export interface PlaceholderAnnotationNode {
|
|
474
|
+
/** Discriminator identifying this node as an annotation. */
|
|
408
475
|
readonly kind: "annotation";
|
|
476
|
+
/** Specific annotation kind represented by this node. */
|
|
409
477
|
readonly annotationKind: "placeholder";
|
|
478
|
+
/** Placeholder text intended for UI renderers. */
|
|
410
479
|
readonly value: string;
|
|
480
|
+
/** Source location that produced this annotation. */
|
|
411
481
|
readonly provenance: Provenance;
|
|
412
482
|
}
|
|
413
483
|
/**
|
|
414
484
|
* Default-value annotation.
|
|
415
485
|
*
|
|
416
|
-
* @
|
|
486
|
+
* @beta
|
|
417
487
|
*/
|
|
418
488
|
export interface DefaultValueAnnotationNode {
|
|
489
|
+
/** Discriminator identifying this node as an annotation. */
|
|
419
490
|
readonly kind: "annotation";
|
|
491
|
+
/** Specific annotation kind represented by this node. */
|
|
420
492
|
readonly annotationKind: "defaultValue";
|
|
421
493
|
/** Must be JSON-serializable and type-compatible (verified during Validate phase). */
|
|
422
494
|
readonly value: JsonValue;
|
|
495
|
+
/** Source location that produced this annotation. */
|
|
423
496
|
readonly provenance: Provenance;
|
|
424
497
|
}
|
|
425
498
|
/**
|
|
426
499
|
* Deprecated annotation.
|
|
427
500
|
*
|
|
428
|
-
* @
|
|
501
|
+
* @beta
|
|
429
502
|
*/
|
|
430
503
|
export interface DeprecatedAnnotationNode {
|
|
504
|
+
/** Discriminator identifying this node as an annotation. */
|
|
431
505
|
readonly kind: "annotation";
|
|
506
|
+
/** Specific annotation kind represented by this node. */
|
|
432
507
|
readonly annotationKind: "deprecated";
|
|
433
508
|
/** Optional deprecation message. */
|
|
434
509
|
readonly message?: string;
|
|
510
|
+
/** Source location that produced this annotation. */
|
|
435
511
|
readonly provenance: Provenance;
|
|
436
512
|
}
|
|
437
513
|
/**
|
|
438
514
|
* UI rendering hint — does not affect schema validation.
|
|
439
515
|
* Unlike FormatAnnotationNode, this never emits a JSON Schema `format`.
|
|
440
516
|
*
|
|
441
|
-
* @
|
|
517
|
+
* @beta
|
|
442
518
|
*/
|
|
443
519
|
export interface FormatHintAnnotationNode {
|
|
520
|
+
/** Discriminator identifying this node as an annotation. */
|
|
444
521
|
readonly kind: "annotation";
|
|
522
|
+
/** Specific annotation kind represented by this node. */
|
|
445
523
|
readonly annotationKind: "formatHint";
|
|
446
524
|
/** Renderer-specific format identifier: "textarea", "radio", "date", "color", etc. */
|
|
447
525
|
readonly format: string;
|
|
526
|
+
/** Source location that produced this annotation. */
|
|
448
527
|
readonly provenance: Provenance;
|
|
449
528
|
}
|
|
450
529
|
/**
|
|
451
530
|
* Extension-registered custom annotation.
|
|
452
531
|
*
|
|
453
|
-
* @
|
|
532
|
+
* @beta
|
|
454
533
|
*/
|
|
455
534
|
export interface CustomAnnotationNode {
|
|
535
|
+
/** Discriminator identifying this node as an annotation. */
|
|
456
536
|
readonly kind: "annotation";
|
|
537
|
+
/** Specific annotation kind represented by this node. */
|
|
457
538
|
readonly annotationKind: "custom";
|
|
458
539
|
/** Extension-qualified ID: `"<vendor-prefix>/<extension-name>/<annotation-name>"` */
|
|
459
540
|
readonly annotationId: string;
|
|
541
|
+
/** JSON-serializable extension payload carried by this annotation. */
|
|
460
542
|
readonly value: JsonValue;
|
|
543
|
+
/** Source location that produced this annotation. */
|
|
461
544
|
readonly provenance: Provenance;
|
|
462
545
|
}
|
|
463
546
|
/**
|
|
464
547
|
* A single form field after canonicalization.
|
|
465
548
|
*
|
|
466
|
-
* @
|
|
549
|
+
* @beta
|
|
467
550
|
*/
|
|
468
551
|
export interface FieldNode {
|
|
552
|
+
/** Discriminator identifying this node as a field. */
|
|
469
553
|
readonly kind: "field";
|
|
470
554
|
/** The field's key in the data schema. */
|
|
471
555
|
readonly name: string;
|
|
@@ -491,27 +575,31 @@ export interface FieldNode {
|
|
|
491
575
|
/**
|
|
492
576
|
* Union of layout node types.
|
|
493
577
|
*
|
|
494
|
-
* @
|
|
578
|
+
* @beta
|
|
495
579
|
*/
|
|
496
580
|
export type LayoutNode = GroupLayoutNode | ConditionalLayoutNode;
|
|
497
581
|
/**
|
|
498
582
|
* A visual grouping of form elements.
|
|
499
583
|
*
|
|
500
|
-
* @
|
|
584
|
+
* @beta
|
|
501
585
|
*/
|
|
502
586
|
export interface GroupLayoutNode {
|
|
587
|
+
/** Discriminator identifying this node as a group layout. */
|
|
503
588
|
readonly kind: "group";
|
|
589
|
+
/** Display label associated with the visual group. */
|
|
504
590
|
readonly label: string;
|
|
505
591
|
/** Elements contained in this group — may be fields or nested groups. */
|
|
506
592
|
readonly elements: readonly FormIRElement[];
|
|
593
|
+
/** Source location that produced this layout node. */
|
|
507
594
|
readonly provenance: Provenance;
|
|
508
595
|
}
|
|
509
596
|
/**
|
|
510
597
|
* Conditional visibility based on another field's value.
|
|
511
598
|
*
|
|
512
|
-
* @
|
|
599
|
+
* @beta
|
|
513
600
|
*/
|
|
514
601
|
export interface ConditionalLayoutNode {
|
|
602
|
+
/** Discriminator identifying this node as a conditional layout. */
|
|
515
603
|
readonly kind: "conditional";
|
|
516
604
|
/** The field whose value triggers visibility. */
|
|
517
605
|
readonly fieldName: string;
|
|
@@ -519,18 +607,19 @@ export interface ConditionalLayoutNode {
|
|
|
519
607
|
readonly value: JsonValue;
|
|
520
608
|
/** Elements shown when the condition is met. */
|
|
521
609
|
readonly elements: readonly FormIRElement[];
|
|
610
|
+
/** Source location that produced this layout node. */
|
|
522
611
|
readonly provenance: Provenance;
|
|
523
612
|
}
|
|
524
613
|
/**
|
|
525
614
|
* Union of all IR element types.
|
|
526
615
|
*
|
|
527
|
-
* @
|
|
616
|
+
* @beta
|
|
528
617
|
*/
|
|
529
618
|
export type FormIRElement = FieldNode | LayoutNode;
|
|
530
619
|
/**
|
|
531
620
|
* A named type definition stored in the type registry.
|
|
532
621
|
*
|
|
533
|
-
* @
|
|
622
|
+
* @beta
|
|
534
623
|
*/
|
|
535
624
|
export interface TypeDefinition {
|
|
536
625
|
/** The fully-qualified reference name (key in the registry). */
|
|
@@ -552,9 +641,10 @@ export interface TypeDefinition {
|
|
|
552
641
|
*
|
|
553
642
|
* Serializable to JSON — no live compiler objects.
|
|
554
643
|
*
|
|
555
|
-
* @
|
|
644
|
+
* @beta
|
|
556
645
|
*/
|
|
557
646
|
export interface FormIR {
|
|
647
|
+
/** Discriminator identifying this document as a top-level FormIR payload. */
|
|
558
648
|
readonly kind: "form-ir";
|
|
559
649
|
/**
|
|
560
650
|
* Schema version for the IR format itself.
|
package/dist/types/ir.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ir.d.ts","sourceRoot":"","sources":["../../src/types/ir.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAG,OAAgB,CAAC;AAM3C;;;;GAIG;AACH,MAAM,MAAM,SA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S,cAAc,EAAE,CAAC;IACjD,oCAAoC;IACpC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACjC;AAMD;;;;;;;;;GASG;AACH,MAAM,WAAW,MAAM;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,+DAA+D;IAC/D,QAAQ,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;IAC5C,yEAAyE;IACzE,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IACrD;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;IAChE,+CAA+C;IAC/C,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IACjD,gDAAgD;IAChD,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formspec/core",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.26",
|
|
4
4
|
"description": "Core utilities for formspec",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
"types": "./dist/core.d.ts",
|
|
12
12
|
"import": "./dist/index.js",
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./internals": {
|
|
16
|
+
"types": "./dist/internals.d.ts",
|
|
17
|
+
"import": "./dist/internals.js",
|
|
18
|
+
"require": "./dist/internals.cjs"
|
|
14
19
|
}
|
|
15
20
|
},
|
|
16
21
|
"files": [
|
|
@@ -30,13 +35,13 @@
|
|
|
30
35
|
"keywords": [],
|
|
31
36
|
"license": "UNLICENSED",
|
|
32
37
|
"scripts": {
|
|
33
|
-
"build": "tsup && tsc --emitDeclarationOnly && api-extractor
|
|
38
|
+
"build": "tsup && tsc --emitDeclarationOnly && pnpm run api-extractor:local",
|
|
34
39
|
"clean": "rm -rf dist temp",
|
|
35
40
|
"typecheck": "tsc --noEmit",
|
|
36
41
|
"test": "vitest run && tsd",
|
|
37
42
|
"test:types": "tsd",
|
|
38
|
-
"api-extractor": "api-extractor run",
|
|
39
|
-
"api-extractor:local": "api-extractor run --local",
|
|
40
|
-
"api-documenter": "api-documenter markdown -i temp -o docs"
|
|
43
|
+
"api-extractor": "api-extractor run && node ../../scripts/normalize-generated-markdown.mjs api-report",
|
|
44
|
+
"api-extractor:local": "api-extractor run --local && node ../../scripts/normalize-generated-markdown.mjs api-report",
|
|
45
|
+
"api-documenter": "api-documenter markdown -i temp -o docs && node ../../scripts/normalize-generated-markdown.mjs docs"
|
|
41
46
|
}
|
|
42
47
|
}
|