@teambit/component.ui.component-compare.models.component-compare-props 0.0.102 → 0.0.103

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/schema.json DELETED
@@ -1,1476 +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": "TypeSchema",
18
- "location": {
19
- "filePath": "component-compare-props.ts",
20
- "line": 22,
21
- "character": 1
22
- },
23
- "signature": "type ComponentCompareProps = {\n state?: ComponentCompareState;\n hooks?: ComponentCompareHooks;\n baseContext?: StateAndHooks;\n compareContext?: StateAndHooks;\n tabs?: MaybeLazyLoaded<TabItem[]>;\n routes?: MaybeLazyLoaded<RouteProps[]>;\n host: string;\n baseId?: ComponentID;\n baseIdOverride?: ComponentID;\n compareIdOverride?: ComponentID;\n compareId?: ComponentID;\n customUseComponent?: UseComponentType;\n changes?: ChangeType[] | null;\n Loader?: ComponentType;\n isFullScreen?: boolean;\n hidden?: boolean;\n} & HTMLAttributes<...>",
24
- "name": "ComponentCompareProps",
25
- "type": {
26
- "__schema": "TypeIntersectionSchema",
27
- "location": {
28
- "filePath": "component-compare-props.ts",
29
- "line": 22,
30
- "character": 37
31
- },
32
- "types": [
33
- {
34
- "__schema": "TypeLiteralSchema",
35
- "location": {
36
- "filePath": "component-compare-props.ts",
37
- "line": 22,
38
- "character": 37
39
- },
40
- "members": [
41
- {
42
- "__schema": "VariableLikeSchema",
43
- "location": {
44
- "filePath": "component-compare-props.ts",
45
- "line": 23,
46
- "character": 3
47
- },
48
- "signature": "(property) state?: Partial<Record<ComponentCompareStateKey, ComponentCompareStateData>>",
49
- "name": "state",
50
- "type": {
51
- "__schema": "TypeRefSchema",
52
- "location": {
53
- "filePath": "component-compare-props.ts",
54
- "line": 23,
55
- "character": 11
56
- },
57
- "name": "ComponentCompareState",
58
- "componentId": {
59
- "scope": "teambit.component",
60
- "name": "ui/component-compare/models/component-compare-state",
61
- "version": "0.0.7"
62
- }
63
- },
64
- "isOptional": true
65
- },
66
- {
67
- "__schema": "VariableLikeSchema",
68
- "location": {
69
- "filePath": "component-compare-props.ts",
70
- "line": 24,
71
- "character": 3
72
- },
73
- "signature": "(property) hooks?: Partial<Record<ComponentCompareStateKey, ComponentCompareHooksData>>",
74
- "name": "hooks",
75
- "type": {
76
- "__schema": "TypeRefSchema",
77
- "location": {
78
- "filePath": "component-compare-props.ts",
79
- "line": 24,
80
- "character": 11
81
- },
82
- "name": "ComponentCompareHooks",
83
- "componentId": {
84
- "scope": "teambit.component",
85
- "name": "ui/component-compare/models/component-compare-hooks",
86
- "version": "0f928c681b4cd5f95eef703a918d92d55f1e6d32"
87
- }
88
- },
89
- "isOptional": true
90
- },
91
- {
92
- "__schema": "VariableLikeSchema",
93
- "location": {
94
- "filePath": "component-compare-props.ts",
95
- "line": 25,
96
- "character": 3
97
- },
98
- "signature": "(property) baseContext?: StateAndHooks",
99
- "name": "baseContext",
100
- "type": {
101
- "__schema": "TypeRefSchema",
102
- "location": {
103
- "filePath": "component-compare-props.ts",
104
- "line": 25,
105
- "character": 3
106
- },
107
- "name": "StateAndHooks",
108
- "componentId": {
109
- "scope": "teambit.component",
110
- "name": "ui/component-compare/context",
111
- "version": "28f5189c2f4fcfbe05e84342dbd29efbf8a8b52e"
112
- }
113
- },
114
- "isOptional": true
115
- },
116
- {
117
- "__schema": "VariableLikeSchema",
118
- "location": {
119
- "filePath": "component-compare-props.ts",
120
- "line": 26,
121
- "character": 3
122
- },
123
- "signature": "(property) compareContext?: StateAndHooks",
124
- "name": "compareContext",
125
- "type": {
126
- "__schema": "TypeRefSchema",
127
- "location": {
128
- "filePath": "component-compare-props.ts",
129
- "line": 26,
130
- "character": 3
131
- },
132
- "name": "StateAndHooks",
133
- "componentId": {
134
- "scope": "teambit.component",
135
- "name": "ui/component-compare/context",
136
- "version": "28f5189c2f4fcfbe05e84342dbd29efbf8a8b52e"
137
- }
138
- },
139
- "isOptional": true
140
- },
141
- {
142
- "__schema": "VariableLikeSchema",
143
- "location": {
144
- "filePath": "component-compare-props.ts",
145
- "line": 27,
146
- "character": 3
147
- },
148
- "signature": "(property) tabs?: MaybeLazyLoaded<TabItem[]>",
149
- "name": "tabs",
150
- "type": {
151
- "__schema": "TypeRefSchema",
152
- "location": {
153
- "filePath": "component-compare-props.ts",
154
- "line": 27,
155
- "character": 10
156
- },
157
- "name": "MaybeLazyLoaded",
158
- "componentId": {
159
- "scope": "teambit.component",
160
- "name": "ui/component-compare/utils/lazy-loading",
161
- "version": "0.0.6"
162
- },
163
- "typeArgs": [
164
- {
165
- "__schema": "TypeArraySchema",
166
- "location": {
167
- "filePath": "component-compare-props.ts",
168
- "line": 27,
169
- "character": 26
170
- },
171
- "type": {
172
- "__schema": "TypeRefSchema",
173
- "location": {
174
- "filePath": "component-compare-props.ts",
175
- "line": 27,
176
- "character": 26
177
- },
178
- "name": "TabItem"
179
- }
180
- }
181
- ]
182
- },
183
- "isOptional": true
184
- },
185
- {
186
- "__schema": "VariableLikeSchema",
187
- "location": {
188
- "filePath": "component-compare-props.ts",
189
- "line": 28,
190
- "character": 3
191
- },
192
- "signature": "(property) routes?: MaybeLazyLoaded<RouteProps[]>",
193
- "name": "routes",
194
- "type": {
195
- "__schema": "TypeRefSchema",
196
- "location": {
197
- "filePath": "component-compare-props.ts",
198
- "line": 28,
199
- "character": 12
200
- },
201
- "name": "MaybeLazyLoaded",
202
- "componentId": {
203
- "scope": "teambit.component",
204
- "name": "ui/component-compare/utils/lazy-loading",
205
- "version": "0.0.6"
206
- },
207
- "typeArgs": [
208
- {
209
- "__schema": "TypeArraySchema",
210
- "location": {
211
- "filePath": "component-compare-props.ts",
212
- "line": 28,
213
- "character": 28
214
- },
215
- "type": {
216
- "__schema": "TypeRefSchema",
217
- "location": {
218
- "filePath": "component-compare-props.ts",
219
- "line": 28,
220
- "character": 28
221
- },
222
- "name": "RouteProps",
223
- "packageName": "react-router-dom"
224
- }
225
- }
226
- ]
227
- },
228
- "isOptional": true
229
- },
230
- {
231
- "__schema": "VariableLikeSchema",
232
- "location": {
233
- "filePath": "component-compare-props.ts",
234
- "line": 29,
235
- "character": 3
236
- },
237
- "signature": "(property) host: string",
238
- "name": "host",
239
- "type": {
240
- "__schema": "KeywordTypeSchema",
241
- "location": {
242
- "filePath": "component-compare-props.ts",
243
- "line": 29,
244
- "character": 9
245
- },
246
- "name": "string"
247
- },
248
- "isOptional": false
249
- },
250
- {
251
- "__schema": "VariableLikeSchema",
252
- "location": {
253
- "filePath": "component-compare-props.ts",
254
- "line": 30,
255
- "character": 3
256
- },
257
- "signature": "(property) baseId?: ComponentID",
258
- "name": "baseId",
259
- "type": {
260
- "__schema": "TypeRefSchema",
261
- "location": {
262
- "filePath": "component-compare-props.ts",
263
- "line": 30,
264
- "character": 3
265
- },
266
- "name": "ComponentID",
267
- "componentId": {
268
- "scope": "teambit.component",
269
- "name": "component-id",
270
- "version": "1.2.0"
271
- }
272
- },
273
- "isOptional": true
274
- },
275
- {
276
- "__schema": "VariableLikeSchema",
277
- "location": {
278
- "filePath": "component-compare-props.ts",
279
- "line": 31,
280
- "character": 3
281
- },
282
- "signature": "(property) baseIdOverride?: ComponentID",
283
- "name": "baseIdOverride",
284
- "type": {
285
- "__schema": "TypeRefSchema",
286
- "location": {
287
- "filePath": "component-compare-props.ts",
288
- "line": 31,
289
- "character": 3
290
- },
291
- "name": "ComponentID",
292
- "componentId": {
293
- "scope": "teambit.component",
294
- "name": "component-id",
295
- "version": "1.2.0"
296
- }
297
- },
298
- "isOptional": true
299
- },
300
- {
301
- "__schema": "VariableLikeSchema",
302
- "location": {
303
- "filePath": "component-compare-props.ts",
304
- "line": 32,
305
- "character": 3
306
- },
307
- "signature": "(property) compareIdOverride?: ComponentID",
308
- "name": "compareIdOverride",
309
- "type": {
310
- "__schema": "TypeRefSchema",
311
- "location": {
312
- "filePath": "component-compare-props.ts",
313
- "line": 32,
314
- "character": 3
315
- },
316
- "name": "ComponentID",
317
- "componentId": {
318
- "scope": "teambit.component",
319
- "name": "component-id",
320
- "version": "1.2.0"
321
- }
322
- },
323
- "isOptional": true
324
- },
325
- {
326
- "__schema": "VariableLikeSchema",
327
- "location": {
328
- "filePath": "component-compare-props.ts",
329
- "line": 33,
330
- "character": 3
331
- },
332
- "signature": "(property) compareId?: ComponentID",
333
- "name": "compareId",
334
- "type": {
335
- "__schema": "TypeRefSchema",
336
- "location": {
337
- "filePath": "component-compare-props.ts",
338
- "line": 33,
339
- "character": 3
340
- },
341
- "name": "ComponentID",
342
- "componentId": {
343
- "scope": "teambit.component",
344
- "name": "component-id",
345
- "version": "1.2.0"
346
- }
347
- },
348
- "isOptional": true
349
- },
350
- {
351
- "__schema": "VariableLikeSchema",
352
- "location": {
353
- "filePath": "component-compare-props.ts",
354
- "line": 34,
355
- "character": 3
356
- },
357
- "signature": "(property) customUseComponent?: UseComponentType",
358
- "name": "customUseComponent",
359
- "type": {
360
- "__schema": "TypeRefSchema",
361
- "location": {
362
- "filePath": "component-compare-props.ts",
363
- "line": 34,
364
- "character": 3
365
- },
366
- "name": "UseComponentType",
367
- "componentId": {
368
- "scope": "teambit.component",
369
- "name": "component"
370
- }
371
- },
372
- "isOptional": true
373
- },
374
- {
375
- "__schema": "VariableLikeSchema",
376
- "location": {
377
- "filePath": "component-compare-props.ts",
378
- "line": 35,
379
- "character": 3
380
- },
381
- "signature": "(property) changes?: ChangeType[]",
382
- "name": "changes",
383
- "type": {
384
- "__schema": "TypeUnionSchema",
385
- "location": {
386
- "filePath": "component-compare-props.ts",
387
- "line": 35,
388
- "character": 13
389
- },
390
- "types": [
391
- {
392
- "__schema": "TypeArraySchema",
393
- "location": {
394
- "filePath": "component-compare-props.ts",
395
- "line": 35,
396
- "character": 13
397
- },
398
- "type": {
399
- "__schema": "TypeRefSchema",
400
- "location": {
401
- "filePath": "component-compare-props.ts",
402
- "line": 35,
403
- "character": 13
404
- },
405
- "name": "ChangeType",
406
- "componentId": {
407
- "scope": "teambit.component",
408
- "name": "ui/component-compare/models/component-compare-change-type",
409
- "version": "0.0.7"
410
- }
411
- }
412
- },
413
- {
414
- "__schema": "LiteralTypeSchema",
415
- "location": {
416
- "filePath": "component-compare-props.ts",
417
- "line": 35,
418
- "character": 28
419
- },
420
- "name": "null"
421
- }
422
- ]
423
- },
424
- "isOptional": true
425
- },
426
- {
427
- "__schema": "VariableLikeSchema",
428
- "location": {
429
- "filePath": "component-compare-props.ts",
430
- "line": 36,
431
- "character": 3
432
- },
433
- "signature": "(property) Loader?: ComponentType<{}>",
434
- "name": "Loader",
435
- "type": {
436
- "__schema": "TypeRefSchema",
437
- "location": {
438
- "filePath": "component-compare-props.ts",
439
- "line": 36,
440
- "character": 12
441
- },
442
- "name": "ComponentType",
443
- "packageName": "react"
444
- },
445
- "isOptional": true
446
- },
447
- {
448
- "__schema": "VariableLikeSchema",
449
- "location": {
450
- "filePath": "component-compare-props.ts",
451
- "line": 37,
452
- "character": 3
453
- },
454
- "signature": "(property) isFullScreen?: boolean",
455
- "name": "isFullScreen",
456
- "type": {
457
- "__schema": "KeywordTypeSchema",
458
- "location": {
459
- "filePath": "component-compare-props.ts",
460
- "line": 37,
461
- "character": 18
462
- },
463
- "name": "boolean"
464
- },
465
- "isOptional": true
466
- },
467
- {
468
- "__schema": "VariableLikeSchema",
469
- "location": {
470
- "filePath": "component-compare-props.ts",
471
- "line": 38,
472
- "character": 3
473
- },
474
- "signature": "(property) hidden?: boolean",
475
- "name": "hidden",
476
- "type": {
477
- "__schema": "KeywordTypeSchema",
478
- "location": {
479
- "filePath": "component-compare-props.ts",
480
- "line": 38,
481
- "character": 12
482
- },
483
- "name": "boolean"
484
- },
485
- "isOptional": true
486
- }
487
- ]
488
- },
489
- {
490
- "__schema": "TypeRefSchema",
491
- "location": {
492
- "filePath": "component-compare-props.ts",
493
- "line": 39,
494
- "character": 5
495
- },
496
- "name": "HTMLAttributes",
497
- "packageName": "react",
498
- "typeArgs": [
499
- {
500
- "__schema": "TypeRefSchema",
501
- "location": {
502
- "filePath": "component-compare-props.ts",
503
- "line": 39,
504
- "character": 20
505
- },
506
- "name": "HTMLDivElement"
507
- }
508
- ]
509
- }
510
- ]
511
- }
512
- },
513
- {
514
- "__schema": "InterfaceSchema",
515
- "location": {
516
- "filePath": "component-compare-props.ts",
517
- "line": 12,
518
- "character": 1
519
- },
520
- "signature": "interface TabItem",
521
- "name": "TabItem",
522
- "members": [
523
- {
524
- "__schema": "VariableLikeSchema",
525
- "location": {
526
- "filePath": "component-compare-props.ts",
527
- "line": 13,
528
- "character": 3
529
- },
530
- "signature": "(property) TabItem.id: string",
531
- "name": "id",
532
- "type": {
533
- "__schema": "KeywordTypeSchema",
534
- "location": {
535
- "filePath": "component-compare-props.ts",
536
- "line": 13,
537
- "character": 7
538
- },
539
- "name": "string"
540
- },
541
- "isOptional": false
542
- },
543
- {
544
- "__schema": "VariableLikeSchema",
545
- "location": {
546
- "filePath": "component-compare-props.ts",
547
- "line": 14,
548
- "character": 3
549
- },
550
- "signature": "(property) TabItem.order?: number",
551
- "name": "order",
552
- "type": {
553
- "__schema": "KeywordTypeSchema",
554
- "location": {
555
- "filePath": "component-compare-props.ts",
556
- "line": 14,
557
- "character": 11
558
- },
559
- "name": "number"
560
- },
561
- "isOptional": true
562
- },
563
- {
564
- "__schema": "VariableLikeSchema",
565
- "location": {
566
- "filePath": "component-compare-props.ts",
567
- "line": 15,
568
- "character": 3
569
- },
570
- "signature": "(property) TabItem.displayName?: string",
571
- "name": "displayName",
572
- "type": {
573
- "__schema": "KeywordTypeSchema",
574
- "location": {
575
- "filePath": "component-compare-props.ts",
576
- "line": 15,
577
- "character": 17
578
- },
579
- "name": "string"
580
- },
581
- "isOptional": true
582
- },
583
- {
584
- "__schema": "VariableLikeSchema",
585
- "location": {
586
- "filePath": "component-compare-props.ts",
587
- "line": 16,
588
- "character": 3
589
- },
590
- "signature": "(property) TabItem.props?: {\n replace?: boolean;\n external?: boolean;\n} & React.AnchorHTMLAttributes<HTMLAnchorElement> & {\n activeClassName?: string;\n activeStyle?: React.CSSProperties;\n exact?: boolean;\n strict?: boolean;\n isActive?: () => boolean;\n} & {\n ...;\n}",
591
- "name": "props",
592
- "type": {
593
- "__schema": "TypeIntersectionSchema",
594
- "location": {
595
- "filePath": "component-compare-props.ts",
596
- "line": 16,
597
- "character": 11
598
- },
599
- "types": [
600
- {
601
- "__schema": "TypeRefSchema",
602
- "location": {
603
- "filePath": "component-compare-props.ts",
604
- "line": 16,
605
- "character": 11
606
- },
607
- "name": "NavLinkProps",
608
- "componentId": {
609
- "scope": "teambit.base-ui",
610
- "name": "routing/nav-link",
611
- "version": "1.0.0"
612
- }
613
- },
614
- {
615
- "__schema": "TypeLiteralSchema",
616
- "location": {
617
- "filePath": "component-compare-props.ts",
618
- "line": 16,
619
- "character": 26
620
- },
621
- "members": [
622
- {
623
- "__schema": "VariableLikeSchema",
624
- "location": {
625
- "filePath": "component-compare-props.ts",
626
- "line": 16,
627
- "character": 28
628
- },
629
- "signature": "(property) displayName?: string",
630
- "name": "displayName",
631
- "type": {
632
- "__schema": "KeywordTypeSchema",
633
- "location": {
634
- "filePath": "component-compare-props.ts",
635
- "line": 16,
636
- "character": 42
637
- },
638
- "name": "string"
639
- },
640
- "isOptional": true
641
- }
642
- ]
643
- }
644
- ]
645
- },
646
- "isOptional": true
647
- },
648
- {
649
- "__schema": "VariableLikeSchema",
650
- "location": {
651
- "filePath": "component-compare-props.ts",
652
- "line": 17,
653
- "character": 3
654
- },
655
- "signature": "(property) TabItem.element?: React.ReactNode",
656
- "name": "element",
657
- "type": {
658
- "__schema": "TypeUnionSchema",
659
- "location": {
660
- "filePath": "component-compare-props.ts",
661
- "line": 17,
662
- "character": 13
663
- },
664
- "types": [
665
- {
666
- "__schema": "TypeRefSchema",
667
- "location": {
668
- "filePath": "component-compare-props.ts",
669
- "line": 17,
670
- "character": 13
671
- },
672
- "name": "React.ReactNode"
673
- },
674
- {
675
- "__schema": "LiteralTypeSchema",
676
- "location": {
677
- "filePath": "component-compare-props.ts",
678
- "line": 17,
679
- "character": 31
680
- },
681
- "name": "null"
682
- }
683
- ]
684
- },
685
- "isOptional": true
686
- },
687
- {
688
- "__schema": "VariableLikeSchema",
689
- "location": {
690
- "filePath": "component-compare-props.ts",
691
- "line": 18,
692
- "character": 3
693
- },
694
- "signature": "(property) TabItem.widget?: boolean",
695
- "name": "widget",
696
- "type": {
697
- "__schema": "KeywordTypeSchema",
698
- "location": {
699
- "filePath": "component-compare-props.ts",
700
- "line": 18,
701
- "character": 12
702
- },
703
- "name": "boolean"
704
- },
705
- "isOptional": true
706
- },
707
- {
708
- "__schema": "VariableLikeSchema",
709
- "location": {
710
- "filePath": "component-compare-props.ts",
711
- "line": 19,
712
- "character": 3
713
- },
714
- "signature": "(property) TabItem.changeType?: ChangeType",
715
- "name": "changeType",
716
- "type": {
717
- "__schema": "TypeRefSchema",
718
- "location": {
719
- "filePath": "component-compare-props.ts",
720
- "line": 19,
721
- "character": 3
722
- },
723
- "name": "ChangeType",
724
- "componentId": {
725
- "scope": "teambit.component",
726
- "name": "ui/component-compare/models/component-compare-change-type",
727
- "version": "0.0.7"
728
- }
729
- },
730
- "isOptional": true
731
- }
732
- ],
733
- "extendsNodes": []
734
- }
735
- ],
736
- "internals": []
737
- },
738
- "internals": [
739
- {
740
- "__schema": "ModuleSchema",
741
- "location": {
742
- "filePath": "component-compare-props.ts",
743
- "line": 1,
744
- "character": 1
745
- },
746
- "exports": [
747
- {
748
- "__schema": "InterfaceSchema",
749
- "location": {
750
- "filePath": "component-compare-props.ts",
751
- "line": 12,
752
- "character": 1
753
- },
754
- "signature": "interface TabItem",
755
- "name": "TabItem",
756
- "members": [
757
- {
758
- "__schema": "VariableLikeSchema",
759
- "location": {
760
- "filePath": "component-compare-props.ts",
761
- "line": 13,
762
- "character": 3
763
- },
764
- "signature": "(property) TabItem.id: string",
765
- "name": "id",
766
- "type": {
767
- "__schema": "KeywordTypeSchema",
768
- "location": {
769
- "filePath": "component-compare-props.ts",
770
- "line": 13,
771
- "character": 7
772
- },
773
- "name": "string"
774
- },
775
- "isOptional": false
776
- },
777
- {
778
- "__schema": "VariableLikeSchema",
779
- "location": {
780
- "filePath": "component-compare-props.ts",
781
- "line": 14,
782
- "character": 3
783
- },
784
- "signature": "(property) TabItem.order?: number",
785
- "name": "order",
786
- "type": {
787
- "__schema": "KeywordTypeSchema",
788
- "location": {
789
- "filePath": "component-compare-props.ts",
790
- "line": 14,
791
- "character": 11
792
- },
793
- "name": "number"
794
- },
795
- "isOptional": true
796
- },
797
- {
798
- "__schema": "VariableLikeSchema",
799
- "location": {
800
- "filePath": "component-compare-props.ts",
801
- "line": 15,
802
- "character": 3
803
- },
804
- "signature": "(property) TabItem.displayName?: string",
805
- "name": "displayName",
806
- "type": {
807
- "__schema": "KeywordTypeSchema",
808
- "location": {
809
- "filePath": "component-compare-props.ts",
810
- "line": 15,
811
- "character": 17
812
- },
813
- "name": "string"
814
- },
815
- "isOptional": true
816
- },
817
- {
818
- "__schema": "VariableLikeSchema",
819
- "location": {
820
- "filePath": "component-compare-props.ts",
821
- "line": 16,
822
- "character": 3
823
- },
824
- "signature": "(property) TabItem.props?: {\n replace?: boolean;\n external?: boolean;\n} & React.AnchorHTMLAttributes<HTMLAnchorElement> & {\n activeClassName?: string;\n activeStyle?: React.CSSProperties;\n exact?: boolean;\n strict?: boolean;\n isActive?: () => boolean;\n} & {\n ...;\n}",
825
- "name": "props",
826
- "type": {
827
- "__schema": "TypeIntersectionSchema",
828
- "location": {
829
- "filePath": "component-compare-props.ts",
830
- "line": 16,
831
- "character": 11
832
- },
833
- "types": [
834
- {
835
- "__schema": "TypeRefSchema",
836
- "location": {
837
- "filePath": "component-compare-props.ts",
838
- "line": 16,
839
- "character": 11
840
- },
841
- "name": "NavLinkProps",
842
- "componentId": {
843
- "scope": "teambit.base-ui",
844
- "name": "routing/nav-link",
845
- "version": "1.0.0"
846
- }
847
- },
848
- {
849
- "__schema": "TypeLiteralSchema",
850
- "location": {
851
- "filePath": "component-compare-props.ts",
852
- "line": 16,
853
- "character": 26
854
- },
855
- "members": [
856
- {
857
- "__schema": "VariableLikeSchema",
858
- "location": {
859
- "filePath": "component-compare-props.ts",
860
- "line": 16,
861
- "character": 28
862
- },
863
- "signature": "(property) displayName?: string",
864
- "name": "displayName",
865
- "type": {
866
- "__schema": "KeywordTypeSchema",
867
- "location": {
868
- "filePath": "component-compare-props.ts",
869
- "line": 16,
870
- "character": 42
871
- },
872
- "name": "string"
873
- },
874
- "isOptional": true
875
- }
876
- ]
877
- }
878
- ]
879
- },
880
- "isOptional": true
881
- },
882
- {
883
- "__schema": "VariableLikeSchema",
884
- "location": {
885
- "filePath": "component-compare-props.ts",
886
- "line": 17,
887
- "character": 3
888
- },
889
- "signature": "(property) TabItem.element?: React.ReactNode",
890
- "name": "element",
891
- "type": {
892
- "__schema": "TypeUnionSchema",
893
- "location": {
894
- "filePath": "component-compare-props.ts",
895
- "line": 17,
896
- "character": 13
897
- },
898
- "types": [
899
- {
900
- "__schema": "TypeRefSchema",
901
- "location": {
902
- "filePath": "component-compare-props.ts",
903
- "line": 17,
904
- "character": 13
905
- },
906
- "name": "React.ReactNode"
907
- },
908
- {
909
- "__schema": "LiteralTypeSchema",
910
- "location": {
911
- "filePath": "component-compare-props.ts",
912
- "line": 17,
913
- "character": 31
914
- },
915
- "name": "null"
916
- }
917
- ]
918
- },
919
- "isOptional": true
920
- },
921
- {
922
- "__schema": "VariableLikeSchema",
923
- "location": {
924
- "filePath": "component-compare-props.ts",
925
- "line": 18,
926
- "character": 3
927
- },
928
- "signature": "(property) TabItem.widget?: boolean",
929
- "name": "widget",
930
- "type": {
931
- "__schema": "KeywordTypeSchema",
932
- "location": {
933
- "filePath": "component-compare-props.ts",
934
- "line": 18,
935
- "character": 12
936
- },
937
- "name": "boolean"
938
- },
939
- "isOptional": true
940
- },
941
- {
942
- "__schema": "VariableLikeSchema",
943
- "location": {
944
- "filePath": "component-compare-props.ts",
945
- "line": 19,
946
- "character": 3
947
- },
948
- "signature": "(property) TabItem.changeType?: ChangeType",
949
- "name": "changeType",
950
- "type": {
951
- "__schema": "TypeRefSchema",
952
- "location": {
953
- "filePath": "component-compare-props.ts",
954
- "line": 19,
955
- "character": 3
956
- },
957
- "name": "ChangeType",
958
- "componentId": {
959
- "scope": "teambit.component",
960
- "name": "ui/component-compare/models/component-compare-change-type",
961
- "version": "0.0.7"
962
- }
963
- },
964
- "isOptional": true
965
- }
966
- ],
967
- "extendsNodes": []
968
- },
969
- {
970
- "__schema": "TypeSchema",
971
- "location": {
972
- "filePath": "component-compare-props.ts",
973
- "line": 22,
974
- "character": 1
975
- },
976
- "signature": "type ComponentCompareProps = {\n state?: ComponentCompareState;\n hooks?: ComponentCompareHooks;\n baseContext?: StateAndHooks;\n compareContext?: StateAndHooks;\n tabs?: MaybeLazyLoaded<TabItem[]>;\n routes?: MaybeLazyLoaded<RouteProps[]>;\n host: string;\n baseId?: ComponentID;\n baseIdOverride?: ComponentID;\n compareIdOverride?: ComponentID;\n compareId?: ComponentID;\n customUseComponent?: UseComponentType;\n changes?: ChangeType[] | null;\n Loader?: ComponentType;\n isFullScreen?: boolean;\n hidden?: boolean;\n} & HTMLAttributes<...>",
977
- "name": "ComponentCompareProps",
978
- "type": {
979
- "__schema": "TypeIntersectionSchema",
980
- "location": {
981
- "filePath": "component-compare-props.ts",
982
- "line": 22,
983
- "character": 37
984
- },
985
- "types": [
986
- {
987
- "__schema": "TypeLiteralSchema",
988
- "location": {
989
- "filePath": "component-compare-props.ts",
990
- "line": 22,
991
- "character": 37
992
- },
993
- "members": [
994
- {
995
- "__schema": "VariableLikeSchema",
996
- "location": {
997
- "filePath": "component-compare-props.ts",
998
- "line": 23,
999
- "character": 3
1000
- },
1001
- "signature": "(property) state?: Partial<Record<ComponentCompareStateKey, ComponentCompareStateData>>",
1002
- "name": "state",
1003
- "type": {
1004
- "__schema": "TypeRefSchema",
1005
- "location": {
1006
- "filePath": "component-compare-props.ts",
1007
- "line": 23,
1008
- "character": 11
1009
- },
1010
- "name": "ComponentCompareState",
1011
- "componentId": {
1012
- "scope": "teambit.component",
1013
- "name": "ui/component-compare/models/component-compare-state",
1014
- "version": "0.0.7"
1015
- }
1016
- },
1017
- "isOptional": true
1018
- },
1019
- {
1020
- "__schema": "VariableLikeSchema",
1021
- "location": {
1022
- "filePath": "component-compare-props.ts",
1023
- "line": 24,
1024
- "character": 3
1025
- },
1026
- "signature": "(property) hooks?: Partial<Record<ComponentCompareStateKey, ComponentCompareHooksData>>",
1027
- "name": "hooks",
1028
- "type": {
1029
- "__schema": "TypeRefSchema",
1030
- "location": {
1031
- "filePath": "component-compare-props.ts",
1032
- "line": 24,
1033
- "character": 11
1034
- },
1035
- "name": "ComponentCompareHooks",
1036
- "componentId": {
1037
- "scope": "teambit.component",
1038
- "name": "ui/component-compare/models/component-compare-hooks",
1039
- "version": "0f928c681b4cd5f95eef703a918d92d55f1e6d32"
1040
- }
1041
- },
1042
- "isOptional": true
1043
- },
1044
- {
1045
- "__schema": "VariableLikeSchema",
1046
- "location": {
1047
- "filePath": "component-compare-props.ts",
1048
- "line": 25,
1049
- "character": 3
1050
- },
1051
- "signature": "(property) baseContext?: StateAndHooks",
1052
- "name": "baseContext",
1053
- "type": {
1054
- "__schema": "TypeRefSchema",
1055
- "location": {
1056
- "filePath": "component-compare-props.ts",
1057
- "line": 25,
1058
- "character": 3
1059
- },
1060
- "name": "StateAndHooks",
1061
- "componentId": {
1062
- "scope": "teambit.component",
1063
- "name": "ui/component-compare/context",
1064
- "version": "28f5189c2f4fcfbe05e84342dbd29efbf8a8b52e"
1065
- }
1066
- },
1067
- "isOptional": true
1068
- },
1069
- {
1070
- "__schema": "VariableLikeSchema",
1071
- "location": {
1072
- "filePath": "component-compare-props.ts",
1073
- "line": 26,
1074
- "character": 3
1075
- },
1076
- "signature": "(property) compareContext?: StateAndHooks",
1077
- "name": "compareContext",
1078
- "type": {
1079
- "__schema": "TypeRefSchema",
1080
- "location": {
1081
- "filePath": "component-compare-props.ts",
1082
- "line": 26,
1083
- "character": 3
1084
- },
1085
- "name": "StateAndHooks",
1086
- "componentId": {
1087
- "scope": "teambit.component",
1088
- "name": "ui/component-compare/context",
1089
- "version": "28f5189c2f4fcfbe05e84342dbd29efbf8a8b52e"
1090
- }
1091
- },
1092
- "isOptional": true
1093
- },
1094
- {
1095
- "__schema": "VariableLikeSchema",
1096
- "location": {
1097
- "filePath": "component-compare-props.ts",
1098
- "line": 27,
1099
- "character": 3
1100
- },
1101
- "signature": "(property) tabs?: MaybeLazyLoaded<TabItem[]>",
1102
- "name": "tabs",
1103
- "type": {
1104
- "__schema": "TypeRefSchema",
1105
- "location": {
1106
- "filePath": "component-compare-props.ts",
1107
- "line": 27,
1108
- "character": 10
1109
- },
1110
- "name": "MaybeLazyLoaded",
1111
- "componentId": {
1112
- "scope": "teambit.component",
1113
- "name": "ui/component-compare/utils/lazy-loading",
1114
- "version": "0.0.6"
1115
- },
1116
- "typeArgs": [
1117
- {
1118
- "__schema": "TypeArraySchema",
1119
- "location": {
1120
- "filePath": "component-compare-props.ts",
1121
- "line": 27,
1122
- "character": 26
1123
- },
1124
- "type": {
1125
- "__schema": "TypeRefSchema",
1126
- "location": {
1127
- "filePath": "component-compare-props.ts",
1128
- "line": 27,
1129
- "character": 26
1130
- },
1131
- "name": "TabItem"
1132
- }
1133
- }
1134
- ]
1135
- },
1136
- "isOptional": true
1137
- },
1138
- {
1139
- "__schema": "VariableLikeSchema",
1140
- "location": {
1141
- "filePath": "component-compare-props.ts",
1142
- "line": 28,
1143
- "character": 3
1144
- },
1145
- "signature": "(property) routes?: MaybeLazyLoaded<RouteProps[]>",
1146
- "name": "routes",
1147
- "type": {
1148
- "__schema": "TypeRefSchema",
1149
- "location": {
1150
- "filePath": "component-compare-props.ts",
1151
- "line": 28,
1152
- "character": 12
1153
- },
1154
- "name": "MaybeLazyLoaded",
1155
- "componentId": {
1156
- "scope": "teambit.component",
1157
- "name": "ui/component-compare/utils/lazy-loading",
1158
- "version": "0.0.6"
1159
- },
1160
- "typeArgs": [
1161
- {
1162
- "__schema": "TypeArraySchema",
1163
- "location": {
1164
- "filePath": "component-compare-props.ts",
1165
- "line": 28,
1166
- "character": 28
1167
- },
1168
- "type": {
1169
- "__schema": "TypeRefSchema",
1170
- "location": {
1171
- "filePath": "component-compare-props.ts",
1172
- "line": 28,
1173
- "character": 28
1174
- },
1175
- "name": "RouteProps",
1176
- "packageName": "react-router-dom"
1177
- }
1178
- }
1179
- ]
1180
- },
1181
- "isOptional": true
1182
- },
1183
- {
1184
- "__schema": "VariableLikeSchema",
1185
- "location": {
1186
- "filePath": "component-compare-props.ts",
1187
- "line": 29,
1188
- "character": 3
1189
- },
1190
- "signature": "(property) host: string",
1191
- "name": "host",
1192
- "type": {
1193
- "__schema": "KeywordTypeSchema",
1194
- "location": {
1195
- "filePath": "component-compare-props.ts",
1196
- "line": 29,
1197
- "character": 9
1198
- },
1199
- "name": "string"
1200
- },
1201
- "isOptional": false
1202
- },
1203
- {
1204
- "__schema": "VariableLikeSchema",
1205
- "location": {
1206
- "filePath": "component-compare-props.ts",
1207
- "line": 30,
1208
- "character": 3
1209
- },
1210
- "signature": "(property) baseId?: ComponentID",
1211
- "name": "baseId",
1212
- "type": {
1213
- "__schema": "TypeRefSchema",
1214
- "location": {
1215
- "filePath": "component-compare-props.ts",
1216
- "line": 30,
1217
- "character": 3
1218
- },
1219
- "name": "ComponentID",
1220
- "componentId": {
1221
- "scope": "teambit.component",
1222
- "name": "component-id",
1223
- "version": "1.2.0"
1224
- }
1225
- },
1226
- "isOptional": true
1227
- },
1228
- {
1229
- "__schema": "VariableLikeSchema",
1230
- "location": {
1231
- "filePath": "component-compare-props.ts",
1232
- "line": 31,
1233
- "character": 3
1234
- },
1235
- "signature": "(property) baseIdOverride?: ComponentID",
1236
- "name": "baseIdOverride",
1237
- "type": {
1238
- "__schema": "TypeRefSchema",
1239
- "location": {
1240
- "filePath": "component-compare-props.ts",
1241
- "line": 31,
1242
- "character": 3
1243
- },
1244
- "name": "ComponentID",
1245
- "componentId": {
1246
- "scope": "teambit.component",
1247
- "name": "component-id",
1248
- "version": "1.2.0"
1249
- }
1250
- },
1251
- "isOptional": true
1252
- },
1253
- {
1254
- "__schema": "VariableLikeSchema",
1255
- "location": {
1256
- "filePath": "component-compare-props.ts",
1257
- "line": 32,
1258
- "character": 3
1259
- },
1260
- "signature": "(property) compareIdOverride?: ComponentID",
1261
- "name": "compareIdOverride",
1262
- "type": {
1263
- "__schema": "TypeRefSchema",
1264
- "location": {
1265
- "filePath": "component-compare-props.ts",
1266
- "line": 32,
1267
- "character": 3
1268
- },
1269
- "name": "ComponentID",
1270
- "componentId": {
1271
- "scope": "teambit.component",
1272
- "name": "component-id",
1273
- "version": "1.2.0"
1274
- }
1275
- },
1276
- "isOptional": true
1277
- },
1278
- {
1279
- "__schema": "VariableLikeSchema",
1280
- "location": {
1281
- "filePath": "component-compare-props.ts",
1282
- "line": 33,
1283
- "character": 3
1284
- },
1285
- "signature": "(property) compareId?: ComponentID",
1286
- "name": "compareId",
1287
- "type": {
1288
- "__schema": "TypeRefSchema",
1289
- "location": {
1290
- "filePath": "component-compare-props.ts",
1291
- "line": 33,
1292
- "character": 3
1293
- },
1294
- "name": "ComponentID",
1295
- "componentId": {
1296
- "scope": "teambit.component",
1297
- "name": "component-id",
1298
- "version": "1.2.0"
1299
- }
1300
- },
1301
- "isOptional": true
1302
- },
1303
- {
1304
- "__schema": "VariableLikeSchema",
1305
- "location": {
1306
- "filePath": "component-compare-props.ts",
1307
- "line": 34,
1308
- "character": 3
1309
- },
1310
- "signature": "(property) customUseComponent?: UseComponentType",
1311
- "name": "customUseComponent",
1312
- "type": {
1313
- "__schema": "TypeRefSchema",
1314
- "location": {
1315
- "filePath": "component-compare-props.ts",
1316
- "line": 34,
1317
- "character": 3
1318
- },
1319
- "name": "UseComponentType",
1320
- "componentId": {
1321
- "scope": "teambit.component",
1322
- "name": "component"
1323
- }
1324
- },
1325
- "isOptional": true
1326
- },
1327
- {
1328
- "__schema": "VariableLikeSchema",
1329
- "location": {
1330
- "filePath": "component-compare-props.ts",
1331
- "line": 35,
1332
- "character": 3
1333
- },
1334
- "signature": "(property) changes?: ChangeType[]",
1335
- "name": "changes",
1336
- "type": {
1337
- "__schema": "TypeUnionSchema",
1338
- "location": {
1339
- "filePath": "component-compare-props.ts",
1340
- "line": 35,
1341
- "character": 13
1342
- },
1343
- "types": [
1344
- {
1345
- "__schema": "TypeArraySchema",
1346
- "location": {
1347
- "filePath": "component-compare-props.ts",
1348
- "line": 35,
1349
- "character": 13
1350
- },
1351
- "type": {
1352
- "__schema": "TypeRefSchema",
1353
- "location": {
1354
- "filePath": "component-compare-props.ts",
1355
- "line": 35,
1356
- "character": 13
1357
- },
1358
- "name": "ChangeType",
1359
- "componentId": {
1360
- "scope": "teambit.component",
1361
- "name": "ui/component-compare/models/component-compare-change-type",
1362
- "version": "0.0.7"
1363
- }
1364
- }
1365
- },
1366
- {
1367
- "__schema": "LiteralTypeSchema",
1368
- "location": {
1369
- "filePath": "component-compare-props.ts",
1370
- "line": 35,
1371
- "character": 28
1372
- },
1373
- "name": "null"
1374
- }
1375
- ]
1376
- },
1377
- "isOptional": true
1378
- },
1379
- {
1380
- "__schema": "VariableLikeSchema",
1381
- "location": {
1382
- "filePath": "component-compare-props.ts",
1383
- "line": 36,
1384
- "character": 3
1385
- },
1386
- "signature": "(property) Loader?: ComponentType<{}>",
1387
- "name": "Loader",
1388
- "type": {
1389
- "__schema": "TypeRefSchema",
1390
- "location": {
1391
- "filePath": "component-compare-props.ts",
1392
- "line": 36,
1393
- "character": 12
1394
- },
1395
- "name": "ComponentType",
1396
- "packageName": "react"
1397
- },
1398
- "isOptional": true
1399
- },
1400
- {
1401
- "__schema": "VariableLikeSchema",
1402
- "location": {
1403
- "filePath": "component-compare-props.ts",
1404
- "line": 37,
1405
- "character": 3
1406
- },
1407
- "signature": "(property) isFullScreen?: boolean",
1408
- "name": "isFullScreen",
1409
- "type": {
1410
- "__schema": "KeywordTypeSchema",
1411
- "location": {
1412
- "filePath": "component-compare-props.ts",
1413
- "line": 37,
1414
- "character": 18
1415
- },
1416
- "name": "boolean"
1417
- },
1418
- "isOptional": true
1419
- },
1420
- {
1421
- "__schema": "VariableLikeSchema",
1422
- "location": {
1423
- "filePath": "component-compare-props.ts",
1424
- "line": 38,
1425
- "character": 3
1426
- },
1427
- "signature": "(property) hidden?: boolean",
1428
- "name": "hidden",
1429
- "type": {
1430
- "__schema": "KeywordTypeSchema",
1431
- "location": {
1432
- "filePath": "component-compare-props.ts",
1433
- "line": 38,
1434
- "character": 12
1435
- },
1436
- "name": "boolean"
1437
- },
1438
- "isOptional": true
1439
- }
1440
- ]
1441
- },
1442
- {
1443
- "__schema": "TypeRefSchema",
1444
- "location": {
1445
- "filePath": "component-compare-props.ts",
1446
- "line": 39,
1447
- "character": 5
1448
- },
1449
- "name": "HTMLAttributes",
1450
- "packageName": "react",
1451
- "typeArgs": [
1452
- {
1453
- "__schema": "TypeRefSchema",
1454
- "location": {
1455
- "filePath": "component-compare-props.ts",
1456
- "line": 39,
1457
- "character": 20
1458
- },
1459
- "name": "HTMLDivElement"
1460
- }
1461
- ]
1462
- }
1463
- ]
1464
- }
1465
- }
1466
- ],
1467
- "internals": []
1468
- }
1469
- ],
1470
- "componentId": {
1471
- "scope": "teambit.component",
1472
- "name": "ui/component-compare/models/component-compare-props",
1473
- "version": "0ec5241c7f06b06438e6d4366da043aef1a10a0c"
1474
- },
1475
- "taggedModuleExports": []
1476
- }