@teambit/dev-files 1.0.512 → 1.0.514

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,2858 @@
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": 10
22
+ },
23
+ "signature": "const DevFilesAspect: Aspect",
24
+ "name": "DevFilesAspect",
25
+ "exportNode": {
26
+ "__schema": "VariableLikeSchema",
27
+ "location": {
28
+ "filePath": "dev-files.aspect.ts",
29
+ "line": 3,
30
+ "character": 14
31
+ },
32
+ "signature": "const DevFilesAspect: Aspect",
33
+ "name": "DevFilesAspect",
34
+ "type": {
35
+ "__schema": "TypeRefSchema",
36
+ "location": {
37
+ "filePath": "dev-files.aspect.ts",
38
+ "line": 3,
39
+ "character": 14
40
+ },
41
+ "name": "Aspect",
42
+ "componentId": {
43
+ "scope": "teambit.harmony",
44
+ "name": "harmony",
45
+ "version": "0.4.6"
46
+ }
47
+ },
48
+ "isOptional": false,
49
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/dev-files',\n})"
50
+ }
51
+ },
52
+ {
53
+ "__schema": "ExportSchema",
54
+ "location": {
55
+ "filePath": "index.ts",
56
+ "line": 4,
57
+ "character": 15
58
+ },
59
+ "signature": "class DevFilesMain",
60
+ "name": "DevFilesMain",
61
+ "exportNode": {
62
+ "__schema": "ClassSchema",
63
+ "location": {
64
+ "filePath": "dev-files.main.runtime.ts",
65
+ "line": 55,
66
+ "character": 1
67
+ },
68
+ "signature": "class DevFilesMain",
69
+ "name": "DevFilesMain",
70
+ "members": [
71
+ {
72
+ "__schema": "ConstructorSchema",
73
+ "location": {
74
+ "filePath": "dev-files.main.runtime.ts",
75
+ "line": 56,
76
+ "character": 3
77
+ },
78
+ "signature": "constructor DevFilesMain(envs: EnvsMain, workspace: Workspace, devPatternSlot: DevPatternSlot, config: DevFilesConfig): DevFilesMain",
79
+ "name": "constructor",
80
+ "params": [
81
+ {
82
+ "__schema": "ParameterSchema",
83
+ "location": {
84
+ "filePath": "dev-files.main.runtime.ts",
85
+ "line": 57,
86
+ "character": 5
87
+ },
88
+ "name": "envs",
89
+ "type": {
90
+ "__schema": "TypeRefSchema",
91
+ "location": {
92
+ "filePath": "dev-files.main.runtime.ts",
93
+ "line": 57,
94
+ "character": 19
95
+ },
96
+ "name": "EnvsMain",
97
+ "componentId": {
98
+ "scope": "teambit.envs",
99
+ "name": "envs"
100
+ }
101
+ },
102
+ "isOptional": false,
103
+ "isSpread": false
104
+ },
105
+ {
106
+ "__schema": "ParameterSchema",
107
+ "location": {
108
+ "filePath": "dev-files.main.runtime.ts",
109
+ "line": 59,
110
+ "character": 5
111
+ },
112
+ "name": "workspace",
113
+ "type": {
114
+ "__schema": "TypeRefSchema",
115
+ "location": {
116
+ "filePath": "dev-files.main.runtime.ts",
117
+ "line": 59,
118
+ "character": 24
119
+ },
120
+ "name": "Workspace",
121
+ "componentId": {
122
+ "scope": "teambit.workspace",
123
+ "name": "workspace"
124
+ }
125
+ },
126
+ "isOptional": false,
127
+ "isSpread": false
128
+ },
129
+ {
130
+ "__schema": "ParameterSchema",
131
+ "location": {
132
+ "filePath": "dev-files.main.runtime.ts",
133
+ "line": 61,
134
+ "character": 5
135
+ },
136
+ "name": "devPatternSlot",
137
+ "type": {
138
+ "__schema": "TypeRefSchema",
139
+ "location": {
140
+ "filePath": "dev-files.main.runtime.ts",
141
+ "line": 61,
142
+ "character": 29
143
+ },
144
+ "name": "DevPatternSlot",
145
+ "internalFilePath": "dev-files.main.runtime.ts"
146
+ },
147
+ "isOptional": false,
148
+ "isSpread": false
149
+ },
150
+ {
151
+ "__schema": "ParameterSchema",
152
+ "location": {
153
+ "filePath": "dev-files.main.runtime.ts",
154
+ "line": 66,
155
+ "character": 5
156
+ },
157
+ "name": "config",
158
+ "type": {
159
+ "__schema": "TypeRefSchema",
160
+ "location": {
161
+ "filePath": "dev-files.main.runtime.ts",
162
+ "line": 66,
163
+ "character": 22
164
+ },
165
+ "name": "DevFilesConfig",
166
+ "internalFilePath": "dev-files.main.runtime.ts"
167
+ },
168
+ "isOptional": false,
169
+ "isSpread": false
170
+ }
171
+ ],
172
+ "returnType": {
173
+ "__schema": "ThisTypeSchema",
174
+ "location": {
175
+ "filePath": "dev-files.main.runtime.ts",
176
+ "line": 55,
177
+ "character": 1
178
+ },
179
+ "name": "DevFilesMain"
180
+ },
181
+ "modifiers": []
182
+ },
183
+ {
184
+ "__schema": "FunctionLikeSchema",
185
+ "location": {
186
+ "filePath": "dev-files.main.runtime.ts",
187
+ "line": 74,
188
+ "character": 3
189
+ },
190
+ "doc": {
191
+ "__schema": "DocSchema",
192
+ "location": {
193
+ "filePath": "dev-files.main.runtime.ts",
194
+ "line": 69,
195
+ "character": 3
196
+ },
197
+ "raw": "/**\n * compute all dev patterns on a component.\n * computing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\n * the registering aspects (through registerDevPattern()).\n */",
198
+ "comment": "compute all dev patterns on a component.\ncomputing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\nthe registering aspects (through registerDevPattern()).",
199
+ "tags": []
200
+ },
201
+ "signature": "(method) DevFilesMain.computeDevPatterns(component: Component, envExtendsDeps?: LegacyDependency[]): Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>",
202
+ "name": "computeDevPatterns",
203
+ "params": [
204
+ {
205
+ "__schema": "ParameterSchema",
206
+ "location": {
207
+ "filePath": "dev-files.main.runtime.ts",
208
+ "line": 74,
209
+ "character": 28
210
+ },
211
+ "name": "component",
212
+ "type": {
213
+ "__schema": "TypeRefSchema",
214
+ "location": {
215
+ "filePath": "dev-files.main.runtime.ts",
216
+ "line": 74,
217
+ "character": 39
218
+ },
219
+ "name": "Component",
220
+ "componentId": {
221
+ "scope": "teambit.component",
222
+ "name": "component"
223
+ }
224
+ },
225
+ "isOptional": false,
226
+ "isSpread": false
227
+ },
228
+ {
229
+ "__schema": "ParameterSchema",
230
+ "location": {
231
+ "filePath": "dev-files.main.runtime.ts",
232
+ "line": 74,
233
+ "character": 50
234
+ },
235
+ "name": "envExtendsDeps",
236
+ "type": {
237
+ "__schema": "TypeArraySchema",
238
+ "location": {
239
+ "filePath": "dev-files.main.runtime.ts",
240
+ "line": 74,
241
+ "character": 67
242
+ },
243
+ "type": {
244
+ "__schema": "TypeRefSchema",
245
+ "location": {
246
+ "filePath": "dev-files.main.runtime.ts",
247
+ "line": 74,
248
+ "character": 67
249
+ },
250
+ "name": "LegacyDependency"
251
+ }
252
+ },
253
+ "isOptional": true,
254
+ "isSpread": false
255
+ }
256
+ ],
257
+ "returnType": {
258
+ "__schema": "InferenceTypeSchema",
259
+ "location": {
260
+ "filePath": "dev-files.main.runtime.ts",
261
+ "line": 74,
262
+ "character": 3
263
+ },
264
+ "type": "Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>"
265
+ },
266
+ "modifiers": [
267
+ "async"
268
+ ]
269
+ },
270
+ {
271
+ "__schema": "FunctionLikeSchema",
272
+ "location": {
273
+ "filePath": "dev-files.main.runtime.ts",
274
+ "line": 146,
275
+ "character": 3
276
+ },
277
+ "signature": "(method) DevFilesMain.mergeEnvManifestPatterns(parent: EnvJsonc, child: EnvJsonc): Partial<EnvJsonc>",
278
+ "name": "mergeEnvManifestPatterns",
279
+ "params": [
280
+ {
281
+ "__schema": "ParameterSchema",
282
+ "location": {
283
+ "filePath": "dev-files.main.runtime.ts",
284
+ "line": 146,
285
+ "character": 28
286
+ },
287
+ "name": "parent",
288
+ "type": {
289
+ "__schema": "TypeRefSchema",
290
+ "location": {
291
+ "filePath": "dev-files.main.runtime.ts",
292
+ "line": 146,
293
+ "character": 36
294
+ },
295
+ "name": "EnvJsonc",
296
+ "componentId": {
297
+ "scope": "teambit.envs",
298
+ "name": "envs"
299
+ }
300
+ },
301
+ "isOptional": false,
302
+ "isSpread": false
303
+ },
304
+ {
305
+ "__schema": "ParameterSchema",
306
+ "location": {
307
+ "filePath": "dev-files.main.runtime.ts",
308
+ "line": 146,
309
+ "character": 46
310
+ },
311
+ "name": "child",
312
+ "type": {
313
+ "__schema": "TypeRefSchema",
314
+ "location": {
315
+ "filePath": "dev-files.main.runtime.ts",
316
+ "line": 146,
317
+ "character": 53
318
+ },
319
+ "name": "EnvJsonc",
320
+ "componentId": {
321
+ "scope": "teambit.envs",
322
+ "name": "envs"
323
+ }
324
+ },
325
+ "isOptional": false,
326
+ "isSpread": false
327
+ }
328
+ ],
329
+ "returnType": {
330
+ "__schema": "TypeRefSchema",
331
+ "location": {
332
+ "filePath": "dev-files.main.runtime.ts",
333
+ "line": 146,
334
+ "character": 64
335
+ },
336
+ "name": "Partial",
337
+ "typeArgs": [
338
+ {
339
+ "__schema": "TypeRefSchema",
340
+ "location": {
341
+ "filePath": "dev-files.main.runtime.ts",
342
+ "line": 146,
343
+ "character": 72
344
+ },
345
+ "name": "EnvJsonc",
346
+ "componentId": {
347
+ "scope": "teambit.envs",
348
+ "name": "envs"
349
+ }
350
+ }
351
+ ]
352
+ },
353
+ "modifiers": []
354
+ },
355
+ {
356
+ "__schema": "FunctionLikeSchema",
357
+ "location": {
358
+ "filePath": "dev-files.main.runtime.ts",
359
+ "line": 177,
360
+ "character": 3
361
+ },
362
+ "doc": {
363
+ "__schema": "DocSchema",
364
+ "location": {
365
+ "filePath": "dev-files.main.runtime.ts",
366
+ "line": 174,
367
+ "character": 3
368
+ },
369
+ "raw": "/**\n * get all dev files configured on a component.\n */",
370
+ "comment": "get all dev files configured on a component.",
371
+ "tags": []
372
+ },
373
+ "signature": "(method) DevFilesMain.getDevPatterns(component: Component, aspectId?: string): string[]",
374
+ "name": "getDevPatterns",
375
+ "params": [
376
+ {
377
+ "__schema": "ParameterSchema",
378
+ "location": {
379
+ "filePath": "dev-files.main.runtime.ts",
380
+ "line": 177,
381
+ "character": 18
382
+ },
383
+ "name": "component",
384
+ "type": {
385
+ "__schema": "TypeRefSchema",
386
+ "location": {
387
+ "filePath": "dev-files.main.runtime.ts",
388
+ "line": 177,
389
+ "character": 29
390
+ },
391
+ "name": "Component",
392
+ "componentId": {
393
+ "scope": "teambit.component",
394
+ "name": "component"
395
+ }
396
+ },
397
+ "isOptional": false,
398
+ "isSpread": false
399
+ },
400
+ {
401
+ "__schema": "ParameterSchema",
402
+ "location": {
403
+ "filePath": "dev-files.main.runtime.ts",
404
+ "line": 177,
405
+ "character": 40
406
+ },
407
+ "name": "aspectId",
408
+ "type": {
409
+ "__schema": "KeywordTypeSchema",
410
+ "location": {
411
+ "filePath": "dev-files.main.runtime.ts",
412
+ "line": 177,
413
+ "character": 51
414
+ },
415
+ "name": "string"
416
+ },
417
+ "isOptional": true,
418
+ "isSpread": false
419
+ }
420
+ ],
421
+ "returnType": {
422
+ "__schema": "TypeArraySchema",
423
+ "location": {
424
+ "filePath": "dev-files.main.runtime.ts",
425
+ "line": 177,
426
+ "character": 60
427
+ },
428
+ "type": {
429
+ "__schema": "KeywordTypeSchema",
430
+ "location": {
431
+ "filePath": "dev-files.main.runtime.ts",
432
+ "line": 177,
433
+ "character": 60
434
+ },
435
+ "name": "string"
436
+ }
437
+ },
438
+ "modifiers": []
439
+ },
440
+ {
441
+ "__schema": "FunctionLikeSchema",
442
+ "location": {
443
+ "filePath": "dev-files.main.runtime.ts",
444
+ "line": 186,
445
+ "character": 3
446
+ },
447
+ "doc": {
448
+ "__schema": "DocSchema",
449
+ "location": {
450
+ "filePath": "dev-files.main.runtime.ts",
451
+ "line": 183,
452
+ "character": 3
453
+ },
454
+ "raw": "/**\n * determine whether a file of a component is a dev file.\n */",
455
+ "comment": "determine whether a file of a component is a dev file.",
456
+ "tags": []
457
+ },
458
+ "signature": "(method) DevFilesMain.isDevFile(component: Component, filePath: string): boolean",
459
+ "name": "isDevFile",
460
+ "params": [
461
+ {
462
+ "__schema": "ParameterSchema",
463
+ "location": {
464
+ "filePath": "dev-files.main.runtime.ts",
465
+ "line": 186,
466
+ "character": 13
467
+ },
468
+ "name": "component",
469
+ "type": {
470
+ "__schema": "TypeRefSchema",
471
+ "location": {
472
+ "filePath": "dev-files.main.runtime.ts",
473
+ "line": 186,
474
+ "character": 24
475
+ },
476
+ "name": "Component",
477
+ "componentId": {
478
+ "scope": "teambit.component",
479
+ "name": "component"
480
+ }
481
+ },
482
+ "isOptional": false,
483
+ "isSpread": false
484
+ },
485
+ {
486
+ "__schema": "ParameterSchema",
487
+ "location": {
488
+ "filePath": "dev-files.main.runtime.ts",
489
+ "line": 186,
490
+ "character": 35
491
+ },
492
+ "name": "filePath",
493
+ "type": {
494
+ "__schema": "KeywordTypeSchema",
495
+ "location": {
496
+ "filePath": "dev-files.main.runtime.ts",
497
+ "line": 186,
498
+ "character": 45
499
+ },
500
+ "name": "string"
501
+ },
502
+ "isOptional": false,
503
+ "isSpread": false
504
+ }
505
+ ],
506
+ "returnType": {
507
+ "__schema": "KeywordTypeSchema",
508
+ "location": {
509
+ "filePath": "dev-files.main.runtime.ts",
510
+ "line": 186,
511
+ "character": 54
512
+ },
513
+ "name": "boolean"
514
+ },
515
+ "modifiers": []
516
+ },
517
+ {
518
+ "__schema": "FunctionLikeSchema",
519
+ "location": {
520
+ "filePath": "dev-files.main.runtime.ts",
521
+ "line": 195,
522
+ "character": 3
523
+ },
524
+ "doc": {
525
+ "__schema": "DocSchema",
526
+ "location": {
527
+ "filePath": "dev-files.main.runtime.ts",
528
+ "line": 191,
529
+ "character": 3
530
+ },
531
+ "raw": "/**\n * register a new dev pattern.\n * @param regex dev pattern\n */",
532
+ "comment": "register a new dev pattern.",
533
+ "tags": [
534
+ {
535
+ "__schema": "PropertyLikeTagSchema",
536
+ "location": {
537
+ "filePath": "dev-files.main.runtime.ts",
538
+ "line": 193,
539
+ "character": 6
540
+ },
541
+ "name": "regex",
542
+ "tagName": "parameter",
543
+ "comment": "dev pattern"
544
+ }
545
+ ]
546
+ },
547
+ "signature": "(method) DevFilesMain.registerDevPattern(pattern: DevPatterns): void",
548
+ "name": "registerDevPattern",
549
+ "params": [
550
+ {
551
+ "__schema": "ParameterSchema",
552
+ "location": {
553
+ "filePath": "dev-files.main.runtime.ts",
554
+ "line": 195,
555
+ "character": 22
556
+ },
557
+ "name": "pattern",
558
+ "type": {
559
+ "__schema": "TypeRefSchema",
560
+ "location": {
561
+ "filePath": "dev-files.main.runtime.ts",
562
+ "line": 195,
563
+ "character": 31
564
+ },
565
+ "name": "DevPatterns",
566
+ "internalFilePath": "dev-files.main.runtime.ts"
567
+ },
568
+ "isOptional": false,
569
+ "isSpread": false
570
+ }
571
+ ],
572
+ "returnType": {
573
+ "__schema": "InferenceTypeSchema",
574
+ "location": {
575
+ "filePath": "dev-files.main.runtime.ts",
576
+ "line": 195,
577
+ "character": 3
578
+ },
579
+ "type": "void"
580
+ },
581
+ "modifiers": []
582
+ },
583
+ {
584
+ "__schema": "FunctionLikeSchema",
585
+ "location": {
586
+ "filePath": "dev-files.main.runtime.ts",
587
+ "line": 203,
588
+ "character": 3
589
+ },
590
+ "doc": {
591
+ "__schema": "DocSchema",
592
+ "location": {
593
+ "filePath": "dev-files.main.runtime.ts",
594
+ "line": 199,
595
+ "character": 3
596
+ },
597
+ "raw": "/**\n * get all dev patterns registered.\n * If you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet\n */",
598
+ "comment": "get all dev patterns registered.\nIf you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet",
599
+ "tags": []
600
+ },
601
+ "signature": "(method) DevFilesMain.getDevFiles(component: Component): DevFiles",
602
+ "name": "getDevFiles",
603
+ "params": [
604
+ {
605
+ "__schema": "ParameterSchema",
606
+ "location": {
607
+ "filePath": "dev-files.main.runtime.ts",
608
+ "line": 203,
609
+ "character": 15
610
+ },
611
+ "name": "component",
612
+ "type": {
613
+ "__schema": "TypeRefSchema",
614
+ "location": {
615
+ "filePath": "dev-files.main.runtime.ts",
616
+ "line": 203,
617
+ "character": 26
618
+ },
619
+ "name": "Component",
620
+ "componentId": {
621
+ "scope": "teambit.component",
622
+ "name": "component"
623
+ }
624
+ },
625
+ "isOptional": false,
626
+ "isSpread": false
627
+ }
628
+ ],
629
+ "returnType": {
630
+ "__schema": "TypeRefSchema",
631
+ "location": {
632
+ "filePath": "dev-files.main.runtime.ts",
633
+ "line": 203,
634
+ "character": 3
635
+ },
636
+ "name": "DevFiles",
637
+ "internalFilePath": "dev-files.ts"
638
+ },
639
+ "modifiers": []
640
+ },
641
+ {
642
+ "__schema": "FunctionLikeSchema",
643
+ "location": {
644
+ "filePath": "dev-files.main.runtime.ts",
645
+ "line": 209,
646
+ "character": 3
647
+ },
648
+ "signature": "(method) DevFilesMain.getDevFilesForConsumerComp(consumerComponent: LegacyComponent, envExtendsDeps?: LegacyDependency[]): Promise<string[]>",
649
+ "name": "getDevFilesForConsumerComp",
650
+ "params": [
651
+ {
652
+ "__schema": "ParameterSchema",
653
+ "location": {
654
+ "filePath": "dev-files.main.runtime.ts",
655
+ "line": 210,
656
+ "character": 5
657
+ },
658
+ "name": "consumerComponent",
659
+ "type": {
660
+ "__schema": "TypeRefSchema",
661
+ "location": {
662
+ "filePath": "dev-files.main.runtime.ts",
663
+ "line": 210,
664
+ "character": 24
665
+ },
666
+ "name": "LegacyComponent"
667
+ },
668
+ "isOptional": false,
669
+ "isSpread": false
670
+ },
671
+ {
672
+ "__schema": "ParameterSchema",
673
+ "location": {
674
+ "filePath": "dev-files.main.runtime.ts",
675
+ "line": 211,
676
+ "character": 5
677
+ },
678
+ "name": "envExtendsDeps",
679
+ "type": {
680
+ "__schema": "TypeArraySchema",
681
+ "location": {
682
+ "filePath": "dev-files.main.runtime.ts",
683
+ "line": 211,
684
+ "character": 22
685
+ },
686
+ "type": {
687
+ "__schema": "TypeRefSchema",
688
+ "location": {
689
+ "filePath": "dev-files.main.runtime.ts",
690
+ "line": 211,
691
+ "character": 22
692
+ },
693
+ "name": "LegacyDependency"
694
+ }
695
+ },
696
+ "isOptional": true,
697
+ "isSpread": false
698
+ }
699
+ ],
700
+ "returnType": {
701
+ "__schema": "TypeRefSchema",
702
+ "location": {
703
+ "filePath": "dev-files.main.runtime.ts",
704
+ "line": 212,
705
+ "character": 6
706
+ },
707
+ "name": "Promise",
708
+ "typeArgs": [
709
+ {
710
+ "__schema": "TypeArraySchema",
711
+ "location": {
712
+ "filePath": "dev-files.main.runtime.ts",
713
+ "line": 212,
714
+ "character": 14
715
+ },
716
+ "type": {
717
+ "__schema": "KeywordTypeSchema",
718
+ "location": {
719
+ "filePath": "dev-files.main.runtime.ts",
720
+ "line": 212,
721
+ "character": 14
722
+ },
723
+ "name": "string"
724
+ }
725
+ }
726
+ ]
727
+ },
728
+ "modifiers": [
729
+ "async"
730
+ ]
731
+ },
732
+ {
733
+ "__schema": "FunctionLikeSchema",
734
+ "location": {
735
+ "filePath": "dev-files.main.runtime.ts",
736
+ "line": 227,
737
+ "character": 3
738
+ },
739
+ "doc": {
740
+ "__schema": "DocSchema",
741
+ "location": {
742
+ "filePath": "dev-files.main.runtime.ts",
743
+ "line": 224,
744
+ "character": 3
745
+ },
746
+ "raw": "/**\n * compute all dev files of a component.\n */",
747
+ "comment": "compute all dev files of a component.",
748
+ "tags": []
749
+ },
750
+ "signature": "(method) DevFilesMain.computeDevFiles(component: Component, envExtendsDeps?: LegacyDependency[]): Promise<DevFiles>",
751
+ "name": "computeDevFiles",
752
+ "params": [
753
+ {
754
+ "__schema": "ParameterSchema",
755
+ "location": {
756
+ "filePath": "dev-files.main.runtime.ts",
757
+ "line": 227,
758
+ "character": 25
759
+ },
760
+ "name": "component",
761
+ "type": {
762
+ "__schema": "TypeRefSchema",
763
+ "location": {
764
+ "filePath": "dev-files.main.runtime.ts",
765
+ "line": 227,
766
+ "character": 36
767
+ },
768
+ "name": "Component",
769
+ "componentId": {
770
+ "scope": "teambit.component",
771
+ "name": "component"
772
+ }
773
+ },
774
+ "isOptional": false,
775
+ "isSpread": false
776
+ },
777
+ {
778
+ "__schema": "ParameterSchema",
779
+ "location": {
780
+ "filePath": "dev-files.main.runtime.ts",
781
+ "line": 227,
782
+ "character": 47
783
+ },
784
+ "name": "envExtendsDeps",
785
+ "type": {
786
+ "__schema": "TypeArraySchema",
787
+ "location": {
788
+ "filePath": "dev-files.main.runtime.ts",
789
+ "line": 227,
790
+ "character": 64
791
+ },
792
+ "type": {
793
+ "__schema": "TypeRefSchema",
794
+ "location": {
795
+ "filePath": "dev-files.main.runtime.ts",
796
+ "line": 227,
797
+ "character": 64
798
+ },
799
+ "name": "LegacyDependency"
800
+ }
801
+ },
802
+ "isOptional": true,
803
+ "isSpread": false
804
+ }
805
+ ],
806
+ "returnType": {
807
+ "__schema": "TypeRefSchema",
808
+ "location": {
809
+ "filePath": "dev-files.main.runtime.ts",
810
+ "line": 227,
811
+ "character": 85
812
+ },
813
+ "name": "Promise",
814
+ "typeArgs": [
815
+ {
816
+ "__schema": "TypeRefSchema",
817
+ "location": {
818
+ "filePath": "dev-files.main.runtime.ts",
819
+ "line": 227,
820
+ "character": 93
821
+ },
822
+ "name": "DevFiles",
823
+ "internalFilePath": "dev-files.ts"
824
+ }
825
+ ]
826
+ },
827
+ "modifiers": [
828
+ "async"
829
+ ]
830
+ },
831
+ {
832
+ "__schema": "VariableLikeSchema",
833
+ "location": {
834
+ "filePath": "dev-files.main.runtime.ts",
835
+ "line": 239,
836
+ "character": 3
837
+ },
838
+ "signature": "(property) DevFilesMain.slots: ((registerFn: () => string) => SlotRegistry<DevPatterns>)[]",
839
+ "name": "slots",
840
+ "type": {
841
+ "__schema": "InferenceTypeSchema",
842
+ "location": {
843
+ "filePath": "dev-files.main.runtime.ts",
844
+ "line": 239,
845
+ "character": 3
846
+ },
847
+ "type": "((registerFn: () => string) => SlotRegistry<DevPatterns>)[]"
848
+ },
849
+ "isOptional": true,
850
+ "defaultValue": "[Slot.withType<DevPatterns>()]"
851
+ },
852
+ {
853
+ "__schema": "VariableLikeSchema",
854
+ "location": {
855
+ "filePath": "dev-files.main.runtime.ts",
856
+ "line": 241,
857
+ "character": 3
858
+ },
859
+ "signature": "(property) DevFilesMain.defaultConfig: {\n patterns: never[];\n}",
860
+ "name": "defaultConfig",
861
+ "type": {
862
+ "__schema": "InferenceTypeSchema",
863
+ "location": {
864
+ "filePath": "dev-files.main.runtime.ts",
865
+ "line": 241,
866
+ "character": 3
867
+ },
868
+ "type": "{\n patterns: never[];\n}"
869
+ },
870
+ "isOptional": true,
871
+ "defaultValue": "{\n patterns: [],\n }"
872
+ },
873
+ {
874
+ "__schema": "VariableLikeSchema",
875
+ "location": {
876
+ "filePath": "dev-files.main.runtime.ts",
877
+ "line": 245,
878
+ "character": 3
879
+ },
880
+ "signature": "(property) DevFilesMain.runtime: RuntimeDefinition",
881
+ "name": "runtime",
882
+ "type": {
883
+ "__schema": "InferenceTypeSchema",
884
+ "location": {
885
+ "filePath": "dev-files.main.runtime.ts",
886
+ "line": 245,
887
+ "character": 3
888
+ },
889
+ "type": "RuntimeDefinition"
890
+ },
891
+ "isOptional": true,
892
+ "defaultValue": "MainRuntime"
893
+ },
894
+ {
895
+ "__schema": "VariableLikeSchema",
896
+ "location": {
897
+ "filePath": "dev-files.main.runtime.ts",
898
+ "line": 247,
899
+ "character": 3
900
+ },
901
+ "signature": "(property) DevFilesMain.dependencies: Aspect[]",
902
+ "name": "dependencies",
903
+ "type": {
904
+ "__schema": "InferenceTypeSchema",
905
+ "location": {
906
+ "filePath": "dev-files.main.runtime.ts",
907
+ "line": 247,
908
+ "character": 3
909
+ },
910
+ "type": "Aspect[]"
911
+ },
912
+ "isOptional": true,
913
+ "defaultValue": "[EnvsAspect, WorkspaceAspect, ComponentAspect, GraphqlAspect, ScopeAspect]"
914
+ },
915
+ {
916
+ "__schema": "FunctionLikeSchema",
917
+ "location": {
918
+ "filePath": "dev-files.main.runtime.ts",
919
+ "line": 249,
920
+ "character": 3
921
+ },
922
+ "signature": "(method) DevFilesMain.provider([envs, workspace, componentAspect, graphql, scope]: [EnvsMain, Workspace, ComponentMain, GraphqlMain, ScopeMain], config: DevFilesConfig, [devPatternSlot]: [DevPatternSlot]): Promise<DevFilesMain>",
923
+ "name": "provider",
924
+ "params": [
925
+ {
926
+ "__schema": "ParameterSchema",
927
+ "location": {
928
+ "filePath": "dev-files.main.runtime.ts",
929
+ "line": 250,
930
+ "character": 5
931
+ },
932
+ "name": "[ envs, workspace, componentAspect, graphql, scope ]",
933
+ "type": {
934
+ "__schema": "TupleTypeSchema",
935
+ "location": {
936
+ "filePath": "dev-files.main.runtime.ts",
937
+ "line": 250,
938
+ "character": 57
939
+ },
940
+ "elements": [
941
+ {
942
+ "__schema": "TypeRefSchema",
943
+ "location": {
944
+ "filePath": "dev-files.main.runtime.ts",
945
+ "line": 250,
946
+ "character": 58
947
+ },
948
+ "name": "EnvsMain",
949
+ "componentId": {
950
+ "scope": "teambit.envs",
951
+ "name": "envs"
952
+ }
953
+ },
954
+ {
955
+ "__schema": "TypeRefSchema",
956
+ "location": {
957
+ "filePath": "dev-files.main.runtime.ts",
958
+ "line": 250,
959
+ "character": 68
960
+ },
961
+ "name": "Workspace",
962
+ "componentId": {
963
+ "scope": "teambit.workspace",
964
+ "name": "workspace"
965
+ }
966
+ },
967
+ {
968
+ "__schema": "TypeRefSchema",
969
+ "location": {
970
+ "filePath": "dev-files.main.runtime.ts",
971
+ "line": 250,
972
+ "character": 79
973
+ },
974
+ "name": "ComponentMain",
975
+ "componentId": {
976
+ "scope": "teambit.component",
977
+ "name": "component"
978
+ }
979
+ },
980
+ {
981
+ "__schema": "TypeRefSchema",
982
+ "location": {
983
+ "filePath": "dev-files.main.runtime.ts",
984
+ "line": 250,
985
+ "character": 94
986
+ },
987
+ "name": "GraphqlMain",
988
+ "componentId": {
989
+ "scope": "teambit.harmony",
990
+ "name": "graphql"
991
+ }
992
+ },
993
+ {
994
+ "__schema": "TypeRefSchema",
995
+ "location": {
996
+ "filePath": "dev-files.main.runtime.ts",
997
+ "line": 250,
998
+ "character": 107
999
+ },
1000
+ "name": "ScopeMain",
1001
+ "componentId": {
1002
+ "scope": "teambit.scope",
1003
+ "name": "scope"
1004
+ }
1005
+ }
1006
+ ]
1007
+ },
1008
+ "isOptional": false,
1009
+ "isSpread": false
1010
+ },
1011
+ {
1012
+ "__schema": "ParameterSchema",
1013
+ "location": {
1014
+ "filePath": "dev-files.main.runtime.ts",
1015
+ "line": 251,
1016
+ "character": 5
1017
+ },
1018
+ "name": "config",
1019
+ "type": {
1020
+ "__schema": "TypeRefSchema",
1021
+ "location": {
1022
+ "filePath": "dev-files.main.runtime.ts",
1023
+ "line": 251,
1024
+ "character": 13
1025
+ },
1026
+ "name": "DevFilesConfig",
1027
+ "internalFilePath": "dev-files.main.runtime.ts"
1028
+ },
1029
+ "isOptional": false,
1030
+ "isSpread": false
1031
+ },
1032
+ {
1033
+ "__schema": "ParameterSchema",
1034
+ "location": {
1035
+ "filePath": "dev-files.main.runtime.ts",
1036
+ "line": 252,
1037
+ "character": 5
1038
+ },
1039
+ "name": "[ devPatternSlot ]",
1040
+ "type": {
1041
+ "__schema": "TupleTypeSchema",
1042
+ "location": {
1043
+ "filePath": "dev-files.main.runtime.ts",
1044
+ "line": 252,
1045
+ "character": 23
1046
+ },
1047
+ "elements": [
1048
+ {
1049
+ "__schema": "TypeRefSchema",
1050
+ "location": {
1051
+ "filePath": "dev-files.main.runtime.ts",
1052
+ "line": 252,
1053
+ "character": 24
1054
+ },
1055
+ "name": "DevPatternSlot",
1056
+ "internalFilePath": "dev-files.main.runtime.ts"
1057
+ }
1058
+ ]
1059
+ },
1060
+ "isOptional": false,
1061
+ "isSpread": false
1062
+ }
1063
+ ],
1064
+ "returnType": {
1065
+ "__schema": "InferenceTypeSchema",
1066
+ "location": {
1067
+ "filePath": "dev-files.main.runtime.ts",
1068
+ "line": 249,
1069
+ "character": 3
1070
+ },
1071
+ "type": "Promise<DevFilesMain>"
1072
+ },
1073
+ "modifiers": [
1074
+ "static",
1075
+ "async"
1076
+ ]
1077
+ }
1078
+ ],
1079
+ "extendsNodes": [],
1080
+ "implementNodes": []
1081
+ }
1082
+ },
1083
+ {
1084
+ "__schema": "ExportSchema",
1085
+ "location": {
1086
+ "filePath": "index.ts",
1087
+ "line": 4,
1088
+ "character": 29
1089
+ },
1090
+ "signature": "type EnvJsoncPatterns = {\n [key: string]: string[] | undefined;\n compositions?: string[];\n docs?: string[];\n tests?: string[];\n}",
1091
+ "name": "EnvJsoncPatterns",
1092
+ "exportNode": {
1093
+ "__schema": "TypeSchema",
1094
+ "location": {
1095
+ "filePath": "dev-files.main.runtime.ts",
1096
+ "line": 39,
1097
+ "character": 1
1098
+ },
1099
+ "signature": "type EnvJsoncPatterns = {\n [key: string]: string[] | undefined;\n compositions?: string[];\n docs?: string[];\n tests?: string[];\n}",
1100
+ "name": "EnvJsoncPatterns",
1101
+ "type": {
1102
+ "__schema": "TypeLiteralSchema",
1103
+ "location": {
1104
+ "filePath": "dev-files.main.runtime.ts",
1105
+ "line": 39,
1106
+ "character": 32
1107
+ },
1108
+ "members": [
1109
+ {
1110
+ "__schema": "VariableLikeSchema",
1111
+ "location": {
1112
+ "filePath": "dev-files.main.runtime.ts",
1113
+ "line": 40,
1114
+ "character": 3
1115
+ },
1116
+ "signature": "(property) compositions?: string[] | undefined",
1117
+ "name": "compositions",
1118
+ "type": {
1119
+ "__schema": "TypeArraySchema",
1120
+ "location": {
1121
+ "filePath": "dev-files.main.runtime.ts",
1122
+ "line": 40,
1123
+ "character": 18
1124
+ },
1125
+ "type": {
1126
+ "__schema": "KeywordTypeSchema",
1127
+ "location": {
1128
+ "filePath": "dev-files.main.runtime.ts",
1129
+ "line": 40,
1130
+ "character": 18
1131
+ },
1132
+ "name": "string"
1133
+ }
1134
+ },
1135
+ "isOptional": true
1136
+ },
1137
+ {
1138
+ "__schema": "VariableLikeSchema",
1139
+ "location": {
1140
+ "filePath": "dev-files.main.runtime.ts",
1141
+ "line": 41,
1142
+ "character": 3
1143
+ },
1144
+ "signature": "(property) docs?: string[] | undefined",
1145
+ "name": "docs",
1146
+ "type": {
1147
+ "__schema": "TypeArraySchema",
1148
+ "location": {
1149
+ "filePath": "dev-files.main.runtime.ts",
1150
+ "line": 41,
1151
+ "character": 10
1152
+ },
1153
+ "type": {
1154
+ "__schema": "KeywordTypeSchema",
1155
+ "location": {
1156
+ "filePath": "dev-files.main.runtime.ts",
1157
+ "line": 41,
1158
+ "character": 10
1159
+ },
1160
+ "name": "string"
1161
+ }
1162
+ },
1163
+ "isOptional": true
1164
+ },
1165
+ {
1166
+ "__schema": "VariableLikeSchema",
1167
+ "location": {
1168
+ "filePath": "dev-files.main.runtime.ts",
1169
+ "line": 42,
1170
+ "character": 3
1171
+ },
1172
+ "signature": "(property) tests?: string[] | undefined",
1173
+ "name": "tests",
1174
+ "type": {
1175
+ "__schema": "TypeArraySchema",
1176
+ "location": {
1177
+ "filePath": "dev-files.main.runtime.ts",
1178
+ "line": 42,
1179
+ "character": 11
1180
+ },
1181
+ "type": {
1182
+ "__schema": "KeywordTypeSchema",
1183
+ "location": {
1184
+ "filePath": "dev-files.main.runtime.ts",
1185
+ "line": 42,
1186
+ "character": 11
1187
+ },
1188
+ "name": "string"
1189
+ }
1190
+ },
1191
+ "isOptional": true
1192
+ },
1193
+ {
1194
+ "__schema": "IndexSignatureSchema",
1195
+ "location": {
1196
+ "filePath": "dev-files.main.runtime.ts",
1197
+ "line": 43,
1198
+ "character": 3
1199
+ },
1200
+ "keyType": {
1201
+ "__schema": "ParameterSchema",
1202
+ "location": {
1203
+ "filePath": "dev-files.main.runtime.ts",
1204
+ "line": 43,
1205
+ "character": 4
1206
+ },
1207
+ "name": "key",
1208
+ "type": {
1209
+ "__schema": "KeywordTypeSchema",
1210
+ "location": {
1211
+ "filePath": "dev-files.main.runtime.ts",
1212
+ "line": 43,
1213
+ "character": 9
1214
+ },
1215
+ "name": "string"
1216
+ },
1217
+ "isOptional": false,
1218
+ "isSpread": false
1219
+ },
1220
+ "valueType": {
1221
+ "__schema": "TypeUnionSchema",
1222
+ "location": {
1223
+ "filePath": "dev-files.main.runtime.ts",
1224
+ "line": 43,
1225
+ "character": 18
1226
+ },
1227
+ "types": [
1228
+ {
1229
+ "__schema": "TypeArraySchema",
1230
+ "location": {
1231
+ "filePath": "dev-files.main.runtime.ts",
1232
+ "line": 43,
1233
+ "character": 18
1234
+ },
1235
+ "type": {
1236
+ "__schema": "KeywordTypeSchema",
1237
+ "location": {
1238
+ "filePath": "dev-files.main.runtime.ts",
1239
+ "line": 43,
1240
+ "character": 18
1241
+ },
1242
+ "name": "string"
1243
+ }
1244
+ },
1245
+ {
1246
+ "__schema": "KeywordTypeSchema",
1247
+ "location": {
1248
+ "filePath": "dev-files.main.runtime.ts",
1249
+ "line": 43,
1250
+ "character": 29
1251
+ },
1252
+ "name": "undefined"
1253
+ }
1254
+ ]
1255
+ }
1256
+ }
1257
+ ]
1258
+ }
1259
+ }
1260
+ },
1261
+ {
1262
+ "__schema": "UnImplementedSchema",
1263
+ "location": {
1264
+ "filePath": "index.ts",
1265
+ "line": 5,
1266
+ "character": 16
1267
+ },
1268
+ "name": "DevFilesAspect",
1269
+ "type": "Identifier"
1270
+ }
1271
+ ],
1272
+ "internals": []
1273
+ },
1274
+ "internals": [
1275
+ {
1276
+ "__schema": "ModuleSchema",
1277
+ "location": {
1278
+ "filePath": "dev-files.aspect.ts",
1279
+ "line": 1,
1280
+ "character": 1
1281
+ },
1282
+ "exports": [
1283
+ {
1284
+ "__schema": "VariableLikeSchema",
1285
+ "location": {
1286
+ "filePath": "dev-files.aspect.ts",
1287
+ "line": 3,
1288
+ "character": 14
1289
+ },
1290
+ "signature": "const DevFilesAspect: Aspect",
1291
+ "name": "DevFilesAspect",
1292
+ "type": {
1293
+ "__schema": "TypeRefSchema",
1294
+ "location": {
1295
+ "filePath": "dev-files.aspect.ts",
1296
+ "line": 3,
1297
+ "character": 14
1298
+ },
1299
+ "name": "Aspect",
1300
+ "componentId": {
1301
+ "scope": "teambit.harmony",
1302
+ "name": "harmony",
1303
+ "version": "0.4.6"
1304
+ }
1305
+ },
1306
+ "isOptional": false,
1307
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/dev-files',\n})"
1308
+ }
1309
+ ],
1310
+ "internals": []
1311
+ },
1312
+ {
1313
+ "__schema": "ModuleSchema",
1314
+ "location": {
1315
+ "filePath": "dev-files.main.runtime.ts",
1316
+ "line": 1,
1317
+ "character": 1
1318
+ },
1319
+ "exports": [
1320
+ {
1321
+ "__schema": "TypeSchema",
1322
+ "location": {
1323
+ "filePath": "dev-files.main.runtime.ts",
1324
+ "line": 37,
1325
+ "character": 1
1326
+ },
1327
+ "doc": {
1328
+ "__schema": "DocSchema",
1329
+ "location": {
1330
+ "filePath": "dev-files.main.runtime.ts",
1331
+ "line": 34,
1332
+ "character": 1
1333
+ },
1334
+ "raw": "/**\n * dev pattern is a list of strings or a function that returns a list of strings. an example to a pattern can be \"[*.spec.ts]\"\n */",
1335
+ "comment": "dev pattern is a list of strings or a function that returns a list of strings. an example to a pattern can be \"[*.spec.ts]\"",
1336
+ "tags": []
1337
+ },
1338
+ "signature": "type DevPatterns = ((component: Component) => DevPattern) | DevPattern",
1339
+ "name": "DevPatterns",
1340
+ "type": {
1341
+ "__schema": "TypeUnionSchema",
1342
+ "location": {
1343
+ "filePath": "dev-files.main.runtime.ts",
1344
+ "line": 37,
1345
+ "character": 27
1346
+ },
1347
+ "types": [
1348
+ {
1349
+ "__schema": "ParenthesizedTypeSchema",
1350
+ "location": {
1351
+ "filePath": "dev-files.main.runtime.ts",
1352
+ "line": 37,
1353
+ "character": 27
1354
+ },
1355
+ "type": {
1356
+ "__schema": "FunctionLikeSchema",
1357
+ "location": {
1358
+ "filePath": "dev-files.main.runtime.ts",
1359
+ "line": 37,
1360
+ "character": 28
1361
+ },
1362
+ "signature": "(component: (component: teambit.component/component) Component): DevPattern",
1363
+ "name": "",
1364
+ "params": [
1365
+ {
1366
+ "__schema": "ParameterSchema",
1367
+ "location": {
1368
+ "filePath": "dev-files.main.runtime.ts",
1369
+ "line": 37,
1370
+ "character": 29
1371
+ },
1372
+ "name": "component",
1373
+ "type": {
1374
+ "__schema": "TypeRefSchema",
1375
+ "location": {
1376
+ "filePath": "dev-files.main.runtime.ts",
1377
+ "line": 37,
1378
+ "character": 40
1379
+ },
1380
+ "name": "Component",
1381
+ "componentId": {
1382
+ "scope": "teambit.component",
1383
+ "name": "component"
1384
+ }
1385
+ },
1386
+ "isOptional": false,
1387
+ "isSpread": false
1388
+ }
1389
+ ],
1390
+ "returnType": {
1391
+ "__schema": "TypeRefSchema",
1392
+ "location": {
1393
+ "filePath": "dev-files.main.runtime.ts",
1394
+ "line": 37,
1395
+ "character": 54
1396
+ },
1397
+ "name": "DevPattern",
1398
+ "internalFilePath": "dev-files.main.runtime.ts"
1399
+ },
1400
+ "modifiers": []
1401
+ }
1402
+ },
1403
+ {
1404
+ "__schema": "TypeRefSchema",
1405
+ "location": {
1406
+ "filePath": "dev-files.main.runtime.ts",
1407
+ "line": 37,
1408
+ "character": 68
1409
+ },
1410
+ "name": "DevPattern",
1411
+ "internalFilePath": "dev-files.main.runtime.ts"
1412
+ }
1413
+ ]
1414
+ }
1415
+ },
1416
+ {
1417
+ "__schema": "TypeSchema",
1418
+ "location": {
1419
+ "filePath": "dev-files.main.runtime.ts",
1420
+ "line": 39,
1421
+ "character": 1
1422
+ },
1423
+ "signature": "type EnvJsoncPatterns = {\n [key: string]: string[] | undefined;\n compositions?: string[];\n docs?: string[];\n tests?: string[];\n}",
1424
+ "name": "EnvJsoncPatterns",
1425
+ "type": {
1426
+ "__schema": "TypeLiteralSchema",
1427
+ "location": {
1428
+ "filePath": "dev-files.main.runtime.ts",
1429
+ "line": 39,
1430
+ "character": 32
1431
+ },
1432
+ "members": [
1433
+ {
1434
+ "__schema": "VariableLikeSchema",
1435
+ "location": {
1436
+ "filePath": "dev-files.main.runtime.ts",
1437
+ "line": 40,
1438
+ "character": 3
1439
+ },
1440
+ "signature": "(property) compositions?: string[] | undefined",
1441
+ "name": "compositions",
1442
+ "type": {
1443
+ "__schema": "TypeArraySchema",
1444
+ "location": {
1445
+ "filePath": "dev-files.main.runtime.ts",
1446
+ "line": 40,
1447
+ "character": 18
1448
+ },
1449
+ "type": {
1450
+ "__schema": "KeywordTypeSchema",
1451
+ "location": {
1452
+ "filePath": "dev-files.main.runtime.ts",
1453
+ "line": 40,
1454
+ "character": 18
1455
+ },
1456
+ "name": "string"
1457
+ }
1458
+ },
1459
+ "isOptional": true
1460
+ },
1461
+ {
1462
+ "__schema": "VariableLikeSchema",
1463
+ "location": {
1464
+ "filePath": "dev-files.main.runtime.ts",
1465
+ "line": 41,
1466
+ "character": 3
1467
+ },
1468
+ "signature": "(property) docs?: string[] | undefined",
1469
+ "name": "docs",
1470
+ "type": {
1471
+ "__schema": "TypeArraySchema",
1472
+ "location": {
1473
+ "filePath": "dev-files.main.runtime.ts",
1474
+ "line": 41,
1475
+ "character": 10
1476
+ },
1477
+ "type": {
1478
+ "__schema": "KeywordTypeSchema",
1479
+ "location": {
1480
+ "filePath": "dev-files.main.runtime.ts",
1481
+ "line": 41,
1482
+ "character": 10
1483
+ },
1484
+ "name": "string"
1485
+ }
1486
+ },
1487
+ "isOptional": true
1488
+ },
1489
+ {
1490
+ "__schema": "VariableLikeSchema",
1491
+ "location": {
1492
+ "filePath": "dev-files.main.runtime.ts",
1493
+ "line": 42,
1494
+ "character": 3
1495
+ },
1496
+ "signature": "(property) tests?: string[] | undefined",
1497
+ "name": "tests",
1498
+ "type": {
1499
+ "__schema": "TypeArraySchema",
1500
+ "location": {
1501
+ "filePath": "dev-files.main.runtime.ts",
1502
+ "line": 42,
1503
+ "character": 11
1504
+ },
1505
+ "type": {
1506
+ "__schema": "KeywordTypeSchema",
1507
+ "location": {
1508
+ "filePath": "dev-files.main.runtime.ts",
1509
+ "line": 42,
1510
+ "character": 11
1511
+ },
1512
+ "name": "string"
1513
+ }
1514
+ },
1515
+ "isOptional": true
1516
+ },
1517
+ {
1518
+ "__schema": "IndexSignatureSchema",
1519
+ "location": {
1520
+ "filePath": "dev-files.main.runtime.ts",
1521
+ "line": 43,
1522
+ "character": 3
1523
+ },
1524
+ "keyType": {
1525
+ "__schema": "ParameterSchema",
1526
+ "location": {
1527
+ "filePath": "dev-files.main.runtime.ts",
1528
+ "line": 43,
1529
+ "character": 4
1530
+ },
1531
+ "name": "key",
1532
+ "type": {
1533
+ "__schema": "KeywordTypeSchema",
1534
+ "location": {
1535
+ "filePath": "dev-files.main.runtime.ts",
1536
+ "line": 43,
1537
+ "character": 9
1538
+ },
1539
+ "name": "string"
1540
+ },
1541
+ "isOptional": false,
1542
+ "isSpread": false
1543
+ },
1544
+ "valueType": {
1545
+ "__schema": "TypeUnionSchema",
1546
+ "location": {
1547
+ "filePath": "dev-files.main.runtime.ts",
1548
+ "line": 43,
1549
+ "character": 18
1550
+ },
1551
+ "types": [
1552
+ {
1553
+ "__schema": "TypeArraySchema",
1554
+ "location": {
1555
+ "filePath": "dev-files.main.runtime.ts",
1556
+ "line": 43,
1557
+ "character": 18
1558
+ },
1559
+ "type": {
1560
+ "__schema": "KeywordTypeSchema",
1561
+ "location": {
1562
+ "filePath": "dev-files.main.runtime.ts",
1563
+ "line": 43,
1564
+ "character": 18
1565
+ },
1566
+ "name": "string"
1567
+ }
1568
+ },
1569
+ {
1570
+ "__schema": "KeywordTypeSchema",
1571
+ "location": {
1572
+ "filePath": "dev-files.main.runtime.ts",
1573
+ "line": 43,
1574
+ "character": 29
1575
+ },
1576
+ "name": "undefined"
1577
+ }
1578
+ ]
1579
+ }
1580
+ }
1581
+ ]
1582
+ }
1583
+ },
1584
+ {
1585
+ "__schema": "TypeSchema",
1586
+ "location": {
1587
+ "filePath": "dev-files.main.runtime.ts",
1588
+ "line": 49,
1589
+ "character": 1
1590
+ },
1591
+ "doc": {
1592
+ "__schema": "DocSchema",
1593
+ "location": {
1594
+ "filePath": "dev-files.main.runtime.ts",
1595
+ "line": 46,
1596
+ "character": 1
1597
+ },
1598
+ "raw": "/**\n * slot for dev file patterns.\n */",
1599
+ "comment": "slot for dev file patterns.",
1600
+ "tags": []
1601
+ },
1602
+ "signature": "type DevPatternSlot = SlotRegistry<DevPatterns>",
1603
+ "name": "DevPatternSlot",
1604
+ "type": {
1605
+ "__schema": "TypeRefSchema",
1606
+ "location": {
1607
+ "filePath": "dev-files.main.runtime.ts",
1608
+ "line": 49,
1609
+ "character": 30
1610
+ },
1611
+ "name": "SlotRegistry",
1612
+ "componentId": {
1613
+ "scope": "teambit.harmony",
1614
+ "name": "harmony",
1615
+ "version": "0.4.6"
1616
+ },
1617
+ "typeArgs": [
1618
+ {
1619
+ "__schema": "TypeRefSchema",
1620
+ "location": {
1621
+ "filePath": "dev-files.main.runtime.ts",
1622
+ "line": 49,
1623
+ "character": 43
1624
+ },
1625
+ "name": "DevPatterns",
1626
+ "internalFilePath": "dev-files.main.runtime.ts"
1627
+ }
1628
+ ]
1629
+ }
1630
+ },
1631
+ {
1632
+ "__schema": "TypeSchema",
1633
+ "location": {
1634
+ "filePath": "dev-files.main.runtime.ts",
1635
+ "line": 51,
1636
+ "character": 1
1637
+ },
1638
+ "signature": "type DevFilesConfig = {\n patterns: string[];\n}",
1639
+ "name": "DevFilesConfig",
1640
+ "type": {
1641
+ "__schema": "TypeLiteralSchema",
1642
+ "location": {
1643
+ "filePath": "dev-files.main.runtime.ts",
1644
+ "line": 51,
1645
+ "character": 30
1646
+ },
1647
+ "members": [
1648
+ {
1649
+ "__schema": "VariableLikeSchema",
1650
+ "location": {
1651
+ "filePath": "dev-files.main.runtime.ts",
1652
+ "line": 52,
1653
+ "character": 3
1654
+ },
1655
+ "signature": "(property) patterns: string[]",
1656
+ "name": "patterns",
1657
+ "type": {
1658
+ "__schema": "TypeArraySchema",
1659
+ "location": {
1660
+ "filePath": "dev-files.main.runtime.ts",
1661
+ "line": 52,
1662
+ "character": 13
1663
+ },
1664
+ "type": {
1665
+ "__schema": "KeywordTypeSchema",
1666
+ "location": {
1667
+ "filePath": "dev-files.main.runtime.ts",
1668
+ "line": 52,
1669
+ "character": 13
1670
+ },
1671
+ "name": "string"
1672
+ }
1673
+ },
1674
+ "isOptional": false
1675
+ }
1676
+ ]
1677
+ }
1678
+ },
1679
+ {
1680
+ "__schema": "ClassSchema",
1681
+ "location": {
1682
+ "filePath": "dev-files.main.runtime.ts",
1683
+ "line": 55,
1684
+ "character": 1
1685
+ },
1686
+ "signature": "class DevFilesMain",
1687
+ "name": "DevFilesMain",
1688
+ "members": [
1689
+ {
1690
+ "__schema": "ConstructorSchema",
1691
+ "location": {
1692
+ "filePath": "dev-files.main.runtime.ts",
1693
+ "line": 56,
1694
+ "character": 3
1695
+ },
1696
+ "signature": "constructor DevFilesMain(envs: EnvsMain, workspace: Workspace, devPatternSlot: DevPatternSlot, config: DevFilesConfig): DevFilesMain",
1697
+ "name": "constructor",
1698
+ "params": [
1699
+ {
1700
+ "__schema": "ParameterSchema",
1701
+ "location": {
1702
+ "filePath": "dev-files.main.runtime.ts",
1703
+ "line": 57,
1704
+ "character": 5
1705
+ },
1706
+ "name": "envs",
1707
+ "type": {
1708
+ "__schema": "TypeRefSchema",
1709
+ "location": {
1710
+ "filePath": "dev-files.main.runtime.ts",
1711
+ "line": 57,
1712
+ "character": 19
1713
+ },
1714
+ "name": "EnvsMain",
1715
+ "componentId": {
1716
+ "scope": "teambit.envs",
1717
+ "name": "envs"
1718
+ }
1719
+ },
1720
+ "isOptional": false,
1721
+ "isSpread": false
1722
+ },
1723
+ {
1724
+ "__schema": "ParameterSchema",
1725
+ "location": {
1726
+ "filePath": "dev-files.main.runtime.ts",
1727
+ "line": 59,
1728
+ "character": 5
1729
+ },
1730
+ "name": "workspace",
1731
+ "type": {
1732
+ "__schema": "TypeRefSchema",
1733
+ "location": {
1734
+ "filePath": "dev-files.main.runtime.ts",
1735
+ "line": 59,
1736
+ "character": 24
1737
+ },
1738
+ "name": "Workspace",
1739
+ "componentId": {
1740
+ "scope": "teambit.workspace",
1741
+ "name": "workspace"
1742
+ }
1743
+ },
1744
+ "isOptional": false,
1745
+ "isSpread": false
1746
+ },
1747
+ {
1748
+ "__schema": "ParameterSchema",
1749
+ "location": {
1750
+ "filePath": "dev-files.main.runtime.ts",
1751
+ "line": 61,
1752
+ "character": 5
1753
+ },
1754
+ "name": "devPatternSlot",
1755
+ "type": {
1756
+ "__schema": "TypeRefSchema",
1757
+ "location": {
1758
+ "filePath": "dev-files.main.runtime.ts",
1759
+ "line": 61,
1760
+ "character": 29
1761
+ },
1762
+ "name": "DevPatternSlot",
1763
+ "internalFilePath": "dev-files.main.runtime.ts"
1764
+ },
1765
+ "isOptional": false,
1766
+ "isSpread": false
1767
+ },
1768
+ {
1769
+ "__schema": "ParameterSchema",
1770
+ "location": {
1771
+ "filePath": "dev-files.main.runtime.ts",
1772
+ "line": 66,
1773
+ "character": 5
1774
+ },
1775
+ "name": "config",
1776
+ "type": {
1777
+ "__schema": "TypeRefSchema",
1778
+ "location": {
1779
+ "filePath": "dev-files.main.runtime.ts",
1780
+ "line": 66,
1781
+ "character": 22
1782
+ },
1783
+ "name": "DevFilesConfig",
1784
+ "internalFilePath": "dev-files.main.runtime.ts"
1785
+ },
1786
+ "isOptional": false,
1787
+ "isSpread": false
1788
+ }
1789
+ ],
1790
+ "returnType": {
1791
+ "__schema": "ThisTypeSchema",
1792
+ "location": {
1793
+ "filePath": "dev-files.main.runtime.ts",
1794
+ "line": 55,
1795
+ "character": 1
1796
+ },
1797
+ "name": "DevFilesMain"
1798
+ },
1799
+ "modifiers": []
1800
+ },
1801
+ {
1802
+ "__schema": "FunctionLikeSchema",
1803
+ "location": {
1804
+ "filePath": "dev-files.main.runtime.ts",
1805
+ "line": 74,
1806
+ "character": 3
1807
+ },
1808
+ "doc": {
1809
+ "__schema": "DocSchema",
1810
+ "location": {
1811
+ "filePath": "dev-files.main.runtime.ts",
1812
+ "line": 69,
1813
+ "character": 3
1814
+ },
1815
+ "raw": "/**\n * compute all dev patterns on a component.\n * computing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\n * the registering aspects (through registerDevPattern()).\n */",
1816
+ "comment": "compute all dev patterns on a component.\ncomputing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\nthe registering aspects (through registerDevPattern()).",
1817
+ "tags": []
1818
+ },
1819
+ "signature": "(method) DevFilesMain.computeDevPatterns(component: Component, envExtendsDeps?: LegacyDependency[]): Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>",
1820
+ "name": "computeDevPatterns",
1821
+ "params": [
1822
+ {
1823
+ "__schema": "ParameterSchema",
1824
+ "location": {
1825
+ "filePath": "dev-files.main.runtime.ts",
1826
+ "line": 74,
1827
+ "character": 28
1828
+ },
1829
+ "name": "component",
1830
+ "type": {
1831
+ "__schema": "TypeRefSchema",
1832
+ "location": {
1833
+ "filePath": "dev-files.main.runtime.ts",
1834
+ "line": 74,
1835
+ "character": 39
1836
+ },
1837
+ "name": "Component",
1838
+ "componentId": {
1839
+ "scope": "teambit.component",
1840
+ "name": "component"
1841
+ }
1842
+ },
1843
+ "isOptional": false,
1844
+ "isSpread": false
1845
+ },
1846
+ {
1847
+ "__schema": "ParameterSchema",
1848
+ "location": {
1849
+ "filePath": "dev-files.main.runtime.ts",
1850
+ "line": 74,
1851
+ "character": 50
1852
+ },
1853
+ "name": "envExtendsDeps",
1854
+ "type": {
1855
+ "__schema": "TypeArraySchema",
1856
+ "location": {
1857
+ "filePath": "dev-files.main.runtime.ts",
1858
+ "line": 74,
1859
+ "character": 67
1860
+ },
1861
+ "type": {
1862
+ "__schema": "TypeRefSchema",
1863
+ "location": {
1864
+ "filePath": "dev-files.main.runtime.ts",
1865
+ "line": 74,
1866
+ "character": 67
1867
+ },
1868
+ "name": "LegacyDependency"
1869
+ }
1870
+ },
1871
+ "isOptional": true,
1872
+ "isSpread": false
1873
+ }
1874
+ ],
1875
+ "returnType": {
1876
+ "__schema": "InferenceTypeSchema",
1877
+ "location": {
1878
+ "filePath": "dev-files.main.runtime.ts",
1879
+ "line": 74,
1880
+ "character": 3
1881
+ },
1882
+ "type": "Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>"
1883
+ },
1884
+ "modifiers": [
1885
+ "async"
1886
+ ]
1887
+ },
1888
+ {
1889
+ "__schema": "FunctionLikeSchema",
1890
+ "location": {
1891
+ "filePath": "dev-files.main.runtime.ts",
1892
+ "line": 146,
1893
+ "character": 3
1894
+ },
1895
+ "signature": "(method) DevFilesMain.mergeEnvManifestPatterns(parent: EnvJsonc, child: EnvJsonc): Partial<EnvJsonc>",
1896
+ "name": "mergeEnvManifestPatterns",
1897
+ "params": [
1898
+ {
1899
+ "__schema": "ParameterSchema",
1900
+ "location": {
1901
+ "filePath": "dev-files.main.runtime.ts",
1902
+ "line": 146,
1903
+ "character": 28
1904
+ },
1905
+ "name": "parent",
1906
+ "type": {
1907
+ "__schema": "TypeRefSchema",
1908
+ "location": {
1909
+ "filePath": "dev-files.main.runtime.ts",
1910
+ "line": 146,
1911
+ "character": 36
1912
+ },
1913
+ "name": "EnvJsonc",
1914
+ "componentId": {
1915
+ "scope": "teambit.envs",
1916
+ "name": "envs"
1917
+ }
1918
+ },
1919
+ "isOptional": false,
1920
+ "isSpread": false
1921
+ },
1922
+ {
1923
+ "__schema": "ParameterSchema",
1924
+ "location": {
1925
+ "filePath": "dev-files.main.runtime.ts",
1926
+ "line": 146,
1927
+ "character": 46
1928
+ },
1929
+ "name": "child",
1930
+ "type": {
1931
+ "__schema": "TypeRefSchema",
1932
+ "location": {
1933
+ "filePath": "dev-files.main.runtime.ts",
1934
+ "line": 146,
1935
+ "character": 53
1936
+ },
1937
+ "name": "EnvJsonc",
1938
+ "componentId": {
1939
+ "scope": "teambit.envs",
1940
+ "name": "envs"
1941
+ }
1942
+ },
1943
+ "isOptional": false,
1944
+ "isSpread": false
1945
+ }
1946
+ ],
1947
+ "returnType": {
1948
+ "__schema": "TypeRefSchema",
1949
+ "location": {
1950
+ "filePath": "dev-files.main.runtime.ts",
1951
+ "line": 146,
1952
+ "character": 64
1953
+ },
1954
+ "name": "Partial",
1955
+ "typeArgs": [
1956
+ {
1957
+ "__schema": "TypeRefSchema",
1958
+ "location": {
1959
+ "filePath": "dev-files.main.runtime.ts",
1960
+ "line": 146,
1961
+ "character": 72
1962
+ },
1963
+ "name": "EnvJsonc",
1964
+ "componentId": {
1965
+ "scope": "teambit.envs",
1966
+ "name": "envs"
1967
+ }
1968
+ }
1969
+ ]
1970
+ },
1971
+ "modifiers": []
1972
+ },
1973
+ {
1974
+ "__schema": "FunctionLikeSchema",
1975
+ "location": {
1976
+ "filePath": "dev-files.main.runtime.ts",
1977
+ "line": 177,
1978
+ "character": 3
1979
+ },
1980
+ "doc": {
1981
+ "__schema": "DocSchema",
1982
+ "location": {
1983
+ "filePath": "dev-files.main.runtime.ts",
1984
+ "line": 174,
1985
+ "character": 3
1986
+ },
1987
+ "raw": "/**\n * get all dev files configured on a component.\n */",
1988
+ "comment": "get all dev files configured on a component.",
1989
+ "tags": []
1990
+ },
1991
+ "signature": "(method) DevFilesMain.getDevPatterns(component: Component, aspectId?: string): string[]",
1992
+ "name": "getDevPatterns",
1993
+ "params": [
1994
+ {
1995
+ "__schema": "ParameterSchema",
1996
+ "location": {
1997
+ "filePath": "dev-files.main.runtime.ts",
1998
+ "line": 177,
1999
+ "character": 18
2000
+ },
2001
+ "name": "component",
2002
+ "type": {
2003
+ "__schema": "TypeRefSchema",
2004
+ "location": {
2005
+ "filePath": "dev-files.main.runtime.ts",
2006
+ "line": 177,
2007
+ "character": 29
2008
+ },
2009
+ "name": "Component",
2010
+ "componentId": {
2011
+ "scope": "teambit.component",
2012
+ "name": "component"
2013
+ }
2014
+ },
2015
+ "isOptional": false,
2016
+ "isSpread": false
2017
+ },
2018
+ {
2019
+ "__schema": "ParameterSchema",
2020
+ "location": {
2021
+ "filePath": "dev-files.main.runtime.ts",
2022
+ "line": 177,
2023
+ "character": 40
2024
+ },
2025
+ "name": "aspectId",
2026
+ "type": {
2027
+ "__schema": "KeywordTypeSchema",
2028
+ "location": {
2029
+ "filePath": "dev-files.main.runtime.ts",
2030
+ "line": 177,
2031
+ "character": 51
2032
+ },
2033
+ "name": "string"
2034
+ },
2035
+ "isOptional": true,
2036
+ "isSpread": false
2037
+ }
2038
+ ],
2039
+ "returnType": {
2040
+ "__schema": "TypeArraySchema",
2041
+ "location": {
2042
+ "filePath": "dev-files.main.runtime.ts",
2043
+ "line": 177,
2044
+ "character": 60
2045
+ },
2046
+ "type": {
2047
+ "__schema": "KeywordTypeSchema",
2048
+ "location": {
2049
+ "filePath": "dev-files.main.runtime.ts",
2050
+ "line": 177,
2051
+ "character": 60
2052
+ },
2053
+ "name": "string"
2054
+ }
2055
+ },
2056
+ "modifiers": []
2057
+ },
2058
+ {
2059
+ "__schema": "FunctionLikeSchema",
2060
+ "location": {
2061
+ "filePath": "dev-files.main.runtime.ts",
2062
+ "line": 186,
2063
+ "character": 3
2064
+ },
2065
+ "doc": {
2066
+ "__schema": "DocSchema",
2067
+ "location": {
2068
+ "filePath": "dev-files.main.runtime.ts",
2069
+ "line": 183,
2070
+ "character": 3
2071
+ },
2072
+ "raw": "/**\n * determine whether a file of a component is a dev file.\n */",
2073
+ "comment": "determine whether a file of a component is a dev file.",
2074
+ "tags": []
2075
+ },
2076
+ "signature": "(method) DevFilesMain.isDevFile(component: Component, filePath: string): boolean",
2077
+ "name": "isDevFile",
2078
+ "params": [
2079
+ {
2080
+ "__schema": "ParameterSchema",
2081
+ "location": {
2082
+ "filePath": "dev-files.main.runtime.ts",
2083
+ "line": 186,
2084
+ "character": 13
2085
+ },
2086
+ "name": "component",
2087
+ "type": {
2088
+ "__schema": "TypeRefSchema",
2089
+ "location": {
2090
+ "filePath": "dev-files.main.runtime.ts",
2091
+ "line": 186,
2092
+ "character": 24
2093
+ },
2094
+ "name": "Component",
2095
+ "componentId": {
2096
+ "scope": "teambit.component",
2097
+ "name": "component"
2098
+ }
2099
+ },
2100
+ "isOptional": false,
2101
+ "isSpread": false
2102
+ },
2103
+ {
2104
+ "__schema": "ParameterSchema",
2105
+ "location": {
2106
+ "filePath": "dev-files.main.runtime.ts",
2107
+ "line": 186,
2108
+ "character": 35
2109
+ },
2110
+ "name": "filePath",
2111
+ "type": {
2112
+ "__schema": "KeywordTypeSchema",
2113
+ "location": {
2114
+ "filePath": "dev-files.main.runtime.ts",
2115
+ "line": 186,
2116
+ "character": 45
2117
+ },
2118
+ "name": "string"
2119
+ },
2120
+ "isOptional": false,
2121
+ "isSpread": false
2122
+ }
2123
+ ],
2124
+ "returnType": {
2125
+ "__schema": "KeywordTypeSchema",
2126
+ "location": {
2127
+ "filePath": "dev-files.main.runtime.ts",
2128
+ "line": 186,
2129
+ "character": 54
2130
+ },
2131
+ "name": "boolean"
2132
+ },
2133
+ "modifiers": []
2134
+ },
2135
+ {
2136
+ "__schema": "FunctionLikeSchema",
2137
+ "location": {
2138
+ "filePath": "dev-files.main.runtime.ts",
2139
+ "line": 195,
2140
+ "character": 3
2141
+ },
2142
+ "doc": {
2143
+ "__schema": "DocSchema",
2144
+ "location": {
2145
+ "filePath": "dev-files.main.runtime.ts",
2146
+ "line": 191,
2147
+ "character": 3
2148
+ },
2149
+ "raw": "/**\n * register a new dev pattern.\n * @param regex dev pattern\n */",
2150
+ "comment": "register a new dev pattern.",
2151
+ "tags": [
2152
+ {
2153
+ "__schema": "PropertyLikeTagSchema",
2154
+ "location": {
2155
+ "filePath": "dev-files.main.runtime.ts",
2156
+ "line": 193,
2157
+ "character": 6
2158
+ },
2159
+ "name": "regex",
2160
+ "tagName": "parameter",
2161
+ "comment": "dev pattern"
2162
+ }
2163
+ ]
2164
+ },
2165
+ "signature": "(method) DevFilesMain.registerDevPattern(pattern: DevPatterns): void",
2166
+ "name": "registerDevPattern",
2167
+ "params": [
2168
+ {
2169
+ "__schema": "ParameterSchema",
2170
+ "location": {
2171
+ "filePath": "dev-files.main.runtime.ts",
2172
+ "line": 195,
2173
+ "character": 22
2174
+ },
2175
+ "name": "pattern",
2176
+ "type": {
2177
+ "__schema": "TypeRefSchema",
2178
+ "location": {
2179
+ "filePath": "dev-files.main.runtime.ts",
2180
+ "line": 195,
2181
+ "character": 31
2182
+ },
2183
+ "name": "DevPatterns",
2184
+ "internalFilePath": "dev-files.main.runtime.ts"
2185
+ },
2186
+ "isOptional": false,
2187
+ "isSpread": false
2188
+ }
2189
+ ],
2190
+ "returnType": {
2191
+ "__schema": "InferenceTypeSchema",
2192
+ "location": {
2193
+ "filePath": "dev-files.main.runtime.ts",
2194
+ "line": 195,
2195
+ "character": 3
2196
+ },
2197
+ "type": "void"
2198
+ },
2199
+ "modifiers": []
2200
+ },
2201
+ {
2202
+ "__schema": "FunctionLikeSchema",
2203
+ "location": {
2204
+ "filePath": "dev-files.main.runtime.ts",
2205
+ "line": 203,
2206
+ "character": 3
2207
+ },
2208
+ "doc": {
2209
+ "__schema": "DocSchema",
2210
+ "location": {
2211
+ "filePath": "dev-files.main.runtime.ts",
2212
+ "line": 199,
2213
+ "character": 3
2214
+ },
2215
+ "raw": "/**\n * get all dev patterns registered.\n * If you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet\n */",
2216
+ "comment": "get all dev patterns registered.\nIf you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet",
2217
+ "tags": []
2218
+ },
2219
+ "signature": "(method) DevFilesMain.getDevFiles(component: Component): DevFiles",
2220
+ "name": "getDevFiles",
2221
+ "params": [
2222
+ {
2223
+ "__schema": "ParameterSchema",
2224
+ "location": {
2225
+ "filePath": "dev-files.main.runtime.ts",
2226
+ "line": 203,
2227
+ "character": 15
2228
+ },
2229
+ "name": "component",
2230
+ "type": {
2231
+ "__schema": "TypeRefSchema",
2232
+ "location": {
2233
+ "filePath": "dev-files.main.runtime.ts",
2234
+ "line": 203,
2235
+ "character": 26
2236
+ },
2237
+ "name": "Component",
2238
+ "componentId": {
2239
+ "scope": "teambit.component",
2240
+ "name": "component"
2241
+ }
2242
+ },
2243
+ "isOptional": false,
2244
+ "isSpread": false
2245
+ }
2246
+ ],
2247
+ "returnType": {
2248
+ "__schema": "TypeRefSchema",
2249
+ "location": {
2250
+ "filePath": "dev-files.main.runtime.ts",
2251
+ "line": 203,
2252
+ "character": 3
2253
+ },
2254
+ "name": "DevFiles",
2255
+ "internalFilePath": "dev-files.ts"
2256
+ },
2257
+ "modifiers": []
2258
+ },
2259
+ {
2260
+ "__schema": "FunctionLikeSchema",
2261
+ "location": {
2262
+ "filePath": "dev-files.main.runtime.ts",
2263
+ "line": 209,
2264
+ "character": 3
2265
+ },
2266
+ "signature": "(method) DevFilesMain.getDevFilesForConsumerComp(consumerComponent: LegacyComponent, envExtendsDeps?: LegacyDependency[]): Promise<string[]>",
2267
+ "name": "getDevFilesForConsumerComp",
2268
+ "params": [
2269
+ {
2270
+ "__schema": "ParameterSchema",
2271
+ "location": {
2272
+ "filePath": "dev-files.main.runtime.ts",
2273
+ "line": 210,
2274
+ "character": 5
2275
+ },
2276
+ "name": "consumerComponent",
2277
+ "type": {
2278
+ "__schema": "TypeRefSchema",
2279
+ "location": {
2280
+ "filePath": "dev-files.main.runtime.ts",
2281
+ "line": 210,
2282
+ "character": 24
2283
+ },
2284
+ "name": "LegacyComponent"
2285
+ },
2286
+ "isOptional": false,
2287
+ "isSpread": false
2288
+ },
2289
+ {
2290
+ "__schema": "ParameterSchema",
2291
+ "location": {
2292
+ "filePath": "dev-files.main.runtime.ts",
2293
+ "line": 211,
2294
+ "character": 5
2295
+ },
2296
+ "name": "envExtendsDeps",
2297
+ "type": {
2298
+ "__schema": "TypeArraySchema",
2299
+ "location": {
2300
+ "filePath": "dev-files.main.runtime.ts",
2301
+ "line": 211,
2302
+ "character": 22
2303
+ },
2304
+ "type": {
2305
+ "__schema": "TypeRefSchema",
2306
+ "location": {
2307
+ "filePath": "dev-files.main.runtime.ts",
2308
+ "line": 211,
2309
+ "character": 22
2310
+ },
2311
+ "name": "LegacyDependency"
2312
+ }
2313
+ },
2314
+ "isOptional": true,
2315
+ "isSpread": false
2316
+ }
2317
+ ],
2318
+ "returnType": {
2319
+ "__schema": "TypeRefSchema",
2320
+ "location": {
2321
+ "filePath": "dev-files.main.runtime.ts",
2322
+ "line": 212,
2323
+ "character": 6
2324
+ },
2325
+ "name": "Promise",
2326
+ "typeArgs": [
2327
+ {
2328
+ "__schema": "TypeArraySchema",
2329
+ "location": {
2330
+ "filePath": "dev-files.main.runtime.ts",
2331
+ "line": 212,
2332
+ "character": 14
2333
+ },
2334
+ "type": {
2335
+ "__schema": "KeywordTypeSchema",
2336
+ "location": {
2337
+ "filePath": "dev-files.main.runtime.ts",
2338
+ "line": 212,
2339
+ "character": 14
2340
+ },
2341
+ "name": "string"
2342
+ }
2343
+ }
2344
+ ]
2345
+ },
2346
+ "modifiers": [
2347
+ "async"
2348
+ ]
2349
+ },
2350
+ {
2351
+ "__schema": "FunctionLikeSchema",
2352
+ "location": {
2353
+ "filePath": "dev-files.main.runtime.ts",
2354
+ "line": 227,
2355
+ "character": 3
2356
+ },
2357
+ "doc": {
2358
+ "__schema": "DocSchema",
2359
+ "location": {
2360
+ "filePath": "dev-files.main.runtime.ts",
2361
+ "line": 224,
2362
+ "character": 3
2363
+ },
2364
+ "raw": "/**\n * compute all dev files of a component.\n */",
2365
+ "comment": "compute all dev files of a component.",
2366
+ "tags": []
2367
+ },
2368
+ "signature": "(method) DevFilesMain.computeDevFiles(component: Component, envExtendsDeps?: LegacyDependency[]): Promise<DevFiles>",
2369
+ "name": "computeDevFiles",
2370
+ "params": [
2371
+ {
2372
+ "__schema": "ParameterSchema",
2373
+ "location": {
2374
+ "filePath": "dev-files.main.runtime.ts",
2375
+ "line": 227,
2376
+ "character": 25
2377
+ },
2378
+ "name": "component",
2379
+ "type": {
2380
+ "__schema": "TypeRefSchema",
2381
+ "location": {
2382
+ "filePath": "dev-files.main.runtime.ts",
2383
+ "line": 227,
2384
+ "character": 36
2385
+ },
2386
+ "name": "Component",
2387
+ "componentId": {
2388
+ "scope": "teambit.component",
2389
+ "name": "component"
2390
+ }
2391
+ },
2392
+ "isOptional": false,
2393
+ "isSpread": false
2394
+ },
2395
+ {
2396
+ "__schema": "ParameterSchema",
2397
+ "location": {
2398
+ "filePath": "dev-files.main.runtime.ts",
2399
+ "line": 227,
2400
+ "character": 47
2401
+ },
2402
+ "name": "envExtendsDeps",
2403
+ "type": {
2404
+ "__schema": "TypeArraySchema",
2405
+ "location": {
2406
+ "filePath": "dev-files.main.runtime.ts",
2407
+ "line": 227,
2408
+ "character": 64
2409
+ },
2410
+ "type": {
2411
+ "__schema": "TypeRefSchema",
2412
+ "location": {
2413
+ "filePath": "dev-files.main.runtime.ts",
2414
+ "line": 227,
2415
+ "character": 64
2416
+ },
2417
+ "name": "LegacyDependency"
2418
+ }
2419
+ },
2420
+ "isOptional": true,
2421
+ "isSpread": false
2422
+ }
2423
+ ],
2424
+ "returnType": {
2425
+ "__schema": "TypeRefSchema",
2426
+ "location": {
2427
+ "filePath": "dev-files.main.runtime.ts",
2428
+ "line": 227,
2429
+ "character": 85
2430
+ },
2431
+ "name": "Promise",
2432
+ "typeArgs": [
2433
+ {
2434
+ "__schema": "TypeRefSchema",
2435
+ "location": {
2436
+ "filePath": "dev-files.main.runtime.ts",
2437
+ "line": 227,
2438
+ "character": 93
2439
+ },
2440
+ "name": "DevFiles",
2441
+ "internalFilePath": "dev-files.ts"
2442
+ }
2443
+ ]
2444
+ },
2445
+ "modifiers": [
2446
+ "async"
2447
+ ]
2448
+ },
2449
+ {
2450
+ "__schema": "VariableLikeSchema",
2451
+ "location": {
2452
+ "filePath": "dev-files.main.runtime.ts",
2453
+ "line": 239,
2454
+ "character": 3
2455
+ },
2456
+ "signature": "(property) DevFilesMain.slots: ((registerFn: () => string) => SlotRegistry<DevPatterns>)[]",
2457
+ "name": "slots",
2458
+ "type": {
2459
+ "__schema": "InferenceTypeSchema",
2460
+ "location": {
2461
+ "filePath": "dev-files.main.runtime.ts",
2462
+ "line": 239,
2463
+ "character": 3
2464
+ },
2465
+ "type": "((registerFn: () => string) => SlotRegistry<DevPatterns>)[]"
2466
+ },
2467
+ "isOptional": true,
2468
+ "defaultValue": "[Slot.withType<DevPatterns>()]"
2469
+ },
2470
+ {
2471
+ "__schema": "VariableLikeSchema",
2472
+ "location": {
2473
+ "filePath": "dev-files.main.runtime.ts",
2474
+ "line": 241,
2475
+ "character": 3
2476
+ },
2477
+ "signature": "(property) DevFilesMain.defaultConfig: {\n patterns: never[];\n}",
2478
+ "name": "defaultConfig",
2479
+ "type": {
2480
+ "__schema": "InferenceTypeSchema",
2481
+ "location": {
2482
+ "filePath": "dev-files.main.runtime.ts",
2483
+ "line": 241,
2484
+ "character": 3
2485
+ },
2486
+ "type": "{\n patterns: never[];\n}"
2487
+ },
2488
+ "isOptional": true,
2489
+ "defaultValue": "{\n patterns: [],\n }"
2490
+ },
2491
+ {
2492
+ "__schema": "VariableLikeSchema",
2493
+ "location": {
2494
+ "filePath": "dev-files.main.runtime.ts",
2495
+ "line": 245,
2496
+ "character": 3
2497
+ },
2498
+ "signature": "(property) DevFilesMain.runtime: RuntimeDefinition",
2499
+ "name": "runtime",
2500
+ "type": {
2501
+ "__schema": "InferenceTypeSchema",
2502
+ "location": {
2503
+ "filePath": "dev-files.main.runtime.ts",
2504
+ "line": 245,
2505
+ "character": 3
2506
+ },
2507
+ "type": "RuntimeDefinition"
2508
+ },
2509
+ "isOptional": true,
2510
+ "defaultValue": "MainRuntime"
2511
+ },
2512
+ {
2513
+ "__schema": "VariableLikeSchema",
2514
+ "location": {
2515
+ "filePath": "dev-files.main.runtime.ts",
2516
+ "line": 247,
2517
+ "character": 3
2518
+ },
2519
+ "signature": "(property) DevFilesMain.dependencies: Aspect[]",
2520
+ "name": "dependencies",
2521
+ "type": {
2522
+ "__schema": "InferenceTypeSchema",
2523
+ "location": {
2524
+ "filePath": "dev-files.main.runtime.ts",
2525
+ "line": 247,
2526
+ "character": 3
2527
+ },
2528
+ "type": "Aspect[]"
2529
+ },
2530
+ "isOptional": true,
2531
+ "defaultValue": "[EnvsAspect, WorkspaceAspect, ComponentAspect, GraphqlAspect, ScopeAspect]"
2532
+ },
2533
+ {
2534
+ "__schema": "FunctionLikeSchema",
2535
+ "location": {
2536
+ "filePath": "dev-files.main.runtime.ts",
2537
+ "line": 249,
2538
+ "character": 3
2539
+ },
2540
+ "signature": "(method) DevFilesMain.provider([envs, workspace, componentAspect, graphql, scope]: [EnvsMain, Workspace, ComponentMain, GraphqlMain, ScopeMain], config: DevFilesConfig, [devPatternSlot]: [DevPatternSlot]): Promise<DevFilesMain>",
2541
+ "name": "provider",
2542
+ "params": [
2543
+ {
2544
+ "__schema": "ParameterSchema",
2545
+ "location": {
2546
+ "filePath": "dev-files.main.runtime.ts",
2547
+ "line": 250,
2548
+ "character": 5
2549
+ },
2550
+ "name": "[ envs, workspace, componentAspect, graphql, scope ]",
2551
+ "type": {
2552
+ "__schema": "TupleTypeSchema",
2553
+ "location": {
2554
+ "filePath": "dev-files.main.runtime.ts",
2555
+ "line": 250,
2556
+ "character": 57
2557
+ },
2558
+ "elements": [
2559
+ {
2560
+ "__schema": "TypeRefSchema",
2561
+ "location": {
2562
+ "filePath": "dev-files.main.runtime.ts",
2563
+ "line": 250,
2564
+ "character": 58
2565
+ },
2566
+ "name": "EnvsMain",
2567
+ "componentId": {
2568
+ "scope": "teambit.envs",
2569
+ "name": "envs"
2570
+ }
2571
+ },
2572
+ {
2573
+ "__schema": "TypeRefSchema",
2574
+ "location": {
2575
+ "filePath": "dev-files.main.runtime.ts",
2576
+ "line": 250,
2577
+ "character": 68
2578
+ },
2579
+ "name": "Workspace",
2580
+ "componentId": {
2581
+ "scope": "teambit.workspace",
2582
+ "name": "workspace"
2583
+ }
2584
+ },
2585
+ {
2586
+ "__schema": "TypeRefSchema",
2587
+ "location": {
2588
+ "filePath": "dev-files.main.runtime.ts",
2589
+ "line": 250,
2590
+ "character": 79
2591
+ },
2592
+ "name": "ComponentMain",
2593
+ "componentId": {
2594
+ "scope": "teambit.component",
2595
+ "name": "component"
2596
+ }
2597
+ },
2598
+ {
2599
+ "__schema": "TypeRefSchema",
2600
+ "location": {
2601
+ "filePath": "dev-files.main.runtime.ts",
2602
+ "line": 250,
2603
+ "character": 94
2604
+ },
2605
+ "name": "GraphqlMain",
2606
+ "componentId": {
2607
+ "scope": "teambit.harmony",
2608
+ "name": "graphql"
2609
+ }
2610
+ },
2611
+ {
2612
+ "__schema": "TypeRefSchema",
2613
+ "location": {
2614
+ "filePath": "dev-files.main.runtime.ts",
2615
+ "line": 250,
2616
+ "character": 107
2617
+ },
2618
+ "name": "ScopeMain",
2619
+ "componentId": {
2620
+ "scope": "teambit.scope",
2621
+ "name": "scope"
2622
+ }
2623
+ }
2624
+ ]
2625
+ },
2626
+ "isOptional": false,
2627
+ "isSpread": false
2628
+ },
2629
+ {
2630
+ "__schema": "ParameterSchema",
2631
+ "location": {
2632
+ "filePath": "dev-files.main.runtime.ts",
2633
+ "line": 251,
2634
+ "character": 5
2635
+ },
2636
+ "name": "config",
2637
+ "type": {
2638
+ "__schema": "TypeRefSchema",
2639
+ "location": {
2640
+ "filePath": "dev-files.main.runtime.ts",
2641
+ "line": 251,
2642
+ "character": 13
2643
+ },
2644
+ "name": "DevFilesConfig",
2645
+ "internalFilePath": "dev-files.main.runtime.ts"
2646
+ },
2647
+ "isOptional": false,
2648
+ "isSpread": false
2649
+ },
2650
+ {
2651
+ "__schema": "ParameterSchema",
2652
+ "location": {
2653
+ "filePath": "dev-files.main.runtime.ts",
2654
+ "line": 252,
2655
+ "character": 5
2656
+ },
2657
+ "name": "[ devPatternSlot ]",
2658
+ "type": {
2659
+ "__schema": "TupleTypeSchema",
2660
+ "location": {
2661
+ "filePath": "dev-files.main.runtime.ts",
2662
+ "line": 252,
2663
+ "character": 23
2664
+ },
2665
+ "elements": [
2666
+ {
2667
+ "__schema": "TypeRefSchema",
2668
+ "location": {
2669
+ "filePath": "dev-files.main.runtime.ts",
2670
+ "line": 252,
2671
+ "character": 24
2672
+ },
2673
+ "name": "DevPatternSlot",
2674
+ "internalFilePath": "dev-files.main.runtime.ts"
2675
+ }
2676
+ ]
2677
+ },
2678
+ "isOptional": false,
2679
+ "isSpread": false
2680
+ }
2681
+ ],
2682
+ "returnType": {
2683
+ "__schema": "InferenceTypeSchema",
2684
+ "location": {
2685
+ "filePath": "dev-files.main.runtime.ts",
2686
+ "line": 249,
2687
+ "character": 3
2688
+ },
2689
+ "type": "Promise<DevFilesMain>"
2690
+ },
2691
+ "modifiers": [
2692
+ "static",
2693
+ "async"
2694
+ ]
2695
+ }
2696
+ ],
2697
+ "extendsNodes": [],
2698
+ "implementNodes": []
2699
+ }
2700
+ ],
2701
+ "internals": [
2702
+ {
2703
+ "__schema": "TypeSchema",
2704
+ "location": {
2705
+ "filePath": "dev-files.main.runtime.ts",
2706
+ "line": 20,
2707
+ "character": 1
2708
+ },
2709
+ "signature": "type DevPatternDescriptor = {\n name: string;\n pattern: string[];\n}",
2710
+ "name": "DevPatternDescriptor",
2711
+ "type": {
2712
+ "__schema": "TypeLiteralSchema",
2713
+ "location": {
2714
+ "filePath": "dev-files.main.runtime.ts",
2715
+ "line": 20,
2716
+ "character": 29
2717
+ },
2718
+ "members": [
2719
+ {
2720
+ "__schema": "VariableLikeSchema",
2721
+ "location": {
2722
+ "filePath": "dev-files.main.runtime.ts",
2723
+ "line": 24,
2724
+ "character": 3
2725
+ },
2726
+ "doc": {
2727
+ "__schema": "DocSchema",
2728
+ "location": {
2729
+ "filePath": "dev-files.main.runtime.ts",
2730
+ "line": 21,
2731
+ "character": 3
2732
+ },
2733
+ "raw": "/**\n * Name of the dev pattern\n */",
2734
+ "comment": "Name of the dev pattern",
2735
+ "tags": []
2736
+ },
2737
+ "signature": "(property) name: string",
2738
+ "name": "name",
2739
+ "type": {
2740
+ "__schema": "KeywordTypeSchema",
2741
+ "location": {
2742
+ "filePath": "dev-files.main.runtime.ts",
2743
+ "line": 24,
2744
+ "character": 9
2745
+ },
2746
+ "name": "string"
2747
+ },
2748
+ "isOptional": false
2749
+ },
2750
+ {
2751
+ "__schema": "VariableLikeSchema",
2752
+ "location": {
2753
+ "filePath": "dev-files.main.runtime.ts",
2754
+ "line": 29,
2755
+ "character": 3
2756
+ },
2757
+ "doc": {
2758
+ "__schema": "DocSchema",
2759
+ "location": {
2760
+ "filePath": "dev-files.main.runtime.ts",
2761
+ "line": 26,
2762
+ "character": 3
2763
+ },
2764
+ "raw": "/**\n * Glob pattern to select dev files\n */",
2765
+ "comment": "Glob pattern to select dev files",
2766
+ "tags": []
2767
+ },
2768
+ "signature": "(property) pattern: string[]",
2769
+ "name": "pattern",
2770
+ "type": {
2771
+ "__schema": "TypeArraySchema",
2772
+ "location": {
2773
+ "filePath": "dev-files.main.runtime.ts",
2774
+ "line": 29,
2775
+ "character": 12
2776
+ },
2777
+ "type": {
2778
+ "__schema": "KeywordTypeSchema",
2779
+ "location": {
2780
+ "filePath": "dev-files.main.runtime.ts",
2781
+ "line": 29,
2782
+ "character": 12
2783
+ },
2784
+ "name": "string"
2785
+ }
2786
+ },
2787
+ "isOptional": false
2788
+ }
2789
+ ]
2790
+ }
2791
+ },
2792
+ {
2793
+ "__schema": "TypeSchema",
2794
+ "location": {
2795
+ "filePath": "dev-files.main.runtime.ts",
2796
+ "line": 32,
2797
+ "character": 1
2798
+ },
2799
+ "signature": "type DevPattern = string[] | DevPatternDescriptor",
2800
+ "name": "DevPattern",
2801
+ "type": {
2802
+ "__schema": "TypeUnionSchema",
2803
+ "location": {
2804
+ "filePath": "dev-files.main.runtime.ts",
2805
+ "line": 32,
2806
+ "character": 19
2807
+ },
2808
+ "types": [
2809
+ {
2810
+ "__schema": "TypeArraySchema",
2811
+ "location": {
2812
+ "filePath": "dev-files.main.runtime.ts",
2813
+ "line": 32,
2814
+ "character": 19
2815
+ },
2816
+ "type": {
2817
+ "__schema": "KeywordTypeSchema",
2818
+ "location": {
2819
+ "filePath": "dev-files.main.runtime.ts",
2820
+ "line": 32,
2821
+ "character": 19
2822
+ },
2823
+ "name": "string"
2824
+ }
2825
+ },
2826
+ {
2827
+ "__schema": "TypeRefSchema",
2828
+ "location": {
2829
+ "filePath": "dev-files.main.runtime.ts",
2830
+ "line": 32,
2831
+ "character": 30
2832
+ },
2833
+ "name": "DevPatternDescriptor",
2834
+ "internalFilePath": "dev-files.main.runtime.ts"
2835
+ }
2836
+ ]
2837
+ }
2838
+ },
2839
+ {
2840
+ "__schema": "UnImplementedSchema",
2841
+ "location": {
2842
+ "filePath": "dev-files.main.runtime.ts",
2843
+ "line": 277,
2844
+ "character": 1
2845
+ },
2846
+ "name": "DevFilesAspect.addRuntime(DevFilesMain);",
2847
+ "type": "ExpressionStatement"
2848
+ }
2849
+ ]
2850
+ }
2851
+ ],
2852
+ "componentId": {
2853
+ "scope": "teambit.component",
2854
+ "name": "dev-files",
2855
+ "version": "1.0.514"
2856
+ },
2857
+ "taggedModuleExports": []
2858
+ }