@teambit/doctor 0.0.193 → 0.0.194

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