@teambit/code.ui.code-tab-page 0.0.632 → 0.0.634
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/code-tab-page.tsx +20 -2
- package/dist/code-tab-page.js +14 -2
- package/dist/code-tab-page.js.map +1 -1
- package/dist/preview-1705406853442.js +7 -0
- package/package.json +9 -7
- package/tsconfig.json +32 -0
- package/types/asset.d.ts +29 -0
- package/types/style.d.ts +42 -0
- package/.bit-capsule-ready +0 -0
- package/package-tar/teambit-code.ui.code-tab-page-0.0.632.tgz +0 -0
- package/schema.json +0 -716
- package/static/css/teambit.code/ui/code-tab-page.a3ee874c.css +0 -1
- package/teambit_code_ui_code_tab_page-component.js +0 -1220
- package/teambit_code_ui_code_tab_page-preview.js +0 -1
package/schema.json
DELETED
@@ -1,716 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"__schema": "APISchema",
|
3
|
-
"location": {
|
4
|
-
"filePath": "index.ts",
|
5
|
-
"line": 1,
|
6
|
-
"character": 1
|
7
|
-
},
|
8
|
-
"module": {
|
9
|
-
"__schema": "ModuleSchema",
|
10
|
-
"location": {
|
11
|
-
"filePath": "index.ts",
|
12
|
-
"line": 1,
|
13
|
-
"character": 1
|
14
|
-
},
|
15
|
-
"exports": [
|
16
|
-
{
|
17
|
-
"__schema": "ReactSchema",
|
18
|
-
"location": {
|
19
|
-
"filePath": "code-tab-page.tsx",
|
20
|
-
"line": 38,
|
21
|
-
"character": 1
|
22
|
-
},
|
23
|
-
"signature": "function CodePage({ className, fileIconSlot, host, codeViewClassName }: CodePageProps): React.JSX.Element",
|
24
|
-
"name": "CodePage",
|
25
|
-
"props": {
|
26
|
-
"__schema": "ParameterSchema",
|
27
|
-
"location": {
|
28
|
-
"filePath": "code-tab-page.tsx",
|
29
|
-
"line": 38,
|
30
|
-
"character": 26
|
31
|
-
},
|
32
|
-
"name": "{ className, fileIconSlot, host, codeViewClassName }",
|
33
|
-
"type": {
|
34
|
-
"__schema": "TypeRefSchema",
|
35
|
-
"location": {
|
36
|
-
"filePath": "code-tab-page.tsx",
|
37
|
-
"line": 38,
|
38
|
-
"character": 80
|
39
|
-
},
|
40
|
-
"name": "CodePageProps"
|
41
|
-
},
|
42
|
-
"isOptional": false,
|
43
|
-
"objectBindingNodes": [
|
44
|
-
{
|
45
|
-
"__schema": "InferenceTypeSchema",
|
46
|
-
"location": {
|
47
|
-
"filePath": "code-tab-page.tsx",
|
48
|
-
"line": 38,
|
49
|
-
"character": 28
|
50
|
-
},
|
51
|
-
"name": "className",
|
52
|
-
"type": "string",
|
53
|
-
"isSpread": false
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"__schema": "InferenceTypeSchema",
|
57
|
-
"location": {
|
58
|
-
"filePath": "code-tab-page.tsx",
|
59
|
-
"line": 38,
|
60
|
-
"character": 39
|
61
|
-
},
|
62
|
-
"name": "fileIconSlot",
|
63
|
-
"type": "FileIconSlot",
|
64
|
-
"isSpread": false
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"__schema": "InferenceTypeSchema",
|
68
|
-
"location": {
|
69
|
-
"filePath": "code-tab-page.tsx",
|
70
|
-
"line": 38,
|
71
|
-
"character": 53
|
72
|
-
},
|
73
|
-
"name": "host",
|
74
|
-
"type": "string",
|
75
|
-
"isSpread": false
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"__schema": "InferenceTypeSchema",
|
79
|
-
"location": {
|
80
|
-
"filePath": "code-tab-page.tsx",
|
81
|
-
"line": 38,
|
82
|
-
"character": 59
|
83
|
-
},
|
84
|
-
"name": "codeViewClassName",
|
85
|
-
"type": "string",
|
86
|
-
"isSpread": false
|
87
|
-
}
|
88
|
-
],
|
89
|
-
"isSpread": false
|
90
|
-
},
|
91
|
-
"returnType": {
|
92
|
-
"__schema": "TypeRefSchema",
|
93
|
-
"location": {
|
94
|
-
"filePath": "code-tab-page.tsx",
|
95
|
-
"line": 38,
|
96
|
-
"character": 1
|
97
|
-
},
|
98
|
-
"name": "React.JSX.Element",
|
99
|
-
"packageName": "react"
|
100
|
-
},
|
101
|
-
"modifiers": [
|
102
|
-
"export"
|
103
|
-
]
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"__schema": "FunctionLikeSchema",
|
107
|
-
"location": {
|
108
|
-
"filePath": "code-tab-page.tsx",
|
109
|
-
"line": 117,
|
110
|
-
"character": 1
|
111
|
-
},
|
112
|
-
"signature": "function generateIcon(fileIconMatchers: FileIconMatch[]): ({ id }: TreeNode) => string",
|
113
|
-
"name": "generateIcon",
|
114
|
-
"params": [
|
115
|
-
{
|
116
|
-
"__schema": "ParameterSchema",
|
117
|
-
"location": {
|
118
|
-
"filePath": "code-tab-page.tsx",
|
119
|
-
"line": 117,
|
120
|
-
"character": 30
|
121
|
-
},
|
122
|
-
"name": "fileIconMatchers",
|
123
|
-
"type": {
|
124
|
-
"__schema": "TypeArraySchema",
|
125
|
-
"location": {
|
126
|
-
"filePath": "code-tab-page.tsx",
|
127
|
-
"line": 117,
|
128
|
-
"character": 48
|
129
|
-
},
|
130
|
-
"type": {
|
131
|
-
"__schema": "TypeRefSchema",
|
132
|
-
"location": {
|
133
|
-
"filePath": "code-tab-page.tsx",
|
134
|
-
"line": 117,
|
135
|
-
"character": 48
|
136
|
-
},
|
137
|
-
"name": "FileIconMatch",
|
138
|
-
"componentId": {
|
139
|
-
"scope": "teambit.code",
|
140
|
-
"name": "ui/utils/get-file-icon",
|
141
|
-
"version": "0.0.495"
|
142
|
-
}
|
143
|
-
}
|
144
|
-
},
|
145
|
-
"isOptional": false,
|
146
|
-
"isSpread": false
|
147
|
-
}
|
148
|
-
],
|
149
|
-
"returnType": {
|
150
|
-
"__schema": "InferenceTypeSchema",
|
151
|
-
"location": {
|
152
|
-
"filePath": "code-tab-page.tsx",
|
153
|
-
"line": 117,
|
154
|
-
"character": 1
|
155
|
-
},
|
156
|
-
"type": "({ id }: TreeNode) => string"
|
157
|
-
},
|
158
|
-
"modifiers": [
|
159
|
-
"export"
|
160
|
-
]
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"__schema": "TypeSchema",
|
164
|
-
"location": {
|
165
|
-
"filePath": "code-tab-page.tsx",
|
166
|
-
"line": 32,
|
167
|
-
"character": 1
|
168
|
-
},
|
169
|
-
"signature": "type CodePageProps = {\n fileIconSlot?: FileIconSlot;\n host: string;\n codeViewClassName?: string;\n} & React.HTMLAttributes<HTMLDivElement>",
|
170
|
-
"name": "CodePageProps",
|
171
|
-
"type": {
|
172
|
-
"__schema": "TypeIntersectionSchema",
|
173
|
-
"location": {
|
174
|
-
"filePath": "code-tab-page.tsx",
|
175
|
-
"line": 32,
|
176
|
-
"character": 29
|
177
|
-
},
|
178
|
-
"types": [
|
179
|
-
{
|
180
|
-
"__schema": "TypeLiteralSchema",
|
181
|
-
"location": {
|
182
|
-
"filePath": "code-tab-page.tsx",
|
183
|
-
"line": 32,
|
184
|
-
"character": 29
|
185
|
-
},
|
186
|
-
"members": [
|
187
|
-
{
|
188
|
-
"__schema": "VariableLikeSchema",
|
189
|
-
"location": {
|
190
|
-
"filePath": "code-tab-page.tsx",
|
191
|
-
"line": 33,
|
192
|
-
"character": 3
|
193
|
-
},
|
194
|
-
"signature": "(property) fileIconSlot?: FileIconSlot",
|
195
|
-
"name": "fileIconSlot",
|
196
|
-
"type": {
|
197
|
-
"__schema": "TypeRefSchema",
|
198
|
-
"location": {
|
199
|
-
"filePath": "code-tab-page.tsx",
|
200
|
-
"line": 33,
|
201
|
-
"character": 3
|
202
|
-
},
|
203
|
-
"name": "FileIconSlot",
|
204
|
-
"componentId": {
|
205
|
-
"scope": "teambit.component",
|
206
|
-
"name": "code"
|
207
|
-
}
|
208
|
-
},
|
209
|
-
"isOptional": true
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"__schema": "VariableLikeSchema",
|
213
|
-
"location": {
|
214
|
-
"filePath": "code-tab-page.tsx",
|
215
|
-
"line": 34,
|
216
|
-
"character": 3
|
217
|
-
},
|
218
|
-
"signature": "(property) host: string",
|
219
|
-
"name": "host",
|
220
|
-
"type": {
|
221
|
-
"__schema": "KeywordTypeSchema",
|
222
|
-
"location": {
|
223
|
-
"filePath": "code-tab-page.tsx",
|
224
|
-
"line": 34,
|
225
|
-
"character": 9
|
226
|
-
},
|
227
|
-
"name": "string"
|
228
|
-
},
|
229
|
-
"isOptional": false
|
230
|
-
},
|
231
|
-
{
|
232
|
-
"__schema": "VariableLikeSchema",
|
233
|
-
"location": {
|
234
|
-
"filePath": "code-tab-page.tsx",
|
235
|
-
"line": 35,
|
236
|
-
"character": 3
|
237
|
-
},
|
238
|
-
"signature": "(property) codeViewClassName?: string",
|
239
|
-
"name": "codeViewClassName",
|
240
|
-
"type": {
|
241
|
-
"__schema": "KeywordTypeSchema",
|
242
|
-
"location": {
|
243
|
-
"filePath": "code-tab-page.tsx",
|
244
|
-
"line": 35,
|
245
|
-
"character": 23
|
246
|
-
},
|
247
|
-
"name": "string"
|
248
|
-
},
|
249
|
-
"isOptional": true
|
250
|
-
}
|
251
|
-
]
|
252
|
-
},
|
253
|
-
{
|
254
|
-
"__schema": "TypeRefSchema",
|
255
|
-
"location": {
|
256
|
-
"filePath": "code-tab-page.tsx",
|
257
|
-
"line": 36,
|
258
|
-
"character": 5
|
259
|
-
},
|
260
|
-
"name": "HTMLAttributes",
|
261
|
-
"packageName": "react",
|
262
|
-
"typeArgs": [
|
263
|
-
{
|
264
|
-
"__schema": "TypeRefSchema",
|
265
|
-
"location": {
|
266
|
-
"filePath": "code-tab-page.tsx",
|
267
|
-
"line": 36,
|
268
|
-
"character": 20
|
269
|
-
},
|
270
|
-
"name": "HTMLDivElement"
|
271
|
-
}
|
272
|
-
]
|
273
|
-
}
|
274
|
-
]
|
275
|
-
}
|
276
|
-
}
|
277
|
-
],
|
278
|
-
"internals": []
|
279
|
-
},
|
280
|
-
"internals": [
|
281
|
-
{
|
282
|
-
"__schema": "ModuleSchema",
|
283
|
-
"location": {
|
284
|
-
"filePath": "code-tab-page.tsx",
|
285
|
-
"line": 1,
|
286
|
-
"character": 1
|
287
|
-
},
|
288
|
-
"exports": [
|
289
|
-
{
|
290
|
-
"__schema": "TypeSchema",
|
291
|
-
"location": {
|
292
|
-
"filePath": "code-tab-page.tsx",
|
293
|
-
"line": 32,
|
294
|
-
"character": 1
|
295
|
-
},
|
296
|
-
"signature": "type CodePageProps = {\n fileIconSlot?: FileIconSlot;\n host: string;\n codeViewClassName?: string;\n} & React.HTMLAttributes<HTMLDivElement>",
|
297
|
-
"name": "CodePageProps",
|
298
|
-
"type": {
|
299
|
-
"__schema": "TypeIntersectionSchema",
|
300
|
-
"location": {
|
301
|
-
"filePath": "code-tab-page.tsx",
|
302
|
-
"line": 32,
|
303
|
-
"character": 29
|
304
|
-
},
|
305
|
-
"types": [
|
306
|
-
{
|
307
|
-
"__schema": "TypeLiteralSchema",
|
308
|
-
"location": {
|
309
|
-
"filePath": "code-tab-page.tsx",
|
310
|
-
"line": 32,
|
311
|
-
"character": 29
|
312
|
-
},
|
313
|
-
"members": [
|
314
|
-
{
|
315
|
-
"__schema": "VariableLikeSchema",
|
316
|
-
"location": {
|
317
|
-
"filePath": "code-tab-page.tsx",
|
318
|
-
"line": 33,
|
319
|
-
"character": 3
|
320
|
-
},
|
321
|
-
"signature": "(property) fileIconSlot?: FileIconSlot",
|
322
|
-
"name": "fileIconSlot",
|
323
|
-
"type": {
|
324
|
-
"__schema": "TypeRefSchema",
|
325
|
-
"location": {
|
326
|
-
"filePath": "code-tab-page.tsx",
|
327
|
-
"line": 33,
|
328
|
-
"character": 3
|
329
|
-
},
|
330
|
-
"name": "FileIconSlot",
|
331
|
-
"componentId": {
|
332
|
-
"scope": "teambit.component",
|
333
|
-
"name": "code"
|
334
|
-
}
|
335
|
-
},
|
336
|
-
"isOptional": true
|
337
|
-
},
|
338
|
-
{
|
339
|
-
"__schema": "VariableLikeSchema",
|
340
|
-
"location": {
|
341
|
-
"filePath": "code-tab-page.tsx",
|
342
|
-
"line": 34,
|
343
|
-
"character": 3
|
344
|
-
},
|
345
|
-
"signature": "(property) host: string",
|
346
|
-
"name": "host",
|
347
|
-
"type": {
|
348
|
-
"__schema": "KeywordTypeSchema",
|
349
|
-
"location": {
|
350
|
-
"filePath": "code-tab-page.tsx",
|
351
|
-
"line": 34,
|
352
|
-
"character": 9
|
353
|
-
},
|
354
|
-
"name": "string"
|
355
|
-
},
|
356
|
-
"isOptional": false
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"__schema": "VariableLikeSchema",
|
360
|
-
"location": {
|
361
|
-
"filePath": "code-tab-page.tsx",
|
362
|
-
"line": 35,
|
363
|
-
"character": 3
|
364
|
-
},
|
365
|
-
"signature": "(property) codeViewClassName?: string",
|
366
|
-
"name": "codeViewClassName",
|
367
|
-
"type": {
|
368
|
-
"__schema": "KeywordTypeSchema",
|
369
|
-
"location": {
|
370
|
-
"filePath": "code-tab-page.tsx",
|
371
|
-
"line": 35,
|
372
|
-
"character": 23
|
373
|
-
},
|
374
|
-
"name": "string"
|
375
|
-
},
|
376
|
-
"isOptional": true
|
377
|
-
}
|
378
|
-
]
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"__schema": "TypeRefSchema",
|
382
|
-
"location": {
|
383
|
-
"filePath": "code-tab-page.tsx",
|
384
|
-
"line": 36,
|
385
|
-
"character": 5
|
386
|
-
},
|
387
|
-
"name": "HTMLAttributes",
|
388
|
-
"packageName": "react",
|
389
|
-
"typeArgs": [
|
390
|
-
{
|
391
|
-
"__schema": "TypeRefSchema",
|
392
|
-
"location": {
|
393
|
-
"filePath": "code-tab-page.tsx",
|
394
|
-
"line": 36,
|
395
|
-
"character": 20
|
396
|
-
},
|
397
|
-
"name": "HTMLDivElement"
|
398
|
-
}
|
399
|
-
]
|
400
|
-
}
|
401
|
-
]
|
402
|
-
}
|
403
|
-
},
|
404
|
-
{
|
405
|
-
"__schema": "ReactSchema",
|
406
|
-
"location": {
|
407
|
-
"filePath": "code-tab-page.tsx",
|
408
|
-
"line": 38,
|
409
|
-
"character": 1
|
410
|
-
},
|
411
|
-
"signature": "function CodePage({ className, fileIconSlot, host, codeViewClassName }: CodePageProps): React.JSX.Element",
|
412
|
-
"name": "CodePage",
|
413
|
-
"props": {
|
414
|
-
"__schema": "ParameterSchema",
|
415
|
-
"location": {
|
416
|
-
"filePath": "code-tab-page.tsx",
|
417
|
-
"line": 38,
|
418
|
-
"character": 26
|
419
|
-
},
|
420
|
-
"name": "{ className, fileIconSlot, host, codeViewClassName }",
|
421
|
-
"type": {
|
422
|
-
"__schema": "TypeRefSchema",
|
423
|
-
"location": {
|
424
|
-
"filePath": "code-tab-page.tsx",
|
425
|
-
"line": 38,
|
426
|
-
"character": 80
|
427
|
-
},
|
428
|
-
"name": "CodePageProps"
|
429
|
-
},
|
430
|
-
"isOptional": false,
|
431
|
-
"objectBindingNodes": [
|
432
|
-
{
|
433
|
-
"__schema": "InferenceTypeSchema",
|
434
|
-
"location": {
|
435
|
-
"filePath": "code-tab-page.tsx",
|
436
|
-
"line": 38,
|
437
|
-
"character": 28
|
438
|
-
},
|
439
|
-
"name": "className",
|
440
|
-
"type": "string",
|
441
|
-
"isSpread": false
|
442
|
-
},
|
443
|
-
{
|
444
|
-
"__schema": "InferenceTypeSchema",
|
445
|
-
"location": {
|
446
|
-
"filePath": "code-tab-page.tsx",
|
447
|
-
"line": 38,
|
448
|
-
"character": 39
|
449
|
-
},
|
450
|
-
"name": "fileIconSlot",
|
451
|
-
"type": "FileIconSlot",
|
452
|
-
"isSpread": false
|
453
|
-
},
|
454
|
-
{
|
455
|
-
"__schema": "InferenceTypeSchema",
|
456
|
-
"location": {
|
457
|
-
"filePath": "code-tab-page.tsx",
|
458
|
-
"line": 38,
|
459
|
-
"character": 53
|
460
|
-
},
|
461
|
-
"name": "host",
|
462
|
-
"type": "string",
|
463
|
-
"isSpread": false
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"__schema": "InferenceTypeSchema",
|
467
|
-
"location": {
|
468
|
-
"filePath": "code-tab-page.tsx",
|
469
|
-
"line": 38,
|
470
|
-
"character": 59
|
471
|
-
},
|
472
|
-
"name": "codeViewClassName",
|
473
|
-
"type": "string",
|
474
|
-
"isSpread": false
|
475
|
-
}
|
476
|
-
],
|
477
|
-
"isSpread": false
|
478
|
-
},
|
479
|
-
"returnType": {
|
480
|
-
"__schema": "TypeRefSchema",
|
481
|
-
"location": {
|
482
|
-
"filePath": "code-tab-page.tsx",
|
483
|
-
"line": 38,
|
484
|
-
"character": 1
|
485
|
-
},
|
486
|
-
"name": "React.JSX.Element",
|
487
|
-
"packageName": "react"
|
488
|
-
},
|
489
|
-
"modifiers": [
|
490
|
-
"export"
|
491
|
-
]
|
492
|
-
},
|
493
|
-
{
|
494
|
-
"__schema": "FunctionLikeSchema",
|
495
|
-
"location": {
|
496
|
-
"filePath": "code-tab-page.tsx",
|
497
|
-
"line": 117,
|
498
|
-
"character": 1
|
499
|
-
},
|
500
|
-
"signature": "function generateIcon(fileIconMatchers: FileIconMatch[]): ({ id }: TreeNode) => string",
|
501
|
-
"name": "generateIcon",
|
502
|
-
"params": [
|
503
|
-
{
|
504
|
-
"__schema": "ParameterSchema",
|
505
|
-
"location": {
|
506
|
-
"filePath": "code-tab-page.tsx",
|
507
|
-
"line": 117,
|
508
|
-
"character": 30
|
509
|
-
},
|
510
|
-
"name": "fileIconMatchers",
|
511
|
-
"type": {
|
512
|
-
"__schema": "TypeArraySchema",
|
513
|
-
"location": {
|
514
|
-
"filePath": "code-tab-page.tsx",
|
515
|
-
"line": 117,
|
516
|
-
"character": 48
|
517
|
-
},
|
518
|
-
"type": {
|
519
|
-
"__schema": "TypeRefSchema",
|
520
|
-
"location": {
|
521
|
-
"filePath": "code-tab-page.tsx",
|
522
|
-
"line": 117,
|
523
|
-
"character": 48
|
524
|
-
},
|
525
|
-
"name": "FileIconMatch",
|
526
|
-
"componentId": {
|
527
|
-
"scope": "teambit.code",
|
528
|
-
"name": "ui/utils/get-file-icon",
|
529
|
-
"version": "0.0.495"
|
530
|
-
}
|
531
|
-
}
|
532
|
-
},
|
533
|
-
"isOptional": false,
|
534
|
-
"isSpread": false
|
535
|
-
}
|
536
|
-
],
|
537
|
-
"returnType": {
|
538
|
-
"__schema": "InferenceTypeSchema",
|
539
|
-
"location": {
|
540
|
-
"filePath": "code-tab-page.tsx",
|
541
|
-
"line": 117,
|
542
|
-
"character": 1
|
543
|
-
},
|
544
|
-
"type": "({ id }: TreeNode) => string"
|
545
|
-
},
|
546
|
-
"modifiers": [
|
547
|
-
"export"
|
548
|
-
]
|
549
|
-
}
|
550
|
-
],
|
551
|
-
"internals": [
|
552
|
-
{
|
553
|
-
"__schema": "FunctionLikeSchema",
|
554
|
-
"location": {
|
555
|
-
"filePath": "code-tab-page.tsx",
|
556
|
-
"line": 104,
|
557
|
-
"character": 1
|
558
|
-
},
|
559
|
-
"signature": "function generateWidget(mainFile?: string, devFiles?: string[]): ({ node }: WidgetProps<any>) => React.JSX.Element",
|
560
|
-
"name": "generateWidget",
|
561
|
-
"params": [
|
562
|
-
{
|
563
|
-
"__schema": "ParameterSchema",
|
564
|
-
"location": {
|
565
|
-
"filePath": "code-tab-page.tsx",
|
566
|
-
"line": 104,
|
567
|
-
"character": 25
|
568
|
-
},
|
569
|
-
"name": "mainFile",
|
570
|
-
"type": {
|
571
|
-
"__schema": "KeywordTypeSchema",
|
572
|
-
"location": {
|
573
|
-
"filePath": "code-tab-page.tsx",
|
574
|
-
"line": 104,
|
575
|
-
"character": 36
|
576
|
-
},
|
577
|
-
"name": "string"
|
578
|
-
},
|
579
|
-
"isOptional": true,
|
580
|
-
"isSpread": false
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"__schema": "ParameterSchema",
|
584
|
-
"location": {
|
585
|
-
"filePath": "code-tab-page.tsx",
|
586
|
-
"line": 104,
|
587
|
-
"character": 44
|
588
|
-
},
|
589
|
-
"name": "devFiles",
|
590
|
-
"type": {
|
591
|
-
"__schema": "TypeArraySchema",
|
592
|
-
"location": {
|
593
|
-
"filePath": "code-tab-page.tsx",
|
594
|
-
"line": 104,
|
595
|
-
"character": 55
|
596
|
-
},
|
597
|
-
"type": {
|
598
|
-
"__schema": "KeywordTypeSchema",
|
599
|
-
"location": {
|
600
|
-
"filePath": "code-tab-page.tsx",
|
601
|
-
"line": 104,
|
602
|
-
"character": 55
|
603
|
-
},
|
604
|
-
"name": "string"
|
605
|
-
}
|
606
|
-
},
|
607
|
-
"isOptional": true,
|
608
|
-
"isSpread": false
|
609
|
-
}
|
610
|
-
],
|
611
|
-
"returnType": {
|
612
|
-
"__schema": "InferenceTypeSchema",
|
613
|
-
"location": {
|
614
|
-
"filePath": "code-tab-page.tsx",
|
615
|
-
"line": 104,
|
616
|
-
"character": 1
|
617
|
-
},
|
618
|
-
"type": "({ node }: WidgetProps<any>) => React.JSX.Element"
|
619
|
-
},
|
620
|
-
"modifiers": []
|
621
|
-
},
|
622
|
-
{
|
623
|
-
"__schema": "FunctionLikeSchema",
|
624
|
-
"location": {
|
625
|
-
"filePath": "code-tab-page.tsx",
|
626
|
-
"line": 123,
|
627
|
-
"character": 1
|
628
|
-
},
|
629
|
-
"signature": "function getArtifactFileContent(file?: ArtifactFile | undefined): string | undefined",
|
630
|
-
"name": "getArtifactFileContent",
|
631
|
-
"params": [
|
632
|
-
{
|
633
|
-
"__schema": "ParameterSchema",
|
634
|
-
"location": {
|
635
|
-
"filePath": "code-tab-page.tsx",
|
636
|
-
"line": 123,
|
637
|
-
"character": 33
|
638
|
-
},
|
639
|
-
"name": "file",
|
640
|
-
"type": {
|
641
|
-
"__schema": "TypeUnionSchema",
|
642
|
-
"location": {
|
643
|
-
"filePath": "code-tab-page.tsx",
|
644
|
-
"line": 123,
|
645
|
-
"character": 40
|
646
|
-
},
|
647
|
-
"types": [
|
648
|
-
{
|
649
|
-
"__schema": "TypeRefSchema",
|
650
|
-
"location": {
|
651
|
-
"filePath": "code-tab-page.tsx",
|
652
|
-
"line": 123,
|
653
|
-
"character": 40
|
654
|
-
},
|
655
|
-
"name": "ArtifactFile",
|
656
|
-
"componentId": {
|
657
|
-
"scope": "teambit.component",
|
658
|
-
"name": "ui/artifacts/models/component-artifacts-model",
|
659
|
-
"version": "0.0.12"
|
660
|
-
}
|
661
|
-
},
|
662
|
-
{
|
663
|
-
"__schema": "KeywordTypeSchema",
|
664
|
-
"location": {
|
665
|
-
"filePath": "code-tab-page.tsx",
|
666
|
-
"line": 123,
|
667
|
-
"character": 55
|
668
|
-
},
|
669
|
-
"name": "undefined"
|
670
|
-
}
|
671
|
-
]
|
672
|
-
},
|
673
|
-
"isOptional": true,
|
674
|
-
"isSpread": false
|
675
|
-
}
|
676
|
-
],
|
677
|
-
"returnType": {
|
678
|
-
"__schema": "TypeUnionSchema",
|
679
|
-
"location": {
|
680
|
-
"filePath": "code-tab-page.tsx",
|
681
|
-
"line": 123,
|
682
|
-
"character": 67
|
683
|
-
},
|
684
|
-
"types": [
|
685
|
-
{
|
686
|
-
"__schema": "KeywordTypeSchema",
|
687
|
-
"location": {
|
688
|
-
"filePath": "code-tab-page.tsx",
|
689
|
-
"line": 123,
|
690
|
-
"character": 67
|
691
|
-
},
|
692
|
-
"name": "string"
|
693
|
-
},
|
694
|
-
{
|
695
|
-
"__schema": "KeywordTypeSchema",
|
696
|
-
"location": {
|
697
|
-
"filePath": "code-tab-page.tsx",
|
698
|
-
"line": 123,
|
699
|
-
"character": 76
|
700
|
-
},
|
701
|
-
"name": "undefined"
|
702
|
-
}
|
703
|
-
]
|
704
|
-
},
|
705
|
-
"modifiers": []
|
706
|
-
}
|
707
|
-
]
|
708
|
-
}
|
709
|
-
],
|
710
|
-
"componentId": {
|
711
|
-
"scope": "teambit.code",
|
712
|
-
"name": "ui/code-tab-page",
|
713
|
-
"version": "82d19af2d787203f66c6f437fe507926276a5818"
|
714
|
-
},
|
715
|
-
"taggedModuleExports": []
|
716
|
-
}
|