@teambit/dependencies 1.0.511 → 1.0.513

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.
@@ -0,0 +1,4714 @@
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": "ExportSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
+ },
23
+ "signature": "class DependenciesMain",
24
+ "name": "DependenciesMain",
25
+ "exportNode": {
26
+ "__schema": "ClassSchema",
27
+ "location": {
28
+ "filePath": "dependencies.main.runtime.ts",
29
+ "line": 61,
30
+ "character": 1
31
+ },
32
+ "signature": "class DependenciesMain",
33
+ "name": "DependenciesMain",
34
+ "members": [
35
+ {
36
+ "__schema": "ConstructorSchema",
37
+ "location": {
38
+ "filePath": "dependencies.main.runtime.ts",
39
+ "line": 62,
40
+ "character": 3
41
+ },
42
+ "signature": "constructor DependenciesMain(workspace: Workspace, scope: ScopeMain, dependencyResolver: DependencyResolverMain, devFiles: DevFilesMain, aspectLoader: AspectLoaderMain, graph: GraphMain, logger: Logger): DependenciesMain",
43
+ "name": "constructor",
44
+ "params": [
45
+ {
46
+ "__schema": "ParameterSchema",
47
+ "location": {
48
+ "filePath": "dependencies.main.runtime.ts",
49
+ "line": 63,
50
+ "character": 5
51
+ },
52
+ "name": "workspace",
53
+ "type": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "dependencies.main.runtime.ts",
57
+ "line": 63,
58
+ "character": 24
59
+ },
60
+ "name": "Workspace"
61
+ },
62
+ "isOptional": false,
63
+ "isSpread": false
64
+ },
65
+ {
66
+ "__schema": "ParameterSchema",
67
+ "location": {
68
+ "filePath": "dependencies.main.runtime.ts",
69
+ "line": 64,
70
+ "character": 5
71
+ },
72
+ "name": "scope",
73
+ "type": {
74
+ "__schema": "TypeRefSchema",
75
+ "location": {
76
+ "filePath": "dependencies.main.runtime.ts",
77
+ "line": 64,
78
+ "character": 20
79
+ },
80
+ "name": "ScopeMain"
81
+ },
82
+ "isOptional": false,
83
+ "isSpread": false
84
+ },
85
+ {
86
+ "__schema": "ParameterSchema",
87
+ "location": {
88
+ "filePath": "dependencies.main.runtime.ts",
89
+ "line": 65,
90
+ "character": 5
91
+ },
92
+ "name": "dependencyResolver",
93
+ "type": {
94
+ "__schema": "TypeRefSchema",
95
+ "location": {
96
+ "filePath": "dependencies.main.runtime.ts",
97
+ "line": 65,
98
+ "character": 33
99
+ },
100
+ "name": "DependencyResolverMain"
101
+ },
102
+ "isOptional": false,
103
+ "isSpread": false
104
+ },
105
+ {
106
+ "__schema": "ParameterSchema",
107
+ "location": {
108
+ "filePath": "dependencies.main.runtime.ts",
109
+ "line": 66,
110
+ "character": 5
111
+ },
112
+ "name": "devFiles",
113
+ "type": {
114
+ "__schema": "TypeRefSchema",
115
+ "location": {
116
+ "filePath": "dependencies.main.runtime.ts",
117
+ "line": 66,
118
+ "character": 23
119
+ },
120
+ "name": "DevFilesMain"
121
+ },
122
+ "isOptional": false,
123
+ "isSpread": false
124
+ },
125
+ {
126
+ "__schema": "ParameterSchema",
127
+ "location": {
128
+ "filePath": "dependencies.main.runtime.ts",
129
+ "line": 67,
130
+ "character": 5
131
+ },
132
+ "name": "aspectLoader",
133
+ "type": {
134
+ "__schema": "TypeRefSchema",
135
+ "location": {
136
+ "filePath": "dependencies.main.runtime.ts",
137
+ "line": 67,
138
+ "character": 27
139
+ },
140
+ "name": "AspectLoaderMain"
141
+ },
142
+ "isOptional": false,
143
+ "isSpread": false
144
+ },
145
+ {
146
+ "__schema": "ParameterSchema",
147
+ "location": {
148
+ "filePath": "dependencies.main.runtime.ts",
149
+ "line": 68,
150
+ "character": 5
151
+ },
152
+ "name": "graph",
153
+ "type": {
154
+ "__schema": "TypeRefSchema",
155
+ "location": {
156
+ "filePath": "dependencies.main.runtime.ts",
157
+ "line": 68,
158
+ "character": 20
159
+ },
160
+ "name": "GraphMain"
161
+ },
162
+ "isOptional": false,
163
+ "isSpread": false
164
+ },
165
+ {
166
+ "__schema": "ParameterSchema",
167
+ "location": {
168
+ "filePath": "dependencies.main.runtime.ts",
169
+ "line": 69,
170
+ "character": 5
171
+ },
172
+ "name": "logger",
173
+ "type": {
174
+ "__schema": "TypeRefSchema",
175
+ "location": {
176
+ "filePath": "dependencies.main.runtime.ts",
177
+ "line": 69,
178
+ "character": 21
179
+ },
180
+ "name": "Logger"
181
+ },
182
+ "isOptional": false,
183
+ "isSpread": false
184
+ }
185
+ ],
186
+ "returnType": {
187
+ "__schema": "ThisTypeSchema",
188
+ "location": {
189
+ "filePath": "dependencies.main.runtime.ts",
190
+ "line": 61,
191
+ "character": 1
192
+ },
193
+ "name": "DependenciesMain"
194
+ },
195
+ "modifiers": []
196
+ },
197
+ {
198
+ "__schema": "FunctionLikeSchema",
199
+ "location": {
200
+ "filePath": "dependencies.main.runtime.ts",
201
+ "line": 72,
202
+ "character": 3
203
+ },
204
+ "signature": "(method) DependenciesMain.setPeer(componentId: string, range?: string): Promise<void>",
205
+ "name": "setPeer",
206
+ "params": [
207
+ {
208
+ "__schema": "ParameterSchema",
209
+ "location": {
210
+ "filePath": "dependencies.main.runtime.ts",
211
+ "line": 72,
212
+ "character": 17
213
+ },
214
+ "name": "componentId",
215
+ "type": {
216
+ "__schema": "KeywordTypeSchema",
217
+ "location": {
218
+ "filePath": "dependencies.main.runtime.ts",
219
+ "line": 72,
220
+ "character": 30
221
+ },
222
+ "name": "string"
223
+ },
224
+ "isOptional": false,
225
+ "isSpread": false
226
+ },
227
+ {
228
+ "__schema": "ParameterSchema",
229
+ "location": {
230
+ "filePath": "dependencies.main.runtime.ts",
231
+ "line": 72,
232
+ "character": 38
233
+ },
234
+ "name": "range",
235
+ "type": {
236
+ "__schema": "KeywordTypeSchema",
237
+ "location": {
238
+ "filePath": "dependencies.main.runtime.ts",
239
+ "line": 72,
240
+ "character": 46
241
+ },
242
+ "name": "string"
243
+ },
244
+ "isOptional": true,
245
+ "isSpread": false
246
+ }
247
+ ],
248
+ "returnType": {
249
+ "__schema": "TypeRefSchema",
250
+ "location": {
251
+ "filePath": "dependencies.main.runtime.ts",
252
+ "line": 72,
253
+ "character": 55
254
+ },
255
+ "name": "Promise",
256
+ "typeArgs": [
257
+ {
258
+ "__schema": "KeywordTypeSchema",
259
+ "location": {
260
+ "filePath": "dependencies.main.runtime.ts",
261
+ "line": 72,
262
+ "character": 63
263
+ },
264
+ "name": "void"
265
+ }
266
+ ]
267
+ },
268
+ "modifiers": [
269
+ "async"
270
+ ]
271
+ },
272
+ {
273
+ "__schema": "FunctionLikeSchema",
274
+ "location": {
275
+ "filePath": "dependencies.main.runtime.ts",
276
+ "line": 83,
277
+ "character": 3
278
+ },
279
+ "signature": "(method) DependenciesMain.unsetPeer(componentId: string): Promise<void>",
280
+ "name": "unsetPeer",
281
+ "params": [
282
+ {
283
+ "__schema": "ParameterSchema",
284
+ "location": {
285
+ "filePath": "dependencies.main.runtime.ts",
286
+ "line": 83,
287
+ "character": 19
288
+ },
289
+ "name": "componentId",
290
+ "type": {
291
+ "__schema": "KeywordTypeSchema",
292
+ "location": {
293
+ "filePath": "dependencies.main.runtime.ts",
294
+ "line": 83,
295
+ "character": 32
296
+ },
297
+ "name": "string"
298
+ },
299
+ "isOptional": false,
300
+ "isSpread": false
301
+ }
302
+ ],
303
+ "returnType": {
304
+ "__schema": "TypeRefSchema",
305
+ "location": {
306
+ "filePath": "dependencies.main.runtime.ts",
307
+ "line": 83,
308
+ "character": 41
309
+ },
310
+ "name": "Promise",
311
+ "typeArgs": [
312
+ {
313
+ "__schema": "KeywordTypeSchema",
314
+ "location": {
315
+ "filePath": "dependencies.main.runtime.ts",
316
+ "line": 83,
317
+ "character": 49
318
+ },
319
+ "name": "void"
320
+ }
321
+ ]
322
+ },
323
+ "modifiers": [
324
+ "async"
325
+ ]
326
+ },
327
+ {
328
+ "__schema": "FunctionLikeSchema",
329
+ "location": {
330
+ "filePath": "dependencies.main.runtime.ts",
331
+ "line": 100,
332
+ "character": 3
333
+ },
334
+ "signature": "(method) DependenciesMain.setDependency(componentPattern: string, packages: string[], options?: SetDependenciesFlags): Promise<SetDependenciesResult>",
335
+ "name": "setDependency",
336
+ "params": [
337
+ {
338
+ "__schema": "ParameterSchema",
339
+ "location": {
340
+ "filePath": "dependencies.main.runtime.ts",
341
+ "line": 101,
342
+ "character": 5
343
+ },
344
+ "name": "componentPattern",
345
+ "type": {
346
+ "__schema": "KeywordTypeSchema",
347
+ "location": {
348
+ "filePath": "dependencies.main.runtime.ts",
349
+ "line": 101,
350
+ "character": 23
351
+ },
352
+ "name": "string"
353
+ },
354
+ "isOptional": false,
355
+ "isSpread": false
356
+ },
357
+ {
358
+ "__schema": "ParameterSchema",
359
+ "location": {
360
+ "filePath": "dependencies.main.runtime.ts",
361
+ "line": 102,
362
+ "character": 5
363
+ },
364
+ "name": "packages",
365
+ "type": {
366
+ "__schema": "TypeArraySchema",
367
+ "location": {
368
+ "filePath": "dependencies.main.runtime.ts",
369
+ "line": 102,
370
+ "character": 15
371
+ },
372
+ "type": {
373
+ "__schema": "KeywordTypeSchema",
374
+ "location": {
375
+ "filePath": "dependencies.main.runtime.ts",
376
+ "line": 102,
377
+ "character": 15
378
+ },
379
+ "name": "string"
380
+ }
381
+ },
382
+ "isOptional": false,
383
+ "isSpread": false
384
+ },
385
+ {
386
+ "__schema": "ParameterSchema",
387
+ "location": {
388
+ "filePath": "dependencies.main.runtime.ts",
389
+ "line": 103,
390
+ "character": 5
391
+ },
392
+ "name": "options",
393
+ "type": {
394
+ "__schema": "TypeRefSchema",
395
+ "location": {
396
+ "filePath": "dependencies.main.runtime.ts",
397
+ "line": 103,
398
+ "character": 14
399
+ },
400
+ "name": "SetDependenciesFlags"
401
+ },
402
+ "isOptional": true,
403
+ "defaultValue": "{}",
404
+ "isSpread": false
405
+ }
406
+ ],
407
+ "returnType": {
408
+ "__schema": "TypeRefSchema",
409
+ "location": {
410
+ "filePath": "dependencies.main.runtime.ts",
411
+ "line": 104,
412
+ "character": 6
413
+ },
414
+ "name": "Promise",
415
+ "typeArgs": [
416
+ {
417
+ "__schema": "TypeRefSchema",
418
+ "location": {
419
+ "filePath": "dependencies.main.runtime.ts",
420
+ "line": 104,
421
+ "character": 14
422
+ },
423
+ "name": "SetDependenciesResult"
424
+ }
425
+ ]
426
+ },
427
+ "modifiers": [
428
+ "async"
429
+ ]
430
+ },
431
+ {
432
+ "__schema": "FunctionLikeSchema",
433
+ "location": {
434
+ "filePath": "dependencies.main.runtime.ts",
435
+ "line": 144,
436
+ "character": 3
437
+ },
438
+ "signature": "(method) DependenciesMain.removeDependency(componentPattern: string, packages: string[], options?: RemoveDependenciesFlags, removeOnlyIfExists?: boolean): Promise<RemoveDependencyResult[]>",
439
+ "name": "removeDependency",
440
+ "params": [
441
+ {
442
+ "__schema": "ParameterSchema",
443
+ "location": {
444
+ "filePath": "dependencies.main.runtime.ts",
445
+ "line": 145,
446
+ "character": 5
447
+ },
448
+ "name": "componentPattern",
449
+ "type": {
450
+ "__schema": "KeywordTypeSchema",
451
+ "location": {
452
+ "filePath": "dependencies.main.runtime.ts",
453
+ "line": 145,
454
+ "character": 23
455
+ },
456
+ "name": "string"
457
+ },
458
+ "isOptional": false,
459
+ "isSpread": false
460
+ },
461
+ {
462
+ "__schema": "ParameterSchema",
463
+ "location": {
464
+ "filePath": "dependencies.main.runtime.ts",
465
+ "line": 146,
466
+ "character": 5
467
+ },
468
+ "name": "packages",
469
+ "type": {
470
+ "__schema": "TypeArraySchema",
471
+ "location": {
472
+ "filePath": "dependencies.main.runtime.ts",
473
+ "line": 146,
474
+ "character": 15
475
+ },
476
+ "type": {
477
+ "__schema": "KeywordTypeSchema",
478
+ "location": {
479
+ "filePath": "dependencies.main.runtime.ts",
480
+ "line": 146,
481
+ "character": 15
482
+ },
483
+ "name": "string"
484
+ }
485
+ },
486
+ "isOptional": false,
487
+ "isSpread": false
488
+ },
489
+ {
490
+ "__schema": "ParameterSchema",
491
+ "location": {
492
+ "filePath": "dependencies.main.runtime.ts",
493
+ "line": 147,
494
+ "character": 5
495
+ },
496
+ "name": "options",
497
+ "type": {
498
+ "__schema": "TypeRefSchema",
499
+ "location": {
500
+ "filePath": "dependencies.main.runtime.ts",
501
+ "line": 147,
502
+ "character": 14
503
+ },
504
+ "name": "RemoveDependenciesFlags"
505
+ },
506
+ "isOptional": true,
507
+ "defaultValue": "{}",
508
+ "isSpread": false
509
+ },
510
+ {
511
+ "__schema": "ParameterSchema",
512
+ "location": {
513
+ "filePath": "dependencies.main.runtime.ts",
514
+ "line": 148,
515
+ "character": 5
516
+ },
517
+ "name": "removeOnlyIfExists",
518
+ "type": {
519
+ "__schema": "InferenceTypeSchema",
520
+ "location": {
521
+ "filePath": "dependencies.main.runtime.ts",
522
+ "line": 148,
523
+ "character": 5
524
+ },
525
+ "type": "boolean"
526
+ },
527
+ "isOptional": true,
528
+ "defaultValue": "false",
529
+ "isSpread": false
530
+ }
531
+ ],
532
+ "returnType": {
533
+ "__schema": "TypeRefSchema",
534
+ "location": {
535
+ "filePath": "dependencies.main.runtime.ts",
536
+ "line": 149,
537
+ "character": 6
538
+ },
539
+ "name": "Promise",
540
+ "typeArgs": [
541
+ {
542
+ "__schema": "TypeArraySchema",
543
+ "location": {
544
+ "filePath": "dependencies.main.runtime.ts",
545
+ "line": 149,
546
+ "character": 14
547
+ },
548
+ "type": {
549
+ "__schema": "TypeRefSchema",
550
+ "location": {
551
+ "filePath": "dependencies.main.runtime.ts",
552
+ "line": 149,
553
+ "character": 14
554
+ },
555
+ "name": "RemoveDependencyResult"
556
+ }
557
+ }
558
+ ]
559
+ },
560
+ "modifiers": [
561
+ "async"
562
+ ]
563
+ },
564
+ {
565
+ "__schema": "FunctionLikeSchema",
566
+ "location": {
567
+ "filePath": "dependencies.main.runtime.ts",
568
+ "line": 208,
569
+ "character": 3
570
+ },
571
+ "signature": "(method) DependenciesMain.reset(componentPattern: string): Promise<ComponentID[]>",
572
+ "name": "reset",
573
+ "params": [
574
+ {
575
+ "__schema": "ParameterSchema",
576
+ "location": {
577
+ "filePath": "dependencies.main.runtime.ts",
578
+ "line": 208,
579
+ "character": 15
580
+ },
581
+ "name": "componentPattern",
582
+ "type": {
583
+ "__schema": "KeywordTypeSchema",
584
+ "location": {
585
+ "filePath": "dependencies.main.runtime.ts",
586
+ "line": 208,
587
+ "character": 33
588
+ },
589
+ "name": "string"
590
+ },
591
+ "isOptional": false,
592
+ "isSpread": false
593
+ }
594
+ ],
595
+ "returnType": {
596
+ "__schema": "TypeRefSchema",
597
+ "location": {
598
+ "filePath": "dependencies.main.runtime.ts",
599
+ "line": 208,
600
+ "character": 42
601
+ },
602
+ "name": "Promise",
603
+ "typeArgs": [
604
+ {
605
+ "__schema": "TypeArraySchema",
606
+ "location": {
607
+ "filePath": "dependencies.main.runtime.ts",
608
+ "line": 208,
609
+ "character": 50
610
+ },
611
+ "type": {
612
+ "__schema": "TypeRefSchema",
613
+ "location": {
614
+ "filePath": "dependencies.main.runtime.ts",
615
+ "line": 208,
616
+ "character": 50
617
+ },
618
+ "name": "ComponentID"
619
+ }
620
+ }
621
+ ]
622
+ },
623
+ "modifiers": [
624
+ "async"
625
+ ]
626
+ },
627
+ {
628
+ "__schema": "FunctionLikeSchema",
629
+ "location": {
630
+ "filePath": "dependencies.main.runtime.ts",
631
+ "line": 218,
632
+ "character": 3
633
+ },
634
+ "signature": "(method) DependenciesMain.eject(componentPattern: string): Promise<ComponentID[]>",
635
+ "name": "eject",
636
+ "params": [
637
+ {
638
+ "__schema": "ParameterSchema",
639
+ "location": {
640
+ "filePath": "dependencies.main.runtime.ts",
641
+ "line": 218,
642
+ "character": 15
643
+ },
644
+ "name": "componentPattern",
645
+ "type": {
646
+ "__schema": "KeywordTypeSchema",
647
+ "location": {
648
+ "filePath": "dependencies.main.runtime.ts",
649
+ "line": 218,
650
+ "character": 33
651
+ },
652
+ "name": "string"
653
+ },
654
+ "isOptional": false,
655
+ "isSpread": false
656
+ }
657
+ ],
658
+ "returnType": {
659
+ "__schema": "TypeRefSchema",
660
+ "location": {
661
+ "filePath": "dependencies.main.runtime.ts",
662
+ "line": 218,
663
+ "character": 42
664
+ },
665
+ "name": "Promise",
666
+ "typeArgs": [
667
+ {
668
+ "__schema": "TypeArraySchema",
669
+ "location": {
670
+ "filePath": "dependencies.main.runtime.ts",
671
+ "line": 218,
672
+ "character": 50
673
+ },
674
+ "type": {
675
+ "__schema": "TypeRefSchema",
676
+ "location": {
677
+ "filePath": "dependencies.main.runtime.ts",
678
+ "line": 218,
679
+ "character": 50
680
+ },
681
+ "name": "ComponentID"
682
+ }
683
+ }
684
+ ]
685
+ },
686
+ "modifiers": [
687
+ "async"
688
+ ]
689
+ },
690
+ {
691
+ "__schema": "FunctionLikeSchema",
692
+ "location": {
693
+ "filePath": "dependencies.main.runtime.ts",
694
+ "line": 236,
695
+ "character": 3
696
+ },
697
+ "signature": "(method) DependenciesMain.getDependencies(id: string, scope?: boolean): Promise<DependenciesResults>",
698
+ "name": "getDependencies",
699
+ "params": [
700
+ {
701
+ "__schema": "ParameterSchema",
702
+ "location": {
703
+ "filePath": "dependencies.main.runtime.ts",
704
+ "line": 236,
705
+ "character": 25
706
+ },
707
+ "name": "id",
708
+ "type": {
709
+ "__schema": "KeywordTypeSchema",
710
+ "location": {
711
+ "filePath": "dependencies.main.runtime.ts",
712
+ "line": 236,
713
+ "character": 29
714
+ },
715
+ "name": "string"
716
+ },
717
+ "isOptional": false,
718
+ "isSpread": false
719
+ },
720
+ {
721
+ "__schema": "ParameterSchema",
722
+ "location": {
723
+ "filePath": "dependencies.main.runtime.ts",
724
+ "line": 236,
725
+ "character": 37
726
+ },
727
+ "name": "scope",
728
+ "type": {
729
+ "__schema": "KeywordTypeSchema",
730
+ "location": {
731
+ "filePath": "dependencies.main.runtime.ts",
732
+ "line": 236,
733
+ "character": 45
734
+ },
735
+ "name": "boolean"
736
+ },
737
+ "isOptional": true,
738
+ "isSpread": false
739
+ }
740
+ ],
741
+ "returnType": {
742
+ "__schema": "TypeRefSchema",
743
+ "location": {
744
+ "filePath": "dependencies.main.runtime.ts",
745
+ "line": 236,
746
+ "character": 55
747
+ },
748
+ "name": "Promise",
749
+ "typeArgs": [
750
+ {
751
+ "__schema": "TypeRefSchema",
752
+ "location": {
753
+ "filePath": "dependencies.main.runtime.ts",
754
+ "line": 236,
755
+ "character": 63
756
+ },
757
+ "name": "DependenciesResults"
758
+ }
759
+ ]
760
+ },
761
+ "modifiers": [
762
+ "async"
763
+ ]
764
+ },
765
+ {
766
+ "__schema": "FunctionLikeSchema",
767
+ "location": {
768
+ "filePath": "dependencies.main.runtime.ts",
769
+ "line": 246,
770
+ "character": 3
771
+ },
772
+ "signature": "(method) DependenciesMain.loadDependencies(component: ConsumerComponent, opts: DependencyLoaderOpts): Promise<{\n dependenciesData: DependenciesData;\n overridesDependencies: OverridesDependencies;\n debugDependenciesData: DebugDependencies;\n}>",
773
+ "name": "loadDependencies",
774
+ "params": [
775
+ {
776
+ "__schema": "ParameterSchema",
777
+ "location": {
778
+ "filePath": "dependencies.main.runtime.ts",
779
+ "line": 246,
780
+ "character": 26
781
+ },
782
+ "name": "component",
783
+ "type": {
784
+ "__schema": "TypeRefSchema",
785
+ "location": {
786
+ "filePath": "dependencies.main.runtime.ts",
787
+ "line": 246,
788
+ "character": 37
789
+ },
790
+ "name": "ConsumerComponent"
791
+ },
792
+ "isOptional": false,
793
+ "isSpread": false
794
+ },
795
+ {
796
+ "__schema": "ParameterSchema",
797
+ "location": {
798
+ "filePath": "dependencies.main.runtime.ts",
799
+ "line": 246,
800
+ "character": 56
801
+ },
802
+ "name": "opts",
803
+ "type": {
804
+ "__schema": "TypeRefSchema",
805
+ "location": {
806
+ "filePath": "dependencies.main.runtime.ts",
807
+ "line": 246,
808
+ "character": 62
809
+ },
810
+ "name": "DependencyLoaderOpts"
811
+ },
812
+ "isOptional": false,
813
+ "isSpread": false
814
+ }
815
+ ],
816
+ "returnType": {
817
+ "__schema": "InferenceTypeSchema",
818
+ "location": {
819
+ "filePath": "dependencies.main.runtime.ts",
820
+ "line": 246,
821
+ "character": 3
822
+ },
823
+ "type": "Promise<{\n dependenciesData: DependenciesData;\n overridesDependencies: OverridesDependencies;\n debugDependenciesData: DebugDependencies;\n}>"
824
+ },
825
+ "modifiers": [
826
+ "async"
827
+ ]
828
+ },
829
+ {
830
+ "__schema": "FunctionLikeSchema",
831
+ "location": {
832
+ "filePath": "dependencies.main.runtime.ts",
833
+ "line": 263,
834
+ "character": 3
835
+ },
836
+ "doc": {
837
+ "__schema": "DocSchema",
838
+ "location": {
839
+ "filePath": "dependencies.main.runtime.ts",
840
+ "line": 257,
841
+ "character": 3
842
+ },
843
+ "raw": "/**\n * load dependencies without the need for the workspace.\n * the \"auto-detect\" are passed here as \"dependenciesData\". the \"overrides\", such as dependencies from the env,\n * are calculated here.\n * eventually all these dependencies are added to the ConsumerComponent object.\n */",
844
+ "comment": "load dependencies without the need for the workspace.\nthe \"auto-detect\" are passed here as \"dependenciesData\". the \"overrides\", such as dependencies from the env,\nare calculated here.\neventually all these dependencies are added to the ConsumerComponent object.",
845
+ "tags": []
846
+ },
847
+ "signature": "(method) DependenciesMain.loadDependenciesFromScope(component: ConsumerComponent, dependenciesData: Partial<DependenciesData>): Promise<void>",
848
+ "name": "loadDependenciesFromScope",
849
+ "params": [
850
+ {
851
+ "__schema": "ParameterSchema",
852
+ "location": {
853
+ "filePath": "dependencies.main.runtime.ts",
854
+ "line": 263,
855
+ "character": 35
856
+ },
857
+ "name": "component",
858
+ "type": {
859
+ "__schema": "TypeRefSchema",
860
+ "location": {
861
+ "filePath": "dependencies.main.runtime.ts",
862
+ "line": 263,
863
+ "character": 46
864
+ },
865
+ "name": "ConsumerComponent"
866
+ },
867
+ "isOptional": false,
868
+ "isSpread": false
869
+ },
870
+ {
871
+ "__schema": "ParameterSchema",
872
+ "location": {
873
+ "filePath": "dependencies.main.runtime.ts",
874
+ "line": 263,
875
+ "character": 65
876
+ },
877
+ "name": "dependenciesData",
878
+ "type": {
879
+ "__schema": "TypeRefSchema",
880
+ "location": {
881
+ "filePath": "dependencies.main.runtime.ts",
882
+ "line": 263,
883
+ "character": 83
884
+ },
885
+ "name": "Partial",
886
+ "typeArgs": [
887
+ {
888
+ "__schema": "TypeRefSchema",
889
+ "location": {
890
+ "filePath": "dependencies.main.runtime.ts",
891
+ "line": 263,
892
+ "character": 91
893
+ },
894
+ "name": "DependenciesData"
895
+ }
896
+ ]
897
+ },
898
+ "isOptional": false,
899
+ "isSpread": false
900
+ }
901
+ ],
902
+ "returnType": {
903
+ "__schema": "InferenceTypeSchema",
904
+ "location": {
905
+ "filePath": "dependencies.main.runtime.ts",
906
+ "line": 263,
907
+ "character": 3
908
+ },
909
+ "type": "Promise<void>"
910
+ },
911
+ "modifiers": [
912
+ "async"
913
+ ]
914
+ },
915
+ {
916
+ "__schema": "FunctionLikeSchema",
917
+ "location": {
918
+ "filePath": "dependencies.main.runtime.ts",
919
+ "line": 274,
920
+ "character": 3
921
+ },
922
+ "signature": "(method) DependenciesMain.debugDependencies(id: string): Promise<DependenciesResultsDebug>",
923
+ "name": "debugDependencies",
924
+ "params": [
925
+ {
926
+ "__schema": "ParameterSchema",
927
+ "location": {
928
+ "filePath": "dependencies.main.runtime.ts",
929
+ "line": 274,
930
+ "character": 27
931
+ },
932
+ "name": "id",
933
+ "type": {
934
+ "__schema": "KeywordTypeSchema",
935
+ "location": {
936
+ "filePath": "dependencies.main.runtime.ts",
937
+ "line": 274,
938
+ "character": 31
939
+ },
940
+ "name": "string"
941
+ },
942
+ "isOptional": false,
943
+ "isSpread": false
944
+ }
945
+ ],
946
+ "returnType": {
947
+ "__schema": "TypeRefSchema",
948
+ "location": {
949
+ "filePath": "dependencies.main.runtime.ts",
950
+ "line": 274,
951
+ "character": 40
952
+ },
953
+ "name": "Promise",
954
+ "typeArgs": [
955
+ {
956
+ "__schema": "TypeRefSchema",
957
+ "location": {
958
+ "filePath": "dependencies.main.runtime.ts",
959
+ "line": 274,
960
+ "character": 48
961
+ },
962
+ "name": "DependenciesResultsDebug"
963
+ }
964
+ ]
965
+ },
966
+ "modifiers": [
967
+ "async"
968
+ ]
969
+ },
970
+ {
971
+ "__schema": "FunctionLikeSchema",
972
+ "location": {
973
+ "filePath": "dependencies.main.runtime.ts",
974
+ "line": 306,
975
+ "character": 3
976
+ },
977
+ "doc": {
978
+ "__schema": "DocSchema",
979
+ "location": {
980
+ "filePath": "dependencies.main.runtime.ts",
981
+ "line": 302,
982
+ "character": 3
983
+ },
984
+ "raw": "/**\n * helps determine what snap/tag changed a specific dependency.\n * the results are sorted from the oldest to newest.\n */",
985
+ "comment": "helps determine what snap/tag changed a specific dependency.\nthe results are sorted from the oldest to newest.",
986
+ "tags": []
987
+ },
988
+ "signature": "(method) DependenciesMain.blame(compName: string, depName: string): Promise<BlameResult[]>",
989
+ "name": "blame",
990
+ "params": [
991
+ {
992
+ "__schema": "ParameterSchema",
993
+ "location": {
994
+ "filePath": "dependencies.main.runtime.ts",
995
+ "line": 306,
996
+ "character": 15
997
+ },
998
+ "name": "compName",
999
+ "type": {
1000
+ "__schema": "KeywordTypeSchema",
1001
+ "location": {
1002
+ "filePath": "dependencies.main.runtime.ts",
1003
+ "line": 306,
1004
+ "character": 25
1005
+ },
1006
+ "name": "string"
1007
+ },
1008
+ "isOptional": false,
1009
+ "isSpread": false
1010
+ },
1011
+ {
1012
+ "__schema": "ParameterSchema",
1013
+ "location": {
1014
+ "filePath": "dependencies.main.runtime.ts",
1015
+ "line": 306,
1016
+ "character": 33
1017
+ },
1018
+ "name": "depName",
1019
+ "type": {
1020
+ "__schema": "KeywordTypeSchema",
1021
+ "location": {
1022
+ "filePath": "dependencies.main.runtime.ts",
1023
+ "line": 306,
1024
+ "character": 42
1025
+ },
1026
+ "name": "string"
1027
+ },
1028
+ "isOptional": false,
1029
+ "isSpread": false
1030
+ }
1031
+ ],
1032
+ "returnType": {
1033
+ "__schema": "InferenceTypeSchema",
1034
+ "location": {
1035
+ "filePath": "dependencies.main.runtime.ts",
1036
+ "line": 306,
1037
+ "character": 3
1038
+ },
1039
+ "type": "Promise<BlameResult[]>"
1040
+ },
1041
+ "modifiers": [
1042
+ "async"
1043
+ ]
1044
+ },
1045
+ {
1046
+ "__schema": "FunctionLikeSchema",
1047
+ "location": {
1048
+ "filePath": "dependencies.main.runtime.ts",
1049
+ "line": 339,
1050
+ "character": 3
1051
+ },
1052
+ "signature": "(method) DependenciesMain.usageDeep(depName: string, opts?: {\n depth?: number;\n}): Promise<string | undefined>",
1053
+ "name": "usageDeep",
1054
+ "params": [
1055
+ {
1056
+ "__schema": "ParameterSchema",
1057
+ "location": {
1058
+ "filePath": "dependencies.main.runtime.ts",
1059
+ "line": 339,
1060
+ "character": 19
1061
+ },
1062
+ "name": "depName",
1063
+ "type": {
1064
+ "__schema": "KeywordTypeSchema",
1065
+ "location": {
1066
+ "filePath": "dependencies.main.runtime.ts",
1067
+ "line": 339,
1068
+ "character": 28
1069
+ },
1070
+ "name": "string"
1071
+ },
1072
+ "isOptional": false,
1073
+ "isSpread": false
1074
+ },
1075
+ {
1076
+ "__schema": "ParameterSchema",
1077
+ "location": {
1078
+ "filePath": "dependencies.main.runtime.ts",
1079
+ "line": 339,
1080
+ "character": 36
1081
+ },
1082
+ "name": "opts",
1083
+ "type": {
1084
+ "__schema": "TypeLiteralSchema",
1085
+ "location": {
1086
+ "filePath": "dependencies.main.runtime.ts",
1087
+ "line": 339,
1088
+ "character": 43
1089
+ },
1090
+ "members": [
1091
+ {
1092
+ "__schema": "VariableLikeSchema",
1093
+ "location": {
1094
+ "filePath": "dependencies.main.runtime.ts",
1095
+ "line": 339,
1096
+ "character": 45
1097
+ },
1098
+ "signature": "(property) depth?: number | undefined",
1099
+ "name": "depth",
1100
+ "type": {
1101
+ "__schema": "KeywordTypeSchema",
1102
+ "location": {
1103
+ "filePath": "dependencies.main.runtime.ts",
1104
+ "line": 339,
1105
+ "character": 53
1106
+ },
1107
+ "name": "number"
1108
+ },
1109
+ "isOptional": true
1110
+ }
1111
+ ]
1112
+ },
1113
+ "isOptional": true,
1114
+ "isSpread": false
1115
+ }
1116
+ ],
1117
+ "returnType": {
1118
+ "__schema": "TypeRefSchema",
1119
+ "location": {
1120
+ "filePath": "dependencies.main.runtime.ts",
1121
+ "line": 339,
1122
+ "character": 64
1123
+ },
1124
+ "name": "Promise",
1125
+ "typeArgs": [
1126
+ {
1127
+ "__schema": "TypeUnionSchema",
1128
+ "location": {
1129
+ "filePath": "dependencies.main.runtime.ts",
1130
+ "line": 339,
1131
+ "character": 72
1132
+ },
1133
+ "types": [
1134
+ {
1135
+ "__schema": "KeywordTypeSchema",
1136
+ "location": {
1137
+ "filePath": "dependencies.main.runtime.ts",
1138
+ "line": 339,
1139
+ "character": 72
1140
+ },
1141
+ "name": "string"
1142
+ },
1143
+ {
1144
+ "__schema": "KeywordTypeSchema",
1145
+ "location": {
1146
+ "filePath": "dependencies.main.runtime.ts",
1147
+ "line": 339,
1148
+ "character": 81
1149
+ },
1150
+ "name": "undefined"
1151
+ }
1152
+ ]
1153
+ }
1154
+ ]
1155
+ },
1156
+ "modifiers": [
1157
+ "async"
1158
+ ]
1159
+ },
1160
+ {
1161
+ "__schema": "FunctionLikeSchema",
1162
+ "location": {
1163
+ "filePath": "dependencies.main.runtime.ts",
1164
+ "line": 354,
1165
+ "character": 3
1166
+ },
1167
+ "doc": {
1168
+ "__schema": "DocSchema",
1169
+ "location": {
1170
+ "filePath": "dependencies.main.runtime.ts",
1171
+ "line": 350,
1172
+ "character": 3
1173
+ },
1174
+ "raw": "/**\n * @param depName either component-id-string or package-name (of the component or not component)\n * @returns a map of component-id-string to the version of the dependency\n */",
1175
+ "comment": "",
1176
+ "tags": [
1177
+ {
1178
+ "__schema": "PropertyLikeTagSchema",
1179
+ "location": {
1180
+ "filePath": "dependencies.main.runtime.ts",
1181
+ "line": 351,
1182
+ "character": 6
1183
+ },
1184
+ "name": "depName",
1185
+ "tagName": "parameter",
1186
+ "comment": "either component-id-string or package-name (of the component or not component)"
1187
+ },
1188
+ {
1189
+ "__schema": "ReturnTagSchema",
1190
+ "location": {
1191
+ "filePath": "dependencies.main.runtime.ts",
1192
+ "line": 352,
1193
+ "character": 6
1194
+ },
1195
+ "tagName": "return",
1196
+ "comment": "a map of component-id-string to the version of the dependency"
1197
+ }
1198
+ ]
1199
+ },
1200
+ "signature": "(method) DependenciesMain.usage(depName: string): Promise<{\n [compIdStr: string]: string;\n}>",
1201
+ "name": "usage",
1202
+ "params": [
1203
+ {
1204
+ "__schema": "ParameterSchema",
1205
+ "location": {
1206
+ "filePath": "dependencies.main.runtime.ts",
1207
+ "line": 354,
1208
+ "character": 15
1209
+ },
1210
+ "name": "depName",
1211
+ "type": {
1212
+ "__schema": "KeywordTypeSchema",
1213
+ "location": {
1214
+ "filePath": "dependencies.main.runtime.ts",
1215
+ "line": 354,
1216
+ "character": 24
1217
+ },
1218
+ "name": "string"
1219
+ },
1220
+ "isOptional": false,
1221
+ "isSpread": false
1222
+ }
1223
+ ],
1224
+ "returnType": {
1225
+ "__schema": "TypeRefSchema",
1226
+ "location": {
1227
+ "filePath": "dependencies.main.runtime.ts",
1228
+ "line": 354,
1229
+ "character": 33
1230
+ },
1231
+ "name": "Promise",
1232
+ "typeArgs": [
1233
+ {
1234
+ "__schema": "TypeLiteralSchema",
1235
+ "location": {
1236
+ "filePath": "dependencies.main.runtime.ts",
1237
+ "line": 354,
1238
+ "character": 41
1239
+ },
1240
+ "members": [
1241
+ {
1242
+ "__schema": "IndexSignatureSchema",
1243
+ "location": {
1244
+ "filePath": "dependencies.main.runtime.ts",
1245
+ "line": 354,
1246
+ "character": 43
1247
+ },
1248
+ "keyType": {
1249
+ "__schema": "ParameterSchema",
1250
+ "location": {
1251
+ "filePath": "dependencies.main.runtime.ts",
1252
+ "line": 354,
1253
+ "character": 44
1254
+ },
1255
+ "name": "compIdStr",
1256
+ "type": {
1257
+ "__schema": "KeywordTypeSchema",
1258
+ "location": {
1259
+ "filePath": "dependencies.main.runtime.ts",
1260
+ "line": 354,
1261
+ "character": 55
1262
+ },
1263
+ "name": "string"
1264
+ },
1265
+ "isOptional": false,
1266
+ "isSpread": false
1267
+ },
1268
+ "valueType": {
1269
+ "__schema": "KeywordTypeSchema",
1270
+ "location": {
1271
+ "filePath": "dependencies.main.runtime.ts",
1272
+ "line": 354,
1273
+ "character": 64
1274
+ },
1275
+ "name": "string"
1276
+ }
1277
+ }
1278
+ ]
1279
+ }
1280
+ ]
1281
+ },
1282
+ "modifiers": [
1283
+ "async"
1284
+ ]
1285
+ },
1286
+ {
1287
+ "__schema": "VariableLikeSchema",
1288
+ "location": {
1289
+ "filePath": "dependencies.main.runtime.ts",
1290
+ "line": 394,
1291
+ "character": 3
1292
+ },
1293
+ "signature": "(property) DependenciesMain.slots: never[]",
1294
+ "name": "slots",
1295
+ "type": {
1296
+ "__schema": "InferenceTypeSchema",
1297
+ "location": {
1298
+ "filePath": "dependencies.main.runtime.ts",
1299
+ "line": 394,
1300
+ "character": 3
1301
+ },
1302
+ "type": "never[]"
1303
+ },
1304
+ "isOptional": true,
1305
+ "defaultValue": "[]"
1306
+ },
1307
+ {
1308
+ "__schema": "VariableLikeSchema",
1309
+ "location": {
1310
+ "filePath": "dependencies.main.runtime.ts",
1311
+ "line": 395,
1312
+ "character": 3
1313
+ },
1314
+ "signature": "(property) DependenciesMain.dependencies: Aspect[]",
1315
+ "name": "dependencies",
1316
+ "type": {
1317
+ "__schema": "InferenceTypeSchema",
1318
+ "location": {
1319
+ "filePath": "dependencies.main.runtime.ts",
1320
+ "line": 395,
1321
+ "character": 3
1322
+ },
1323
+ "type": "Aspect[]"
1324
+ },
1325
+ "isOptional": true,
1326
+ "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n DependencyResolverAspect,\n DevFilesAspect,\n AspectLoaderAspect,\n ScopeAspect,\n GraphAspect,\n LoggerAspect,\n ]"
1327
+ },
1328
+ {
1329
+ "__schema": "VariableLikeSchema",
1330
+ "location": {
1331
+ "filePath": "dependencies.main.runtime.ts",
1332
+ "line": 406,
1333
+ "character": 3
1334
+ },
1335
+ "signature": "(property) DependenciesMain.runtime: RuntimeDefinition",
1336
+ "name": "runtime",
1337
+ "type": {
1338
+ "__schema": "InferenceTypeSchema",
1339
+ "location": {
1340
+ "filePath": "dependencies.main.runtime.ts",
1341
+ "line": 406,
1342
+ "character": 3
1343
+ },
1344
+ "type": "RuntimeDefinition"
1345
+ },
1346
+ "isOptional": true,
1347
+ "defaultValue": "MainRuntime"
1348
+ },
1349
+ {
1350
+ "__schema": "FunctionLikeSchema",
1351
+ "location": {
1352
+ "filePath": "dependencies.main.runtime.ts",
1353
+ "line": 408,
1354
+ "character": 3
1355
+ },
1356
+ "signature": "(method) DependenciesMain.provider([cli, workspace, depsResolver, devFiles, aspectLoader, scope, graph, loggerMain]: [CLIMain, Workspace, DependencyResolverMain, DevFilesMain, AspectLoaderMain, ScopeMain, GraphMain, LoggerMain]): Promise<DependenciesMain>",
1357
+ "name": "provider",
1358
+ "params": [
1359
+ {
1360
+ "__schema": "ParameterSchema",
1361
+ "location": {
1362
+ "filePath": "dependencies.main.runtime.ts",
1363
+ "line": 408,
1364
+ "character": 25
1365
+ },
1366
+ "name": "[ cli, workspace, depsResolver, devFiles, aspectLoader, scope, graph, loggerMain ]",
1367
+ "type": {
1368
+ "__schema": "TupleTypeSchema",
1369
+ "location": {
1370
+ "filePath": "dependencies.main.runtime.ts",
1371
+ "line": 408,
1372
+ "character": 107
1373
+ },
1374
+ "elements": [
1375
+ {
1376
+ "__schema": "TypeRefSchema",
1377
+ "location": {
1378
+ "filePath": "dependencies.main.runtime.ts",
1379
+ "line": 409,
1380
+ "character": 5
1381
+ },
1382
+ "name": "CLIMain"
1383
+ },
1384
+ {
1385
+ "__schema": "TypeRefSchema",
1386
+ "location": {
1387
+ "filePath": "dependencies.main.runtime.ts",
1388
+ "line": 410,
1389
+ "character": 5
1390
+ },
1391
+ "name": "Workspace"
1392
+ },
1393
+ {
1394
+ "__schema": "TypeRefSchema",
1395
+ "location": {
1396
+ "filePath": "dependencies.main.runtime.ts",
1397
+ "line": 411,
1398
+ "character": 5
1399
+ },
1400
+ "name": "DependencyResolverMain"
1401
+ },
1402
+ {
1403
+ "__schema": "TypeRefSchema",
1404
+ "location": {
1405
+ "filePath": "dependencies.main.runtime.ts",
1406
+ "line": 412,
1407
+ "character": 5
1408
+ },
1409
+ "name": "DevFilesMain"
1410
+ },
1411
+ {
1412
+ "__schema": "TypeRefSchema",
1413
+ "location": {
1414
+ "filePath": "dependencies.main.runtime.ts",
1415
+ "line": 413,
1416
+ "character": 5
1417
+ },
1418
+ "name": "AspectLoaderMain"
1419
+ },
1420
+ {
1421
+ "__schema": "TypeRefSchema",
1422
+ "location": {
1423
+ "filePath": "dependencies.main.runtime.ts",
1424
+ "line": 414,
1425
+ "character": 5
1426
+ },
1427
+ "name": "ScopeMain"
1428
+ },
1429
+ {
1430
+ "__schema": "TypeRefSchema",
1431
+ "location": {
1432
+ "filePath": "dependencies.main.runtime.ts",
1433
+ "line": 415,
1434
+ "character": 5
1435
+ },
1436
+ "name": "GraphMain"
1437
+ },
1438
+ {
1439
+ "__schema": "TypeRefSchema",
1440
+ "location": {
1441
+ "filePath": "dependencies.main.runtime.ts",
1442
+ "line": 416,
1443
+ "character": 5
1444
+ },
1445
+ "name": "LoggerMain"
1446
+ }
1447
+ ]
1448
+ },
1449
+ "isOptional": false,
1450
+ "isSpread": false
1451
+ }
1452
+ ],
1453
+ "returnType": {
1454
+ "__schema": "InferenceTypeSchema",
1455
+ "location": {
1456
+ "filePath": "dependencies.main.runtime.ts",
1457
+ "line": 408,
1458
+ "character": 3
1459
+ },
1460
+ "type": "Promise<DependenciesMain>"
1461
+ },
1462
+ "modifiers": [
1463
+ "static",
1464
+ "async"
1465
+ ]
1466
+ }
1467
+ ],
1468
+ "extendsNodes": [],
1469
+ "implementNodes": []
1470
+ }
1471
+ },
1472
+ {
1473
+ "__schema": "ExportSchema",
1474
+ "location": {
1475
+ "filePath": "index.ts",
1476
+ "line": 4,
1477
+ "character": 10
1478
+ },
1479
+ "signature": "class DetectorHook",
1480
+ "name": "DetectorHook",
1481
+ "exportNode": {
1482
+ "__schema": "ClassSchema",
1483
+ "location": {
1484
+ "filePath": "files-dependency-builder/detector-hook.ts",
1485
+ "line": 53,
1486
+ "character": 1
1487
+ },
1488
+ "signature": "class DetectorHook",
1489
+ "name": "DetectorHook",
1490
+ "members": [
1491
+ {
1492
+ "__schema": "VariableLikeSchema",
1493
+ "location": {
1494
+ "filePath": "files-dependency-builder/detector-hook.ts",
1495
+ "line": 54,
1496
+ "character": 3
1497
+ },
1498
+ "signature": "(property) DetectorHook.hooks: DependencyDetector[]",
1499
+ "name": "hooks",
1500
+ "type": {
1501
+ "__schema": "TypeArraySchema",
1502
+ "location": {
1503
+ "filePath": "files-dependency-builder/detector-hook.ts",
1504
+ "line": 54,
1505
+ "character": 17
1506
+ },
1507
+ "type": {
1508
+ "__schema": "TypeRefSchema",
1509
+ "location": {
1510
+ "filePath": "files-dependency-builder/detector-hook.ts",
1511
+ "line": 54,
1512
+ "character": 17
1513
+ },
1514
+ "name": "DependencyDetector"
1515
+ }
1516
+ },
1517
+ "isOptional": true,
1518
+ "defaultValue": "[]"
1519
+ },
1520
+ {
1521
+ "__schema": "FunctionLikeSchema",
1522
+ "location": {
1523
+ "filePath": "files-dependency-builder/detector-hook.ts",
1524
+ "line": 56,
1525
+ "character": 3
1526
+ },
1527
+ "signature": "(method) DetectorHook.isSupported(ext: string, filename: string): boolean",
1528
+ "name": "isSupported",
1529
+ "params": [
1530
+ {
1531
+ "__schema": "ParameterSchema",
1532
+ "location": {
1533
+ "filePath": "files-dependency-builder/detector-hook.ts",
1534
+ "line": 56,
1535
+ "character": 15
1536
+ },
1537
+ "name": "ext",
1538
+ "type": {
1539
+ "__schema": "KeywordTypeSchema",
1540
+ "location": {
1541
+ "filePath": "files-dependency-builder/detector-hook.ts",
1542
+ "line": 56,
1543
+ "character": 20
1544
+ },
1545
+ "name": "string"
1546
+ },
1547
+ "isOptional": false,
1548
+ "isSpread": false
1549
+ },
1550
+ {
1551
+ "__schema": "ParameterSchema",
1552
+ "location": {
1553
+ "filePath": "files-dependency-builder/detector-hook.ts",
1554
+ "line": 56,
1555
+ "character": 28
1556
+ },
1557
+ "name": "filename",
1558
+ "type": {
1559
+ "__schema": "KeywordTypeSchema",
1560
+ "location": {
1561
+ "filePath": "files-dependency-builder/detector-hook.ts",
1562
+ "line": 56,
1563
+ "character": 38
1564
+ },
1565
+ "name": "string"
1566
+ },
1567
+ "isOptional": false,
1568
+ "isSpread": false
1569
+ }
1570
+ ],
1571
+ "returnType": {
1572
+ "__schema": "KeywordTypeSchema",
1573
+ "location": {
1574
+ "filePath": "files-dependency-builder/detector-hook.ts",
1575
+ "line": 56,
1576
+ "character": 47
1577
+ },
1578
+ "name": "boolean"
1579
+ },
1580
+ "modifiers": []
1581
+ },
1582
+ {
1583
+ "__schema": "FunctionLikeSchema",
1584
+ "location": {
1585
+ "filePath": "files-dependency-builder/detector-hook.ts",
1586
+ "line": 65,
1587
+ "character": 3
1588
+ },
1589
+ "signature": "(method) DetectorHook.getDetector(ext: string, filename: string): DependencyDetector | undefined",
1590
+ "name": "getDetector",
1591
+ "params": [
1592
+ {
1593
+ "__schema": "ParameterSchema",
1594
+ "location": {
1595
+ "filePath": "files-dependency-builder/detector-hook.ts",
1596
+ "line": 65,
1597
+ "character": 15
1598
+ },
1599
+ "name": "ext",
1600
+ "type": {
1601
+ "__schema": "KeywordTypeSchema",
1602
+ "location": {
1603
+ "filePath": "files-dependency-builder/detector-hook.ts",
1604
+ "line": 65,
1605
+ "character": 20
1606
+ },
1607
+ "name": "string"
1608
+ },
1609
+ "isOptional": false,
1610
+ "isSpread": false
1611
+ },
1612
+ {
1613
+ "__schema": "ParameterSchema",
1614
+ "location": {
1615
+ "filePath": "files-dependency-builder/detector-hook.ts",
1616
+ "line": 65,
1617
+ "character": 28
1618
+ },
1619
+ "name": "filename",
1620
+ "type": {
1621
+ "__schema": "KeywordTypeSchema",
1622
+ "location": {
1623
+ "filePath": "files-dependency-builder/detector-hook.ts",
1624
+ "line": 65,
1625
+ "character": 38
1626
+ },
1627
+ "name": "string"
1628
+ },
1629
+ "isOptional": false,
1630
+ "isSpread": false
1631
+ }
1632
+ ],
1633
+ "returnType": {
1634
+ "__schema": "TypeUnionSchema",
1635
+ "location": {
1636
+ "filePath": "files-dependency-builder/detector-hook.ts",
1637
+ "line": 65,
1638
+ "character": 47
1639
+ },
1640
+ "types": [
1641
+ {
1642
+ "__schema": "TypeRefSchema",
1643
+ "location": {
1644
+ "filePath": "files-dependency-builder/detector-hook.ts",
1645
+ "line": 65,
1646
+ "character": 47
1647
+ },
1648
+ "name": "DependencyDetector"
1649
+ },
1650
+ {
1651
+ "__schema": "KeywordTypeSchema",
1652
+ "location": {
1653
+ "filePath": "files-dependency-builder/detector-hook.ts",
1654
+ "line": 65,
1655
+ "character": 68
1656
+ },
1657
+ "name": "undefined"
1658
+ }
1659
+ ]
1660
+ },
1661
+ "modifiers": []
1662
+ }
1663
+ ],
1664
+ "extendsNodes": [],
1665
+ "implementNodes": []
1666
+ }
1667
+ },
1668
+ {
1669
+ "__schema": "ExportSchema",
1670
+ "location": {
1671
+ "filePath": "index.ts",
1672
+ "line": 4,
1673
+ "character": 24
1674
+ },
1675
+ "signature": "interface DependencyDetector",
1676
+ "name": "DependencyDetector",
1677
+ "exportNode": {
1678
+ "__schema": "InterfaceSchema",
1679
+ "location": {
1680
+ "filePath": "files-dependency-builder/detector-hook.ts",
1681
+ "line": 28,
1682
+ "character": 1
1683
+ },
1684
+ "signature": "interface DependencyDetector",
1685
+ "name": "DependencyDetector",
1686
+ "members": [
1687
+ {
1688
+ "__schema": "FunctionLikeSchema",
1689
+ "location": {
1690
+ "filePath": "files-dependency-builder/detector-hook.ts",
1691
+ "line": 32,
1692
+ "character": 3
1693
+ },
1694
+ "doc": {
1695
+ "__schema": "DocSchema",
1696
+ "location": {
1697
+ "filePath": "files-dependency-builder/detector-hook.ts",
1698
+ "line": 29,
1699
+ "character": 3
1700
+ },
1701
+ "raw": "/**\n * determine whether to apply on given file.\n */",
1702
+ "comment": "determine whether to apply on given file.",
1703
+ "tags": []
1704
+ },
1705
+ "signature": "(method) DependencyDetector.isSupported(context: FileContext): boolean",
1706
+ "name": "isSupported",
1707
+ "params": [
1708
+ {
1709
+ "__schema": "ParameterSchema",
1710
+ "location": {
1711
+ "filePath": "files-dependency-builder/detector-hook.ts",
1712
+ "line": 32,
1713
+ "character": 15
1714
+ },
1715
+ "name": "context",
1716
+ "type": {
1717
+ "__schema": "TypeRefSchema",
1718
+ "location": {
1719
+ "filePath": "files-dependency-builder/detector-hook.ts",
1720
+ "line": 32,
1721
+ "character": 24
1722
+ },
1723
+ "name": "FileContext"
1724
+ },
1725
+ "isOptional": false,
1726
+ "isSpread": false
1727
+ }
1728
+ ],
1729
+ "returnType": {
1730
+ "__schema": "KeywordTypeSchema",
1731
+ "location": {
1732
+ "filePath": "files-dependency-builder/detector-hook.ts",
1733
+ "line": 32,
1734
+ "character": 38
1735
+ },
1736
+ "name": "boolean"
1737
+ },
1738
+ "modifiers": []
1739
+ },
1740
+ {
1741
+ "__schema": "VariableLikeSchema",
1742
+ "location": {
1743
+ "filePath": "files-dependency-builder/detector-hook.ts",
1744
+ "line": 39,
1745
+ "character": 3
1746
+ },
1747
+ "doc": {
1748
+ "__schema": "DocSchema",
1749
+ "location": {
1750
+ "filePath": "files-dependency-builder/detector-hook.ts",
1751
+ "line": 34,
1752
+ "character": 3
1753
+ },
1754
+ "raw": "/**\n * determine what type of content the detector is for.\n * by default, the type is the extension name of the file (without the dot)\n * if no type provided.\n */",
1755
+ "comment": "determine what type of content the detector is for.\nby default, the type is the extension name of the file (without the dot)\nif no type provided.",
1756
+ "tags": []
1757
+ },
1758
+ "signature": "(property) DependencyDetector.type?: string | undefined",
1759
+ "name": "type",
1760
+ "type": {
1761
+ "__schema": "KeywordTypeSchema",
1762
+ "location": {
1763
+ "filePath": "files-dependency-builder/detector-hook.ts",
1764
+ "line": 39,
1765
+ "character": 10
1766
+ },
1767
+ "name": "string"
1768
+ },
1769
+ "isOptional": true
1770
+ },
1771
+ {
1772
+ "__schema": "FunctionLikeSchema",
1773
+ "location": {
1774
+ "filePath": "files-dependency-builder/detector-hook.ts",
1775
+ "line": 44,
1776
+ "character": 3
1777
+ },
1778
+ "doc": {
1779
+ "__schema": "DocSchema",
1780
+ "location": {
1781
+ "filePath": "files-dependency-builder/detector-hook.ts",
1782
+ "line": 41,
1783
+ "character": 3
1784
+ },
1785
+ "raw": "/**\n * detect file dependencies. list of file dependencies of the module.\n */",
1786
+ "comment": "detect file dependencies. list of file dependencies of the module.",
1787
+ "tags": []
1788
+ },
1789
+ "signature": "(method) DependencyDetector.detect(fileContent: string): string[]",
1790
+ "name": "detect",
1791
+ "params": [
1792
+ {
1793
+ "__schema": "ParameterSchema",
1794
+ "location": {
1795
+ "filePath": "files-dependency-builder/detector-hook.ts",
1796
+ "line": 44,
1797
+ "character": 10
1798
+ },
1799
+ "name": "fileContent",
1800
+ "type": {
1801
+ "__schema": "KeywordTypeSchema",
1802
+ "location": {
1803
+ "filePath": "files-dependency-builder/detector-hook.ts",
1804
+ "line": 44,
1805
+ "character": 23
1806
+ },
1807
+ "name": "string"
1808
+ },
1809
+ "isOptional": false,
1810
+ "isSpread": false
1811
+ }
1812
+ ],
1813
+ "returnType": {
1814
+ "__schema": "TypeArraySchema",
1815
+ "location": {
1816
+ "filePath": "files-dependency-builder/detector-hook.ts",
1817
+ "line": 44,
1818
+ "character": 32
1819
+ },
1820
+ "type": {
1821
+ "__schema": "KeywordTypeSchema",
1822
+ "location": {
1823
+ "filePath": "files-dependency-builder/detector-hook.ts",
1824
+ "line": 44,
1825
+ "character": 32
1826
+ },
1827
+ "name": "string"
1828
+ }
1829
+ },
1830
+ "modifiers": []
1831
+ },
1832
+ {
1833
+ "__schema": "FunctionLikeSchema",
1834
+ "location": {
1835
+ "filePath": "files-dependency-builder/detector-hook.ts",
1836
+ "line": 50,
1837
+ "character": 3
1838
+ },
1839
+ "doc": {
1840
+ "__schema": "DocSchema",
1841
+ "location": {
1842
+ "filePath": "files-dependency-builder/detector-hook.ts",
1843
+ "line": 46,
1844
+ "character": 3
1845
+ },
1846
+ "raw": "/**\n * resolve the imported file location\n * @param file\n */",
1847
+ "comment": "resolve the imported file location",
1848
+ "tags": [
1849
+ {
1850
+ "__schema": "PropertyLikeTagSchema",
1851
+ "location": {
1852
+ "filePath": "files-dependency-builder/detector-hook.ts",
1853
+ "line": 48,
1854
+ "character": 6
1855
+ },
1856
+ "name": "file",
1857
+ "tagName": "parameter"
1858
+ }
1859
+ ]
1860
+ },
1861
+ "signature": "(method) DependencyDetector.dependencyLookup?(file: DependencyContext): string",
1862
+ "name": "dependencyLookup",
1863
+ "params": [
1864
+ {
1865
+ "__schema": "ParameterSchema",
1866
+ "location": {
1867
+ "filePath": "files-dependency-builder/detector-hook.ts",
1868
+ "line": 50,
1869
+ "character": 21
1870
+ },
1871
+ "name": "file",
1872
+ "type": {
1873
+ "__schema": "TypeRefSchema",
1874
+ "location": {
1875
+ "filePath": "files-dependency-builder/detector-hook.ts",
1876
+ "line": 50,
1877
+ "character": 27
1878
+ },
1879
+ "name": "DependencyContext"
1880
+ },
1881
+ "isOptional": false,
1882
+ "isSpread": false
1883
+ }
1884
+ ],
1885
+ "returnType": {
1886
+ "__schema": "KeywordTypeSchema",
1887
+ "location": {
1888
+ "filePath": "files-dependency-builder/detector-hook.ts",
1889
+ "line": 50,
1890
+ "character": 47
1891
+ },
1892
+ "name": "string"
1893
+ },
1894
+ "modifiers": []
1895
+ }
1896
+ ],
1897
+ "extendsNodes": []
1898
+ }
1899
+ },
1900
+ {
1901
+ "__schema": "ExportSchema",
1902
+ "location": {
1903
+ "filePath": "index.ts",
1904
+ "line": 4,
1905
+ "character": 44
1906
+ },
1907
+ "signature": "type FileContext = {\n ext: string;\n filename: string;\n}",
1908
+ "name": "FileContext",
1909
+ "exportNode": {
1910
+ "__schema": "TypeSchema",
1911
+ "location": {
1912
+ "filePath": "files-dependency-builder/detector-hook.ts",
1913
+ "line": 1,
1914
+ "character": 1
1915
+ },
1916
+ "signature": "type FileContext = {\n ext: string;\n filename: string;\n}",
1917
+ "name": "FileContext",
1918
+ "type": {
1919
+ "__schema": "TypeLiteralSchema",
1920
+ "location": {
1921
+ "filePath": "files-dependency-builder/detector-hook.ts",
1922
+ "line": 1,
1923
+ "character": 27
1924
+ },
1925
+ "members": [
1926
+ {
1927
+ "__schema": "VariableLikeSchema",
1928
+ "location": {
1929
+ "filePath": "files-dependency-builder/detector-hook.ts",
1930
+ "line": 5,
1931
+ "character": 3
1932
+ },
1933
+ "doc": {
1934
+ "__schema": "DocSchema",
1935
+ "location": {
1936
+ "filePath": "files-dependency-builder/detector-hook.ts",
1937
+ "line": 2,
1938
+ "character": 3
1939
+ },
1940
+ "raw": "/**\n * extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)\n */",
1941
+ "comment": "extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)",
1942
+ "tags": []
1943
+ },
1944
+ "signature": "(property) ext: string",
1945
+ "name": "ext",
1946
+ "type": {
1947
+ "__schema": "KeywordTypeSchema",
1948
+ "location": {
1949
+ "filePath": "files-dependency-builder/detector-hook.ts",
1950
+ "line": 5,
1951
+ "character": 8
1952
+ },
1953
+ "name": "string"
1954
+ },
1955
+ "isOptional": false
1956
+ },
1957
+ {
1958
+ "__schema": "VariableLikeSchema",
1959
+ "location": {
1960
+ "filePath": "files-dependency-builder/detector-hook.ts",
1961
+ "line": 7,
1962
+ "character": 3
1963
+ },
1964
+ "signature": "(property) filename: string",
1965
+ "name": "filename",
1966
+ "type": {
1967
+ "__schema": "KeywordTypeSchema",
1968
+ "location": {
1969
+ "filePath": "files-dependency-builder/detector-hook.ts",
1970
+ "line": 7,
1971
+ "character": 13
1972
+ },
1973
+ "name": "string"
1974
+ },
1975
+ "isOptional": false
1976
+ }
1977
+ ]
1978
+ }
1979
+ }
1980
+ },
1981
+ {
1982
+ "__schema": "UnImplementedSchema",
1983
+ "location": {
1984
+ "filePath": "index.ts",
1985
+ "line": 5,
1986
+ "character": 16
1987
+ },
1988
+ "name": "DependenciesAspect",
1989
+ "type": "Identifier"
1990
+ },
1991
+ {
1992
+ "__schema": "ExportSchema",
1993
+ "location": {
1994
+ "filePath": "index.ts",
1995
+ "line": 6,
1996
+ "character": 10
1997
+ },
1998
+ "signature": "const DependenciesAspect: Aspect",
1999
+ "name": "DependenciesAspect",
2000
+ "exportNode": {
2001
+ "__schema": "VariableLikeSchema",
2002
+ "location": {
2003
+ "filePath": "dependencies.aspect.ts",
2004
+ "line": 3,
2005
+ "character": 14
2006
+ },
2007
+ "signature": "const DependenciesAspect: Aspect",
2008
+ "name": "DependenciesAspect",
2009
+ "type": {
2010
+ "__schema": "TypeRefSchema",
2011
+ "location": {
2012
+ "filePath": "dependencies.aspect.ts",
2013
+ "line": 3,
2014
+ "character": 14
2015
+ },
2016
+ "name": "Aspect",
2017
+ "componentId": {
2018
+ "scope": "teambit.harmony",
2019
+ "name": "harmony",
2020
+ "version": "0.4.6"
2021
+ }
2022
+ },
2023
+ "isOptional": false,
2024
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/dependencies',\n})"
2025
+ }
2026
+ }
2027
+ ],
2028
+ "internals": []
2029
+ },
2030
+ "internals": [
2031
+ {
2032
+ "__schema": "ModuleSchema",
2033
+ "location": {
2034
+ "filePath": "dependencies.main.runtime.ts",
2035
+ "line": 1,
2036
+ "character": 1
2037
+ },
2038
+ "exports": [
2039
+ {
2040
+ "__schema": "TypeSchema",
2041
+ "location": {
2042
+ "filePath": "dependencies.main.runtime.ts",
2043
+ "line": 42,
2044
+ "character": 1
2045
+ },
2046
+ "signature": "type RemoveDependencyResult = {\n id: ComponentID;\n removedPackages: string[];\n}",
2047
+ "name": "RemoveDependencyResult",
2048
+ "type": {
2049
+ "__schema": "TypeLiteralSchema",
2050
+ "location": {
2051
+ "filePath": "dependencies.main.runtime.ts",
2052
+ "line": 42,
2053
+ "character": 38
2054
+ },
2055
+ "members": [
2056
+ {
2057
+ "__schema": "VariableLikeSchema",
2058
+ "location": {
2059
+ "filePath": "dependencies.main.runtime.ts",
2060
+ "line": 42,
2061
+ "character": 40
2062
+ },
2063
+ "signature": "(property) id: ComponentID",
2064
+ "name": "id",
2065
+ "type": {
2066
+ "__schema": "TypeRefSchema",
2067
+ "location": {
2068
+ "filePath": "dependencies.main.runtime.ts",
2069
+ "line": 42,
2070
+ "character": 40
2071
+ },
2072
+ "name": "ComponentID",
2073
+ "componentId": {
2074
+ "scope": "teambit.component",
2075
+ "name": "component-id",
2076
+ "version": "1.2.2"
2077
+ }
2078
+ },
2079
+ "isOptional": false
2080
+ },
2081
+ {
2082
+ "__schema": "VariableLikeSchema",
2083
+ "location": {
2084
+ "filePath": "dependencies.main.runtime.ts",
2085
+ "line": 42,
2086
+ "character": 57
2087
+ },
2088
+ "signature": "(property) removedPackages: string[]",
2089
+ "name": "removedPackages",
2090
+ "type": {
2091
+ "__schema": "TypeArraySchema",
2092
+ "location": {
2093
+ "filePath": "dependencies.main.runtime.ts",
2094
+ "line": 42,
2095
+ "character": 74
2096
+ },
2097
+ "type": {
2098
+ "__schema": "KeywordTypeSchema",
2099
+ "location": {
2100
+ "filePath": "dependencies.main.runtime.ts",
2101
+ "line": 42,
2102
+ "character": 74
2103
+ },
2104
+ "name": "string"
2105
+ }
2106
+ },
2107
+ "isOptional": false
2108
+ }
2109
+ ]
2110
+ }
2111
+ },
2112
+ {
2113
+ "__schema": "TypeSchema",
2114
+ "location": {
2115
+ "filePath": "dependencies.main.runtime.ts",
2116
+ "line": 43,
2117
+ "character": 1
2118
+ },
2119
+ "signature": "type SetDependenciesResult = {\n changedComps: string[];\n addedPackages: Record<string, string>;\n}",
2120
+ "name": "SetDependenciesResult",
2121
+ "type": {
2122
+ "__schema": "TypeLiteralSchema",
2123
+ "location": {
2124
+ "filePath": "dependencies.main.runtime.ts",
2125
+ "line": 43,
2126
+ "character": 37
2127
+ },
2128
+ "members": [
2129
+ {
2130
+ "__schema": "VariableLikeSchema",
2131
+ "location": {
2132
+ "filePath": "dependencies.main.runtime.ts",
2133
+ "line": 43,
2134
+ "character": 39
2135
+ },
2136
+ "signature": "(property) changedComps: string[]",
2137
+ "name": "changedComps",
2138
+ "type": {
2139
+ "__schema": "TypeArraySchema",
2140
+ "location": {
2141
+ "filePath": "dependencies.main.runtime.ts",
2142
+ "line": 43,
2143
+ "character": 53
2144
+ },
2145
+ "type": {
2146
+ "__schema": "KeywordTypeSchema",
2147
+ "location": {
2148
+ "filePath": "dependencies.main.runtime.ts",
2149
+ "line": 43,
2150
+ "character": 53
2151
+ },
2152
+ "name": "string"
2153
+ }
2154
+ },
2155
+ "isOptional": false
2156
+ },
2157
+ {
2158
+ "__schema": "VariableLikeSchema",
2159
+ "location": {
2160
+ "filePath": "dependencies.main.runtime.ts",
2161
+ "line": 43,
2162
+ "character": 63
2163
+ },
2164
+ "signature": "(property) addedPackages: Record<string, string>",
2165
+ "name": "addedPackages",
2166
+ "type": {
2167
+ "__schema": "TypeRefSchema",
2168
+ "location": {
2169
+ "filePath": "dependencies.main.runtime.ts",
2170
+ "line": 43,
2171
+ "character": 78
2172
+ },
2173
+ "name": "Record",
2174
+ "typeArgs": [
2175
+ {
2176
+ "__schema": "KeywordTypeSchema",
2177
+ "location": {
2178
+ "filePath": "dependencies.main.runtime.ts",
2179
+ "line": 43,
2180
+ "character": 85
2181
+ },
2182
+ "name": "string"
2183
+ },
2184
+ {
2185
+ "__schema": "KeywordTypeSchema",
2186
+ "location": {
2187
+ "filePath": "dependencies.main.runtime.ts",
2188
+ "line": 43,
2189
+ "character": 93
2190
+ },
2191
+ "name": "string"
2192
+ }
2193
+ ]
2194
+ },
2195
+ "isOptional": false
2196
+ }
2197
+ ]
2198
+ }
2199
+ },
2200
+ {
2201
+ "__schema": "TypeSchema",
2202
+ "location": {
2203
+ "filePath": "dependencies.main.runtime.ts",
2204
+ "line": 44,
2205
+ "character": 1
2206
+ },
2207
+ "signature": "type DependenciesResultsDebug = DebugDependencies & OverridesDependenciesData & {\n coreAspects: string[];\n sources: {\n id: string;\n source: string;\n }[];\n}",
2208
+ "name": "DependenciesResultsDebug",
2209
+ "type": {
2210
+ "__schema": "TypeIntersectionSchema",
2211
+ "location": {
2212
+ "filePath": "dependencies.main.runtime.ts",
2213
+ "line": 44,
2214
+ "character": 40
2215
+ },
2216
+ "types": [
2217
+ {
2218
+ "__schema": "TypeRefSchema",
2219
+ "location": {
2220
+ "filePath": "dependencies.main.runtime.ts",
2221
+ "line": 44,
2222
+ "character": 40
2223
+ },
2224
+ "name": "DebugDependencies"
2225
+ },
2226
+ {
2227
+ "__schema": "TypeRefSchema",
2228
+ "location": {
2229
+ "filePath": "dependencies.main.runtime.ts",
2230
+ "line": 45,
2231
+ "character": 3
2232
+ },
2233
+ "name": "OverridesDependenciesData"
2234
+ },
2235
+ {
2236
+ "__schema": "TypeLiteralSchema",
2237
+ "location": {
2238
+ "filePath": "dependencies.main.runtime.ts",
2239
+ "line": 45,
2240
+ "character": 31
2241
+ },
2242
+ "members": [
2243
+ {
2244
+ "__schema": "VariableLikeSchema",
2245
+ "location": {
2246
+ "filePath": "dependencies.main.runtime.ts",
2247
+ "line": 45,
2248
+ "character": 33
2249
+ },
2250
+ "signature": "(property) coreAspects: string[]",
2251
+ "name": "coreAspects",
2252
+ "type": {
2253
+ "__schema": "TypeArraySchema",
2254
+ "location": {
2255
+ "filePath": "dependencies.main.runtime.ts",
2256
+ "line": 45,
2257
+ "character": 46
2258
+ },
2259
+ "type": {
2260
+ "__schema": "KeywordTypeSchema",
2261
+ "location": {
2262
+ "filePath": "dependencies.main.runtime.ts",
2263
+ "line": 45,
2264
+ "character": 46
2265
+ },
2266
+ "name": "string"
2267
+ }
2268
+ },
2269
+ "isOptional": false
2270
+ },
2271
+ {
2272
+ "__schema": "VariableLikeSchema",
2273
+ "location": {
2274
+ "filePath": "dependencies.main.runtime.ts",
2275
+ "line": 45,
2276
+ "character": 56
2277
+ },
2278
+ "signature": "(property) sources: {\n id: string;\n source: string;\n}[]",
2279
+ "name": "sources",
2280
+ "type": {
2281
+ "__schema": "TypeArraySchema",
2282
+ "location": {
2283
+ "filePath": "dependencies.main.runtime.ts",
2284
+ "line": 45,
2285
+ "character": 65
2286
+ },
2287
+ "type": {
2288
+ "__schema": "TypeLiteralSchema",
2289
+ "location": {
2290
+ "filePath": "dependencies.main.runtime.ts",
2291
+ "line": 45,
2292
+ "character": 65
2293
+ },
2294
+ "members": [
2295
+ {
2296
+ "__schema": "VariableLikeSchema",
2297
+ "location": {
2298
+ "filePath": "dependencies.main.runtime.ts",
2299
+ "line": 45,
2300
+ "character": 67
2301
+ },
2302
+ "signature": "(property) id: string",
2303
+ "name": "id",
2304
+ "type": {
2305
+ "__schema": "KeywordTypeSchema",
2306
+ "location": {
2307
+ "filePath": "dependencies.main.runtime.ts",
2308
+ "line": 45,
2309
+ "character": 71
2310
+ },
2311
+ "name": "string"
2312
+ },
2313
+ "isOptional": false
2314
+ },
2315
+ {
2316
+ "__schema": "VariableLikeSchema",
2317
+ "location": {
2318
+ "filePath": "dependencies.main.runtime.ts",
2319
+ "line": 45,
2320
+ "character": 79
2321
+ },
2322
+ "signature": "(property) source: string",
2323
+ "name": "source",
2324
+ "type": {
2325
+ "__schema": "KeywordTypeSchema",
2326
+ "location": {
2327
+ "filePath": "dependencies.main.runtime.ts",
2328
+ "line": 45,
2329
+ "character": 87
2330
+ },
2331
+ "name": "string"
2332
+ },
2333
+ "isOptional": false
2334
+ }
2335
+ ]
2336
+ }
2337
+ },
2338
+ "isOptional": false
2339
+ }
2340
+ ]
2341
+ }
2342
+ ]
2343
+ }
2344
+ },
2345
+ {
2346
+ "__schema": "TypeSchema",
2347
+ "location": {
2348
+ "filePath": "dependencies.main.runtime.ts",
2349
+ "line": 47,
2350
+ "character": 1
2351
+ },
2352
+ "signature": "type DependenciesResults = {\n graph: ComponentIdGraph;\n id: ComponentID;\n}",
2353
+ "name": "DependenciesResults",
2354
+ "type": {
2355
+ "__schema": "TypeLiteralSchema",
2356
+ "location": {
2357
+ "filePath": "dependencies.main.runtime.ts",
2358
+ "line": 47,
2359
+ "character": 35
2360
+ },
2361
+ "members": [
2362
+ {
2363
+ "__schema": "VariableLikeSchema",
2364
+ "location": {
2365
+ "filePath": "dependencies.main.runtime.ts",
2366
+ "line": 48,
2367
+ "character": 3
2368
+ },
2369
+ "signature": "(property) graph: ComponentIdGraph",
2370
+ "name": "graph",
2371
+ "type": {
2372
+ "__schema": "TypeRefSchema",
2373
+ "location": {
2374
+ "filePath": "dependencies.main.runtime.ts",
2375
+ "line": 48,
2376
+ "character": 3
2377
+ },
2378
+ "name": "ComponentIdGraph",
2379
+ "componentId": {
2380
+ "scope": "teambit.component",
2381
+ "name": "graph"
2382
+ }
2383
+ },
2384
+ "isOptional": false
2385
+ },
2386
+ {
2387
+ "__schema": "VariableLikeSchema",
2388
+ "location": {
2389
+ "filePath": "dependencies.main.runtime.ts",
2390
+ "line": 49,
2391
+ "character": 3
2392
+ },
2393
+ "signature": "(property) id: ComponentID",
2394
+ "name": "id",
2395
+ "type": {
2396
+ "__schema": "TypeRefSchema",
2397
+ "location": {
2398
+ "filePath": "dependencies.main.runtime.ts",
2399
+ "line": 49,
2400
+ "character": 3
2401
+ },
2402
+ "name": "ComponentID",
2403
+ "componentId": {
2404
+ "scope": "teambit.component",
2405
+ "name": "component-id",
2406
+ "version": "1.2.2"
2407
+ }
2408
+ },
2409
+ "isOptional": false
2410
+ }
2411
+ ]
2412
+ }
2413
+ },
2414
+ {
2415
+ "__schema": "TypeSchema",
2416
+ "location": {
2417
+ "filePath": "dependencies.main.runtime.ts",
2418
+ "line": 52,
2419
+ "character": 1
2420
+ },
2421
+ "signature": "type BlameResult = {\n snap: string;\n tag?: string;\n author: string;\n date: string;\n message: string;\n version: string;\n}",
2422
+ "name": "BlameResult",
2423
+ "type": {
2424
+ "__schema": "TypeLiteralSchema",
2425
+ "location": {
2426
+ "filePath": "dependencies.main.runtime.ts",
2427
+ "line": 52,
2428
+ "character": 27
2429
+ },
2430
+ "members": [
2431
+ {
2432
+ "__schema": "VariableLikeSchema",
2433
+ "location": {
2434
+ "filePath": "dependencies.main.runtime.ts",
2435
+ "line": 53,
2436
+ "character": 3
2437
+ },
2438
+ "signature": "(property) snap: string",
2439
+ "name": "snap",
2440
+ "type": {
2441
+ "__schema": "KeywordTypeSchema",
2442
+ "location": {
2443
+ "filePath": "dependencies.main.runtime.ts",
2444
+ "line": 53,
2445
+ "character": 9
2446
+ },
2447
+ "name": "string"
2448
+ },
2449
+ "isOptional": false
2450
+ },
2451
+ {
2452
+ "__schema": "VariableLikeSchema",
2453
+ "location": {
2454
+ "filePath": "dependencies.main.runtime.ts",
2455
+ "line": 54,
2456
+ "character": 3
2457
+ },
2458
+ "signature": "(property) tag?: string | undefined",
2459
+ "name": "tag",
2460
+ "type": {
2461
+ "__schema": "KeywordTypeSchema",
2462
+ "location": {
2463
+ "filePath": "dependencies.main.runtime.ts",
2464
+ "line": 54,
2465
+ "character": 9
2466
+ },
2467
+ "name": "string"
2468
+ },
2469
+ "isOptional": true
2470
+ },
2471
+ {
2472
+ "__schema": "VariableLikeSchema",
2473
+ "location": {
2474
+ "filePath": "dependencies.main.runtime.ts",
2475
+ "line": 55,
2476
+ "character": 3
2477
+ },
2478
+ "signature": "(property) author: string",
2479
+ "name": "author",
2480
+ "type": {
2481
+ "__schema": "KeywordTypeSchema",
2482
+ "location": {
2483
+ "filePath": "dependencies.main.runtime.ts",
2484
+ "line": 55,
2485
+ "character": 11
2486
+ },
2487
+ "name": "string"
2488
+ },
2489
+ "isOptional": false
2490
+ },
2491
+ {
2492
+ "__schema": "VariableLikeSchema",
2493
+ "location": {
2494
+ "filePath": "dependencies.main.runtime.ts",
2495
+ "line": 56,
2496
+ "character": 3
2497
+ },
2498
+ "signature": "(property) date: string",
2499
+ "name": "date",
2500
+ "type": {
2501
+ "__schema": "KeywordTypeSchema",
2502
+ "location": {
2503
+ "filePath": "dependencies.main.runtime.ts",
2504
+ "line": 56,
2505
+ "character": 9
2506
+ },
2507
+ "name": "string"
2508
+ },
2509
+ "isOptional": false
2510
+ },
2511
+ {
2512
+ "__schema": "VariableLikeSchema",
2513
+ "location": {
2514
+ "filePath": "dependencies.main.runtime.ts",
2515
+ "line": 57,
2516
+ "character": 3
2517
+ },
2518
+ "signature": "(property) message: string",
2519
+ "name": "message",
2520
+ "type": {
2521
+ "__schema": "KeywordTypeSchema",
2522
+ "location": {
2523
+ "filePath": "dependencies.main.runtime.ts",
2524
+ "line": 57,
2525
+ "character": 12
2526
+ },
2527
+ "name": "string"
2528
+ },
2529
+ "isOptional": false
2530
+ },
2531
+ {
2532
+ "__schema": "VariableLikeSchema",
2533
+ "location": {
2534
+ "filePath": "dependencies.main.runtime.ts",
2535
+ "line": 58,
2536
+ "character": 3
2537
+ },
2538
+ "signature": "(property) version: string",
2539
+ "name": "version",
2540
+ "type": {
2541
+ "__schema": "KeywordTypeSchema",
2542
+ "location": {
2543
+ "filePath": "dependencies.main.runtime.ts",
2544
+ "line": 58,
2545
+ "character": 12
2546
+ },
2547
+ "name": "string"
2548
+ },
2549
+ "isOptional": false
2550
+ }
2551
+ ]
2552
+ }
2553
+ },
2554
+ {
2555
+ "__schema": "ClassSchema",
2556
+ "location": {
2557
+ "filePath": "dependencies.main.runtime.ts",
2558
+ "line": 61,
2559
+ "character": 1
2560
+ },
2561
+ "signature": "class DependenciesMain",
2562
+ "name": "DependenciesMain",
2563
+ "members": [
2564
+ {
2565
+ "__schema": "ConstructorSchema",
2566
+ "location": {
2567
+ "filePath": "dependencies.main.runtime.ts",
2568
+ "line": 62,
2569
+ "character": 3
2570
+ },
2571
+ "signature": "constructor DependenciesMain(workspace: Workspace, scope: ScopeMain, dependencyResolver: DependencyResolverMain, devFiles: DevFilesMain, aspectLoader: AspectLoaderMain, graph: GraphMain, logger: Logger): DependenciesMain",
2572
+ "name": "constructor",
2573
+ "params": [
2574
+ {
2575
+ "__schema": "ParameterSchema",
2576
+ "location": {
2577
+ "filePath": "dependencies.main.runtime.ts",
2578
+ "line": 63,
2579
+ "character": 5
2580
+ },
2581
+ "name": "workspace",
2582
+ "type": {
2583
+ "__schema": "TypeRefSchema",
2584
+ "location": {
2585
+ "filePath": "dependencies.main.runtime.ts",
2586
+ "line": 63,
2587
+ "character": 24
2588
+ },
2589
+ "name": "Workspace"
2590
+ },
2591
+ "isOptional": false,
2592
+ "isSpread": false
2593
+ },
2594
+ {
2595
+ "__schema": "ParameterSchema",
2596
+ "location": {
2597
+ "filePath": "dependencies.main.runtime.ts",
2598
+ "line": 64,
2599
+ "character": 5
2600
+ },
2601
+ "name": "scope",
2602
+ "type": {
2603
+ "__schema": "TypeRefSchema",
2604
+ "location": {
2605
+ "filePath": "dependencies.main.runtime.ts",
2606
+ "line": 64,
2607
+ "character": 20
2608
+ },
2609
+ "name": "ScopeMain"
2610
+ },
2611
+ "isOptional": false,
2612
+ "isSpread": false
2613
+ },
2614
+ {
2615
+ "__schema": "ParameterSchema",
2616
+ "location": {
2617
+ "filePath": "dependencies.main.runtime.ts",
2618
+ "line": 65,
2619
+ "character": 5
2620
+ },
2621
+ "name": "dependencyResolver",
2622
+ "type": {
2623
+ "__schema": "TypeRefSchema",
2624
+ "location": {
2625
+ "filePath": "dependencies.main.runtime.ts",
2626
+ "line": 65,
2627
+ "character": 33
2628
+ },
2629
+ "name": "DependencyResolverMain"
2630
+ },
2631
+ "isOptional": false,
2632
+ "isSpread": false
2633
+ },
2634
+ {
2635
+ "__schema": "ParameterSchema",
2636
+ "location": {
2637
+ "filePath": "dependencies.main.runtime.ts",
2638
+ "line": 66,
2639
+ "character": 5
2640
+ },
2641
+ "name": "devFiles",
2642
+ "type": {
2643
+ "__schema": "TypeRefSchema",
2644
+ "location": {
2645
+ "filePath": "dependencies.main.runtime.ts",
2646
+ "line": 66,
2647
+ "character": 23
2648
+ },
2649
+ "name": "DevFilesMain"
2650
+ },
2651
+ "isOptional": false,
2652
+ "isSpread": false
2653
+ },
2654
+ {
2655
+ "__schema": "ParameterSchema",
2656
+ "location": {
2657
+ "filePath": "dependencies.main.runtime.ts",
2658
+ "line": 67,
2659
+ "character": 5
2660
+ },
2661
+ "name": "aspectLoader",
2662
+ "type": {
2663
+ "__schema": "TypeRefSchema",
2664
+ "location": {
2665
+ "filePath": "dependencies.main.runtime.ts",
2666
+ "line": 67,
2667
+ "character": 27
2668
+ },
2669
+ "name": "AspectLoaderMain"
2670
+ },
2671
+ "isOptional": false,
2672
+ "isSpread": false
2673
+ },
2674
+ {
2675
+ "__schema": "ParameterSchema",
2676
+ "location": {
2677
+ "filePath": "dependencies.main.runtime.ts",
2678
+ "line": 68,
2679
+ "character": 5
2680
+ },
2681
+ "name": "graph",
2682
+ "type": {
2683
+ "__schema": "TypeRefSchema",
2684
+ "location": {
2685
+ "filePath": "dependencies.main.runtime.ts",
2686
+ "line": 68,
2687
+ "character": 20
2688
+ },
2689
+ "name": "GraphMain"
2690
+ },
2691
+ "isOptional": false,
2692
+ "isSpread": false
2693
+ },
2694
+ {
2695
+ "__schema": "ParameterSchema",
2696
+ "location": {
2697
+ "filePath": "dependencies.main.runtime.ts",
2698
+ "line": 69,
2699
+ "character": 5
2700
+ },
2701
+ "name": "logger",
2702
+ "type": {
2703
+ "__schema": "TypeRefSchema",
2704
+ "location": {
2705
+ "filePath": "dependencies.main.runtime.ts",
2706
+ "line": 69,
2707
+ "character": 21
2708
+ },
2709
+ "name": "Logger"
2710
+ },
2711
+ "isOptional": false,
2712
+ "isSpread": false
2713
+ }
2714
+ ],
2715
+ "returnType": {
2716
+ "__schema": "ThisTypeSchema",
2717
+ "location": {
2718
+ "filePath": "dependencies.main.runtime.ts",
2719
+ "line": 61,
2720
+ "character": 1
2721
+ },
2722
+ "name": "DependenciesMain"
2723
+ },
2724
+ "modifiers": []
2725
+ },
2726
+ {
2727
+ "__schema": "FunctionLikeSchema",
2728
+ "location": {
2729
+ "filePath": "dependencies.main.runtime.ts",
2730
+ "line": 72,
2731
+ "character": 3
2732
+ },
2733
+ "signature": "(method) DependenciesMain.setPeer(componentId: string, range?: string): Promise<void>",
2734
+ "name": "setPeer",
2735
+ "params": [
2736
+ {
2737
+ "__schema": "ParameterSchema",
2738
+ "location": {
2739
+ "filePath": "dependencies.main.runtime.ts",
2740
+ "line": 72,
2741
+ "character": 17
2742
+ },
2743
+ "name": "componentId",
2744
+ "type": {
2745
+ "__schema": "KeywordTypeSchema",
2746
+ "location": {
2747
+ "filePath": "dependencies.main.runtime.ts",
2748
+ "line": 72,
2749
+ "character": 30
2750
+ },
2751
+ "name": "string"
2752
+ },
2753
+ "isOptional": false,
2754
+ "isSpread": false
2755
+ },
2756
+ {
2757
+ "__schema": "ParameterSchema",
2758
+ "location": {
2759
+ "filePath": "dependencies.main.runtime.ts",
2760
+ "line": 72,
2761
+ "character": 38
2762
+ },
2763
+ "name": "range",
2764
+ "type": {
2765
+ "__schema": "KeywordTypeSchema",
2766
+ "location": {
2767
+ "filePath": "dependencies.main.runtime.ts",
2768
+ "line": 72,
2769
+ "character": 46
2770
+ },
2771
+ "name": "string"
2772
+ },
2773
+ "isOptional": true,
2774
+ "isSpread": false
2775
+ }
2776
+ ],
2777
+ "returnType": {
2778
+ "__schema": "TypeRefSchema",
2779
+ "location": {
2780
+ "filePath": "dependencies.main.runtime.ts",
2781
+ "line": 72,
2782
+ "character": 55
2783
+ },
2784
+ "name": "Promise",
2785
+ "typeArgs": [
2786
+ {
2787
+ "__schema": "KeywordTypeSchema",
2788
+ "location": {
2789
+ "filePath": "dependencies.main.runtime.ts",
2790
+ "line": 72,
2791
+ "character": 63
2792
+ },
2793
+ "name": "void"
2794
+ }
2795
+ ]
2796
+ },
2797
+ "modifiers": [
2798
+ "async"
2799
+ ]
2800
+ },
2801
+ {
2802
+ "__schema": "FunctionLikeSchema",
2803
+ "location": {
2804
+ "filePath": "dependencies.main.runtime.ts",
2805
+ "line": 83,
2806
+ "character": 3
2807
+ },
2808
+ "signature": "(method) DependenciesMain.unsetPeer(componentId: string): Promise<void>",
2809
+ "name": "unsetPeer",
2810
+ "params": [
2811
+ {
2812
+ "__schema": "ParameterSchema",
2813
+ "location": {
2814
+ "filePath": "dependencies.main.runtime.ts",
2815
+ "line": 83,
2816
+ "character": 19
2817
+ },
2818
+ "name": "componentId",
2819
+ "type": {
2820
+ "__schema": "KeywordTypeSchema",
2821
+ "location": {
2822
+ "filePath": "dependencies.main.runtime.ts",
2823
+ "line": 83,
2824
+ "character": 32
2825
+ },
2826
+ "name": "string"
2827
+ },
2828
+ "isOptional": false,
2829
+ "isSpread": false
2830
+ }
2831
+ ],
2832
+ "returnType": {
2833
+ "__schema": "TypeRefSchema",
2834
+ "location": {
2835
+ "filePath": "dependencies.main.runtime.ts",
2836
+ "line": 83,
2837
+ "character": 41
2838
+ },
2839
+ "name": "Promise",
2840
+ "typeArgs": [
2841
+ {
2842
+ "__schema": "KeywordTypeSchema",
2843
+ "location": {
2844
+ "filePath": "dependencies.main.runtime.ts",
2845
+ "line": 83,
2846
+ "character": 49
2847
+ },
2848
+ "name": "void"
2849
+ }
2850
+ ]
2851
+ },
2852
+ "modifiers": [
2853
+ "async"
2854
+ ]
2855
+ },
2856
+ {
2857
+ "__schema": "FunctionLikeSchema",
2858
+ "location": {
2859
+ "filePath": "dependencies.main.runtime.ts",
2860
+ "line": 100,
2861
+ "character": 3
2862
+ },
2863
+ "signature": "(method) DependenciesMain.setDependency(componentPattern: string, packages: string[], options?: SetDependenciesFlags): Promise<SetDependenciesResult>",
2864
+ "name": "setDependency",
2865
+ "params": [
2866
+ {
2867
+ "__schema": "ParameterSchema",
2868
+ "location": {
2869
+ "filePath": "dependencies.main.runtime.ts",
2870
+ "line": 101,
2871
+ "character": 5
2872
+ },
2873
+ "name": "componentPattern",
2874
+ "type": {
2875
+ "__schema": "KeywordTypeSchema",
2876
+ "location": {
2877
+ "filePath": "dependencies.main.runtime.ts",
2878
+ "line": 101,
2879
+ "character": 23
2880
+ },
2881
+ "name": "string"
2882
+ },
2883
+ "isOptional": false,
2884
+ "isSpread": false
2885
+ },
2886
+ {
2887
+ "__schema": "ParameterSchema",
2888
+ "location": {
2889
+ "filePath": "dependencies.main.runtime.ts",
2890
+ "line": 102,
2891
+ "character": 5
2892
+ },
2893
+ "name": "packages",
2894
+ "type": {
2895
+ "__schema": "TypeArraySchema",
2896
+ "location": {
2897
+ "filePath": "dependencies.main.runtime.ts",
2898
+ "line": 102,
2899
+ "character": 15
2900
+ },
2901
+ "type": {
2902
+ "__schema": "KeywordTypeSchema",
2903
+ "location": {
2904
+ "filePath": "dependencies.main.runtime.ts",
2905
+ "line": 102,
2906
+ "character": 15
2907
+ },
2908
+ "name": "string"
2909
+ }
2910
+ },
2911
+ "isOptional": false,
2912
+ "isSpread": false
2913
+ },
2914
+ {
2915
+ "__schema": "ParameterSchema",
2916
+ "location": {
2917
+ "filePath": "dependencies.main.runtime.ts",
2918
+ "line": 103,
2919
+ "character": 5
2920
+ },
2921
+ "name": "options",
2922
+ "type": {
2923
+ "__schema": "TypeRefSchema",
2924
+ "location": {
2925
+ "filePath": "dependencies.main.runtime.ts",
2926
+ "line": 103,
2927
+ "character": 14
2928
+ },
2929
+ "name": "SetDependenciesFlags"
2930
+ },
2931
+ "isOptional": true,
2932
+ "defaultValue": "{}",
2933
+ "isSpread": false
2934
+ }
2935
+ ],
2936
+ "returnType": {
2937
+ "__schema": "TypeRefSchema",
2938
+ "location": {
2939
+ "filePath": "dependencies.main.runtime.ts",
2940
+ "line": 104,
2941
+ "character": 6
2942
+ },
2943
+ "name": "Promise",
2944
+ "typeArgs": [
2945
+ {
2946
+ "__schema": "TypeRefSchema",
2947
+ "location": {
2948
+ "filePath": "dependencies.main.runtime.ts",
2949
+ "line": 104,
2950
+ "character": 14
2951
+ },
2952
+ "name": "SetDependenciesResult"
2953
+ }
2954
+ ]
2955
+ },
2956
+ "modifiers": [
2957
+ "async"
2958
+ ]
2959
+ },
2960
+ {
2961
+ "__schema": "FunctionLikeSchema",
2962
+ "location": {
2963
+ "filePath": "dependencies.main.runtime.ts",
2964
+ "line": 144,
2965
+ "character": 3
2966
+ },
2967
+ "signature": "(method) DependenciesMain.removeDependency(componentPattern: string, packages: string[], options?: RemoveDependenciesFlags, removeOnlyIfExists?: boolean): Promise<RemoveDependencyResult[]>",
2968
+ "name": "removeDependency",
2969
+ "params": [
2970
+ {
2971
+ "__schema": "ParameterSchema",
2972
+ "location": {
2973
+ "filePath": "dependencies.main.runtime.ts",
2974
+ "line": 145,
2975
+ "character": 5
2976
+ },
2977
+ "name": "componentPattern",
2978
+ "type": {
2979
+ "__schema": "KeywordTypeSchema",
2980
+ "location": {
2981
+ "filePath": "dependencies.main.runtime.ts",
2982
+ "line": 145,
2983
+ "character": 23
2984
+ },
2985
+ "name": "string"
2986
+ },
2987
+ "isOptional": false,
2988
+ "isSpread": false
2989
+ },
2990
+ {
2991
+ "__schema": "ParameterSchema",
2992
+ "location": {
2993
+ "filePath": "dependencies.main.runtime.ts",
2994
+ "line": 146,
2995
+ "character": 5
2996
+ },
2997
+ "name": "packages",
2998
+ "type": {
2999
+ "__schema": "TypeArraySchema",
3000
+ "location": {
3001
+ "filePath": "dependencies.main.runtime.ts",
3002
+ "line": 146,
3003
+ "character": 15
3004
+ },
3005
+ "type": {
3006
+ "__schema": "KeywordTypeSchema",
3007
+ "location": {
3008
+ "filePath": "dependencies.main.runtime.ts",
3009
+ "line": 146,
3010
+ "character": 15
3011
+ },
3012
+ "name": "string"
3013
+ }
3014
+ },
3015
+ "isOptional": false,
3016
+ "isSpread": false
3017
+ },
3018
+ {
3019
+ "__schema": "ParameterSchema",
3020
+ "location": {
3021
+ "filePath": "dependencies.main.runtime.ts",
3022
+ "line": 147,
3023
+ "character": 5
3024
+ },
3025
+ "name": "options",
3026
+ "type": {
3027
+ "__schema": "TypeRefSchema",
3028
+ "location": {
3029
+ "filePath": "dependencies.main.runtime.ts",
3030
+ "line": 147,
3031
+ "character": 14
3032
+ },
3033
+ "name": "RemoveDependenciesFlags"
3034
+ },
3035
+ "isOptional": true,
3036
+ "defaultValue": "{}",
3037
+ "isSpread": false
3038
+ },
3039
+ {
3040
+ "__schema": "ParameterSchema",
3041
+ "location": {
3042
+ "filePath": "dependencies.main.runtime.ts",
3043
+ "line": 148,
3044
+ "character": 5
3045
+ },
3046
+ "name": "removeOnlyIfExists",
3047
+ "type": {
3048
+ "__schema": "InferenceTypeSchema",
3049
+ "location": {
3050
+ "filePath": "dependencies.main.runtime.ts",
3051
+ "line": 148,
3052
+ "character": 5
3053
+ },
3054
+ "type": "boolean"
3055
+ },
3056
+ "isOptional": true,
3057
+ "defaultValue": "false",
3058
+ "isSpread": false
3059
+ }
3060
+ ],
3061
+ "returnType": {
3062
+ "__schema": "TypeRefSchema",
3063
+ "location": {
3064
+ "filePath": "dependencies.main.runtime.ts",
3065
+ "line": 149,
3066
+ "character": 6
3067
+ },
3068
+ "name": "Promise",
3069
+ "typeArgs": [
3070
+ {
3071
+ "__schema": "TypeArraySchema",
3072
+ "location": {
3073
+ "filePath": "dependencies.main.runtime.ts",
3074
+ "line": 149,
3075
+ "character": 14
3076
+ },
3077
+ "type": {
3078
+ "__schema": "TypeRefSchema",
3079
+ "location": {
3080
+ "filePath": "dependencies.main.runtime.ts",
3081
+ "line": 149,
3082
+ "character": 14
3083
+ },
3084
+ "name": "RemoveDependencyResult"
3085
+ }
3086
+ }
3087
+ ]
3088
+ },
3089
+ "modifiers": [
3090
+ "async"
3091
+ ]
3092
+ },
3093
+ {
3094
+ "__schema": "FunctionLikeSchema",
3095
+ "location": {
3096
+ "filePath": "dependencies.main.runtime.ts",
3097
+ "line": 208,
3098
+ "character": 3
3099
+ },
3100
+ "signature": "(method) DependenciesMain.reset(componentPattern: string): Promise<ComponentID[]>",
3101
+ "name": "reset",
3102
+ "params": [
3103
+ {
3104
+ "__schema": "ParameterSchema",
3105
+ "location": {
3106
+ "filePath": "dependencies.main.runtime.ts",
3107
+ "line": 208,
3108
+ "character": 15
3109
+ },
3110
+ "name": "componentPattern",
3111
+ "type": {
3112
+ "__schema": "KeywordTypeSchema",
3113
+ "location": {
3114
+ "filePath": "dependencies.main.runtime.ts",
3115
+ "line": 208,
3116
+ "character": 33
3117
+ },
3118
+ "name": "string"
3119
+ },
3120
+ "isOptional": false,
3121
+ "isSpread": false
3122
+ }
3123
+ ],
3124
+ "returnType": {
3125
+ "__schema": "TypeRefSchema",
3126
+ "location": {
3127
+ "filePath": "dependencies.main.runtime.ts",
3128
+ "line": 208,
3129
+ "character": 42
3130
+ },
3131
+ "name": "Promise",
3132
+ "typeArgs": [
3133
+ {
3134
+ "__schema": "TypeArraySchema",
3135
+ "location": {
3136
+ "filePath": "dependencies.main.runtime.ts",
3137
+ "line": 208,
3138
+ "character": 50
3139
+ },
3140
+ "type": {
3141
+ "__schema": "TypeRefSchema",
3142
+ "location": {
3143
+ "filePath": "dependencies.main.runtime.ts",
3144
+ "line": 208,
3145
+ "character": 50
3146
+ },
3147
+ "name": "ComponentID"
3148
+ }
3149
+ }
3150
+ ]
3151
+ },
3152
+ "modifiers": [
3153
+ "async"
3154
+ ]
3155
+ },
3156
+ {
3157
+ "__schema": "FunctionLikeSchema",
3158
+ "location": {
3159
+ "filePath": "dependencies.main.runtime.ts",
3160
+ "line": 218,
3161
+ "character": 3
3162
+ },
3163
+ "signature": "(method) DependenciesMain.eject(componentPattern: string): Promise<ComponentID[]>",
3164
+ "name": "eject",
3165
+ "params": [
3166
+ {
3167
+ "__schema": "ParameterSchema",
3168
+ "location": {
3169
+ "filePath": "dependencies.main.runtime.ts",
3170
+ "line": 218,
3171
+ "character": 15
3172
+ },
3173
+ "name": "componentPattern",
3174
+ "type": {
3175
+ "__schema": "KeywordTypeSchema",
3176
+ "location": {
3177
+ "filePath": "dependencies.main.runtime.ts",
3178
+ "line": 218,
3179
+ "character": 33
3180
+ },
3181
+ "name": "string"
3182
+ },
3183
+ "isOptional": false,
3184
+ "isSpread": false
3185
+ }
3186
+ ],
3187
+ "returnType": {
3188
+ "__schema": "TypeRefSchema",
3189
+ "location": {
3190
+ "filePath": "dependencies.main.runtime.ts",
3191
+ "line": 218,
3192
+ "character": 42
3193
+ },
3194
+ "name": "Promise",
3195
+ "typeArgs": [
3196
+ {
3197
+ "__schema": "TypeArraySchema",
3198
+ "location": {
3199
+ "filePath": "dependencies.main.runtime.ts",
3200
+ "line": 218,
3201
+ "character": 50
3202
+ },
3203
+ "type": {
3204
+ "__schema": "TypeRefSchema",
3205
+ "location": {
3206
+ "filePath": "dependencies.main.runtime.ts",
3207
+ "line": 218,
3208
+ "character": 50
3209
+ },
3210
+ "name": "ComponentID"
3211
+ }
3212
+ }
3213
+ ]
3214
+ },
3215
+ "modifiers": [
3216
+ "async"
3217
+ ]
3218
+ },
3219
+ {
3220
+ "__schema": "FunctionLikeSchema",
3221
+ "location": {
3222
+ "filePath": "dependencies.main.runtime.ts",
3223
+ "line": 236,
3224
+ "character": 3
3225
+ },
3226
+ "signature": "(method) DependenciesMain.getDependencies(id: string, scope?: boolean): Promise<DependenciesResults>",
3227
+ "name": "getDependencies",
3228
+ "params": [
3229
+ {
3230
+ "__schema": "ParameterSchema",
3231
+ "location": {
3232
+ "filePath": "dependencies.main.runtime.ts",
3233
+ "line": 236,
3234
+ "character": 25
3235
+ },
3236
+ "name": "id",
3237
+ "type": {
3238
+ "__schema": "KeywordTypeSchema",
3239
+ "location": {
3240
+ "filePath": "dependencies.main.runtime.ts",
3241
+ "line": 236,
3242
+ "character": 29
3243
+ },
3244
+ "name": "string"
3245
+ },
3246
+ "isOptional": false,
3247
+ "isSpread": false
3248
+ },
3249
+ {
3250
+ "__schema": "ParameterSchema",
3251
+ "location": {
3252
+ "filePath": "dependencies.main.runtime.ts",
3253
+ "line": 236,
3254
+ "character": 37
3255
+ },
3256
+ "name": "scope",
3257
+ "type": {
3258
+ "__schema": "KeywordTypeSchema",
3259
+ "location": {
3260
+ "filePath": "dependencies.main.runtime.ts",
3261
+ "line": 236,
3262
+ "character": 45
3263
+ },
3264
+ "name": "boolean"
3265
+ },
3266
+ "isOptional": true,
3267
+ "isSpread": false
3268
+ }
3269
+ ],
3270
+ "returnType": {
3271
+ "__schema": "TypeRefSchema",
3272
+ "location": {
3273
+ "filePath": "dependencies.main.runtime.ts",
3274
+ "line": 236,
3275
+ "character": 55
3276
+ },
3277
+ "name": "Promise",
3278
+ "typeArgs": [
3279
+ {
3280
+ "__schema": "TypeRefSchema",
3281
+ "location": {
3282
+ "filePath": "dependencies.main.runtime.ts",
3283
+ "line": 236,
3284
+ "character": 63
3285
+ },
3286
+ "name": "DependenciesResults"
3287
+ }
3288
+ ]
3289
+ },
3290
+ "modifiers": [
3291
+ "async"
3292
+ ]
3293
+ },
3294
+ {
3295
+ "__schema": "FunctionLikeSchema",
3296
+ "location": {
3297
+ "filePath": "dependencies.main.runtime.ts",
3298
+ "line": 246,
3299
+ "character": 3
3300
+ },
3301
+ "signature": "(method) DependenciesMain.loadDependencies(component: ConsumerComponent, opts: DependencyLoaderOpts): Promise<{\n dependenciesData: DependenciesData;\n overridesDependencies: OverridesDependencies;\n debugDependenciesData: DebugDependencies;\n}>",
3302
+ "name": "loadDependencies",
3303
+ "params": [
3304
+ {
3305
+ "__schema": "ParameterSchema",
3306
+ "location": {
3307
+ "filePath": "dependencies.main.runtime.ts",
3308
+ "line": 246,
3309
+ "character": 26
3310
+ },
3311
+ "name": "component",
3312
+ "type": {
3313
+ "__schema": "TypeRefSchema",
3314
+ "location": {
3315
+ "filePath": "dependencies.main.runtime.ts",
3316
+ "line": 246,
3317
+ "character": 37
3318
+ },
3319
+ "name": "ConsumerComponent"
3320
+ },
3321
+ "isOptional": false,
3322
+ "isSpread": false
3323
+ },
3324
+ {
3325
+ "__schema": "ParameterSchema",
3326
+ "location": {
3327
+ "filePath": "dependencies.main.runtime.ts",
3328
+ "line": 246,
3329
+ "character": 56
3330
+ },
3331
+ "name": "opts",
3332
+ "type": {
3333
+ "__schema": "TypeRefSchema",
3334
+ "location": {
3335
+ "filePath": "dependencies.main.runtime.ts",
3336
+ "line": 246,
3337
+ "character": 62
3338
+ },
3339
+ "name": "DependencyLoaderOpts"
3340
+ },
3341
+ "isOptional": false,
3342
+ "isSpread": false
3343
+ }
3344
+ ],
3345
+ "returnType": {
3346
+ "__schema": "InferenceTypeSchema",
3347
+ "location": {
3348
+ "filePath": "dependencies.main.runtime.ts",
3349
+ "line": 246,
3350
+ "character": 3
3351
+ },
3352
+ "type": "Promise<{\n dependenciesData: DependenciesData;\n overridesDependencies: OverridesDependencies;\n debugDependenciesData: DebugDependencies;\n}>"
3353
+ },
3354
+ "modifiers": [
3355
+ "async"
3356
+ ]
3357
+ },
3358
+ {
3359
+ "__schema": "FunctionLikeSchema",
3360
+ "location": {
3361
+ "filePath": "dependencies.main.runtime.ts",
3362
+ "line": 263,
3363
+ "character": 3
3364
+ },
3365
+ "doc": {
3366
+ "__schema": "DocSchema",
3367
+ "location": {
3368
+ "filePath": "dependencies.main.runtime.ts",
3369
+ "line": 257,
3370
+ "character": 3
3371
+ },
3372
+ "raw": "/**\n * load dependencies without the need for the workspace.\n * the \"auto-detect\" are passed here as \"dependenciesData\". the \"overrides\", such as dependencies from the env,\n * are calculated here.\n * eventually all these dependencies are added to the ConsumerComponent object.\n */",
3373
+ "comment": "load dependencies without the need for the workspace.\nthe \"auto-detect\" are passed here as \"dependenciesData\". the \"overrides\", such as dependencies from the env,\nare calculated here.\neventually all these dependencies are added to the ConsumerComponent object.",
3374
+ "tags": []
3375
+ },
3376
+ "signature": "(method) DependenciesMain.loadDependenciesFromScope(component: ConsumerComponent, dependenciesData: Partial<DependenciesData>): Promise<void>",
3377
+ "name": "loadDependenciesFromScope",
3378
+ "params": [
3379
+ {
3380
+ "__schema": "ParameterSchema",
3381
+ "location": {
3382
+ "filePath": "dependencies.main.runtime.ts",
3383
+ "line": 263,
3384
+ "character": 35
3385
+ },
3386
+ "name": "component",
3387
+ "type": {
3388
+ "__schema": "TypeRefSchema",
3389
+ "location": {
3390
+ "filePath": "dependencies.main.runtime.ts",
3391
+ "line": 263,
3392
+ "character": 46
3393
+ },
3394
+ "name": "ConsumerComponent"
3395
+ },
3396
+ "isOptional": false,
3397
+ "isSpread": false
3398
+ },
3399
+ {
3400
+ "__schema": "ParameterSchema",
3401
+ "location": {
3402
+ "filePath": "dependencies.main.runtime.ts",
3403
+ "line": 263,
3404
+ "character": 65
3405
+ },
3406
+ "name": "dependenciesData",
3407
+ "type": {
3408
+ "__schema": "TypeRefSchema",
3409
+ "location": {
3410
+ "filePath": "dependencies.main.runtime.ts",
3411
+ "line": 263,
3412
+ "character": 83
3413
+ },
3414
+ "name": "Partial",
3415
+ "typeArgs": [
3416
+ {
3417
+ "__schema": "TypeRefSchema",
3418
+ "location": {
3419
+ "filePath": "dependencies.main.runtime.ts",
3420
+ "line": 263,
3421
+ "character": 91
3422
+ },
3423
+ "name": "DependenciesData"
3424
+ }
3425
+ ]
3426
+ },
3427
+ "isOptional": false,
3428
+ "isSpread": false
3429
+ }
3430
+ ],
3431
+ "returnType": {
3432
+ "__schema": "InferenceTypeSchema",
3433
+ "location": {
3434
+ "filePath": "dependencies.main.runtime.ts",
3435
+ "line": 263,
3436
+ "character": 3
3437
+ },
3438
+ "type": "Promise<void>"
3439
+ },
3440
+ "modifiers": [
3441
+ "async"
3442
+ ]
3443
+ },
3444
+ {
3445
+ "__schema": "FunctionLikeSchema",
3446
+ "location": {
3447
+ "filePath": "dependencies.main.runtime.ts",
3448
+ "line": 274,
3449
+ "character": 3
3450
+ },
3451
+ "signature": "(method) DependenciesMain.debugDependencies(id: string): Promise<DependenciesResultsDebug>",
3452
+ "name": "debugDependencies",
3453
+ "params": [
3454
+ {
3455
+ "__schema": "ParameterSchema",
3456
+ "location": {
3457
+ "filePath": "dependencies.main.runtime.ts",
3458
+ "line": 274,
3459
+ "character": 27
3460
+ },
3461
+ "name": "id",
3462
+ "type": {
3463
+ "__schema": "KeywordTypeSchema",
3464
+ "location": {
3465
+ "filePath": "dependencies.main.runtime.ts",
3466
+ "line": 274,
3467
+ "character": 31
3468
+ },
3469
+ "name": "string"
3470
+ },
3471
+ "isOptional": false,
3472
+ "isSpread": false
3473
+ }
3474
+ ],
3475
+ "returnType": {
3476
+ "__schema": "TypeRefSchema",
3477
+ "location": {
3478
+ "filePath": "dependencies.main.runtime.ts",
3479
+ "line": 274,
3480
+ "character": 40
3481
+ },
3482
+ "name": "Promise",
3483
+ "typeArgs": [
3484
+ {
3485
+ "__schema": "TypeRefSchema",
3486
+ "location": {
3487
+ "filePath": "dependencies.main.runtime.ts",
3488
+ "line": 274,
3489
+ "character": 48
3490
+ },
3491
+ "name": "DependenciesResultsDebug"
3492
+ }
3493
+ ]
3494
+ },
3495
+ "modifiers": [
3496
+ "async"
3497
+ ]
3498
+ },
3499
+ {
3500
+ "__schema": "FunctionLikeSchema",
3501
+ "location": {
3502
+ "filePath": "dependencies.main.runtime.ts",
3503
+ "line": 306,
3504
+ "character": 3
3505
+ },
3506
+ "doc": {
3507
+ "__schema": "DocSchema",
3508
+ "location": {
3509
+ "filePath": "dependencies.main.runtime.ts",
3510
+ "line": 302,
3511
+ "character": 3
3512
+ },
3513
+ "raw": "/**\n * helps determine what snap/tag changed a specific dependency.\n * the results are sorted from the oldest to newest.\n */",
3514
+ "comment": "helps determine what snap/tag changed a specific dependency.\nthe results are sorted from the oldest to newest.",
3515
+ "tags": []
3516
+ },
3517
+ "signature": "(method) DependenciesMain.blame(compName: string, depName: string): Promise<BlameResult[]>",
3518
+ "name": "blame",
3519
+ "params": [
3520
+ {
3521
+ "__schema": "ParameterSchema",
3522
+ "location": {
3523
+ "filePath": "dependencies.main.runtime.ts",
3524
+ "line": 306,
3525
+ "character": 15
3526
+ },
3527
+ "name": "compName",
3528
+ "type": {
3529
+ "__schema": "KeywordTypeSchema",
3530
+ "location": {
3531
+ "filePath": "dependencies.main.runtime.ts",
3532
+ "line": 306,
3533
+ "character": 25
3534
+ },
3535
+ "name": "string"
3536
+ },
3537
+ "isOptional": false,
3538
+ "isSpread": false
3539
+ },
3540
+ {
3541
+ "__schema": "ParameterSchema",
3542
+ "location": {
3543
+ "filePath": "dependencies.main.runtime.ts",
3544
+ "line": 306,
3545
+ "character": 33
3546
+ },
3547
+ "name": "depName",
3548
+ "type": {
3549
+ "__schema": "KeywordTypeSchema",
3550
+ "location": {
3551
+ "filePath": "dependencies.main.runtime.ts",
3552
+ "line": 306,
3553
+ "character": 42
3554
+ },
3555
+ "name": "string"
3556
+ },
3557
+ "isOptional": false,
3558
+ "isSpread": false
3559
+ }
3560
+ ],
3561
+ "returnType": {
3562
+ "__schema": "InferenceTypeSchema",
3563
+ "location": {
3564
+ "filePath": "dependencies.main.runtime.ts",
3565
+ "line": 306,
3566
+ "character": 3
3567
+ },
3568
+ "type": "Promise<BlameResult[]>"
3569
+ },
3570
+ "modifiers": [
3571
+ "async"
3572
+ ]
3573
+ },
3574
+ {
3575
+ "__schema": "FunctionLikeSchema",
3576
+ "location": {
3577
+ "filePath": "dependencies.main.runtime.ts",
3578
+ "line": 339,
3579
+ "character": 3
3580
+ },
3581
+ "signature": "(method) DependenciesMain.usageDeep(depName: string, opts?: {\n depth?: number;\n}): Promise<string | undefined>",
3582
+ "name": "usageDeep",
3583
+ "params": [
3584
+ {
3585
+ "__schema": "ParameterSchema",
3586
+ "location": {
3587
+ "filePath": "dependencies.main.runtime.ts",
3588
+ "line": 339,
3589
+ "character": 19
3590
+ },
3591
+ "name": "depName",
3592
+ "type": {
3593
+ "__schema": "KeywordTypeSchema",
3594
+ "location": {
3595
+ "filePath": "dependencies.main.runtime.ts",
3596
+ "line": 339,
3597
+ "character": 28
3598
+ },
3599
+ "name": "string"
3600
+ },
3601
+ "isOptional": false,
3602
+ "isSpread": false
3603
+ },
3604
+ {
3605
+ "__schema": "ParameterSchema",
3606
+ "location": {
3607
+ "filePath": "dependencies.main.runtime.ts",
3608
+ "line": 339,
3609
+ "character": 36
3610
+ },
3611
+ "name": "opts",
3612
+ "type": {
3613
+ "__schema": "TypeLiteralSchema",
3614
+ "location": {
3615
+ "filePath": "dependencies.main.runtime.ts",
3616
+ "line": 339,
3617
+ "character": 43
3618
+ },
3619
+ "members": [
3620
+ {
3621
+ "__schema": "VariableLikeSchema",
3622
+ "location": {
3623
+ "filePath": "dependencies.main.runtime.ts",
3624
+ "line": 339,
3625
+ "character": 45
3626
+ },
3627
+ "signature": "(property) depth?: number | undefined",
3628
+ "name": "depth",
3629
+ "type": {
3630
+ "__schema": "KeywordTypeSchema",
3631
+ "location": {
3632
+ "filePath": "dependencies.main.runtime.ts",
3633
+ "line": 339,
3634
+ "character": 53
3635
+ },
3636
+ "name": "number"
3637
+ },
3638
+ "isOptional": true
3639
+ }
3640
+ ]
3641
+ },
3642
+ "isOptional": true,
3643
+ "isSpread": false
3644
+ }
3645
+ ],
3646
+ "returnType": {
3647
+ "__schema": "TypeRefSchema",
3648
+ "location": {
3649
+ "filePath": "dependencies.main.runtime.ts",
3650
+ "line": 339,
3651
+ "character": 64
3652
+ },
3653
+ "name": "Promise",
3654
+ "typeArgs": [
3655
+ {
3656
+ "__schema": "TypeUnionSchema",
3657
+ "location": {
3658
+ "filePath": "dependencies.main.runtime.ts",
3659
+ "line": 339,
3660
+ "character": 72
3661
+ },
3662
+ "types": [
3663
+ {
3664
+ "__schema": "KeywordTypeSchema",
3665
+ "location": {
3666
+ "filePath": "dependencies.main.runtime.ts",
3667
+ "line": 339,
3668
+ "character": 72
3669
+ },
3670
+ "name": "string"
3671
+ },
3672
+ {
3673
+ "__schema": "KeywordTypeSchema",
3674
+ "location": {
3675
+ "filePath": "dependencies.main.runtime.ts",
3676
+ "line": 339,
3677
+ "character": 81
3678
+ },
3679
+ "name": "undefined"
3680
+ }
3681
+ ]
3682
+ }
3683
+ ]
3684
+ },
3685
+ "modifiers": [
3686
+ "async"
3687
+ ]
3688
+ },
3689
+ {
3690
+ "__schema": "FunctionLikeSchema",
3691
+ "location": {
3692
+ "filePath": "dependencies.main.runtime.ts",
3693
+ "line": 354,
3694
+ "character": 3
3695
+ },
3696
+ "doc": {
3697
+ "__schema": "DocSchema",
3698
+ "location": {
3699
+ "filePath": "dependencies.main.runtime.ts",
3700
+ "line": 350,
3701
+ "character": 3
3702
+ },
3703
+ "raw": "/**\n * @param depName either component-id-string or package-name (of the component or not component)\n * @returns a map of component-id-string to the version of the dependency\n */",
3704
+ "comment": "",
3705
+ "tags": [
3706
+ {
3707
+ "__schema": "PropertyLikeTagSchema",
3708
+ "location": {
3709
+ "filePath": "dependencies.main.runtime.ts",
3710
+ "line": 351,
3711
+ "character": 6
3712
+ },
3713
+ "name": "depName",
3714
+ "tagName": "parameter",
3715
+ "comment": "either component-id-string or package-name (of the component or not component)"
3716
+ },
3717
+ {
3718
+ "__schema": "ReturnTagSchema",
3719
+ "location": {
3720
+ "filePath": "dependencies.main.runtime.ts",
3721
+ "line": 352,
3722
+ "character": 6
3723
+ },
3724
+ "tagName": "return",
3725
+ "comment": "a map of component-id-string to the version of the dependency"
3726
+ }
3727
+ ]
3728
+ },
3729
+ "signature": "(method) DependenciesMain.usage(depName: string): Promise<{\n [compIdStr: string]: string;\n}>",
3730
+ "name": "usage",
3731
+ "params": [
3732
+ {
3733
+ "__schema": "ParameterSchema",
3734
+ "location": {
3735
+ "filePath": "dependencies.main.runtime.ts",
3736
+ "line": 354,
3737
+ "character": 15
3738
+ },
3739
+ "name": "depName",
3740
+ "type": {
3741
+ "__schema": "KeywordTypeSchema",
3742
+ "location": {
3743
+ "filePath": "dependencies.main.runtime.ts",
3744
+ "line": 354,
3745
+ "character": 24
3746
+ },
3747
+ "name": "string"
3748
+ },
3749
+ "isOptional": false,
3750
+ "isSpread": false
3751
+ }
3752
+ ],
3753
+ "returnType": {
3754
+ "__schema": "TypeRefSchema",
3755
+ "location": {
3756
+ "filePath": "dependencies.main.runtime.ts",
3757
+ "line": 354,
3758
+ "character": 33
3759
+ },
3760
+ "name": "Promise",
3761
+ "typeArgs": [
3762
+ {
3763
+ "__schema": "TypeLiteralSchema",
3764
+ "location": {
3765
+ "filePath": "dependencies.main.runtime.ts",
3766
+ "line": 354,
3767
+ "character": 41
3768
+ },
3769
+ "members": [
3770
+ {
3771
+ "__schema": "IndexSignatureSchema",
3772
+ "location": {
3773
+ "filePath": "dependencies.main.runtime.ts",
3774
+ "line": 354,
3775
+ "character": 43
3776
+ },
3777
+ "keyType": {
3778
+ "__schema": "ParameterSchema",
3779
+ "location": {
3780
+ "filePath": "dependencies.main.runtime.ts",
3781
+ "line": 354,
3782
+ "character": 44
3783
+ },
3784
+ "name": "compIdStr",
3785
+ "type": {
3786
+ "__schema": "KeywordTypeSchema",
3787
+ "location": {
3788
+ "filePath": "dependencies.main.runtime.ts",
3789
+ "line": 354,
3790
+ "character": 55
3791
+ },
3792
+ "name": "string"
3793
+ },
3794
+ "isOptional": false,
3795
+ "isSpread": false
3796
+ },
3797
+ "valueType": {
3798
+ "__schema": "KeywordTypeSchema",
3799
+ "location": {
3800
+ "filePath": "dependencies.main.runtime.ts",
3801
+ "line": 354,
3802
+ "character": 64
3803
+ },
3804
+ "name": "string"
3805
+ }
3806
+ }
3807
+ ]
3808
+ }
3809
+ ]
3810
+ },
3811
+ "modifiers": [
3812
+ "async"
3813
+ ]
3814
+ },
3815
+ {
3816
+ "__schema": "VariableLikeSchema",
3817
+ "location": {
3818
+ "filePath": "dependencies.main.runtime.ts",
3819
+ "line": 394,
3820
+ "character": 3
3821
+ },
3822
+ "signature": "(property) DependenciesMain.slots: never[]",
3823
+ "name": "slots",
3824
+ "type": {
3825
+ "__schema": "InferenceTypeSchema",
3826
+ "location": {
3827
+ "filePath": "dependencies.main.runtime.ts",
3828
+ "line": 394,
3829
+ "character": 3
3830
+ },
3831
+ "type": "never[]"
3832
+ },
3833
+ "isOptional": true,
3834
+ "defaultValue": "[]"
3835
+ },
3836
+ {
3837
+ "__schema": "VariableLikeSchema",
3838
+ "location": {
3839
+ "filePath": "dependencies.main.runtime.ts",
3840
+ "line": 395,
3841
+ "character": 3
3842
+ },
3843
+ "signature": "(property) DependenciesMain.dependencies: Aspect[]",
3844
+ "name": "dependencies",
3845
+ "type": {
3846
+ "__schema": "InferenceTypeSchema",
3847
+ "location": {
3848
+ "filePath": "dependencies.main.runtime.ts",
3849
+ "line": 395,
3850
+ "character": 3
3851
+ },
3852
+ "type": "Aspect[]"
3853
+ },
3854
+ "isOptional": true,
3855
+ "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n DependencyResolverAspect,\n DevFilesAspect,\n AspectLoaderAspect,\n ScopeAspect,\n GraphAspect,\n LoggerAspect,\n ]"
3856
+ },
3857
+ {
3858
+ "__schema": "VariableLikeSchema",
3859
+ "location": {
3860
+ "filePath": "dependencies.main.runtime.ts",
3861
+ "line": 406,
3862
+ "character": 3
3863
+ },
3864
+ "signature": "(property) DependenciesMain.runtime: RuntimeDefinition",
3865
+ "name": "runtime",
3866
+ "type": {
3867
+ "__schema": "InferenceTypeSchema",
3868
+ "location": {
3869
+ "filePath": "dependencies.main.runtime.ts",
3870
+ "line": 406,
3871
+ "character": 3
3872
+ },
3873
+ "type": "RuntimeDefinition"
3874
+ },
3875
+ "isOptional": true,
3876
+ "defaultValue": "MainRuntime"
3877
+ },
3878
+ {
3879
+ "__schema": "FunctionLikeSchema",
3880
+ "location": {
3881
+ "filePath": "dependencies.main.runtime.ts",
3882
+ "line": 408,
3883
+ "character": 3
3884
+ },
3885
+ "signature": "(method) DependenciesMain.provider([cli, workspace, depsResolver, devFiles, aspectLoader, scope, graph, loggerMain]: [CLIMain, Workspace, DependencyResolverMain, DevFilesMain, AspectLoaderMain, ScopeMain, GraphMain, LoggerMain]): Promise<DependenciesMain>",
3886
+ "name": "provider",
3887
+ "params": [
3888
+ {
3889
+ "__schema": "ParameterSchema",
3890
+ "location": {
3891
+ "filePath": "dependencies.main.runtime.ts",
3892
+ "line": 408,
3893
+ "character": 25
3894
+ },
3895
+ "name": "[ cli, workspace, depsResolver, devFiles, aspectLoader, scope, graph, loggerMain ]",
3896
+ "type": {
3897
+ "__schema": "TupleTypeSchema",
3898
+ "location": {
3899
+ "filePath": "dependencies.main.runtime.ts",
3900
+ "line": 408,
3901
+ "character": 107
3902
+ },
3903
+ "elements": [
3904
+ {
3905
+ "__schema": "TypeRefSchema",
3906
+ "location": {
3907
+ "filePath": "dependencies.main.runtime.ts",
3908
+ "line": 409,
3909
+ "character": 5
3910
+ },
3911
+ "name": "CLIMain"
3912
+ },
3913
+ {
3914
+ "__schema": "TypeRefSchema",
3915
+ "location": {
3916
+ "filePath": "dependencies.main.runtime.ts",
3917
+ "line": 410,
3918
+ "character": 5
3919
+ },
3920
+ "name": "Workspace"
3921
+ },
3922
+ {
3923
+ "__schema": "TypeRefSchema",
3924
+ "location": {
3925
+ "filePath": "dependencies.main.runtime.ts",
3926
+ "line": 411,
3927
+ "character": 5
3928
+ },
3929
+ "name": "DependencyResolverMain"
3930
+ },
3931
+ {
3932
+ "__schema": "TypeRefSchema",
3933
+ "location": {
3934
+ "filePath": "dependencies.main.runtime.ts",
3935
+ "line": 412,
3936
+ "character": 5
3937
+ },
3938
+ "name": "DevFilesMain"
3939
+ },
3940
+ {
3941
+ "__schema": "TypeRefSchema",
3942
+ "location": {
3943
+ "filePath": "dependencies.main.runtime.ts",
3944
+ "line": 413,
3945
+ "character": 5
3946
+ },
3947
+ "name": "AspectLoaderMain"
3948
+ },
3949
+ {
3950
+ "__schema": "TypeRefSchema",
3951
+ "location": {
3952
+ "filePath": "dependencies.main.runtime.ts",
3953
+ "line": 414,
3954
+ "character": 5
3955
+ },
3956
+ "name": "ScopeMain"
3957
+ },
3958
+ {
3959
+ "__schema": "TypeRefSchema",
3960
+ "location": {
3961
+ "filePath": "dependencies.main.runtime.ts",
3962
+ "line": 415,
3963
+ "character": 5
3964
+ },
3965
+ "name": "GraphMain"
3966
+ },
3967
+ {
3968
+ "__schema": "TypeRefSchema",
3969
+ "location": {
3970
+ "filePath": "dependencies.main.runtime.ts",
3971
+ "line": 416,
3972
+ "character": 5
3973
+ },
3974
+ "name": "LoggerMain"
3975
+ }
3976
+ ]
3977
+ },
3978
+ "isOptional": false,
3979
+ "isSpread": false
3980
+ }
3981
+ ],
3982
+ "returnType": {
3983
+ "__schema": "InferenceTypeSchema",
3984
+ "location": {
3985
+ "filePath": "dependencies.main.runtime.ts",
3986
+ "line": 408,
3987
+ "character": 3
3988
+ },
3989
+ "type": "Promise<DependenciesMain>"
3990
+ },
3991
+ "modifiers": [
3992
+ "static",
3993
+ "async"
3994
+ ]
3995
+ }
3996
+ ],
3997
+ "extendsNodes": [],
3998
+ "implementNodes": []
3999
+ },
4000
+ {
4001
+ "__schema": "UnImplementedSchema",
4002
+ "location": {
4003
+ "filePath": "dependencies.main.runtime.ts",
4004
+ "line": 452,
4005
+ "character": 16
4006
+ },
4007
+ "name": "DependenciesMain",
4008
+ "type": "Identifier"
4009
+ }
4010
+ ],
4011
+ "internals": [
4012
+ {
4013
+ "__schema": "FunctionLikeSchema",
4014
+ "location": {
4015
+ "filePath": "dependencies.main.runtime.ts",
4016
+ "line": 446,
4017
+ "character": 1
4018
+ },
4019
+ "signature": "function isComponentId(depName: string): boolean",
4020
+ "name": "isComponentId",
4021
+ "params": [
4022
+ {
4023
+ "__schema": "ParameterSchema",
4024
+ "location": {
4025
+ "filePath": "dependencies.main.runtime.ts",
4026
+ "line": 446,
4027
+ "character": 24
4028
+ },
4029
+ "name": "depName",
4030
+ "type": {
4031
+ "__schema": "KeywordTypeSchema",
4032
+ "location": {
4033
+ "filePath": "dependencies.main.runtime.ts",
4034
+ "line": 446,
4035
+ "character": 33
4036
+ },
4037
+ "name": "string"
4038
+ },
4039
+ "isOptional": false,
4040
+ "isSpread": false
4041
+ }
4042
+ ],
4043
+ "returnType": {
4044
+ "__schema": "TypeRefSchema",
4045
+ "location": {
4046
+ "filePath": "dependencies.main.runtime.ts",
4047
+ "line": 446,
4048
+ "character": 1
4049
+ },
4050
+ "name": "isComponentId",
4051
+ "internalFilePath": "dependencies.main.runtime.ts"
4052
+ },
4053
+ "modifiers": []
4054
+ },
4055
+ {
4056
+ "__schema": "UnImplementedSchema",
4057
+ "location": {
4058
+ "filePath": "dependencies.main.runtime.ts",
4059
+ "line": 450,
4060
+ "character": 1
4061
+ },
4062
+ "name": "DependenciesAspect.addRuntime(DependenciesMain);",
4063
+ "type": "ExpressionStatement"
4064
+ }
4065
+ ]
4066
+ },
4067
+ {
4068
+ "__schema": "ModuleSchema",
4069
+ "location": {
4070
+ "filePath": "files-dependency-builder/detector-hook.ts",
4071
+ "line": 1,
4072
+ "character": 1
4073
+ },
4074
+ "exports": [
4075
+ {
4076
+ "__schema": "TypeSchema",
4077
+ "location": {
4078
+ "filePath": "files-dependency-builder/detector-hook.ts",
4079
+ "line": 1,
4080
+ "character": 1
4081
+ },
4082
+ "signature": "type FileContext = {\n ext: string;\n filename: string;\n}",
4083
+ "name": "FileContext",
4084
+ "type": {
4085
+ "__schema": "TypeLiteralSchema",
4086
+ "location": {
4087
+ "filePath": "files-dependency-builder/detector-hook.ts",
4088
+ "line": 1,
4089
+ "character": 27
4090
+ },
4091
+ "members": [
4092
+ {
4093
+ "__schema": "VariableLikeSchema",
4094
+ "location": {
4095
+ "filePath": "files-dependency-builder/detector-hook.ts",
4096
+ "line": 5,
4097
+ "character": 3
4098
+ },
4099
+ "doc": {
4100
+ "__schema": "DocSchema",
4101
+ "location": {
4102
+ "filePath": "files-dependency-builder/detector-hook.ts",
4103
+ "line": 2,
4104
+ "character": 3
4105
+ },
4106
+ "raw": "/**\n * extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)\n */",
4107
+ "comment": "extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)",
4108
+ "tags": []
4109
+ },
4110
+ "signature": "(property) ext: string",
4111
+ "name": "ext",
4112
+ "type": {
4113
+ "__schema": "KeywordTypeSchema",
4114
+ "location": {
4115
+ "filePath": "files-dependency-builder/detector-hook.ts",
4116
+ "line": 5,
4117
+ "character": 8
4118
+ },
4119
+ "name": "string"
4120
+ },
4121
+ "isOptional": false
4122
+ },
4123
+ {
4124
+ "__schema": "VariableLikeSchema",
4125
+ "location": {
4126
+ "filePath": "files-dependency-builder/detector-hook.ts",
4127
+ "line": 7,
4128
+ "character": 3
4129
+ },
4130
+ "signature": "(property) filename: string",
4131
+ "name": "filename",
4132
+ "type": {
4133
+ "__schema": "KeywordTypeSchema",
4134
+ "location": {
4135
+ "filePath": "files-dependency-builder/detector-hook.ts",
4136
+ "line": 7,
4137
+ "character": 13
4138
+ },
4139
+ "name": "string"
4140
+ },
4141
+ "isOptional": false
4142
+ }
4143
+ ]
4144
+ }
4145
+ },
4146
+ {
4147
+ "__schema": "TypeSchema",
4148
+ "location": {
4149
+ "filePath": "files-dependency-builder/detector-hook.ts",
4150
+ "line": 10,
4151
+ "character": 1
4152
+ },
4153
+ "signature": "type DependencyContext = {\n dependency: string;\n filename: string;\n directory: string;\n}",
4154
+ "name": "DependencyContext",
4155
+ "type": {
4156
+ "__schema": "TypeLiteralSchema",
4157
+ "location": {
4158
+ "filePath": "files-dependency-builder/detector-hook.ts",
4159
+ "line": 10,
4160
+ "character": 33
4161
+ },
4162
+ "members": [
4163
+ {
4164
+ "__schema": "VariableLikeSchema",
4165
+ "location": {
4166
+ "filePath": "files-dependency-builder/detector-hook.ts",
4167
+ "line": 15,
4168
+ "character": 3
4169
+ },
4170
+ "doc": {
4171
+ "__schema": "DocSchema",
4172
+ "location": {
4173
+ "filePath": "files-dependency-builder/detector-hook.ts",
4174
+ "line": 11,
4175
+ "character": 3
4176
+ },
4177
+ "raw": "/**\n * name of the dependency.\n * e.g. `lodash` in `import _ from 'lodash'`\n */",
4178
+ "comment": "name of the dependency.\ne.g. `lodash` in `import _ from 'lodash'`",
4179
+ "tags": []
4180
+ },
4181
+ "signature": "(property) dependency: string",
4182
+ "name": "dependency",
4183
+ "type": {
4184
+ "__schema": "KeywordTypeSchema",
4185
+ "location": {
4186
+ "filePath": "files-dependency-builder/detector-hook.ts",
4187
+ "line": 15,
4188
+ "character": 15
4189
+ },
4190
+ "name": "string"
4191
+ },
4192
+ "isOptional": false
4193
+ },
4194
+ {
4195
+ "__schema": "VariableLikeSchema",
4196
+ "location": {
4197
+ "filePath": "files-dependency-builder/detector-hook.ts",
4198
+ "line": 20,
4199
+ "character": 3
4200
+ },
4201
+ "doc": {
4202
+ "__schema": "DocSchema",
4203
+ "location": {
4204
+ "filePath": "files-dependency-builder/detector-hook.ts",
4205
+ "line": 17,
4206
+ "character": 3
4207
+ },
4208
+ "raw": "/**\n * name of the file.\n */",
4209
+ "comment": "name of the file.",
4210
+ "tags": []
4211
+ },
4212
+ "signature": "(property) filename: string",
4213
+ "name": "filename",
4214
+ "type": {
4215
+ "__schema": "KeywordTypeSchema",
4216
+ "location": {
4217
+ "filePath": "files-dependency-builder/detector-hook.ts",
4218
+ "line": 20,
4219
+ "character": 13
4220
+ },
4221
+ "name": "string"
4222
+ },
4223
+ "isOptional": false
4224
+ },
4225
+ {
4226
+ "__schema": "VariableLikeSchema",
4227
+ "location": {
4228
+ "filePath": "files-dependency-builder/detector-hook.ts",
4229
+ "line": 25,
4230
+ "character": 3
4231
+ },
4232
+ "doc": {
4233
+ "__schema": "DocSchema",
4234
+ "location": {
4235
+ "filePath": "files-dependency-builder/detector-hook.ts",
4236
+ "line": 22,
4237
+ "character": 3
4238
+ },
4239
+ "raw": "/**\n * directory of the file.\n */",
4240
+ "comment": "directory of the file.",
4241
+ "tags": []
4242
+ },
4243
+ "signature": "(property) directory: string",
4244
+ "name": "directory",
4245
+ "type": {
4246
+ "__schema": "KeywordTypeSchema",
4247
+ "location": {
4248
+ "filePath": "files-dependency-builder/detector-hook.ts",
4249
+ "line": 25,
4250
+ "character": 14
4251
+ },
4252
+ "name": "string"
4253
+ },
4254
+ "isOptional": false
4255
+ }
4256
+ ]
4257
+ }
4258
+ },
4259
+ {
4260
+ "__schema": "InterfaceSchema",
4261
+ "location": {
4262
+ "filePath": "files-dependency-builder/detector-hook.ts",
4263
+ "line": 28,
4264
+ "character": 1
4265
+ },
4266
+ "signature": "interface DependencyDetector",
4267
+ "name": "DependencyDetector",
4268
+ "members": [
4269
+ {
4270
+ "__schema": "FunctionLikeSchema",
4271
+ "location": {
4272
+ "filePath": "files-dependency-builder/detector-hook.ts",
4273
+ "line": 32,
4274
+ "character": 3
4275
+ },
4276
+ "doc": {
4277
+ "__schema": "DocSchema",
4278
+ "location": {
4279
+ "filePath": "files-dependency-builder/detector-hook.ts",
4280
+ "line": 29,
4281
+ "character": 3
4282
+ },
4283
+ "raw": "/**\n * determine whether to apply on given file.\n */",
4284
+ "comment": "determine whether to apply on given file.",
4285
+ "tags": []
4286
+ },
4287
+ "signature": "(method) DependencyDetector.isSupported(context: FileContext): boolean",
4288
+ "name": "isSupported",
4289
+ "params": [
4290
+ {
4291
+ "__schema": "ParameterSchema",
4292
+ "location": {
4293
+ "filePath": "files-dependency-builder/detector-hook.ts",
4294
+ "line": 32,
4295
+ "character": 15
4296
+ },
4297
+ "name": "context",
4298
+ "type": {
4299
+ "__schema": "TypeRefSchema",
4300
+ "location": {
4301
+ "filePath": "files-dependency-builder/detector-hook.ts",
4302
+ "line": 32,
4303
+ "character": 24
4304
+ },
4305
+ "name": "FileContext"
4306
+ },
4307
+ "isOptional": false,
4308
+ "isSpread": false
4309
+ }
4310
+ ],
4311
+ "returnType": {
4312
+ "__schema": "KeywordTypeSchema",
4313
+ "location": {
4314
+ "filePath": "files-dependency-builder/detector-hook.ts",
4315
+ "line": 32,
4316
+ "character": 38
4317
+ },
4318
+ "name": "boolean"
4319
+ },
4320
+ "modifiers": []
4321
+ },
4322
+ {
4323
+ "__schema": "VariableLikeSchema",
4324
+ "location": {
4325
+ "filePath": "files-dependency-builder/detector-hook.ts",
4326
+ "line": 39,
4327
+ "character": 3
4328
+ },
4329
+ "doc": {
4330
+ "__schema": "DocSchema",
4331
+ "location": {
4332
+ "filePath": "files-dependency-builder/detector-hook.ts",
4333
+ "line": 34,
4334
+ "character": 3
4335
+ },
4336
+ "raw": "/**\n * determine what type of content the detector is for.\n * by default, the type is the extension name of the file (without the dot)\n * if no type provided.\n */",
4337
+ "comment": "determine what type of content the detector is for.\nby default, the type is the extension name of the file (without the dot)\nif no type provided.",
4338
+ "tags": []
4339
+ },
4340
+ "signature": "(property) DependencyDetector.type?: string | undefined",
4341
+ "name": "type",
4342
+ "type": {
4343
+ "__schema": "KeywordTypeSchema",
4344
+ "location": {
4345
+ "filePath": "files-dependency-builder/detector-hook.ts",
4346
+ "line": 39,
4347
+ "character": 10
4348
+ },
4349
+ "name": "string"
4350
+ },
4351
+ "isOptional": true
4352
+ },
4353
+ {
4354
+ "__schema": "FunctionLikeSchema",
4355
+ "location": {
4356
+ "filePath": "files-dependency-builder/detector-hook.ts",
4357
+ "line": 44,
4358
+ "character": 3
4359
+ },
4360
+ "doc": {
4361
+ "__schema": "DocSchema",
4362
+ "location": {
4363
+ "filePath": "files-dependency-builder/detector-hook.ts",
4364
+ "line": 41,
4365
+ "character": 3
4366
+ },
4367
+ "raw": "/**\n * detect file dependencies. list of file dependencies of the module.\n */",
4368
+ "comment": "detect file dependencies. list of file dependencies of the module.",
4369
+ "tags": []
4370
+ },
4371
+ "signature": "(method) DependencyDetector.detect(fileContent: string): string[]",
4372
+ "name": "detect",
4373
+ "params": [
4374
+ {
4375
+ "__schema": "ParameterSchema",
4376
+ "location": {
4377
+ "filePath": "files-dependency-builder/detector-hook.ts",
4378
+ "line": 44,
4379
+ "character": 10
4380
+ },
4381
+ "name": "fileContent",
4382
+ "type": {
4383
+ "__schema": "KeywordTypeSchema",
4384
+ "location": {
4385
+ "filePath": "files-dependency-builder/detector-hook.ts",
4386
+ "line": 44,
4387
+ "character": 23
4388
+ },
4389
+ "name": "string"
4390
+ },
4391
+ "isOptional": false,
4392
+ "isSpread": false
4393
+ }
4394
+ ],
4395
+ "returnType": {
4396
+ "__schema": "TypeArraySchema",
4397
+ "location": {
4398
+ "filePath": "files-dependency-builder/detector-hook.ts",
4399
+ "line": 44,
4400
+ "character": 32
4401
+ },
4402
+ "type": {
4403
+ "__schema": "KeywordTypeSchema",
4404
+ "location": {
4405
+ "filePath": "files-dependency-builder/detector-hook.ts",
4406
+ "line": 44,
4407
+ "character": 32
4408
+ },
4409
+ "name": "string"
4410
+ }
4411
+ },
4412
+ "modifiers": []
4413
+ },
4414
+ {
4415
+ "__schema": "FunctionLikeSchema",
4416
+ "location": {
4417
+ "filePath": "files-dependency-builder/detector-hook.ts",
4418
+ "line": 50,
4419
+ "character": 3
4420
+ },
4421
+ "doc": {
4422
+ "__schema": "DocSchema",
4423
+ "location": {
4424
+ "filePath": "files-dependency-builder/detector-hook.ts",
4425
+ "line": 46,
4426
+ "character": 3
4427
+ },
4428
+ "raw": "/**\n * resolve the imported file location\n * @param file\n */",
4429
+ "comment": "resolve the imported file location",
4430
+ "tags": [
4431
+ {
4432
+ "__schema": "PropertyLikeTagSchema",
4433
+ "location": {
4434
+ "filePath": "files-dependency-builder/detector-hook.ts",
4435
+ "line": 48,
4436
+ "character": 6
4437
+ },
4438
+ "name": "file",
4439
+ "tagName": "parameter"
4440
+ }
4441
+ ]
4442
+ },
4443
+ "signature": "(method) DependencyDetector.dependencyLookup?(file: DependencyContext): string",
4444
+ "name": "dependencyLookup",
4445
+ "params": [
4446
+ {
4447
+ "__schema": "ParameterSchema",
4448
+ "location": {
4449
+ "filePath": "files-dependency-builder/detector-hook.ts",
4450
+ "line": 50,
4451
+ "character": 21
4452
+ },
4453
+ "name": "file",
4454
+ "type": {
4455
+ "__schema": "TypeRefSchema",
4456
+ "location": {
4457
+ "filePath": "files-dependency-builder/detector-hook.ts",
4458
+ "line": 50,
4459
+ "character": 27
4460
+ },
4461
+ "name": "DependencyContext"
4462
+ },
4463
+ "isOptional": false,
4464
+ "isSpread": false
4465
+ }
4466
+ ],
4467
+ "returnType": {
4468
+ "__schema": "KeywordTypeSchema",
4469
+ "location": {
4470
+ "filePath": "files-dependency-builder/detector-hook.ts",
4471
+ "line": 50,
4472
+ "character": 47
4473
+ },
4474
+ "name": "string"
4475
+ },
4476
+ "modifiers": []
4477
+ }
4478
+ ],
4479
+ "extendsNodes": []
4480
+ },
4481
+ {
4482
+ "__schema": "ClassSchema",
4483
+ "location": {
4484
+ "filePath": "files-dependency-builder/detector-hook.ts",
4485
+ "line": 53,
4486
+ "character": 1
4487
+ },
4488
+ "signature": "class DetectorHook",
4489
+ "name": "DetectorHook",
4490
+ "members": [
4491
+ {
4492
+ "__schema": "VariableLikeSchema",
4493
+ "location": {
4494
+ "filePath": "files-dependency-builder/detector-hook.ts",
4495
+ "line": 54,
4496
+ "character": 3
4497
+ },
4498
+ "signature": "(property) DetectorHook.hooks: DependencyDetector[]",
4499
+ "name": "hooks",
4500
+ "type": {
4501
+ "__schema": "TypeArraySchema",
4502
+ "location": {
4503
+ "filePath": "files-dependency-builder/detector-hook.ts",
4504
+ "line": 54,
4505
+ "character": 17
4506
+ },
4507
+ "type": {
4508
+ "__schema": "TypeRefSchema",
4509
+ "location": {
4510
+ "filePath": "files-dependency-builder/detector-hook.ts",
4511
+ "line": 54,
4512
+ "character": 17
4513
+ },
4514
+ "name": "DependencyDetector"
4515
+ }
4516
+ },
4517
+ "isOptional": true,
4518
+ "defaultValue": "[]"
4519
+ },
4520
+ {
4521
+ "__schema": "FunctionLikeSchema",
4522
+ "location": {
4523
+ "filePath": "files-dependency-builder/detector-hook.ts",
4524
+ "line": 56,
4525
+ "character": 3
4526
+ },
4527
+ "signature": "(method) DetectorHook.isSupported(ext: string, filename: string): boolean",
4528
+ "name": "isSupported",
4529
+ "params": [
4530
+ {
4531
+ "__schema": "ParameterSchema",
4532
+ "location": {
4533
+ "filePath": "files-dependency-builder/detector-hook.ts",
4534
+ "line": 56,
4535
+ "character": 15
4536
+ },
4537
+ "name": "ext",
4538
+ "type": {
4539
+ "__schema": "KeywordTypeSchema",
4540
+ "location": {
4541
+ "filePath": "files-dependency-builder/detector-hook.ts",
4542
+ "line": 56,
4543
+ "character": 20
4544
+ },
4545
+ "name": "string"
4546
+ },
4547
+ "isOptional": false,
4548
+ "isSpread": false
4549
+ },
4550
+ {
4551
+ "__schema": "ParameterSchema",
4552
+ "location": {
4553
+ "filePath": "files-dependency-builder/detector-hook.ts",
4554
+ "line": 56,
4555
+ "character": 28
4556
+ },
4557
+ "name": "filename",
4558
+ "type": {
4559
+ "__schema": "KeywordTypeSchema",
4560
+ "location": {
4561
+ "filePath": "files-dependency-builder/detector-hook.ts",
4562
+ "line": 56,
4563
+ "character": 38
4564
+ },
4565
+ "name": "string"
4566
+ },
4567
+ "isOptional": false,
4568
+ "isSpread": false
4569
+ }
4570
+ ],
4571
+ "returnType": {
4572
+ "__schema": "KeywordTypeSchema",
4573
+ "location": {
4574
+ "filePath": "files-dependency-builder/detector-hook.ts",
4575
+ "line": 56,
4576
+ "character": 47
4577
+ },
4578
+ "name": "boolean"
4579
+ },
4580
+ "modifiers": []
4581
+ },
4582
+ {
4583
+ "__schema": "FunctionLikeSchema",
4584
+ "location": {
4585
+ "filePath": "files-dependency-builder/detector-hook.ts",
4586
+ "line": 65,
4587
+ "character": 3
4588
+ },
4589
+ "signature": "(method) DetectorHook.getDetector(ext: string, filename: string): DependencyDetector | undefined",
4590
+ "name": "getDetector",
4591
+ "params": [
4592
+ {
4593
+ "__schema": "ParameterSchema",
4594
+ "location": {
4595
+ "filePath": "files-dependency-builder/detector-hook.ts",
4596
+ "line": 65,
4597
+ "character": 15
4598
+ },
4599
+ "name": "ext",
4600
+ "type": {
4601
+ "__schema": "KeywordTypeSchema",
4602
+ "location": {
4603
+ "filePath": "files-dependency-builder/detector-hook.ts",
4604
+ "line": 65,
4605
+ "character": 20
4606
+ },
4607
+ "name": "string"
4608
+ },
4609
+ "isOptional": false,
4610
+ "isSpread": false
4611
+ },
4612
+ {
4613
+ "__schema": "ParameterSchema",
4614
+ "location": {
4615
+ "filePath": "files-dependency-builder/detector-hook.ts",
4616
+ "line": 65,
4617
+ "character": 28
4618
+ },
4619
+ "name": "filename",
4620
+ "type": {
4621
+ "__schema": "KeywordTypeSchema",
4622
+ "location": {
4623
+ "filePath": "files-dependency-builder/detector-hook.ts",
4624
+ "line": 65,
4625
+ "character": 38
4626
+ },
4627
+ "name": "string"
4628
+ },
4629
+ "isOptional": false,
4630
+ "isSpread": false
4631
+ }
4632
+ ],
4633
+ "returnType": {
4634
+ "__schema": "TypeUnionSchema",
4635
+ "location": {
4636
+ "filePath": "files-dependency-builder/detector-hook.ts",
4637
+ "line": 65,
4638
+ "character": 47
4639
+ },
4640
+ "types": [
4641
+ {
4642
+ "__schema": "TypeRefSchema",
4643
+ "location": {
4644
+ "filePath": "files-dependency-builder/detector-hook.ts",
4645
+ "line": 65,
4646
+ "character": 47
4647
+ },
4648
+ "name": "DependencyDetector"
4649
+ },
4650
+ {
4651
+ "__schema": "KeywordTypeSchema",
4652
+ "location": {
4653
+ "filePath": "files-dependency-builder/detector-hook.ts",
4654
+ "line": 65,
4655
+ "character": 68
4656
+ },
4657
+ "name": "undefined"
4658
+ }
4659
+ ]
4660
+ },
4661
+ "modifiers": []
4662
+ }
4663
+ ],
4664
+ "extendsNodes": [],
4665
+ "implementNodes": []
4666
+ }
4667
+ ],
4668
+ "internals": []
4669
+ },
4670
+ {
4671
+ "__schema": "ModuleSchema",
4672
+ "location": {
4673
+ "filePath": "dependencies.aspect.ts",
4674
+ "line": 1,
4675
+ "character": 1
4676
+ },
4677
+ "exports": [
4678
+ {
4679
+ "__schema": "VariableLikeSchema",
4680
+ "location": {
4681
+ "filePath": "dependencies.aspect.ts",
4682
+ "line": 3,
4683
+ "character": 14
4684
+ },
4685
+ "signature": "const DependenciesAspect: Aspect",
4686
+ "name": "DependenciesAspect",
4687
+ "type": {
4688
+ "__schema": "TypeRefSchema",
4689
+ "location": {
4690
+ "filePath": "dependencies.aspect.ts",
4691
+ "line": 3,
4692
+ "character": 14
4693
+ },
4694
+ "name": "Aspect",
4695
+ "componentId": {
4696
+ "scope": "teambit.harmony",
4697
+ "name": "harmony",
4698
+ "version": "0.4.6"
4699
+ }
4700
+ },
4701
+ "isOptional": false,
4702
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/dependencies',\n})"
4703
+ }
4704
+ ],
4705
+ "internals": []
4706
+ }
4707
+ ],
4708
+ "componentId": {
4709
+ "scope": "teambit.dependencies",
4710
+ "name": "dependencies",
4711
+ "version": "1.0.513"
4712
+ },
4713
+ "taggedModuleExports": []
4714
+ }