@formspec/build 0.1.0-alpha.44 → 0.1.0-alpha.46
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/analyzer/class-analyzer.d.ts.map +1 -1
- package/dist/analyzer/program.d.ts +4 -1
- package/dist/analyzer/program.d.ts.map +1 -1
- package/dist/analyzer/tsdoc-parser.d.ts.map +1 -1
- package/dist/browser.cjs +33 -7
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +34 -10
- package/dist/browser.js.map +1 -1
- package/dist/build-alpha.d.ts +106 -5
- package/dist/build-beta.d.ts +106 -5
- package/dist/build-internal.d.ts +106 -5
- package/dist/build.d.ts +106 -5
- package/dist/cli.cjs +364 -116
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +360 -115
- package/dist/cli.js.map +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/registry.d.ts +64 -5
- package/dist/extensions/registry.d.ts.map +1 -1
- package/dist/extensions/symbol-registry.d.ts +33 -0
- package/dist/extensions/symbol-registry.d.ts.map +1 -0
- package/dist/generators/class-schema.d.ts +32 -0
- package/dist/generators/class-schema.d.ts.map +1 -1
- package/dist/generators/discovered-schema.d.ts.map +1 -1
- package/dist/index.cjs +350 -109
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +351 -112
- package/dist/index.js.map +1 -1
- package/dist/internals.cjs +121 -23
- package/dist/internals.cjs.map +1 -1
- package/dist/internals.d.ts +2 -2
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +121 -26
- package/dist/internals.js.map +1 -1
- package/dist/json-schema/generator.d.ts.map +1 -1
- package/dist/metadata/collision-guards.d.ts.map +1 -1
- package/dist/metadata/policy.d.ts.map +1 -1
- package/dist/metadata/resolve.d.ts.map +1 -1
- package/dist/ui-schema/ir-generator.d.ts.map +1 -1
- package/dist/validate/constraint-validator.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
6
|
export { createExtensionRegistry } from "./registry.js";
|
|
7
|
-
export type { ExtensionRegistry } from "./registry.js";
|
|
7
|
+
export type { ExtensionRegistry, ExtensionTypeLookupResult, MutableExtensionRegistry, } from "./registry.js";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EACV,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,eAAe,CAAC"}
|
|
@@ -7,7 +7,23 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
*/
|
|
10
|
+
import type * as ts from "typescript";
|
|
10
11
|
import type { ExtensionDefinition, CustomTypeRegistration, CustomConstraintRegistration, CustomAnnotationRegistration, ConstraintTagRegistration, BuiltinConstraintBroadeningRegistration } from "@formspec/core";
|
|
12
|
+
/**
|
|
13
|
+
* The result of a successful extension type lookup.
|
|
14
|
+
*
|
|
15
|
+
* Returned by {@link ExtensionRegistry.findTypeByName},
|
|
16
|
+
* {@link ExtensionRegistry.findTypeByBrand}, and
|
|
17
|
+
* {@link ExtensionRegistry.findTypeBySymbol}.
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface ExtensionTypeLookupResult {
|
|
22
|
+
/** The fully-qualified extension ID (e.g., "x-stripe/monetary"). */
|
|
23
|
+
readonly extensionId: string;
|
|
24
|
+
/** The custom type registration matched by this lookup. */
|
|
25
|
+
readonly registration: CustomTypeRegistration;
|
|
26
|
+
}
|
|
11
27
|
/**
|
|
12
28
|
* A registry of extensions that provides lookup by fully-qualified ID.
|
|
13
29
|
*
|
|
@@ -33,10 +49,32 @@ export interface ExtensionRegistry {
|
|
|
33
49
|
* This is used during TSDoc/class analysis to resolve extension-defined
|
|
34
50
|
* custom types from source-level declarations.
|
|
35
51
|
*/
|
|
36
|
-
findTypeByName(typeName: string):
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
52
|
+
findTypeByName(typeName: string): ExtensionTypeLookupResult | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Look up a custom type registration by a brand identifier.
|
|
55
|
+
*
|
|
56
|
+
* This is used during class analysis to resolve extension-defined custom types
|
|
57
|
+
* via structural brand detection (`unique symbol` computed property keys).
|
|
58
|
+
* Brand identifiers are stored as plain strings, so they must be unique
|
|
59
|
+
* across all extensions loaded into the registry.
|
|
60
|
+
*
|
|
61
|
+
* @param brand - The identifier text of the `unique symbol` brand variable.
|
|
62
|
+
*/
|
|
63
|
+
findTypeByBrand(brand: string): ExtensionTypeLookupResult | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Look up a custom type by its TypeScript symbol identity.
|
|
66
|
+
*
|
|
67
|
+
* Built from `defineCustomType<T>()` type parameter extraction in the config file.
|
|
68
|
+
* This is the most precise detection path — it uses `ts.Symbol` identity, which is
|
|
69
|
+
* immune to import aliases and name collisions.
|
|
70
|
+
*
|
|
71
|
+
* Returns `undefined` until {@link MutableExtensionRegistry.setSymbolMap} has been
|
|
72
|
+
* called (i.e., before the TypeScript program is available), or when the symbol is
|
|
73
|
+
* not registered via a type parameter.
|
|
74
|
+
*
|
|
75
|
+
* @param symbol - The canonical TypeScript symbol to look up.
|
|
76
|
+
*/
|
|
77
|
+
findTypeBySymbol(symbol: ts.Symbol): ExtensionTypeLookupResult | undefined;
|
|
40
78
|
/**
|
|
41
79
|
* Look up a custom constraint registration by its fully-qualified constraint ID.
|
|
42
80
|
*
|
|
@@ -66,6 +104,27 @@ export interface ExtensionRegistry {
|
|
|
66
104
|
*/
|
|
67
105
|
findAnnotation(annotationId: string): CustomAnnotationRegistration | undefined;
|
|
68
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Mutable extension registry used internally by the build pipeline.
|
|
109
|
+
*
|
|
110
|
+
* Extends {@link ExtensionRegistry} with `setSymbolMap`, which must be called
|
|
111
|
+
* after the TypeScript program is created. Consumer code should accept only
|
|
112
|
+
* the read-only {@link ExtensionRegistry} interface.
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export interface MutableExtensionRegistry extends ExtensionRegistry {
|
|
117
|
+
/**
|
|
118
|
+
* Sets the symbol map built from config AST analysis.
|
|
119
|
+
*
|
|
120
|
+
* Called after the TypeScript program is created and the config file is analyzed.
|
|
121
|
+
* Prior to this call, {@link ExtensionRegistry.findTypeBySymbol} always returns
|
|
122
|
+
* `undefined`.
|
|
123
|
+
*
|
|
124
|
+
* @param map - A map from canonical `ts.Symbol` to the matching registry entry.
|
|
125
|
+
*/
|
|
126
|
+
setSymbolMap(map: Map<ts.Symbol, ExtensionTypeLookupResult>): void;
|
|
127
|
+
}
|
|
69
128
|
/**
|
|
70
129
|
* Creates an extension registry from a list of extension definitions.
|
|
71
130
|
*
|
|
@@ -79,5 +138,5 @@ export interface ExtensionRegistry {
|
|
|
79
138
|
*
|
|
80
139
|
* @public
|
|
81
140
|
*/
|
|
82
|
-
export declare function createExtensionRegistry(extensions: readonly ExtensionDefinition[]):
|
|
141
|
+
export declare function createExtensionRegistry(extensions: readonly ExtensionDefinition[]): MutableExtensionRegistry;
|
|
83
142
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/extensions/registry.ts"],"names":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IAEtE;;;;;;;;;;;;OAYG;IACH,gBAAgB,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAAC;IAE3E;;;;;OAKG;IACH,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,4BAA4B,GAAG,SAAS,CAAC;IAC/E;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAC7B;QACE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;KAClD,GACD,SAAS,CAAC;IACd;;OAEG;IACH,+BAA+B,CAC7B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,GAEb;QACE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,YAAY,EAAE,uCAAuC,CAAC;KAChE,GACD,SAAS,CAAC;IAEd;;;;;OAKG;IACH,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,4BAA4B,GAAG,SAAS,CAAC;CAChF;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE;;;;;;;;OAQG;IACH,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,yBAAyB,CAAC,GAAG,IAAI,CAAC;CACpE;AAuBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,SAAS,mBAAmB,EAAE,GACzC,wBAAwB,CAuK1B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Symbol-based custom type registry.
|
|
3
|
+
*
|
|
4
|
+
* Walks the FormSpec config file AST to find `defineCustomType<T>()` calls,
|
|
5
|
+
* extracts the TypeScript type argument, resolves it to a canonical `ts.Symbol`,
|
|
6
|
+
* and builds a `Map` for O(1) symbol-identity lookup during field analysis.
|
|
7
|
+
*
|
|
8
|
+
* This detection path is the most precise available — it uses TypeScript's own
|
|
9
|
+
* type identity, making it immune to import aliases and name collisions.
|
|
10
|
+
*
|
|
11
|
+
* @packageDocumentation
|
|
12
|
+
*/
|
|
13
|
+
import * as ts from "typescript";
|
|
14
|
+
import type { ExtensionRegistry, ExtensionTypeLookupResult } from "./registry.js";
|
|
15
|
+
/**
|
|
16
|
+
* Walks the config file's AST to find `defineCustomType<T>()` calls,
|
|
17
|
+
* extracts type arguments, resolves them to ts.Symbol, and builds a
|
|
18
|
+
* Map for O(1) symbol-identity lookup during field analysis.
|
|
19
|
+
*
|
|
20
|
+
* Returns an empty map if the config file isn't in the program, has
|
|
21
|
+
* no `defineCustomType` calls, or none have type arguments.
|
|
22
|
+
*
|
|
23
|
+
* @param configPath - Absolute path to the FormSpec config file.
|
|
24
|
+
* @param program - The TypeScript program that includes the config file.
|
|
25
|
+
* @param checker - Type checker for the program.
|
|
26
|
+
* @param extensionRegistry - The runtime extension registry already built from
|
|
27
|
+
* the config's export; used to look up the matching registration by typeName.
|
|
28
|
+
* @returns A map from canonical ts.Symbol to the matching registry entry.
|
|
29
|
+
*
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare function buildSymbolMapFromConfig(configPath: string, program: ts.Program, checker: ts.TypeChecker, extensionRegistry: ExtensionRegistry): Map<ts.Symbol, ExtensionTypeLookupResult>;
|
|
33
|
+
//# sourceMappingURL=symbol-registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"symbol-registry.d.ts","sourceRoot":"","sources":["../../src/extensions/symbol-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAMlF;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,iBAAiB,EAAE,iBAAiB,GACnC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,yBAAyB,CAAC,CA+D3C"}
|
|
@@ -141,6 +141,22 @@ export interface StaticSchemaGenerationOptions {
|
|
|
141
141
|
readonly metadata?: MetadataPolicyInput | undefined;
|
|
142
142
|
/** Discriminator-specific schema generation behavior. */
|
|
143
143
|
readonly discriminator?: DiscriminatorResolutionOptions | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* Absolute path to the FormSpec config file (e.g., `formspec.config.ts`).
|
|
146
|
+
*
|
|
147
|
+
* When provided alongside a `config` that includes extensions, the build
|
|
148
|
+
* pipeline includes the config file in the TypeScript program and extracts
|
|
149
|
+
* `defineCustomType<T>()` type parameters. This enables symbol-based custom
|
|
150
|
+
* type detection — the most precise resolution path, immune to import aliases
|
|
151
|
+
* and name collisions.
|
|
152
|
+
*
|
|
153
|
+
* Obtain this from `loadFormSpecConfig()`:
|
|
154
|
+
* ```typescript
|
|
155
|
+
* const { config, configPath } = await loadFormSpecConfig();
|
|
156
|
+
* await generateSchemas({ filePath, typeName, config, configPath, errorReporting: "throw" });
|
|
157
|
+
* ```
|
|
158
|
+
*/
|
|
159
|
+
readonly configPath?: string | undefined;
|
|
144
160
|
}
|
|
145
161
|
/**
|
|
146
162
|
* Options for generating schemas from a decorated class.
|
|
@@ -357,4 +373,20 @@ export declare function generateSchemasBatch(options: GenerateSchemasBatchOption
|
|
|
357
373
|
* @public
|
|
358
374
|
*/
|
|
359
375
|
export declare function generateSchemasBatchFromProgram(options: GenerateSchemasBatchFromProgramOptions): readonly DetailedSchemaGenerationTargetResult[];
|
|
376
|
+
/**
|
|
377
|
+
* Resolves the effective extension registry, vendor prefix, enum serialization,
|
|
378
|
+
* and metadata from a `StaticSchemaGenerationOptions` object.
|
|
379
|
+
*
|
|
380
|
+
* Prefers explicit deprecated fields when present, falling back to the
|
|
381
|
+
* `config` object. This is the migration bridge — once all callers use
|
|
382
|
+
* `config`, the deprecated field reads can be removed.
|
|
383
|
+
*
|
|
384
|
+
* @internal
|
|
385
|
+
*/
|
|
386
|
+
export declare function resolveStaticOptions(options: StaticSchemaGenerationOptions): {
|
|
387
|
+
extensionRegistry: ExtensionRegistry | undefined;
|
|
388
|
+
vendorPrefix: string | undefined;
|
|
389
|
+
enumSerialization: "enum" | "oneOf" | undefined;
|
|
390
|
+
metadata: MetadataPolicyInput | undefined;
|
|
391
|
+
};
|
|
360
392
|
//# sourceMappingURL=class-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class-schema.d.ts","sourceRoot":"","sources":["../../src/generators/class-schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,EAEL,KAAK,8BAA8B,EACnC,KAAK,eAAe,EACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,cAAc,EACpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file":"class-schema.d.ts","sourceRoot":"","sources":["../../src/generators/class-schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAS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AC,OAAO,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B,GACA,0BAA0B,CAK5B;AAuBD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,2BAA2B,GACnC,SAAS,oCAAoC,EAAE,CA4DjD;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,sCAAsC,GAC9C,SAAS,oCAAoC,EAAE,CAiBjD;AAMD;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,6BAA6B,GAAG;IAC5E,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACjD,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,iBAAiB,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IAChD,QAAQ,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAC3C,CAqBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discovered-schema.d.ts","sourceRoot":"","sources":["../../src/generators/discovered-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAQjC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"discovered-schema.d.ts","sourceRoot":"","sources":["../../src/generators/discovered-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAQjC,OAAO,KAAK,EAAuB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAU7D,OAAO,EAIL,KAAK,6BAA6B,EACnC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA4B,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAU/F;;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