@teambit/watcher 1.0.188 → 1.0.190

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