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