@teambit/semantics.entities.semantic-schema 0.0.78 → 0.0.80
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/api-schema.d.ts +3 -3
- package/dist/api-schema.js +160 -115
- package/dist/api-schema.js.map +1 -1
- package/dist/export.d.ts +2 -2
- package/dist/export.js +27 -23
- package/dist/export.js.map +1 -1
- package/dist/index.js +134 -39
- package/dist/index.js.map +1 -1
- package/dist/schema-node-constructor.js +1 -1
- package/dist/schema-node-constructor.js.map +1 -1
- package/dist/schema-node.js +45 -40
- package/dist/schema-node.js.map +1 -1
- package/dist/schema-registry.js +36 -23
- package/dist/schema-registry.js.map +1 -1
- package/dist/schemas/array-literal-expression.js +43 -23
- package/dist/schemas/array-literal-expression.js.map +1 -1
- package/dist/schemas/class.d.ts +17 -17
- package/dist/schemas/class.js +116 -83
- package/dist/schemas/class.js.map +1 -1
- package/dist/schemas/conditional-type.js +58 -36
- package/dist/schemas/conditional-type.js.map +1 -1
- package/dist/schemas/constructor.js +46 -18
- package/dist/schemas/constructor.js.map +1 -1
- package/dist/schemas/decorator.d.ts +12 -12
- package/dist/schemas/decorator.js +64 -40
- package/dist/schemas/decorator.js.map +1 -1
- package/dist/schemas/docs/doc.d.ts +10 -10
- package/dist/schemas/docs/doc.js +66 -51
- package/dist/schemas/docs/doc.js.map +1 -1
- package/dist/schemas/docs/index.js +57 -10
- package/dist/schemas/docs/index.js.map +1 -1
- package/dist/schemas/docs/property-like-tag.d.ts +5 -5
- package/dist/schemas/docs/property-like-tag.js +51 -32
- package/dist/schemas/docs/property-like-tag.js.map +1 -1
- package/dist/schemas/docs/return-tag.d.ts +6 -6
- package/dist/schemas/docs/return-tag.js +47 -29
- package/dist/schemas/docs/return-tag.js.map +1 -1
- package/dist/schemas/docs/tag.d.ts +5 -5
- package/dist/schemas/docs/tag.js +68 -58
- package/dist/schemas/docs/tag.js.map +1 -1
- package/dist/schemas/enum-member.d.ts +11 -11
- package/dist/schemas/enum-member.js +59 -40
- package/dist/schemas/enum-member.js.map +1 -1
- package/dist/schemas/enum.d.ts +8 -8
- package/dist/schemas/enum.js +81 -52
- package/dist/schemas/enum.js.map +1 -1
- package/dist/schemas/export.d.ts +9 -9
- package/dist/schemas/export.js +84 -58
- package/dist/schemas/export.js.map +1 -1
- package/dist/schemas/expression-with-arguments.js +53 -31
- package/dist/schemas/expression-with-arguments.js.map +1 -1
- package/dist/schemas/function-like.d.ts +16 -16
- package/dist/schemas/function-like.js +136 -99
- package/dist/schemas/function-like.js.map +1 -1
- package/dist/schemas/get-accessor.js +67 -42
- package/dist/schemas/get-accessor.js.map +1 -1
- package/dist/schemas/ignored.d.ts +1 -1
- package/dist/schemas/ignored.js +49 -30
- package/dist/schemas/ignored.js.map +1 -1
- package/dist/schemas/index-signature.js +55 -28
- package/dist/schemas/index-signature.js.map +1 -1
- package/dist/schemas/index.js +620 -107
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/indexed-access-type.js +50 -30
- package/dist/schemas/indexed-access-type.js.map +1 -1
- package/dist/schemas/inference-type.d.ts +8 -8
- package/dist/schemas/inference-type.js +54 -38
- package/dist/schemas/inference-type.js.map +1 -1
- package/dist/schemas/interface.d.ts +11 -11
- package/dist/schemas/interface.js +100 -67
- package/dist/schemas/interface.js.map +1 -1
- package/dist/schemas/keyword-type.js +35 -22
- package/dist/schemas/keyword-type.js.map +1 -1
- package/dist/schemas/literal-type.js +35 -22
- package/dist/schemas/literal-type.js.map +1 -1
- package/dist/schemas/literal-value.js +36 -23
- package/dist/schemas/literal-value.js.map +1 -1
- package/dist/schemas/module.d.ts +1 -1
- package/dist/schemas/module.js +81 -57
- package/dist/schemas/module.js.map +1 -1
- package/dist/schemas/named-tuple.d.ts +3 -3
- package/dist/schemas/named-tuple.js +48 -28
- package/dist/schemas/named-tuple.js.map +1 -1
- package/dist/schemas/object-literal-expression.js +47 -30
- package/dist/schemas/object-literal-expression.js.map +1 -1
- package/dist/schemas/parameter.d.ts +5 -5
- package/dist/schemas/parameter.js +83 -61
- package/dist/schemas/parameter.js.map +1 -1
- package/dist/schemas/parenthesized-type.js +45 -26
- package/dist/schemas/parenthesized-type.js.map +1 -1
- package/dist/schemas/property-assignment.d.ts +10 -10
- package/dist/schemas/property-assignment.js +61 -34
- package/dist/schemas/property-assignment.js.map +1 -1
- package/dist/schemas/set-accessor.d.ts +2 -2
- package/dist/schemas/set-accessor.js +60 -35
- package/dist/schemas/set-accessor.js.map +1 -1
- package/dist/schemas/template-literal-type-span.js +48 -28
- package/dist/schemas/template-literal-type-span.js.map +1 -1
- package/dist/schemas/template-literal-type.js +47 -27
- package/dist/schemas/template-literal-type.js.map +1 -1
- package/dist/schemas/this-type.js +29 -19
- package/dist/schemas/this-type.js.map +1 -1
- package/dist/schemas/tuple-type.js +42 -23
- package/dist/schemas/tuple-type.js.map +1 -1
- package/dist/schemas/type-array.js +45 -26
- package/dist/schemas/type-array.js.map +1 -1
- package/dist/schemas/type-intersection.js +45 -26
- package/dist/schemas/type-intersection.js.map +1 -1
- package/dist/schemas/type-literal.js +56 -37
- package/dist/schemas/type-literal.js.map +1 -1
- package/dist/schemas/type-operator.js +48 -28
- package/dist/schemas/type-operator.js.map +1 -1
- package/dist/schemas/type-predicate.d.ts +1 -1
- package/dist/schemas/type-predicate.js +56 -36
- package/dist/schemas/type-predicate.js.map +1 -1
- package/dist/schemas/type-query.js +51 -31
- package/dist/schemas/type-query.js.map +1 -1
- package/dist/schemas/type-ref.d.ts +8 -8
- package/dist/schemas/type-ref.js +138 -101
- package/dist/schemas/type-ref.js.map +1 -1
- package/dist/schemas/type-union.js +50 -31
- package/dist/schemas/type-union.js.map +1 -1
- package/dist/schemas/type.js +74 -43
- package/dist/schemas/type.js.map +1 -1
- package/dist/schemas/unimplemented-schema.js +37 -24
- package/dist/schemas/unimplemented-schema.js.map +1 -1
- package/dist/schemas/unknown-schema.js +37 -24
- package/dist/schemas/unknown-schema.js.map +1 -1
- package/dist/schemas/unresolved-schema.js +32 -22
- package/dist/schemas/unresolved-schema.js.map +1 -1
- package/dist/schemas/variable-like.d.ts +11 -11
- package/dist/schemas/variable-like.js +84 -51
- package/dist/schemas/variable-like.js.map +1 -1
- package/dist/type.js +1 -1
- package/dist/type.js.map +1 -1
- package/dist/unknown-schema-factory.js +13 -7
- package/dist/unknown-schema-factory.js.map +1 -1
- package/package.json +4 -4
- package/types/asset.d.ts +15 -3
- package/dist/preview-1737084088495.js +0 -7
package/dist/api-schema.d.ts
CHANGED
|
@@ -16,17 +16,17 @@ export declare class APISchema extends SchemaNode {
|
|
|
16
16
|
showTitles?: boolean;
|
|
17
17
|
}): string;
|
|
18
18
|
private getReadableSectionName;
|
|
19
|
-
listSignatures(): string[];
|
|
19
|
+
listSignatures(): (string | undefined)[];
|
|
20
20
|
toObject(): {
|
|
21
21
|
module: {
|
|
22
22
|
exports: Record<string, any>[];
|
|
23
23
|
internals: Record<string, any>[];
|
|
24
|
-
namespace: string;
|
|
24
|
+
namespace: string | undefined;
|
|
25
25
|
};
|
|
26
26
|
internals: {
|
|
27
27
|
exports: Record<string, any>[];
|
|
28
28
|
internals: Record<string, any>[];
|
|
29
|
-
namespace: string;
|
|
29
|
+
namespace: string | undefined;
|
|
30
30
|
}[];
|
|
31
31
|
componentId: import("@teambit/component-id").ComponentIdObj;
|
|
32
32
|
taggedModuleExports: Record<string, any>[];
|
package/dist/api-schema.js
CHANGED
|
@@ -1,123 +1,168 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
6
|
exports.APISchema = void 0;
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
output += `${sectionBody}\n\n`;
|
|
7
|
+
function _chalk() {
|
|
8
|
+
const data = _interopRequireDefault(require("chalk"));
|
|
9
|
+
_chalk = function () {
|
|
10
|
+
return data;
|
|
11
|
+
};
|
|
12
|
+
return data;
|
|
13
|
+
}
|
|
14
|
+
function _componentId() {
|
|
15
|
+
const data = require("@teambit/component-id");
|
|
16
|
+
_componentId = function () {
|
|
17
|
+
return data;
|
|
18
|
+
};
|
|
19
|
+
return data;
|
|
20
|
+
}
|
|
21
|
+
function _schemas() {
|
|
22
|
+
const data = require("./schemas");
|
|
23
|
+
_schemas = function () {
|
|
24
|
+
return data;
|
|
25
|
+
};
|
|
26
|
+
return data;
|
|
27
|
+
}
|
|
28
|
+
function _schemaNode() {
|
|
29
|
+
const data = require("./schema-node");
|
|
30
|
+
_schemaNode = function () {
|
|
31
|
+
return data;
|
|
32
|
+
};
|
|
33
|
+
return data;
|
|
34
|
+
}
|
|
35
|
+
function _tag() {
|
|
36
|
+
const data = require("./schemas/docs/tag");
|
|
37
|
+
_tag = function () {
|
|
38
|
+
return data;
|
|
39
|
+
};
|
|
40
|
+
return data;
|
|
41
|
+
}
|
|
42
|
+
function _schemaRegistry() {
|
|
43
|
+
const data = require("./schema-registry");
|
|
44
|
+
_schemaRegistry = function () {
|
|
45
|
+
return data;
|
|
46
|
+
};
|
|
47
|
+
return data;
|
|
48
|
+
}
|
|
49
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
50
|
+
class APISchema extends _schemaNode().SchemaNode {
|
|
51
|
+
// index
|
|
52
|
+
|
|
53
|
+
constructor(location, module, internals, componentId, taggedModuleExports = []) {
|
|
54
|
+
super();
|
|
55
|
+
this.location = location;
|
|
56
|
+
this.module = module;
|
|
57
|
+
this.internals = internals;
|
|
58
|
+
this.componentId = componentId;
|
|
59
|
+
taggedModuleExports = taggedModuleExports.length && taggedModuleExports || this.listTaggedExports(module);
|
|
60
|
+
this.taggedModuleExports = taggedModuleExports;
|
|
61
|
+
}
|
|
62
|
+
listTaggedExports(module) {
|
|
63
|
+
if (!module) return [];
|
|
64
|
+
return module.exports.filter(e => {
|
|
65
|
+
if (_schemas().ExportSchema.isExportSchema(e)) {
|
|
66
|
+
return e.exportNode.doc?.hasTag(_tag().TagName.exports) || e.doc?.hasTag(_tag().TagName.exports);
|
|
67
|
+
}
|
|
68
|
+
return e.doc?.hasTag(_tag().TagName.exports);
|
|
69
|
+
}).map(e => {
|
|
70
|
+
if (_schemas().ExportSchema.isExportSchema(e)) {
|
|
71
|
+
return e.exportNode;
|
|
72
|
+
}
|
|
73
|
+
return e;
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
toString() {
|
|
77
|
+
return JSON.stringify(this.module.exports.map(exp => exp.toObject()), undefined, 2);
|
|
78
|
+
}
|
|
79
|
+
toStringPerType() {
|
|
80
|
+
const title = _chalk().default.inverse(`API Schema of ${this.componentId.toString()}\n`);
|
|
81
|
+
const getSection = (ClassObj, sectionName) => {
|
|
82
|
+
const objects = this.module.exports.filter(exp => {
|
|
83
|
+
if (_schemas().ExportSchema.isExportSchema(exp)) {
|
|
84
|
+
return exp.exportNode instanceof ClassObj;
|
|
86
85
|
}
|
|
87
|
-
return
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
static fromObject(obj) {
|
|
111
|
-
const location = obj.location;
|
|
112
|
-
const module = schemas_1.ModuleSchema.fromObject(obj.module);
|
|
113
|
-
const internals = (obj.internals || []).map((i) => schemas_1.ModuleSchema.fromObject(i));
|
|
114
|
-
const componentId = component_id_1.ComponentID.fromObject(obj.componentId);
|
|
115
|
-
const taggedModuleExports = (obj.taggedModuleExports || []).map((e) => schema_registry_1.SchemaRegistry.fromObject(e));
|
|
116
|
-
return new APISchema(location, module, internals, componentId, taggedModuleExports);
|
|
86
|
+
return exp instanceof ClassObj;
|
|
87
|
+
});
|
|
88
|
+
if (!objects.length) {
|
|
89
|
+
return '';
|
|
90
|
+
}
|
|
91
|
+
return `${_chalk().default.green.bold(sectionName)}\n${objects.map(c => c.toString({
|
|
92
|
+
color: true
|
|
93
|
+
})).join('\n')}\n\n`;
|
|
94
|
+
};
|
|
95
|
+
return title + getSection(_schemas().ModuleSchema, 'Namespaces') + getSection(_schemas().ClassSchema, 'Classes') + getSection(_schemas().InterfaceSchema, 'Interfaces') + getSection(_schemas().FunctionLikeSchema, 'Functions') + getSection(_schemas().VariableLikeSchema, 'Variables') + getSection(_schemas().TypeSchema, 'Types') + getSection(_schemas().EnumSchema, 'Enums') + getSection(_schemas().TypeRefSchema, 'TypeReferences') + getSection(_schemas().UnresolvedSchema, 'Unresolved');
|
|
96
|
+
}
|
|
97
|
+
toFullSignature(options = {
|
|
98
|
+
showDocs: true
|
|
99
|
+
}) {
|
|
100
|
+
const title = `API Schema of ${this.componentId.toString()}\n\n`;
|
|
101
|
+
const exportGroups = {};
|
|
102
|
+
for (const exp of this.module.exports) {
|
|
103
|
+
const node = _schemas().ExportSchema.isExportSchema(exp) ? exp.exportNode : exp;
|
|
104
|
+
const constructorName = node.constructor.name;
|
|
105
|
+
if (!exportGroups[constructorName]) {
|
|
106
|
+
exportGroups[constructorName] = [];
|
|
107
|
+
}
|
|
108
|
+
exportGroups[constructorName].push(exp);
|
|
117
109
|
}
|
|
118
|
-
|
|
119
|
-
|
|
110
|
+
let output = options.showTitles ? title : '';
|
|
111
|
+
for (const [sectionName, exports] of Object.entries(exportGroups)) {
|
|
112
|
+
const readableSectionName = options.showTitles ? this.getReadableSectionName(sectionName) : '';
|
|
113
|
+
output += `${readableSectionName}\n\n`;
|
|
114
|
+
const sectionBody = exports.map(exp => exp.toFullSignature(options)).join('\n\n');
|
|
115
|
+
output += `${sectionBody}\n\n`;
|
|
120
116
|
}
|
|
117
|
+
return output.trim();
|
|
118
|
+
}
|
|
119
|
+
getReadableSectionName(constructorName) {
|
|
120
|
+
const sectionNameMap = {
|
|
121
|
+
ModuleSchema: 'Namespaces',
|
|
122
|
+
ClassSchema: 'Classes',
|
|
123
|
+
InterfaceSchema: 'Interfaces',
|
|
124
|
+
FunctionLikeSchema: 'Functions',
|
|
125
|
+
VariableLikeSchema: 'Variables',
|
|
126
|
+
TypeSchema: 'Types',
|
|
127
|
+
EnumSchema: 'Enums',
|
|
128
|
+
TypeRefSchema: 'Type References',
|
|
129
|
+
UnresolvedSchema: 'Unresolved',
|
|
130
|
+
ReactSchema: 'React Components'
|
|
131
|
+
};
|
|
132
|
+
return sectionNameMap[constructorName] || constructorName;
|
|
133
|
+
}
|
|
134
|
+
listSignatures() {
|
|
135
|
+
return this.module.exports.map(exp => exp.signature);
|
|
136
|
+
}
|
|
137
|
+
toObject() {
|
|
138
|
+
return {
|
|
139
|
+
...super.toObject(),
|
|
140
|
+
module: this.module.toObject(),
|
|
141
|
+
internals: this.internals.map(i => i.toObject()),
|
|
142
|
+
componentId: this.componentId.toObject(),
|
|
143
|
+
taggedModuleExports: this.taggedModuleExports.map(e => e.toObject())
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
static fromObject(obj) {
|
|
147
|
+
const location = obj.location;
|
|
148
|
+
const module = _schemas().ModuleSchema.fromObject(obj.module);
|
|
149
|
+
const internals = (obj.internals || []).map(i => _schemas().ModuleSchema.fromObject(i));
|
|
150
|
+
const componentId = _componentId().ComponentID.fromObject(obj.componentId);
|
|
151
|
+
const taggedModuleExports = (obj.taggedModuleExports || []).map(e => _schemaRegistry().SchemaRegistry.fromObject(e));
|
|
152
|
+
return new APISchema(location, module, internals, componentId, taggedModuleExports);
|
|
153
|
+
}
|
|
154
|
+
static empty(componentId) {
|
|
155
|
+
return new APISchema({
|
|
156
|
+
filePath: '',
|
|
157
|
+
line: 0,
|
|
158
|
+
character: 0
|
|
159
|
+
}, new (_schemas().ModuleSchema)({
|
|
160
|
+
filePath: '',
|
|
161
|
+
line: 0,
|
|
162
|
+
character: 0
|
|
163
|
+
}, [], []), [], componentId);
|
|
164
|
+
}
|
|
121
165
|
}
|
|
122
166
|
exports.APISchema = APISchema;
|
|
167
|
+
|
|
123
168
|
//# sourceMappingURL=api-schema.js.map
|
package/dist/api-schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-schema.js","sourceRoot":"","sources":["../api-schema.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,wDAA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,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,GAAwB;QACxC,MAAM,QAAQ,GAAmB,GAAG,CAAC,QAAQ,CAAC;QAC9C,MAAM,MAAM,GAAiB,sBAAY,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACjE,MAAM,SAAS,GAAmB,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QACpG,MAAM,WAAW,GAAgB,0BAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACzE,MAAM,mBAAmB,GAAG,CAAC,GAAG,CAAC,mBAAmB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gCAAc,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1G,OAAO,IAAI,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,mBAAmB,CAAC,CAAC;IACtF,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,WAAwB;QACnC,OAAO,IAAI,SAAS,CAClB,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EACvC,IAAI,sBAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EACjE,EAAE,EACF,WAAW,CACZ,CAAC;IACJ,CAAC;CACF;AA9JD,8BA8JC"}
|
|
1
|
+
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_componentId","_schemas","_schemaNode","_tag","_schemaRegistry","e","__esModule","default","APISchema","SchemaNode","constructor","location","module","internals","componentId","taggedModuleExports","length","listTaggedExports","exports","filter","ExportSchema","isExportSchema","exportNode","doc","hasTag","TagName","map","toString","JSON","stringify","exp","toObject","undefined","toStringPerType","title","chalk","inverse","getSection","ClassObj","sectionName","objects","green","bold","c","color","join","ModuleSchema","ClassSchema","InterfaceSchema","FunctionLikeSchema","VariableLikeSchema","TypeSchema","EnumSchema","TypeRefSchema","UnresolvedSchema","toFullSignature","options","showDocs","exportGroups","node","constructorName","name","push","output","showTitles","Object","entries","readableSectionName","getReadableSectionName","sectionBody","trim","sectionNameMap","ReactSchema","listSignatures","signature","i","fromObject","obj","ComponentID","SchemaRegistry","empty","filePath","line","character"],"sources":["api-schema.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { ComponentID } from '@teambit/component-id';\nimport {\n ClassSchema,\n EnumSchema,\n ExportSchema,\n FunctionLikeSchema,\n InterfaceSchema,\n ModuleSchema,\n TypeRefSchema,\n TypeSchema,\n UnresolvedSchema,\n VariableLikeSchema,\n} from './schemas';\nimport { SchemaLocation, SchemaNode } from './schema-node';\nimport { TagName } from './schemas/docs/tag';\nimport { SchemaRegistry } from './schema-registry';\n\nexport class APISchema extends SchemaNode {\n readonly module: ModuleSchema; // index\n\n readonly internals: ModuleSchema[];\n\n readonly componentId: ComponentID;\n\n readonly taggedModuleExports: SchemaNode[];\n\n constructor(\n readonly location: SchemaLocation,\n module: ModuleSchema,\n internals: ModuleSchema[],\n componentId: ComponentID,\n taggedModuleExports: SchemaNode[] = []\n ) {\n super();\n this.module = module;\n this.internals = internals;\n this.componentId = componentId;\n taggedModuleExports = (taggedModuleExports.length && taggedModuleExports) || this.listTaggedExports(module);\n this.taggedModuleExports = taggedModuleExports;\n }\n\n listTaggedExports(module?: ModuleSchema): SchemaNode[] {\n if (!module) return [];\n return module.exports\n .filter((e) => {\n if (ExportSchema.isExportSchema(e)) {\n return e.exportNode.doc?.hasTag(TagName.exports) || e.doc?.hasTag(TagName.exports);\n }\n return e.doc?.hasTag(TagName.exports);\n })\n .map((e) => {\n if (ExportSchema.isExportSchema(e)) {\n return e.exportNode;\n }\n return e;\n });\n }\n\n toString() {\n return JSON.stringify(\n this.module.exports.map((exp) => exp.toObject()),\n undefined,\n 2\n );\n }\n\n toStringPerType() {\n const title = chalk.inverse(`API Schema of ${this.componentId.toString()}\\n`);\n const getSection = (ClassObj, sectionName: string) => {\n const objects = this.module.exports.filter((exp) => {\n if (ExportSchema.isExportSchema(exp)) {\n return exp.exportNode instanceof ClassObj;\n }\n return exp instanceof ClassObj;\n });\n if (!objects.length) {\n return '';\n }\n\n return `${chalk.green.bold(sectionName)}\\n${objects.map((c) => c.toString({ color: true })).join('\\n')}\\n\\n`;\n };\n\n return (\n title +\n getSection(ModuleSchema, 'Namespaces') +\n getSection(ClassSchema, 'Classes') +\n getSection(InterfaceSchema, 'Interfaces') +\n getSection(FunctionLikeSchema, 'Functions') +\n getSection(VariableLikeSchema, 'Variables') +\n getSection(TypeSchema, 'Types') +\n getSection(EnumSchema, 'Enums') +\n getSection(TypeRefSchema, 'TypeReferences') +\n getSection(UnresolvedSchema, 'Unresolved')\n );\n }\n\n toFullSignature(options: { showDocs?: boolean; showTitles?: boolean } = { showDocs: true }): string {\n const title = `API Schema of ${this.componentId.toString()}\\n\\n`;\n\n const exportGroups: { [key: string]: SchemaNode[] } = {};\n\n for (const exp of this.module.exports) {\n const node = ExportSchema.isExportSchema(exp) ? exp.exportNode : exp;\n const constructorName = node.constructor.name;\n\n if (!exportGroups[constructorName]) {\n exportGroups[constructorName] = [];\n }\n\n exportGroups[constructorName].push(exp);\n }\n\n let output = options.showTitles ? title : '';\n\n for (const [sectionName, exports] of Object.entries(exportGroups)) {\n const readableSectionName = options.showTitles ? this.getReadableSectionName(sectionName) : '';\n\n output += `${readableSectionName}\\n\\n`;\n\n const sectionBody = exports.map((exp) => exp.toFullSignature(options)).join('\\n\\n');\n\n output += `${sectionBody}\\n\\n`;\n }\n\n return output.trim();\n }\n\n private getReadableSectionName(constructorName: string): string {\n const sectionNameMap: { [key: string]: string } = {\n ModuleSchema: 'Namespaces',\n ClassSchema: 'Classes',\n InterfaceSchema: 'Interfaces',\n FunctionLikeSchema: 'Functions',\n VariableLikeSchema: 'Variables',\n TypeSchema: 'Types',\n EnumSchema: 'Enums',\n TypeRefSchema: 'Type References',\n UnresolvedSchema: 'Unresolved',\n ReactSchema: 'React Components',\n };\n\n return sectionNameMap[constructorName] || constructorName;\n }\n\n listSignatures() {\n return this.module.exports.map((exp) => exp.signature);\n }\n\n toObject() {\n return {\n ...super.toObject(),\n module: this.module.toObject(),\n internals: this.internals.map((i) => i.toObject()),\n componentId: this.componentId.toObject(),\n taggedModuleExports: this.taggedModuleExports.map((e) => e.toObject()),\n };\n }\n\n static fromObject(obj: Record<string, any>): APISchema {\n const location: SchemaLocation = obj.location;\n const module: ModuleSchema = ModuleSchema.fromObject(obj.module);\n const internals: ModuleSchema[] = (obj.internals || []).map((i: any) => ModuleSchema.fromObject(i));\n const componentId: ComponentID = ComponentID.fromObject(obj.componentId);\n const taggedModuleExports = (obj.taggedModuleExports || []).map((e: any) => SchemaRegistry.fromObject(e));\n return new APISchema(location, module, internals, componentId, taggedModuleExports);\n }\n\n static empty(componentId: ComponentID) {\n return new APISchema(\n { filePath: '', line: 0, character: 0 },\n new ModuleSchema({ filePath: '', line: 0, character: 0 }, [], []),\n [],\n componentId\n );\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,aAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,YAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,SAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,QAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAYA,SAAAK,YAAA;E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oreList":[]}
|
package/dist/export.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class Export {
|
|
|
16
16
|
* hello.value = "text"; // <-- staticProperty
|
|
17
17
|
* hello.count = 3; // <-- static property
|
|
18
18
|
*/
|
|
19
|
-
readonly staticProperties?: StaticProperties;
|
|
19
|
+
readonly staticProperties?: StaticProperties | undefined;
|
|
20
20
|
constructor(
|
|
21
21
|
/**
|
|
22
22
|
* named export identifier of the module export.
|
|
@@ -29,7 +29,7 @@ export declare class Export {
|
|
|
29
29
|
* hello.value = "text"; // <-- staticProperty
|
|
30
30
|
* hello.count = 3; // <-- static property
|
|
31
31
|
*/
|
|
32
|
-
staticProperties?: StaticProperties);
|
|
32
|
+
staticProperties?: StaticProperties | undefined);
|
|
33
33
|
toObject(): {
|
|
34
34
|
constructorName: string;
|
|
35
35
|
identifier: string;
|
package/dist/export.js
CHANGED
|
@@ -1,33 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
3
6
|
exports.Export = void 0;
|
|
4
7
|
/**
|
|
5
8
|
* @todo: this was implemented before all other schemas and is used only for composition.
|
|
6
9
|
* it needs to be align with other schemas.
|
|
7
10
|
*/
|
|
8
11
|
class Export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
12
|
+
constructor(
|
|
13
|
+
/**
|
|
14
|
+
* named export identifier of the module export.
|
|
15
|
+
*/
|
|
16
|
+
identifier,
|
|
17
|
+
/**
|
|
18
|
+
* static properties attached to this export
|
|
19
|
+
* @example
|
|
20
|
+
* export hello = () => {};
|
|
21
|
+
* hello.value = "text"; // <-- staticProperty
|
|
22
|
+
* hello.count = 3; // <-- static property
|
|
23
|
+
*/
|
|
24
|
+
staticProperties) {
|
|
25
|
+
this.identifier = identifier;
|
|
26
|
+
this.staticProperties = staticProperties;
|
|
27
|
+
}
|
|
28
|
+
toObject() {
|
|
29
|
+
return {
|
|
30
|
+
constructorName: this.constructor.name,
|
|
31
|
+
identifier: this.identifier
|
|
32
|
+
};
|
|
33
|
+
}
|
|
31
34
|
}
|
|
32
35
|
exports.Export = Export;
|
|
36
|
+
|
|
33
37
|
//# sourceMappingURL=export.js.map
|
package/dist/export.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["Export","constructor","identifier","staticProperties","toObject","constructorName","name","exports"],"sources":["export.ts"],"sourcesContent":["type Primitive = string | number | boolean | null | undefined;\nexport type StaticProperties = Map<string, Primitive>;\n\n/**\n * @todo: this was implemented before all other schemas and is used only for composition.\n * it needs to be align with other schemas.\n */\nexport class Export {\n constructor(\n /**\n * named export identifier of the module export.\n */\n readonly identifier: string,\n\n /**\n * static properties attached to this export\n * @example\n * export hello = () => {};\n * hello.value = \"text\"; // <-- staticProperty\n * hello.count = 3; // <-- static property\n */\n readonly staticProperties?: StaticProperties\n ) {}\n\n toObject() {\n return {\n constructorName: this.constructor.name,\n identifier: this.identifier,\n };\n }\n}\n"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACO,MAAMA,MAAM,CAAC;EAClBC,WAAWA;EACT;AACJ;AACA;EACaC,UAAkB;EAE3B;AACJ;AACA;AACA;AACA;AACA;AACA;EACaC,gBAAmC,EAC5C;IAAA,KAVSD,UAAkB,GAAlBA,UAAkB;IAAA,KASlBC,gBAAmC,GAAnCA,gBAAmC;EAC3C;EAEHC,QAAQA,CAAA,EAAG;IACT,OAAO;MACLC,eAAe,EAAE,IAAI,CAACJ,WAAW,CAACK,IAAI;MACtCJ,UAAU,EAAE,IAAI,CAACA;IACnB,CAAC;EACH;AACF;AAACK,OAAA,CAAAP,MAAA,GAAAA,MAAA","ignoreList":[]}
|
package/dist/index.js
CHANGED
|
@@ -1,43 +1,138 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
Schemas: true,
|
|
8
|
+
SchemaNode: true,
|
|
9
|
+
ISchemaNode: true,
|
|
10
|
+
APISchema: true,
|
|
11
|
+
Export: true,
|
|
12
|
+
StaticProperties: true,
|
|
13
|
+
TagName: true,
|
|
14
|
+
SchemaRegistry: true,
|
|
15
|
+
SchemaNodeConstructor: true,
|
|
16
|
+
Modifier: true
|
|
27
17
|
};
|
|
28
|
-
Object.defineProperty(exports, "
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
Object.defineProperty(exports, "APISchema", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _apiSchema().APISchema;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "Export", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _export().Export;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "ISchemaNode", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _schemaNode().ISchemaNode;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "Modifier", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _functionLike().Modifier;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "SchemaNode", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _schemaNode().SchemaNode;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "SchemaNodeConstructor", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return _schemaNodeConstructor().SchemaNodeConstructor;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "SchemaRegistry", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _schemaRegistry().SchemaRegistry;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
exports.Schemas = void 0;
|
|
61
|
+
Object.defineProperty(exports, "StaticProperties", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () {
|
|
64
|
+
return _export().StaticProperties;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, "TagName", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () {
|
|
70
|
+
return _tag().TagName;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
var Schemas = _interopRequireWildcard(require("./schemas"));
|
|
31
74
|
exports.Schemas = Schemas;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
75
|
+
Object.keys(Schemas).forEach(function (key) {
|
|
76
|
+
if (key === "default" || key === "__esModule") return;
|
|
77
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
78
|
+
if (key in exports && exports[key] === Schemas[key]) return;
|
|
79
|
+
Object.defineProperty(exports, key, {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () {
|
|
82
|
+
return Schemas[key];
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
function _schemaNode() {
|
|
87
|
+
const data = require("./schema-node");
|
|
88
|
+
_schemaNode = function () {
|
|
89
|
+
return data;
|
|
90
|
+
};
|
|
91
|
+
return data;
|
|
92
|
+
}
|
|
93
|
+
function _apiSchema() {
|
|
94
|
+
const data = require("./api-schema");
|
|
95
|
+
_apiSchema = function () {
|
|
96
|
+
return data;
|
|
97
|
+
};
|
|
98
|
+
return data;
|
|
99
|
+
}
|
|
100
|
+
function _export() {
|
|
101
|
+
const data = require("./export");
|
|
102
|
+
_export = function () {
|
|
103
|
+
return data;
|
|
104
|
+
};
|
|
105
|
+
return data;
|
|
106
|
+
}
|
|
107
|
+
function _tag() {
|
|
108
|
+
const data = require("./schemas/docs/tag");
|
|
109
|
+
_tag = function () {
|
|
110
|
+
return data;
|
|
111
|
+
};
|
|
112
|
+
return data;
|
|
113
|
+
}
|
|
114
|
+
function _schemaRegistry() {
|
|
115
|
+
const data = require("./schema-registry");
|
|
116
|
+
_schemaRegistry = function () {
|
|
117
|
+
return data;
|
|
118
|
+
};
|
|
119
|
+
return data;
|
|
120
|
+
}
|
|
121
|
+
function _schemaNodeConstructor() {
|
|
122
|
+
const data = require("./schema-node-constructor");
|
|
123
|
+
_schemaNodeConstructor = function () {
|
|
124
|
+
return data;
|
|
125
|
+
};
|
|
126
|
+
return data;
|
|
127
|
+
}
|
|
128
|
+
function _functionLike() {
|
|
129
|
+
const data = require("./schemas/function-like");
|
|
130
|
+
_functionLike = function () {
|
|
131
|
+
return data;
|
|
132
|
+
};
|
|
133
|
+
return data;
|
|
134
|
+
}
|
|
135
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
136
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
137
|
+
|
|
43
138
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["Schemas","_interopRequireWildcard","require","exports","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","defineProperty","enumerable","get","_schemaNode","data","_apiSchema","_export","_tag","_schemaRegistry","_schemaNodeConstructor","_functionLike","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","n","__proto__","a","getOwnPropertyDescriptor","u","i","set"],"sources":["index.ts"],"sourcesContent":["import * as Schemas from './schemas';\n\nexport { SchemaNode, ISchemaNode } from './schema-node';\nexport { APISchema } from './api-schema';\nexport { Export, StaticProperties } from './export';\nexport type { SchemaLocation as Location } from './schema-node';\nexport { TagName } from './schemas/docs/tag';\nexport { SchemaRegistry } from './schema-registry';\nexport { SchemaNodeConstructor } from './schema-node-constructor';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