@teambit/api-reference 1.0.257 → 1.0.258

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.
@@ -14,597 +14,565 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "api-reference.ui.runtime.tsx",
20
- "line": 34,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class APIReferenceUI",
24
23
  "name": "APIReferenceUI",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "api-reference.ui.runtime.tsx",
30
- "line": 35,
31
- "character": 3
32
- },
33
- "signature": "constructor APIReferenceUI(host: string, apiNodeRendererSlot: APINodeRendererSlot, code: CodeUI, workspace: WorkspaceUI): APIReferenceUI",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "api-reference.ui.runtime.tsx",
40
- "line": 36,
41
- "character": 5
42
- },
43
- "name": "host",
44
- "type": {
45
- "__schema": "KeywordTypeSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "api-reference.ui.runtime.tsx",
28
+ "line": 34,
29
+ "character": 1
30
+ },
31
+ "signature": "class APIReferenceUI",
32
+ "name": "APIReferenceUI",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "api-reference.ui.runtime.tsx",
38
+ "line": 35,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor APIReferenceUI(host: string, apiNodeRendererSlot: APINodeRendererSlot, code: CodeUI, workspace: WorkspaceUI): APIReferenceUI",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "api-reference.ui.runtime.tsx",
48
48
  "line": 36,
49
- "character": 19
49
+ "character": 5
50
50
  },
51
- "name": "string"
52
- },
53
- "isOptional": false,
54
- "isSpread": false
55
- },
56
- {
57
- "__schema": "ParameterSchema",
58
- "location": {
59
- "filePath": "api-reference.ui.runtime.tsx",
60
- "line": 37,
61
- "character": 5
51
+ "name": "host",
52
+ "type": {
53
+ "__schema": "KeywordTypeSchema",
54
+ "location": {
55
+ "filePath": "api-reference.ui.runtime.tsx",
56
+ "line": 36,
57
+ "character": 19
58
+ },
59
+ "name": "string"
60
+ },
61
+ "isOptional": false,
62
+ "isSpread": false
62
63
  },
63
- "name": "apiNodeRendererSlot",
64
- "type": {
65
- "__schema": "TypeRefSchema",
64
+ {
65
+ "__schema": "ParameterSchema",
66
66
  "location": {
67
67
  "filePath": "api-reference.ui.runtime.tsx",
68
68
  "line": 37,
69
- "character": 34
69
+ "character": 5
70
70
  },
71
- "name": "APINodeRendererSlot"
72
- },
73
- "isOptional": false,
74
- "isSpread": false
75
- },
76
- {
77
- "__schema": "ParameterSchema",
78
- "location": {
79
- "filePath": "api-reference.ui.runtime.tsx",
80
- "line": 38,
81
- "character": 5
71
+ "name": "apiNodeRendererSlot",
72
+ "type": {
73
+ "__schema": "TypeRefSchema",
74
+ "location": {
75
+ "filePath": "api-reference.ui.runtime.tsx",
76
+ "line": 37,
77
+ "character": 34
78
+ },
79
+ "name": "APINodeRendererSlot"
80
+ },
81
+ "isOptional": false,
82
+ "isSpread": false
82
83
  },
83
- "name": "code",
84
- "type": {
85
- "__schema": "TypeRefSchema",
84
+ {
85
+ "__schema": "ParameterSchema",
86
86
  "location": {
87
87
  "filePath": "api-reference.ui.runtime.tsx",
88
88
  "line": 38,
89
- "character": 19
89
+ "character": 5
90
90
  },
91
- "name": "CodeUI",
92
- "componentId": {
93
- "scope": "teambit.component",
94
- "name": "code"
95
- }
96
- },
97
- "isOptional": false,
98
- "isSpread": false
99
- },
100
- {
101
- "__schema": "ParameterSchema",
102
- "location": {
103
- "filePath": "api-reference.ui.runtime.tsx",
104
- "line": 39,
105
- "character": 5
91
+ "name": "code",
92
+ "type": {
93
+ "__schema": "TypeRefSchema",
94
+ "location": {
95
+ "filePath": "api-reference.ui.runtime.tsx",
96
+ "line": 38,
97
+ "character": 19
98
+ },
99
+ "name": "CodeUI"
100
+ },
101
+ "isOptional": false,
102
+ "isSpread": false
106
103
  },
107
- "name": "workspace",
108
- "type": {
109
- "__schema": "TypeRefSchema",
104
+ {
105
+ "__schema": "ParameterSchema",
110
106
  "location": {
111
107
  "filePath": "api-reference.ui.runtime.tsx",
112
108
  "line": 39,
113
- "character": 24
109
+ "character": 5
110
+ },
111
+ "name": "workspace",
112
+ "type": {
113
+ "__schema": "TypeRefSchema",
114
+ "location": {
115
+ "filePath": "api-reference.ui.runtime.tsx",
116
+ "line": 39,
117
+ "character": 24
118
+ },
119
+ "name": "WorkspaceUI"
114
120
  },
115
- "name": "WorkspaceUI",
116
- "componentId": {
117
- "scope": "teambit.workspace",
118
- "name": "workspace"
119
- }
121
+ "isOptional": false,
122
+ "isSpread": false
123
+ }
124
+ ],
125
+ "returnType": {
126
+ "__schema": "ThisTypeSchema",
127
+ "location": {
128
+ "filePath": "api-reference.ui.runtime.tsx",
129
+ "line": 34,
130
+ "character": 1
120
131
  },
121
- "isOptional": false,
122
- "isSpread": false
123
- }
124
- ],
125
- "returnType": {
126
- "__schema": "ThisTypeSchema",
127
- "location": {
128
- "filePath": "api-reference.ui.runtime.tsx",
129
- "line": 34,
130
- "character": 1
132
+ "name": "APIReferenceUI"
131
133
  },
132
- "name": "APIReferenceUI"
133
- },
134
- "modifiers": []
135
- },
136
- {
137
- "__schema": "VariableLikeSchema",
138
- "location": {
139
- "filePath": "api-reference.ui.runtime.tsx",
140
- "line": 42,
141
- "character": 3
134
+ "modifiers": []
142
135
  },
143
- "signature": "(property) APIReferenceUI.dependencies: Aspect[]",
144
- "name": "dependencies",
145
- "type": {
146
- "__schema": "InferenceTypeSchema",
136
+ {
137
+ "__schema": "VariableLikeSchema",
147
138
  "location": {
148
139
  "filePath": "api-reference.ui.runtime.tsx",
149
140
  "line": 42,
150
141
  "character": 3
151
142
  },
152
- "type": "Aspect[]"
153
- },
154
- "isOptional": true,
155
- "defaultValue": "[ComponentAspect, CodeAspect, WorkspaceAspect]"
156
- },
157
- {
158
- "__schema": "VariableLikeSchema",
159
- "location": {
160
- "filePath": "api-reference.ui.runtime.tsx",
161
- "line": 43,
162
- "character": 3
143
+ "signature": "(property) APIReferenceUI.dependencies: Aspect[]",
144
+ "name": "dependencies",
145
+ "type": {
146
+ "__schema": "InferenceTypeSchema",
147
+ "location": {
148
+ "filePath": "api-reference.ui.runtime.tsx",
149
+ "line": 42,
150
+ "character": 3
151
+ },
152
+ "type": "Aspect[]"
153
+ },
154
+ "isOptional": true,
155
+ "defaultValue": "[ComponentAspect, CodeAspect, WorkspaceAspect]"
163
156
  },
164
- "signature": "(property) APIReferenceUI.runtime: RuntimeDefinition",
165
- "name": "runtime",
166
- "type": {
167
- "__schema": "InferenceTypeSchema",
157
+ {
158
+ "__schema": "VariableLikeSchema",
168
159
  "location": {
169
160
  "filePath": "api-reference.ui.runtime.tsx",
170
161
  "line": 43,
171
162
  "character": 3
172
163
  },
173
- "type": "RuntimeDefinition"
174
- },
175
- "isOptional": true,
176
- "defaultValue": "UIRuntime"
177
- },
178
- {
179
- "__schema": "VariableLikeSchema",
180
- "location": {
181
- "filePath": "api-reference.ui.runtime.tsx",
182
- "line": 44,
183
- "character": 3
164
+ "signature": "(property) APIReferenceUI.runtime: RuntimeDefinition",
165
+ "name": "runtime",
166
+ "type": {
167
+ "__schema": "InferenceTypeSchema",
168
+ "location": {
169
+ "filePath": "api-reference.ui.runtime.tsx",
170
+ "line": 43,
171
+ "character": 3
172
+ },
173
+ "type": "RuntimeDefinition"
174
+ },
175
+ "isOptional": true,
176
+ "defaultValue": "UIRuntime"
184
177
  },
185
- "signature": "(property) APIReferenceUI.slots: ((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]",
186
- "name": "slots",
187
- "type": {
188
- "__schema": "InferenceTypeSchema",
178
+ {
179
+ "__schema": "VariableLikeSchema",
189
180
  "location": {
190
181
  "filePath": "api-reference.ui.runtime.tsx",
191
182
  "line": 44,
192
183
  "character": 3
193
184
  },
194
- "type": "((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]"
195
- },
196
- "isOptional": true,
197
- "defaultValue": "[Slot.withType<APINodeRenderer[]>()]"
198
- },
199
- {
200
- "__schema": "ReactSchema",
201
- "location": {
202
- "filePath": "api-reference.ui.runtime.tsx",
203
- "line": 46,
204
- "character": 3
185
+ "signature": "(property) APIReferenceUI.slots: ((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]",
186
+ "name": "slots",
187
+ "type": {
188
+ "__schema": "InferenceTypeSchema",
189
+ "location": {
190
+ "filePath": "api-reference.ui.runtime.tsx",
191
+ "line": 44,
192
+ "character": 3
193
+ },
194
+ "type": "((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]"
195
+ },
196
+ "isOptional": true,
197
+ "defaultValue": "[Slot.withType<APINodeRenderer[]>()]"
205
198
  },
206
- "signature": "(method) APIReferenceUI.getAPIPage(): React.JSX.Element",
207
- "name": "getAPIPage",
208
- "returnType": {
209
- "__schema": "TypeRefSchema",
199
+ {
200
+ "__schema": "ReactSchema",
210
201
  "location": {
211
202
  "filePath": "api-reference.ui.runtime.tsx",
212
203
  "line": 46,
213
204
  "character": 3
214
205
  },
215
- "name": "React.JSX.Element",
216
- "packageName": "react"
217
- },
218
- "modifiers": []
219
- },
220
- {
221
- "__schema": "VariableLikeSchema",
222
- "location": {
223
- "filePath": "api-reference.ui.runtime.tsx",
224
- "line": 55,
225
- "character": 3
206
+ "signature": "(method) APIReferenceUI.getAPIPage(): React.JSX.Element",
207
+ "name": "getAPIPage",
208
+ "returnType": {
209
+ "__schema": "TypeRefSchema",
210
+ "location": {
211
+ "filePath": "api-reference.ui.runtime.tsx",
212
+ "line": 46,
213
+ "character": 3
214
+ },
215
+ "name": "React.JSX.Element",
216
+ "packageName": "react"
217
+ },
218
+ "modifiers": []
226
219
  },
227
- "signature": "(property) APIReferenceUI.TaggedAPIPage: ({ componentId }: {\n componentId: string;\n}) => React.JSX.Element",
228
- "name": "TaggedAPIPage",
229
- "type": {
230
- "__schema": "InferenceTypeSchema",
220
+ {
221
+ "__schema": "VariableLikeSchema",
231
222
  "location": {
232
223
  "filePath": "api-reference.ui.runtime.tsx",
233
224
  "line": 55,
234
225
  "character": 3
235
226
  },
236
- "type": "({ componentId }: {\n componentId: string;\n}) => React.JSX.Element"
237
- },
238
- "isOptional": true,
239
- "defaultValue": "({ componentId }: { componentId: string }) => {\n return (\n <APIRefRenderersProvider nodeRenderers={flatten(this.apiNodeRendererSlot.values())}>\n <TaggedExports componentId={componentId} showBanner={Boolean(this.workspace)} />\n </APIRefRenderersProvider>\n );\n }"
240
- },
241
- {
242
- "__schema": "FunctionLikeSchema",
243
- "location": {
244
- "filePath": "api-reference.ui.runtime.tsx",
245
- "line": 63,
246
- "character": 3
247
- },
248
- "signature": "(method) APIReferenceUI.registerSchemaClass(schema: SchemaNodeConstructor): void",
249
- "name": "registerSchemaClass",
250
- "params": [
251
- {
252
- "__schema": "ParameterSchema",
227
+ "signature": "(property) APIReferenceUI.TaggedAPIPage: ({ componentId }: {\n componentId: string;\n}) => React.JSX.Element",
228
+ "name": "TaggedAPIPage",
229
+ "type": {
230
+ "__schema": "InferenceTypeSchema",
253
231
  "location": {
254
232
  "filePath": "api-reference.ui.runtime.tsx",
255
- "line": 63,
256
- "character": 23
233
+ "line": 55,
234
+ "character": 3
257
235
  },
258
- "name": "schema",
259
- "type": {
260
- "__schema": "TypeRefSchema",
236
+ "type": "({ componentId }: {\n componentId: string;\n}) => React.JSX.Element"
237
+ },
238
+ "isOptional": true,
239
+ "defaultValue": "({ componentId }: { componentId: string }) => {\n return (\n <APIRefRenderersProvider nodeRenderers={flatten(this.apiNodeRendererSlot.values())}>\n <TaggedExports componentId={componentId} showBanner={Boolean(this.workspace)} />\n </APIRefRenderersProvider>\n );\n }"
240
+ },
241
+ {
242
+ "__schema": "FunctionLikeSchema",
243
+ "location": {
244
+ "filePath": "api-reference.ui.runtime.tsx",
245
+ "line": 63,
246
+ "character": 3
247
+ },
248
+ "signature": "(method) APIReferenceUI.registerSchemaClass(schema: SchemaNodeConstructor): void",
249
+ "name": "registerSchemaClass",
250
+ "params": [
251
+ {
252
+ "__schema": "ParameterSchema",
261
253
  "location": {
262
254
  "filePath": "api-reference.ui.runtime.tsx",
263
255
  "line": 63,
264
- "character": 31
256
+ "character": 23
265
257
  },
266
- "name": "SchemaNodeConstructor",
267
- "componentId": {
268
- "scope": "teambit.semantics",
269
- "name": "entities/semantic-schema",
270
- "version": "0.0.68"
271
- }
258
+ "name": "schema",
259
+ "type": {
260
+ "__schema": "TypeRefSchema",
261
+ "location": {
262
+ "filePath": "api-reference.ui.runtime.tsx",
263
+ "line": 63,
264
+ "character": 31
265
+ },
266
+ "name": "SchemaNodeConstructor"
267
+ },
268
+ "isOptional": false,
269
+ "isSpread": false
270
+ }
271
+ ],
272
+ "returnType": {
273
+ "__schema": "InferenceTypeSchema",
274
+ "location": {
275
+ "filePath": "api-reference.ui.runtime.tsx",
276
+ "line": 63,
277
+ "character": 3
272
278
  },
273
- "isOptional": false,
274
- "isSpread": false
275
- }
276
- ],
277
- "returnType": {
278
- "__schema": "InferenceTypeSchema",
279
- "location": {
280
- "filePath": "api-reference.ui.runtime.tsx",
281
- "line": 63,
282
- "character": 3
279
+ "type": "void"
283
280
  },
284
- "type": "void"
285
- },
286
- "modifiers": []
287
- },
288
- {
289
- "__schema": "FunctionLikeSchema",
290
- "location": {
291
- "filePath": "api-reference.ui.runtime.tsx",
292
- "line": 67,
293
- "character": 3
281
+ "modifiers": []
294
282
  },
295
- "signature": "(method) APIReferenceUI.getSchemaClasses(): () => Record<string, SchemaNodeConstructor>",
296
- "name": "getSchemaClasses",
297
- "params": [],
298
- "returnType": {
299
- "__schema": "InferenceTypeSchema",
283
+ {
284
+ "__schema": "FunctionLikeSchema",
300
285
  "location": {
301
286
  "filePath": "api-reference.ui.runtime.tsx",
302
287
  "line": 67,
303
288
  "character": 3
304
289
  },
305
- "type": "() => Record<string, SchemaNodeConstructor>"
306
- },
307
- "modifiers": []
308
- },
309
- {
310
- "__schema": "FunctionLikeSchema",
311
- "location": {
312
- "filePath": "api-reference.ui.runtime.tsx",
313
- "line": 71,
314
- "character": 3
315
- },
316
- "signature": "(method) APIReferenceUI.registerAPINodeRenderer(apiNodeRenderers: APINodeRenderer[]): void",
317
- "name": "registerAPINodeRenderer",
318
- "params": [
319
- {
320
- "__schema": "ParameterSchema",
290
+ "signature": "(method) APIReferenceUI.getSchemaClasses(): () => Record<string, SchemaNodeConstructor>",
291
+ "name": "getSchemaClasses",
292
+ "params": [],
293
+ "returnType": {
294
+ "__schema": "InferenceTypeSchema",
321
295
  "location": {
322
296
  "filePath": "api-reference.ui.runtime.tsx",
323
- "line": 71,
324
- "character": 27
297
+ "line": 67,
298
+ "character": 3
325
299
  },
326
- "name": "apiNodeRenderers",
327
- "type": {
328
- "__schema": "TypeArraySchema",
300
+ "type": "() => Record<string, SchemaNodeConstructor>"
301
+ },
302
+ "modifiers": []
303
+ },
304
+ {
305
+ "__schema": "FunctionLikeSchema",
306
+ "location": {
307
+ "filePath": "api-reference.ui.runtime.tsx",
308
+ "line": 71,
309
+ "character": 3
310
+ },
311
+ "signature": "(method) APIReferenceUI.registerAPINodeRenderer(apiNodeRenderers: APINodeRenderer[]): void",
312
+ "name": "registerAPINodeRenderer",
313
+ "params": [
314
+ {
315
+ "__schema": "ParameterSchema",
329
316
  "location": {
330
317
  "filePath": "api-reference.ui.runtime.tsx",
331
318
  "line": 71,
332
- "character": 45
319
+ "character": 27
333
320
  },
321
+ "name": "apiNodeRenderers",
334
322
  "type": {
335
- "__schema": "TypeRefSchema",
323
+ "__schema": "TypeArraySchema",
336
324
  "location": {
337
325
  "filePath": "api-reference.ui.runtime.tsx",
338
326
  "line": 71,
339
327
  "character": 45
340
328
  },
341
- "name": "APINodeRenderer",
342
- "componentId": {
343
- "scope": "teambit.api-reference",
344
- "name": "models/api-node-renderer",
345
- "version": "0.0.25"
329
+ "type": {
330
+ "__schema": "TypeRefSchema",
331
+ "location": {
332
+ "filePath": "api-reference.ui.runtime.tsx",
333
+ "line": 71,
334
+ "character": 45
335
+ },
336
+ "name": "APINodeRenderer"
346
337
  }
347
- }
338
+ },
339
+ "isOptional": false,
340
+ "isSpread": false
341
+ }
342
+ ],
343
+ "returnType": {
344
+ "__schema": "InferenceTypeSchema",
345
+ "location": {
346
+ "filePath": "api-reference.ui.runtime.tsx",
347
+ "line": 71,
348
+ "character": 3
348
349
  },
349
- "isOptional": false,
350
- "isSpread": false
351
- }
352
- ],
353
- "returnType": {
354
- "__schema": "InferenceTypeSchema",
355
- "location": {
356
- "filePath": "api-reference.ui.runtime.tsx",
357
- "line": 71,
358
- "character": 3
350
+ "type": "void"
359
351
  },
360
- "type": "void"
361
- },
362
- "modifiers": []
363
- },
364
- {
365
- "__schema": "VariableLikeSchema",
366
- "location": {
367
- "filePath": "api-reference.ui.runtime.tsx",
368
- "line": 75,
369
- "character": 3
352
+ "modifiers": []
370
353
  },
371
- "signature": "(property) APIReferenceUI.apiNodeRenderers: APINodeRenderer[]",
372
- "name": "apiNodeRenderers",
373
- "type": {
374
- "__schema": "TypeArraySchema",
354
+ {
355
+ "__schema": "VariableLikeSchema",
375
356
  "location": {
376
357
  "filePath": "api-reference.ui.runtime.tsx",
377
358
  "line": 75,
378
- "character": 21
359
+ "character": 3
379
360
  },
361
+ "signature": "(property) APIReferenceUI.apiNodeRenderers: APINodeRenderer[]",
362
+ "name": "apiNodeRenderers",
380
363
  "type": {
381
- "__schema": "TypeRefSchema",
364
+ "__schema": "TypeArraySchema",
382
365
  "location": {
383
366
  "filePath": "api-reference.ui.runtime.tsx",
384
367
  "line": 75,
385
368
  "character": 21
386
369
  },
387
- "name": "APINodeRenderer",
388
- "componentId": {
389
- "scope": "teambit.api-reference",
390
- "name": "models/api-node-renderer",
391
- "version": "0.0.25"
370
+ "type": {
371
+ "__schema": "TypeRefSchema",
372
+ "location": {
373
+ "filePath": "api-reference.ui.runtime.tsx",
374
+ "line": 75,
375
+ "character": 21
376
+ },
377
+ "name": "APINodeRenderer"
392
378
  }
393
- }
394
- },
395
- "isOptional": true,
396
- "defaultValue": "[\n classRenderer,\n typeRenderer,\n interfaceRenderer,\n variableRenderer,\n functionRenderer,\n enumRenderer,\n unresolvedRenderer,\n typeRefRenderer,\n typeIntersectionRenderer,\n typeUnionRenderer,\n parameterRenderer,\n typeLiteralRenderer,\n inferenceTypeRenderer,\n typeArrayRenderer,\n thisRenderer,\n decoratorRenderer,\n ]"
397
- },
398
- {
399
- "__schema": "FunctionLikeSchema",
400
- "location": {
401
- "filePath": "api-reference.ui.runtime.tsx",
402
- "line": 94,
403
- "character": 3
379
+ },
380
+ "isOptional": true,
381
+ "defaultValue": "[\n classRenderer,\n typeRenderer,\n interfaceRenderer,\n variableRenderer,\n functionRenderer,\n enumRenderer,\n unresolvedRenderer,\n typeRefRenderer,\n typeIntersectionRenderer,\n typeUnionRenderer,\n parameterRenderer,\n typeLiteralRenderer,\n inferenceTypeRenderer,\n typeArrayRenderer,\n thisRenderer,\n decoratorRenderer,\n ]"
404
382
  },
405
- "signature": "(method) APIReferenceUI.provider([componentUI, codeUI, workspaceUI]: [ComponentUI, CodeUI, WorkspaceUI], _: any, [apiNodeRendererSlot]: [APINodeRendererSlot], harmony: Harmony): Promise<APIReferenceUI>",
406
- "name": "provider",
407
- "params": [
408
- {
409
- "__schema": "ParameterSchema",
410
- "location": {
411
- "filePath": "api-reference.ui.runtime.tsx",
412
- "line": 95,
413
- "character": 5
414
- },
415
- "name": "[ componentUI, codeUI, workspaceUI ]",
416
- "type": {
417
- "__schema": "TupleTypeSchema",
383
+ {
384
+ "__schema": "FunctionLikeSchema",
385
+ "location": {
386
+ "filePath": "api-reference.ui.runtime.tsx",
387
+ "line": 94,
388
+ "character": 3
389
+ },
390
+ "signature": "(method) APIReferenceUI.provider([componentUI, codeUI, workspaceUI]: [ComponentUI, CodeUI, WorkspaceUI], _: any, [apiNodeRendererSlot]: [APINodeRendererSlot], harmony: Harmony): Promise<APIReferenceUI>",
391
+ "name": "provider",
392
+ "params": [
393
+ {
394
+ "__schema": "ParameterSchema",
418
395
  "location": {
419
396
  "filePath": "api-reference.ui.runtime.tsx",
420
397
  "line": 95,
421
- "character": 41
398
+ "character": 5
422
399
  },
423
- "elements": [
424
- {
425
- "__schema": "TypeRefSchema",
426
- "location": {
427
- "filePath": "api-reference.ui.runtime.tsx",
428
- "line": 95,
429
- "character": 42
430
- },
431
- "name": "ComponentUI",
432
- "componentId": {
433
- "scope": "teambit.component",
434
- "name": "component"
435
- }
400
+ "name": "[ componentUI, codeUI, workspaceUI ]",
401
+ "type": {
402
+ "__schema": "TupleTypeSchema",
403
+ "location": {
404
+ "filePath": "api-reference.ui.runtime.tsx",
405
+ "line": 95,
406
+ "character": 41
436
407
  },
437
- {
438
- "__schema": "TypeRefSchema",
439
- "location": {
440
- "filePath": "api-reference.ui.runtime.tsx",
441
- "line": 95,
442
- "character": 55
408
+ "elements": [
409
+ {
410
+ "__schema": "TypeRefSchema",
411
+ "location": {
412
+ "filePath": "api-reference.ui.runtime.tsx",
413
+ "line": 95,
414
+ "character": 42
415
+ },
416
+ "name": "ComponentUI"
443
417
  },
444
- "name": "CodeUI",
445
- "componentId": {
446
- "scope": "teambit.component",
447
- "name": "code"
448
- }
449
- },
450
- {
451
- "__schema": "TypeRefSchema",
452
- "location": {
453
- "filePath": "api-reference.ui.runtime.tsx",
454
- "line": 95,
455
- "character": 63
418
+ {
419
+ "__schema": "TypeRefSchema",
420
+ "location": {
421
+ "filePath": "api-reference.ui.runtime.tsx",
422
+ "line": 95,
423
+ "character": 55
424
+ },
425
+ "name": "CodeUI"
456
426
  },
457
- "name": "WorkspaceUI",
458
- "componentId": {
459
- "scope": "teambit.workspace",
460
- "name": "workspace"
427
+ {
428
+ "__schema": "TypeRefSchema",
429
+ "location": {
430
+ "filePath": "api-reference.ui.runtime.tsx",
431
+ "line": 95,
432
+ "character": 63
433
+ },
434
+ "name": "WorkspaceUI"
461
435
  }
462
- }
463
- ]
464
- },
465
- "isOptional": false,
466
- "isSpread": false
467
- },
468
- {
469
- "__schema": "ParameterSchema",
470
- "location": {
471
- "filePath": "api-reference.ui.runtime.tsx",
472
- "line": 96,
473
- "character": 5
436
+ ]
437
+ },
438
+ "isOptional": false,
439
+ "isSpread": false
474
440
  },
475
- "name": "_",
476
- "type": {
477
- "__schema": "InferenceTypeSchema",
441
+ {
442
+ "__schema": "ParameterSchema",
478
443
  "location": {
479
444
  "filePath": "api-reference.ui.runtime.tsx",
480
445
  "line": 96,
481
446
  "character": 5
482
447
  },
483
- "type": "any"
484
- },
485
- "isOptional": false,
486
- "isSpread": false
487
- },
488
- {
489
- "__schema": "ParameterSchema",
490
- "location": {
491
- "filePath": "api-reference.ui.runtime.tsx",
492
- "line": 97,
493
- "character": 5
448
+ "name": "_",
449
+ "type": {
450
+ "__schema": "InferenceTypeSchema",
451
+ "location": {
452
+ "filePath": "api-reference.ui.runtime.tsx",
453
+ "line": 96,
454
+ "character": 5
455
+ },
456
+ "type": "any"
457
+ },
458
+ "isOptional": false,
459
+ "isSpread": false
494
460
  },
495
- "name": "[ apiNodeRendererSlot ]",
496
- "type": {
497
- "__schema": "TupleTypeSchema",
461
+ {
462
+ "__schema": "ParameterSchema",
498
463
  "location": {
499
464
  "filePath": "api-reference.ui.runtime.tsx",
500
465
  "line": 97,
501
- "character": 28
466
+ "character": 5
502
467
  },
503
- "elements": [
504
- {
505
- "__schema": "TypeRefSchema",
506
- "location": {
507
- "filePath": "api-reference.ui.runtime.tsx",
508
- "line": 97,
509
- "character": 29
510
- },
511
- "name": "APINodeRendererSlot"
512
- }
513
- ]
514
- },
515
- "isOptional": false,
516
- "isSpread": false
517
- },
518
- {
519
- "__schema": "ParameterSchema",
520
- "location": {
521
- "filePath": "api-reference.ui.runtime.tsx",
522
- "line": 98,
523
- "character": 5
468
+ "name": "[ apiNodeRendererSlot ]",
469
+ "type": {
470
+ "__schema": "TupleTypeSchema",
471
+ "location": {
472
+ "filePath": "api-reference.ui.runtime.tsx",
473
+ "line": 97,
474
+ "character": 28
475
+ },
476
+ "elements": [
477
+ {
478
+ "__schema": "TypeRefSchema",
479
+ "location": {
480
+ "filePath": "api-reference.ui.runtime.tsx",
481
+ "line": 97,
482
+ "character": 29
483
+ },
484
+ "name": "APINodeRendererSlot"
485
+ }
486
+ ]
487
+ },
488
+ "isOptional": false,
489
+ "isSpread": false
524
490
  },
525
- "name": "harmony",
526
- "type": {
527
- "__schema": "TypeRefSchema",
491
+ {
492
+ "__schema": "ParameterSchema",
528
493
  "location": {
529
494
  "filePath": "api-reference.ui.runtime.tsx",
530
495
  "line": 98,
531
- "character": 14
496
+ "character": 5
497
+ },
498
+ "name": "harmony",
499
+ "type": {
500
+ "__schema": "TypeRefSchema",
501
+ "location": {
502
+ "filePath": "api-reference.ui.runtime.tsx",
503
+ "line": 98,
504
+ "character": 14
505
+ },
506
+ "name": "Harmony"
532
507
  },
533
- "name": "Harmony",
534
- "componentId": {
535
- "scope": "teambit.harmony",
536
- "name": "harmony",
537
- "version": "0.4.6"
538
- }
508
+ "isOptional": false,
509
+ "isSpread": false
510
+ }
511
+ ],
512
+ "returnType": {
513
+ "__schema": "InferenceTypeSchema",
514
+ "location": {
515
+ "filePath": "api-reference.ui.runtime.tsx",
516
+ "line": 94,
517
+ "character": 3
539
518
  },
540
- "isOptional": false,
541
- "isSpread": false
542
- }
543
- ],
544
- "returnType": {
545
- "__schema": "InferenceTypeSchema",
546
- "location": {
547
- "filePath": "api-reference.ui.runtime.tsx",
548
- "line": 94,
549
- "character": 3
519
+ "type": "Promise<APIReferenceUI>"
550
520
  },
551
- "type": "Promise<APIReferenceUI>"
552
- },
553
- "modifiers": [
554
- "static",
555
- "async"
556
- ]
557
- }
558
- ],
559
- "extendsNodes": [],
560
- "implementNodes": []
521
+ "modifiers": [
522
+ "static",
523
+ "async"
524
+ ]
525
+ }
526
+ ],
527
+ "extendsNodes": [],
528
+ "implementNodes": []
529
+ }
561
530
  },
562
531
  {
563
- "__schema": "TypeSchema",
532
+ "__schema": "ExportSchema",
564
533
  "location": {
565
- "filePath": "api-reference.ui.runtime.tsx",
566
- "line": 33,
567
- "character": 1
534
+ "filePath": "index.ts",
535
+ "line": 3,
536
+ "character": 31
568
537
  },
569
- "signature": "type APINodeRendererSlot = SlotRegistry<APINodeRenderer[]>",
570
538
  "name": "APINodeRendererSlot",
571
- "type": {
572
- "__schema": "TypeRefSchema",
539
+ "exportNode": {
540
+ "__schema": "TypeSchema",
573
541
  "location": {
574
542
  "filePath": "api-reference.ui.runtime.tsx",
575
543
  "line": 33,
576
- "character": 35
577
- },
578
- "name": "SlotRegistry",
579
- "componentId": {
580
- "scope": "teambit.harmony",
581
- "name": "harmony",
582
- "version": "0.4.6"
544
+ "character": 1
583
545
  },
584
- "typeArgs": [
585
- {
586
- "__schema": "TypeArraySchema",
587
- "location": {
588
- "filePath": "api-reference.ui.runtime.tsx",
589
- "line": 33,
590
- "character": 48
591
- },
592
- "type": {
593
- "__schema": "TypeRefSchema",
546
+ "signature": "type APINodeRendererSlot = SlotRegistry<APINodeRenderer[]>",
547
+ "name": "APINodeRendererSlot",
548
+ "type": {
549
+ "__schema": "TypeRefSchema",
550
+ "location": {
551
+ "filePath": "api-reference.ui.runtime.tsx",
552
+ "line": 33,
553
+ "character": 35
554
+ },
555
+ "name": "SlotRegistry",
556
+ "typeArgs": [
557
+ {
558
+ "__schema": "TypeArraySchema",
594
559
  "location": {
595
560
  "filePath": "api-reference.ui.runtime.tsx",
596
561
  "line": 33,
597
562
  "character": 48
598
563
  },
599
- "name": "APINodeRenderer",
600
- "componentId": {
601
- "scope": "teambit.api-reference",
602
- "name": "models/api-node-renderer",
603
- "version": "0.0.25"
564
+ "type": {
565
+ "__schema": "TypeRefSchema",
566
+ "location": {
567
+ "filePath": "api-reference.ui.runtime.tsx",
568
+ "line": 33,
569
+ "character": 48
570
+ },
571
+ "name": "APINodeRenderer"
604
572
  }
605
573
  }
606
- }
607
- ]
574
+ ]
575
+ }
608
576
  }
609
577
  },
610
578
  {
@@ -618,30 +586,39 @@
618
586
  "type": "Identifier"
619
587
  },
620
588
  {
621
- "__schema": "VariableLikeSchema",
589
+ "__schema": "ExportSchema",
622
590
  "location": {
623
- "filePath": "api-reference.aspect.ts",
624
- "line": 3,
625
- "character": 14
591
+ "filePath": "index.ts",
592
+ "line": 5,
593
+ "character": 10
626
594
  },
627
- "signature": "const APIReferenceAspect: Aspect",
628
595
  "name": "APIReferenceAspect",
629
- "type": {
630
- "__schema": "TypeRefSchema",
596
+ "exportNode": {
597
+ "__schema": "VariableLikeSchema",
631
598
  "location": {
632
599
  "filePath": "api-reference.aspect.ts",
633
600
  "line": 3,
634
601
  "character": 14
635
602
  },
636
- "name": "Aspect",
637
- "componentId": {
638
- "scope": "teambit.harmony",
639
- "name": "harmony",
640
- "version": "0.4.6"
641
- }
642
- },
643
- "isOptional": false,
644
- "defaultValue": "Aspect.create({\n id: 'teambit.api-reference/api-reference',\n})"
603
+ "signature": "const APIReferenceAspect: Aspect",
604
+ "name": "APIReferenceAspect",
605
+ "type": {
606
+ "__schema": "TypeRefSchema",
607
+ "location": {
608
+ "filePath": "api-reference.aspect.ts",
609
+ "line": 3,
610
+ "character": 14
611
+ },
612
+ "name": "Aspect",
613
+ "componentId": {
614
+ "scope": "teambit.harmony",
615
+ "name": "harmony",
616
+ "version": "0.4.6"
617
+ }
618
+ },
619
+ "isOptional": false,
620
+ "defaultValue": "Aspect.create({\n id: 'teambit.api-reference/api-reference',\n})"
621
+ }
645
622
  }
646
623
  ],
647
624
  "internals": []
@@ -672,11 +649,6 @@
672
649
  "character": 35
673
650
  },
674
651
  "name": "SlotRegistry",
675
- "componentId": {
676
- "scope": "teambit.harmony",
677
- "name": "harmony",
678
- "version": "0.4.6"
679
- },
680
652
  "typeArgs": [
681
653
  {
682
654
  "__schema": "TypeArraySchema",
@@ -692,12 +664,7 @@
692
664
  "line": 33,
693
665
  "character": 48
694
666
  },
695
- "name": "APINodeRenderer",
696
- "componentId": {
697
- "scope": "teambit.api-reference",
698
- "name": "models/api-node-renderer",
699
- "version": "0.0.25"
700
- }
667
+ "name": "APINodeRenderer"
701
668
  }
702
669
  }
703
670
  ]
@@ -778,11 +745,7 @@
778
745
  "line": 38,
779
746
  "character": 19
780
747
  },
781
- "name": "CodeUI",
782
- "componentId": {
783
- "scope": "teambit.component",
784
- "name": "code"
785
- }
748
+ "name": "CodeUI"
786
749
  },
787
750
  "isOptional": false,
788
751
  "isSpread": false
@@ -802,11 +765,7 @@
802
765
  "line": 39,
803
766
  "character": 24
804
767
  },
805
- "name": "WorkspaceUI",
806
- "componentId": {
807
- "scope": "teambit.workspace",
808
- "name": "workspace"
809
- }
768
+ "name": "WorkspaceUI"
810
769
  },
811
770
  "isOptional": false,
812
771
  "isSpread": false
@@ -953,12 +912,7 @@
953
912
  "line": 63,
954
913
  "character": 31
955
914
  },
956
- "name": "SchemaNodeConstructor",
957
- "componentId": {
958
- "scope": "teambit.semantics",
959
- "name": "entities/semantic-schema",
960
- "version": "0.0.68"
961
- }
915
+ "name": "SchemaNodeConstructor"
962
916
  },
963
917
  "isOptional": false,
964
918
  "isSpread": false
@@ -1028,12 +982,7 @@
1028
982
  "line": 71,
1029
983
  "character": 45
1030
984
  },
1031
- "name": "APINodeRenderer",
1032
- "componentId": {
1033
- "scope": "teambit.api-reference",
1034
- "name": "models/api-node-renderer",
1035
- "version": "0.0.25"
1036
- }
985
+ "name": "APINodeRenderer"
1037
986
  }
1038
987
  },
1039
988
  "isOptional": false,
@@ -1074,12 +1023,7 @@
1074
1023
  "line": 75,
1075
1024
  "character": 21
1076
1025
  },
1077
- "name": "APINodeRenderer",
1078
- "componentId": {
1079
- "scope": "teambit.api-reference",
1080
- "name": "models/api-node-renderer",
1081
- "version": "0.0.25"
1082
- }
1026
+ "name": "APINodeRenderer"
1083
1027
  }
1084
1028
  },
1085
1029
  "isOptional": true,
@@ -1118,11 +1062,7 @@
1118
1062
  "line": 95,
1119
1063
  "character": 42
1120
1064
  },
1121
- "name": "ComponentUI",
1122
- "componentId": {
1123
- "scope": "teambit.component",
1124
- "name": "component"
1125
- }
1065
+ "name": "ComponentUI"
1126
1066
  },
1127
1067
  {
1128
1068
  "__schema": "TypeRefSchema",
@@ -1131,11 +1071,7 @@
1131
1071
  "line": 95,
1132
1072
  "character": 55
1133
1073
  },
1134
- "name": "CodeUI",
1135
- "componentId": {
1136
- "scope": "teambit.component",
1137
- "name": "code"
1138
- }
1074
+ "name": "CodeUI"
1139
1075
  },
1140
1076
  {
1141
1077
  "__schema": "TypeRefSchema",
@@ -1144,11 +1080,7 @@
1144
1080
  "line": 95,
1145
1081
  "character": 63
1146
1082
  },
1147
- "name": "WorkspaceUI",
1148
- "componentId": {
1149
- "scope": "teambit.workspace",
1150
- "name": "workspace"
1151
- }
1083
+ "name": "WorkspaceUI"
1152
1084
  }
1153
1085
  ]
1154
1086
  },
@@ -1220,12 +1152,7 @@
1220
1152
  "line": 98,
1221
1153
  "character": 14
1222
1154
  },
1223
- "name": "Harmony",
1224
- "componentId": {
1225
- "scope": "teambit.harmony",
1226
- "name": "harmony",
1227
- "version": "0.4.6"
1228
- }
1155
+ "name": "Harmony"
1229
1156
  },
1230
1157
  "isOptional": false,
1231
1158
  "isSpread": false
@@ -1324,7 +1251,7 @@
1324
1251
  "componentId": {
1325
1252
  "scope": "teambit.api-reference",
1326
1253
  "name": "api-reference",
1327
- "version": "1.0.257"
1254
+ "version": "1.0.258"
1328
1255
  },
1329
1256
  "taggedModuleExports": []
1330
1257
  }