@teambit/doctor 0.0.178 → 0.0.179

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