@openpkg-ts/spec 0.11.1 → 0.12.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/index.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ type SpecSource = {
|
|
|
29
29
|
file?: string;
|
|
30
30
|
line?: number;
|
|
31
31
|
url?: string;
|
|
32
|
+
/** Package name for external types (e.g., "@stacks/common") */
|
|
33
|
+
package?: string;
|
|
34
|
+
/** Package version for external types (e.g., "7.0.0") */
|
|
35
|
+
version?: string;
|
|
32
36
|
};
|
|
33
37
|
type SpecSchemaPrimitive = {
|
|
34
38
|
type: "string";
|
|
@@ -86,6 +90,7 @@ type SpecSchemaCombinator = {
|
|
|
86
90
|
};
|
|
87
91
|
type SpecSchemaRef = {
|
|
88
92
|
$ref: string;
|
|
93
|
+
typeArguments?: SpecSchema[];
|
|
89
94
|
};
|
|
90
95
|
type SpecSchemaFallback = {
|
|
91
96
|
type: string;
|
|
@@ -193,6 +198,8 @@ type SpecType = {
|
|
|
193
198
|
typeAliasKind?: SpecTypeAliasKind;
|
|
194
199
|
conditionalType?: SpecConditionalType;
|
|
195
200
|
mappedType?: SpecMappedType;
|
|
201
|
+
/** Whether this type is from an external package (node_modules) */
|
|
202
|
+
external?: boolean;
|
|
196
203
|
};
|
|
197
204
|
type OpenPkgMeta = {
|
|
198
205
|
name: string;
|