@teambit/formatter 1.0.257 → 1.0.259

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.
@@ -14,1473 +14,1572 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "VariableLikeSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "formatter.aspect.ts",
19
+ "filePath": "index.ts",
20
20
  "line": 3,
21
- "character": 14
21
+ "character": 10
22
22
  },
23
- "signature": "const FormatterAspect: Aspect",
24
23
  "name": "FormatterAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "VariableLikeSchema",
27
26
  "location": {
28
27
  "filePath": "formatter.aspect.ts",
29
28
  "line": 3,
30
29
  "character": 14
31
30
  },
32
- "name": "Aspect",
33
- "componentId": {
34
- "scope": "teambit.harmony",
35
- "name": "harmony",
36
- "version": "0.4.6"
37
- }
38
- },
39
- "isOptional": false,
40
- "defaultValue": "Aspect.create({\n id: 'teambit.defender/formatter',\n})"
31
+ "signature": "const FormatterAspect: Aspect",
32
+ "name": "FormatterAspect",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "formatter.aspect.ts",
37
+ "line": 3,
38
+ "character": 14
39
+ },
40
+ "name": "Aspect",
41
+ "componentId": {
42
+ "scope": "teambit.harmony",
43
+ "name": "harmony",
44
+ "version": "0.4.6"
45
+ }
46
+ },
47
+ "isOptional": false,
48
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/formatter',\n})"
49
+ }
41
50
  },
42
51
  {
43
- "__schema": "ClassSchema",
52
+ "__schema": "ExportSchema",
44
53
  "location": {
45
- "filePath": "formatter.main.runtime.ts",
46
- "line": 14,
47
- "character": 1
54
+ "filePath": "index.ts",
55
+ "line": 4,
56
+ "character": 15
48
57
  },
49
- "signature": "class FormatterMain",
50
58
  "name": "FormatterMain",
51
- "members": [
52
- {
53
- "__schema": "VariableLikeSchema",
54
- "location": {
55
- "filePath": "formatter.main.runtime.ts",
56
- "line": 15,
57
- "character": 3
58
- },
59
- "signature": "(property) FormatterMain.runtime: RuntimeDefinition",
60
- "name": "runtime",
61
- "type": {
62
- "__schema": "InferenceTypeSchema",
59
+ "exportNode": {
60
+ "__schema": "ClassSchema",
61
+ "location": {
62
+ "filePath": "formatter.main.runtime.ts",
63
+ "line": 14,
64
+ "character": 1
65
+ },
66
+ "signature": "class FormatterMain",
67
+ "name": "FormatterMain",
68
+ "members": [
69
+ {
70
+ "__schema": "VariableLikeSchema",
63
71
  "location": {
64
72
  "filePath": "formatter.main.runtime.ts",
65
73
  "line": 15,
66
74
  "character": 3
67
75
  },
68
- "type": "RuntimeDefinition"
69
- },
70
- "isOptional": true,
71
- "defaultValue": "MainRuntime"
72
- },
73
- {
74
- "__schema": "ConstructorSchema",
75
- "location": {
76
- "filePath": "formatter.main.runtime.ts",
77
- "line": 17,
78
- "character": 3
79
- },
80
- "signature": "constructor FormatterMain(envs: EnvsMain, formatterService: FormatterService): FormatterMain",
81
- "name": "constructor",
82
- "params": [
83
- {
84
- "__schema": "ParameterSchema",
76
+ "signature": "(property) FormatterMain.runtime: RuntimeDefinition",
77
+ "name": "runtime",
78
+ "type": {
79
+ "__schema": "InferenceTypeSchema",
85
80
  "location": {
86
81
  "filePath": "formatter.main.runtime.ts",
87
- "line": 17,
88
- "character": 15
82
+ "line": 15,
83
+ "character": 3
89
84
  },
90
- "name": "envs",
91
- "type": {
92
- "__schema": "TypeRefSchema",
85
+ "type": "RuntimeDefinition"
86
+ },
87
+ "isOptional": true,
88
+ "defaultValue": "MainRuntime"
89
+ },
90
+ {
91
+ "__schema": "ConstructorSchema",
92
+ "location": {
93
+ "filePath": "formatter.main.runtime.ts",
94
+ "line": 17,
95
+ "character": 3
96
+ },
97
+ "signature": "constructor FormatterMain(envs: EnvsMain, formatterService: FormatterService): FormatterMain",
98
+ "name": "constructor",
99
+ "params": [
100
+ {
101
+ "__schema": "ParameterSchema",
93
102
  "location": {
94
103
  "filePath": "formatter.main.runtime.ts",
95
104
  "line": 17,
96
- "character": 29
105
+ "character": 15
97
106
  },
98
- "name": "EnvsMain",
99
- "componentId": {
100
- "scope": "teambit.envs",
101
- "name": "envs"
102
- }
103
- },
104
- "isOptional": false,
105
- "isSpread": false
106
- },
107
- {
108
- "__schema": "ParameterSchema",
109
- "location": {
110
- "filePath": "formatter.main.runtime.ts",
111
- "line": 17,
112
- "character": 39
107
+ "name": "envs",
108
+ "type": {
109
+ "__schema": "TypeRefSchema",
110
+ "location": {
111
+ "filePath": "formatter.main.runtime.ts",
112
+ "line": 17,
113
+ "character": 29
114
+ },
115
+ "name": "EnvsMain",
116
+ "componentId": {
117
+ "scope": "teambit.envs",
118
+ "name": "envs"
119
+ }
120
+ },
121
+ "isOptional": false,
122
+ "isSpread": false
113
123
  },
114
- "name": "formatterService",
115
- "type": {
116
- "__schema": "TypeRefSchema",
124
+ {
125
+ "__schema": "ParameterSchema",
117
126
  "location": {
118
127
  "filePath": "formatter.main.runtime.ts",
119
128
  "line": 17,
120
- "character": 65
129
+ "character": 39
130
+ },
131
+ "name": "formatterService",
132
+ "type": {
133
+ "__schema": "TypeRefSchema",
134
+ "location": {
135
+ "filePath": "formatter.main.runtime.ts",
136
+ "line": 17,
137
+ "character": 65
138
+ },
139
+ "name": "FormatterService",
140
+ "internalFilePath": "formatter.service.ts"
121
141
  },
122
- "name": "FormatterService",
123
- "internalFilePath": "formatter.service.ts"
142
+ "isOptional": false,
143
+ "isSpread": false
144
+ }
145
+ ],
146
+ "returnType": {
147
+ "__schema": "ThisTypeSchema",
148
+ "location": {
149
+ "filePath": "formatter.main.runtime.ts",
150
+ "line": 14,
151
+ "character": 1
124
152
  },
125
- "isOptional": false,
126
- "isSpread": false
127
- }
128
- ],
129
- "returnType": {
130
- "__schema": "ThisTypeSchema",
131
- "location": {
132
- "filePath": "formatter.main.runtime.ts",
133
- "line": 14,
134
- "character": 1
153
+ "name": "FormatterMain"
135
154
  },
136
- "name": "FormatterMain"
137
- },
138
- "modifiers": []
139
- },
140
- {
141
- "__schema": "FunctionLikeSchema",
142
- "location": {
143
- "filePath": "formatter.main.runtime.ts",
144
- "line": 22,
145
- "character": 3
155
+ "modifiers": []
146
156
  },
147
- "doc": {
148
- "__schema": "DocSchema",
157
+ {
158
+ "__schema": "FunctionLikeSchema",
149
159
  "location": {
150
160
  "filePath": "formatter.main.runtime.ts",
151
- "line": 19,
161
+ "line": 22,
152
162
  "character": 3
153
163
  },
154
- "raw": "/**\n * format an array of components.\n */",
155
- "comment": "format an array of components."
156
- },
157
- "signature": "(method) FormatterMain.format(components: Component[], opts: FormatterOptions): Promise<EnvsExecutionResult<FormatResults>>",
158
- "name": "format",
159
- "params": [
160
- {
161
- "__schema": "ParameterSchema",
164
+ "doc": {
165
+ "__schema": "DocSchema",
162
166
  "location": {
163
167
  "filePath": "formatter.main.runtime.ts",
164
- "line": 22,
165
- "character": 16
168
+ "line": 19,
169
+ "character": 3
166
170
  },
167
- "name": "components",
168
- "type": {
169
- "__schema": "TypeArraySchema",
171
+ "raw": "/**\n * format an array of components.\n */",
172
+ "comment": "format an array of components."
173
+ },
174
+ "signature": "(method) FormatterMain.format(components: Component[], opts: FormatterOptions): Promise<EnvsExecutionResult<FormatResults>>",
175
+ "name": "format",
176
+ "params": [
177
+ {
178
+ "__schema": "ParameterSchema",
170
179
  "location": {
171
180
  "filePath": "formatter.main.runtime.ts",
172
181
  "line": 22,
173
- "character": 28
182
+ "character": 16
174
183
  },
184
+ "name": "components",
175
185
  "type": {
176
- "__schema": "TypeRefSchema",
186
+ "__schema": "TypeArraySchema",
177
187
  "location": {
178
188
  "filePath": "formatter.main.runtime.ts",
179
189
  "line": 22,
180
190
  "character": 28
181
191
  },
182
- "name": "Component",
183
- "componentId": {
184
- "scope": "teambit.component",
185
- "name": "component"
192
+ "type": {
193
+ "__schema": "TypeRefSchema",
194
+ "location": {
195
+ "filePath": "formatter.main.runtime.ts",
196
+ "line": 22,
197
+ "character": 28
198
+ },
199
+ "name": "Component",
200
+ "componentId": {
201
+ "scope": "teambit.component",
202
+ "name": "component"
203
+ }
186
204
  }
187
- }
188
- },
189
- "isOptional": false,
190
- "isSpread": false
191
- },
192
- {
193
- "__schema": "ParameterSchema",
194
- "location": {
195
- "filePath": "formatter.main.runtime.ts",
196
- "line": 22,
197
- "character": 41
205
+ },
206
+ "isOptional": false,
207
+ "isSpread": false
198
208
  },
199
- "name": "opts",
200
- "type": {
201
- "__schema": "TypeRefSchema",
209
+ {
210
+ "__schema": "ParameterSchema",
202
211
  "location": {
203
212
  "filePath": "formatter.main.runtime.ts",
204
213
  "line": 22,
205
- "character": 47
214
+ "character": 41
215
+ },
216
+ "name": "opts",
217
+ "type": {
218
+ "__schema": "TypeRefSchema",
219
+ "location": {
220
+ "filePath": "formatter.main.runtime.ts",
221
+ "line": 22,
222
+ "character": 47
223
+ },
224
+ "name": "FormatterOptions"
206
225
  },
207
- "name": "FormatterOptions"
226
+ "isOptional": false,
227
+ "isSpread": false
228
+ }
229
+ ],
230
+ "returnType": {
231
+ "__schema": "InferenceTypeSchema",
232
+ "location": {
233
+ "filePath": "formatter.main.runtime.ts",
234
+ "line": 22,
235
+ "character": 3
208
236
  },
209
- "isOptional": false,
210
- "isSpread": false
211
- }
212
- ],
213
- "returnType": {
214
- "__schema": "InferenceTypeSchema",
215
- "location": {
216
- "filePath": "formatter.main.runtime.ts",
217
- "line": 22,
218
- "character": 3
237
+ "type": "Promise<EnvsExecutionResult<FormatResults>>"
219
238
  },
220
- "type": "Promise<EnvsExecutionResult<FormatResults>>"
221
- },
222
- "modifiers": [
223
- "async"
224
- ]
225
- },
226
- {
227
- "__schema": "FunctionLikeSchema",
228
- "location": {
229
- "filePath": "formatter.main.runtime.ts",
230
- "line": 31,
231
- "character": 3
239
+ "modifiers": [
240
+ "async"
241
+ ]
232
242
  },
233
- "doc": {
234
- "__schema": "DocSchema",
243
+ {
244
+ "__schema": "FunctionLikeSchema",
235
245
  "location": {
236
246
  "filePath": "formatter.main.runtime.ts",
237
- "line": 28,
247
+ "line": 31,
238
248
  "character": 3
239
249
  },
240
- "raw": "/**\n * check format an array of components.\n */",
241
- "comment": "check format an array of components."
242
- },
243
- "signature": "(method) FormatterMain.check(components: Component[], opts: FormatterOptions): Promise<EnvsExecutionResult<FormatResults>>",
244
- "name": "check",
245
- "params": [
246
- {
247
- "__schema": "ParameterSchema",
250
+ "doc": {
251
+ "__schema": "DocSchema",
248
252
  "location": {
249
253
  "filePath": "formatter.main.runtime.ts",
250
- "line": 31,
251
- "character": 15
254
+ "line": 28,
255
+ "character": 3
252
256
  },
253
- "name": "components",
254
- "type": {
255
- "__schema": "TypeArraySchema",
257
+ "raw": "/**\n * check format an array of components.\n */",
258
+ "comment": "check format an array of components."
259
+ },
260
+ "signature": "(method) FormatterMain.check(components: Component[], opts: FormatterOptions): Promise<EnvsExecutionResult<FormatResults>>",
261
+ "name": "check",
262
+ "params": [
263
+ {
264
+ "__schema": "ParameterSchema",
256
265
  "location": {
257
266
  "filePath": "formatter.main.runtime.ts",
258
267
  "line": 31,
259
- "character": 27
268
+ "character": 15
260
269
  },
270
+ "name": "components",
261
271
  "type": {
262
- "__schema": "TypeRefSchema",
272
+ "__schema": "TypeArraySchema",
263
273
  "location": {
264
274
  "filePath": "formatter.main.runtime.ts",
265
275
  "line": 31,
266
276
  "character": 27
267
277
  },
268
- "name": "Component",
269
- "componentId": {
270
- "scope": "teambit.component",
271
- "name": "component"
278
+ "type": {
279
+ "__schema": "TypeRefSchema",
280
+ "location": {
281
+ "filePath": "formatter.main.runtime.ts",
282
+ "line": 31,
283
+ "character": 27
284
+ },
285
+ "name": "Component",
286
+ "componentId": {
287
+ "scope": "teambit.component",
288
+ "name": "component"
289
+ }
272
290
  }
273
- }
274
- },
275
- "isOptional": false,
276
- "isSpread": false
277
- },
278
- {
279
- "__schema": "ParameterSchema",
280
- "location": {
281
- "filePath": "formatter.main.runtime.ts",
282
- "line": 31,
283
- "character": 40
291
+ },
292
+ "isOptional": false,
293
+ "isSpread": false
284
294
  },
285
- "name": "opts",
286
- "type": {
287
- "__schema": "TypeRefSchema",
295
+ {
296
+ "__schema": "ParameterSchema",
288
297
  "location": {
289
298
  "filePath": "formatter.main.runtime.ts",
290
299
  "line": 31,
291
- "character": 46
300
+ "character": 40
301
+ },
302
+ "name": "opts",
303
+ "type": {
304
+ "__schema": "TypeRefSchema",
305
+ "location": {
306
+ "filePath": "formatter.main.runtime.ts",
307
+ "line": 31,
308
+ "character": 46
309
+ },
310
+ "name": "FormatterOptions"
292
311
  },
293
- "name": "FormatterOptions"
312
+ "isOptional": false,
313
+ "isSpread": false
314
+ }
315
+ ],
316
+ "returnType": {
317
+ "__schema": "InferenceTypeSchema",
318
+ "location": {
319
+ "filePath": "formatter.main.runtime.ts",
320
+ "line": 31,
321
+ "character": 3
294
322
  },
295
- "isOptional": false,
296
- "isSpread": false
297
- }
298
- ],
299
- "returnType": {
300
- "__schema": "InferenceTypeSchema",
323
+ "type": "Promise<EnvsExecutionResult<FormatResults>>"
324
+ },
325
+ "modifiers": [
326
+ "async"
327
+ ]
328
+ },
329
+ {
330
+ "__schema": "FunctionLikeSchema",
301
331
  "location": {
302
332
  "filePath": "formatter.main.runtime.ts",
303
- "line": 31,
333
+ "line": 37,
304
334
  "character": 3
305
335
  },
306
- "type": "Promise<EnvsExecutionResult<FormatResults>>"
307
- },
308
- "modifiers": [
309
- "async"
310
- ]
311
- },
312
- {
313
- "__schema": "FunctionLikeSchema",
314
- "location": {
315
- "filePath": "formatter.main.runtime.ts",
316
- "line": 37,
317
- "character": 3
318
- },
319
- "signature": "(method) FormatterMain.getFormatter(context: ExecutionContext, options: FormatterOptions): Formatter",
320
- "name": "getFormatter",
321
- "params": [
322
- {
323
- "__schema": "ParameterSchema",
324
- "location": {
325
- "filePath": "formatter.main.runtime.ts",
326
- "line": 37,
327
- "character": 16
328
- },
329
- "name": "context",
330
- "type": {
331
- "__schema": "TypeRefSchema",
336
+ "signature": "(method) FormatterMain.getFormatter(context: ExecutionContext, options: FormatterOptions): Formatter",
337
+ "name": "getFormatter",
338
+ "params": [
339
+ {
340
+ "__schema": "ParameterSchema",
332
341
  "location": {
333
342
  "filePath": "formatter.main.runtime.ts",
334
343
  "line": 37,
335
- "character": 25
344
+ "character": 16
336
345
  },
337
- "name": "ExecutionContext",
338
- "componentId": {
339
- "scope": "teambit.envs",
340
- "name": "envs"
341
- }
342
- },
343
- "isOptional": false,
344
- "isSpread": false
345
- },
346
- {
347
- "__schema": "ParameterSchema",
348
- "location": {
349
- "filePath": "formatter.main.runtime.ts",
350
- "line": 37,
351
- "character": 43
346
+ "name": "context",
347
+ "type": {
348
+ "__schema": "TypeRefSchema",
349
+ "location": {
350
+ "filePath": "formatter.main.runtime.ts",
351
+ "line": 37,
352
+ "character": 25
353
+ },
354
+ "name": "ExecutionContext",
355
+ "componentId": {
356
+ "scope": "teambit.envs",
357
+ "name": "envs"
358
+ }
359
+ },
360
+ "isOptional": false,
361
+ "isSpread": false
352
362
  },
353
- "name": "options",
354
- "type": {
355
- "__schema": "TypeRefSchema",
363
+ {
364
+ "__schema": "ParameterSchema",
356
365
  "location": {
357
366
  "filePath": "formatter.main.runtime.ts",
358
367
  "line": 37,
359
- "character": 52
368
+ "character": 43
369
+ },
370
+ "name": "options",
371
+ "type": {
372
+ "__schema": "TypeRefSchema",
373
+ "location": {
374
+ "filePath": "formatter.main.runtime.ts",
375
+ "line": 37,
376
+ "character": 52
377
+ },
378
+ "name": "FormatterOptions"
360
379
  },
361
- "name": "FormatterOptions"
380
+ "isOptional": false,
381
+ "isSpread": false
382
+ }
383
+ ],
384
+ "returnType": {
385
+ "__schema": "TypeRefSchema",
386
+ "location": {
387
+ "filePath": "formatter.main.runtime.ts",
388
+ "line": 37,
389
+ "character": 3
362
390
  },
363
- "isOptional": false,
364
- "isSpread": false
365
- }
366
- ],
367
- "returnType": {
368
- "__schema": "TypeRefSchema",
369
- "location": {
370
- "filePath": "formatter.main.runtime.ts",
371
- "line": 37,
372
- "character": 3
391
+ "name": "Formatter"
373
392
  },
374
- "name": "Formatter"
375
- },
376
- "modifiers": []
377
- },
378
- {
379
- "__schema": "FunctionLikeSchema",
380
- "location": {
381
- "filePath": "formatter.main.runtime.ts",
382
- "line": 52,
383
- "character": 3
393
+ "modifiers": []
384
394
  },
385
- "doc": {
386
- "__schema": "DocSchema",
395
+ {
396
+ "__schema": "FunctionLikeSchema",
387
397
  "location": {
388
398
  "filePath": "formatter.main.runtime.ts",
389
- "line": 48,
399
+ "line": 52,
390
400
  "character": 3
391
401
  },
392
- "raw": "/**\n * create a format task for build pipelines.\n * @param name name of the task.\n */",
393
- "comment": "create a format task for build pipelines.",
394
- "tags": [
402
+ "doc": {
403
+ "__schema": "DocSchema",
404
+ "location": {
405
+ "filePath": "formatter.main.runtime.ts",
406
+ "line": 48,
407
+ "character": 3
408
+ },
409
+ "raw": "/**\n * create a format task for build pipelines.\n * @param name name of the task.\n */",
410
+ "comment": "create a format task for build pipelines.",
411
+ "tags": [
412
+ {
413
+ "__schema": "PropertyLikeTagSchema",
414
+ "location": {
415
+ "filePath": "formatter.main.runtime.ts",
416
+ "line": 50,
417
+ "character": 6
418
+ },
419
+ "name": "name",
420
+ "tagName": "parameter",
421
+ "comment": "name of the task."
422
+ }
423
+ ]
424
+ },
425
+ "signature": "(method) FormatterMain.createTask(name?: string): FormatTask",
426
+ "name": "createTask",
427
+ "params": [
395
428
  {
396
- "__schema": "PropertyLikeTagSchema",
429
+ "__schema": "ParameterSchema",
397
430
  "location": {
398
431
  "filePath": "formatter.main.runtime.ts",
399
- "line": 50,
400
- "character": 6
432
+ "line": 52,
433
+ "character": 14
401
434
  },
402
435
  "name": "name",
403
- "tagName": "parameter",
404
- "comment": "name of the task."
436
+ "type": {
437
+ "__schema": "KeywordTypeSchema",
438
+ "location": {
439
+ "filePath": "formatter.main.runtime.ts",
440
+ "line": 52,
441
+ "character": 21
442
+ },
443
+ "name": "string"
444
+ },
445
+ "isOptional": true,
446
+ "isSpread": false
405
447
  }
406
- ]
407
- },
408
- "signature": "(method) FormatterMain.createTask(name?: string): FormatTask",
409
- "name": "createTask",
410
- "params": [
411
- {
412
- "__schema": "ParameterSchema",
448
+ ],
449
+ "returnType": {
450
+ "__schema": "TypeRefSchema",
413
451
  "location": {
414
452
  "filePath": "formatter.main.runtime.ts",
415
453
  "line": 52,
416
- "character": 14
417
- },
418
- "name": "name",
419
- "type": {
420
- "__schema": "KeywordTypeSchema",
421
- "location": {
422
- "filePath": "formatter.main.runtime.ts",
423
- "line": 52,
424
- "character": 21
425
- },
426
- "name": "string"
454
+ "character": 3
427
455
  },
428
- "isOptional": true,
429
- "isSpread": false
430
- }
431
- ],
432
- "returnType": {
433
- "__schema": "TypeRefSchema",
434
- "location": {
435
- "filePath": "formatter.main.runtime.ts",
436
- "line": 52,
437
- "character": 3
456
+ "name": "FormatTask"
438
457
  },
439
- "name": "FormatTask"
440
- },
441
- "modifiers": []
442
- },
443
- {
444
- "__schema": "VariableLikeSchema",
445
- "location": {
446
- "filePath": "formatter.main.runtime.ts",
447
- "line": 56,
448
- "character": 3
458
+ "modifiers": []
449
459
  },
450
- "signature": "(property) FormatterMain.dependencies: Aspect[]",
451
- "name": "dependencies",
452
- "type": {
453
- "__schema": "InferenceTypeSchema",
460
+ {
461
+ "__schema": "VariableLikeSchema",
454
462
  "location": {
455
463
  "filePath": "formatter.main.runtime.ts",
456
464
  "line": 56,
457
465
  "character": 3
458
466
  },
459
- "type": "Aspect[]"
460
- },
461
- "isOptional": true,
462
- "defaultValue": "[EnvsAspect, CLIAspect, ComponentAspect, LoggerAspect, WorkspaceAspect]"
463
- },
464
- {
465
- "__schema": "VariableLikeSchema",
466
- "location": {
467
- "filePath": "formatter.main.runtime.ts",
468
- "line": 58,
469
- "character": 3
467
+ "signature": "(property) FormatterMain.dependencies: Aspect[]",
468
+ "name": "dependencies",
469
+ "type": {
470
+ "__schema": "InferenceTypeSchema",
471
+ "location": {
472
+ "filePath": "formatter.main.runtime.ts",
473
+ "line": 56,
474
+ "character": 3
475
+ },
476
+ "type": "Aspect[]"
477
+ },
478
+ "isOptional": true,
479
+ "defaultValue": "[EnvsAspect, CLIAspect, ComponentAspect, LoggerAspect, WorkspaceAspect]"
470
480
  },
471
- "signature": "(property) FormatterMain.defaultConfig: FormatterConfig",
472
- "name": "defaultConfig",
473
- "type": {
474
- "__schema": "TypeRefSchema",
481
+ {
482
+ "__schema": "VariableLikeSchema",
475
483
  "location": {
476
484
  "filePath": "formatter.main.runtime.ts",
477
485
  "line": 58,
478
486
  "character": 3
479
487
  },
480
- "name": "FormatterConfig"
481
- },
482
- "isOptional": true,
483
- "defaultValue": "{}"
484
- },
485
- {
486
- "__schema": "FunctionLikeSchema",
487
- "location": {
488
- "filePath": "formatter.main.runtime.ts",
489
- "line": 60,
490
- "character": 3
491
- },
492
- "signature": "(method) FormatterMain.provider([envs, cli, component, loggerAspect, workspace]: [EnvsMain, CLIMain, ComponentMain, LoggerMain, Workspace], config: FormatterConfig): Promise<FormatterMain>",
493
- "name": "provider",
494
- "params": [
495
- {
496
- "__schema": "ParameterSchema",
488
+ "signature": "(property) FormatterMain.defaultConfig: FormatterConfig",
489
+ "name": "defaultConfig",
490
+ "type": {
491
+ "__schema": "TypeRefSchema",
497
492
  "location": {
498
493
  "filePath": "formatter.main.runtime.ts",
499
- "line": 61,
500
- "character": 5
494
+ "line": 58,
495
+ "character": 3
501
496
  },
502
- "name": "[ envs, cli, component, loggerAspect, workspace ]",
503
- "type": {
504
- "__schema": "TupleTypeSchema",
497
+ "name": "FormatterConfig"
498
+ },
499
+ "isOptional": true,
500
+ "defaultValue": "{}"
501
+ },
502
+ {
503
+ "__schema": "FunctionLikeSchema",
504
+ "location": {
505
+ "filePath": "formatter.main.runtime.ts",
506
+ "line": 60,
507
+ "character": 3
508
+ },
509
+ "signature": "(method) FormatterMain.provider([envs, cli, component, loggerAspect, workspace]: [EnvsMain, CLIMain, ComponentMain, LoggerMain, Workspace], config: FormatterConfig): Promise<FormatterMain>",
510
+ "name": "provider",
511
+ "params": [
512
+ {
513
+ "__schema": "ParameterSchema",
505
514
  "location": {
506
515
  "filePath": "formatter.main.runtime.ts",
507
516
  "line": 61,
508
- "character": 54
517
+ "character": 5
509
518
  },
510
- "elements": [
511
- {
512
- "__schema": "TypeRefSchema",
513
- "location": {
514
- "filePath": "formatter.main.runtime.ts",
515
- "line": 61,
516
- "character": 55
517
- },
518
- "name": "EnvsMain",
519
- "componentId": {
520
- "scope": "teambit.envs",
521
- "name": "envs"
522
- }
523
- },
524
- {
525
- "__schema": "TypeRefSchema",
526
- "location": {
527
- "filePath": "formatter.main.runtime.ts",
528
- "line": 61,
529
- "character": 65
530
- },
531
- "name": "CLIMain",
532
- "componentId": {
533
- "scope": "teambit.harmony",
534
- "name": "cli"
535
- }
519
+ "name": "[ envs, cli, component, loggerAspect, workspace ]",
520
+ "type": {
521
+ "__schema": "TupleTypeSchema",
522
+ "location": {
523
+ "filePath": "formatter.main.runtime.ts",
524
+ "line": 61,
525
+ "character": 54
536
526
  },
537
- {
538
- "__schema": "TypeRefSchema",
539
- "location": {
540
- "filePath": "formatter.main.runtime.ts",
541
- "line": 61,
542
- "character": 74
527
+ "elements": [
528
+ {
529
+ "__schema": "TypeRefSchema",
530
+ "location": {
531
+ "filePath": "formatter.main.runtime.ts",
532
+ "line": 61,
533
+ "character": 55
534
+ },
535
+ "name": "EnvsMain",
536
+ "componentId": {
537
+ "scope": "teambit.envs",
538
+ "name": "envs"
539
+ }
543
540
  },
544
- "name": "ComponentMain",
545
- "componentId": {
546
- "scope": "teambit.component",
547
- "name": "component"
548
- }
549
- },
550
- {
551
- "__schema": "TypeRefSchema",
552
- "location": {
553
- "filePath": "formatter.main.runtime.ts",
554
- "line": 61,
555
- "character": 89
541
+ {
542
+ "__schema": "TypeRefSchema",
543
+ "location": {
544
+ "filePath": "formatter.main.runtime.ts",
545
+ "line": 61,
546
+ "character": 65
547
+ },
548
+ "name": "CLIMain",
549
+ "componentId": {
550
+ "scope": "teambit.harmony",
551
+ "name": "cli"
552
+ }
556
553
  },
557
- "name": "LoggerMain",
558
- "componentId": {
559
- "scope": "teambit.harmony",
560
- "name": "logger"
561
- }
562
- },
563
- {
564
- "__schema": "TypeRefSchema",
565
- "location": {
566
- "filePath": "formatter.main.runtime.ts",
567
- "line": 61,
568
- "character": 101
554
+ {
555
+ "__schema": "TypeRefSchema",
556
+ "location": {
557
+ "filePath": "formatter.main.runtime.ts",
558
+ "line": 61,
559
+ "character": 74
560
+ },
561
+ "name": "ComponentMain",
562
+ "componentId": {
563
+ "scope": "teambit.component",
564
+ "name": "component"
565
+ }
569
566
  },
570
- "name": "Workspace",
571
- "componentId": {
572
- "scope": "teambit.workspace",
573
- "name": "workspace"
567
+ {
568
+ "__schema": "TypeRefSchema",
569
+ "location": {
570
+ "filePath": "formatter.main.runtime.ts",
571
+ "line": 61,
572
+ "character": 89
573
+ },
574
+ "name": "LoggerMain",
575
+ "componentId": {
576
+ "scope": "teambit.harmony",
577
+ "name": "logger"
578
+ }
579
+ },
580
+ {
581
+ "__schema": "TypeRefSchema",
582
+ "location": {
583
+ "filePath": "formatter.main.runtime.ts",
584
+ "line": 61,
585
+ "character": 101
586
+ },
587
+ "name": "Workspace",
588
+ "componentId": {
589
+ "scope": "teambit.workspace",
590
+ "name": "workspace"
591
+ }
574
592
  }
575
- }
576
- ]
577
- },
578
- "isOptional": false,
579
- "isSpread": false
580
- },
581
- {
582
- "__schema": "ParameterSchema",
583
- "location": {
584
- "filePath": "formatter.main.runtime.ts",
585
- "line": 62,
586
- "character": 5
593
+ ]
594
+ },
595
+ "isOptional": false,
596
+ "isSpread": false
587
597
  },
588
- "name": "config",
589
- "type": {
590
- "__schema": "TypeRefSchema",
598
+ {
599
+ "__schema": "ParameterSchema",
591
600
  "location": {
592
601
  "filePath": "formatter.main.runtime.ts",
593
602
  "line": 62,
594
- "character": 13
603
+ "character": 5
595
604
  },
596
- "name": "FormatterConfig"
605
+ "name": "config",
606
+ "type": {
607
+ "__schema": "TypeRefSchema",
608
+ "location": {
609
+ "filePath": "formatter.main.runtime.ts",
610
+ "line": 62,
611
+ "character": 13
612
+ },
613
+ "name": "FormatterConfig"
614
+ },
615
+ "isOptional": false,
616
+ "isSpread": false
617
+ }
618
+ ],
619
+ "returnType": {
620
+ "__schema": "InferenceTypeSchema",
621
+ "location": {
622
+ "filePath": "formatter.main.runtime.ts",
623
+ "line": 60,
624
+ "character": 3
597
625
  },
598
- "isOptional": false,
599
- "isSpread": false
600
- }
601
- ],
602
- "returnType": {
603
- "__schema": "InferenceTypeSchema",
604
- "location": {
605
- "filePath": "formatter.main.runtime.ts",
606
- "line": 60,
607
- "character": 3
626
+ "type": "Promise<FormatterMain>"
608
627
  },
609
- "type": "Promise<FormatterMain>"
610
- },
611
- "modifiers": [
612
- "static",
613
- "async"
614
- ]
615
- }
616
- ],
617
- "extendsNodes": [],
618
- "implementNodes": []
628
+ "modifiers": [
629
+ "static",
630
+ "async"
631
+ ]
632
+ }
633
+ ],
634
+ "extendsNodes": [],
635
+ "implementNodes": []
636
+ }
619
637
  },
620
638
  {
621
- "__schema": "TypeSchema",
639
+ "__schema": "ExportSchema",
622
640
  "location": {
623
- "filePath": "formatter.main.runtime.ts",
624
- "line": 13,
625
- "character": 1
641
+ "filePath": "index.ts",
642
+ "line": 4,
643
+ "character": 30
626
644
  },
627
- "signature": "type FormatterConfig = {}",
628
645
  "name": "FormatterConfig",
629
- "type": {
630
- "__schema": "TypeLiteralSchema",
646
+ "exportNode": {
647
+ "__schema": "TypeSchema",
631
648
  "location": {
632
649
  "filePath": "formatter.main.runtime.ts",
633
650
  "line": 13,
634
- "character": 31
651
+ "character": 1
635
652
  },
636
- "members": []
653
+ "signature": "type FormatterConfig = {}",
654
+ "name": "FormatterConfig",
655
+ "type": {
656
+ "__schema": "TypeLiteralSchema",
657
+ "location": {
658
+ "filePath": "formatter.main.runtime.ts",
659
+ "line": 13,
660
+ "character": 31
661
+ },
662
+ "members": []
663
+ }
637
664
  }
638
665
  },
639
666
  {
640
- "__schema": "TypeSchema",
667
+ "__schema": "ExportSchema",
641
668
  "location": {
642
- "filePath": "formatter.ts",
643
- "line": 33,
644
- "character": 1
669
+ "filePath": "index.ts",
670
+ "line": 5,
671
+ "character": 15
645
672
  },
646
- "signature": "type FormatResults = {\n results: ComponentFormatResult[];\n errors: Error[];\n}",
647
673
  "name": "FormatResults",
648
- "type": {
649
- "__schema": "TypeLiteralSchema",
674
+ "exportNode": {
675
+ "__schema": "TypeSchema",
650
676
  "location": {
651
677
  "filePath": "formatter.ts",
652
678
  "line": 33,
653
- "character": 29
679
+ "character": 1
654
680
  },
655
- "members": [
656
- {
657
- "__schema": "VariableLikeSchema",
658
- "location": {
659
- "filePath": "formatter.ts",
660
- "line": 34,
661
- "character": 3
662
- },
663
- "signature": "(property) results: ComponentFormatResult[]",
664
- "name": "results",
665
- "type": {
666
- "__schema": "TypeArraySchema",
681
+ "signature": "type FormatResults = {\n results: ComponentFormatResult[];\n errors: Error[];\n}",
682
+ "name": "FormatResults",
683
+ "type": {
684
+ "__schema": "TypeLiteralSchema",
685
+ "location": {
686
+ "filePath": "formatter.ts",
687
+ "line": 33,
688
+ "character": 29
689
+ },
690
+ "members": [
691
+ {
692
+ "__schema": "VariableLikeSchema",
667
693
  "location": {
668
694
  "filePath": "formatter.ts",
669
695
  "line": 34,
670
- "character": 12
696
+ "character": 3
671
697
  },
698
+ "signature": "(property) results: ComponentFormatResult[]",
699
+ "name": "results",
672
700
  "type": {
673
- "__schema": "TypeRefSchema",
701
+ "__schema": "TypeArraySchema",
674
702
  "location": {
675
703
  "filePath": "formatter.ts",
676
704
  "line": 34,
677
705
  "character": 12
678
706
  },
679
- "name": "ComponentFormatResult"
680
- }
681
- },
682
- "isOptional": false
683
- },
684
- {
685
- "__schema": "VariableLikeSchema",
686
- "location": {
687
- "filePath": "formatter.ts",
688
- "line": 35,
689
- "character": 3
707
+ "type": {
708
+ "__schema": "TypeRefSchema",
709
+ "location": {
710
+ "filePath": "formatter.ts",
711
+ "line": 34,
712
+ "character": 12
713
+ },
714
+ "name": "ComponentFormatResult"
715
+ }
716
+ },
717
+ "isOptional": false
690
718
  },
691
- "signature": "(property) errors: Error[]",
692
- "name": "errors",
693
- "type": {
694
- "__schema": "TypeArraySchema",
719
+ {
720
+ "__schema": "VariableLikeSchema",
695
721
  "location": {
696
722
  "filePath": "formatter.ts",
697
723
  "line": 35,
698
- "character": 11
724
+ "character": 3
699
725
  },
726
+ "signature": "(property) errors: Error[]",
727
+ "name": "errors",
700
728
  "type": {
701
- "__schema": "TypeRefSchema",
729
+ "__schema": "TypeArraySchema",
702
730
  "location": {
703
731
  "filePath": "formatter.ts",
704
732
  "line": 35,
705
733
  "character": 11
706
734
  },
707
- "name": "Error"
708
- }
709
- },
710
- "isOptional": false
711
- }
712
- ]
735
+ "type": {
736
+ "__schema": "TypeRefSchema",
737
+ "location": {
738
+ "filePath": "formatter.ts",
739
+ "line": 35,
740
+ "character": 11
741
+ },
742
+ "name": "Error"
743
+ }
744
+ },
745
+ "isOptional": false
746
+ }
747
+ ]
748
+ }
713
749
  }
714
750
  },
715
751
  {
716
- "__schema": "InterfaceSchema",
752
+ "__schema": "ExportSchema",
717
753
  "location": {
718
- "filePath": "formatter.ts",
719
- "line": 38,
720
- "character": 1
754
+ "filePath": "index.ts",
755
+ "line": 5,
756
+ "character": 30
721
757
  },
722
- "signature": "interface Formatter",
723
758
  "name": "Formatter",
724
- "members": [
725
- {
726
- "__schema": "VariableLikeSchema",
727
- "location": {
728
- "filePath": "formatter.ts",
729
- "line": 39,
730
- "character": 3
731
- },
732
- "signature": "(property) Formatter.id: string",
733
- "name": "id",
734
- "type": {
735
- "__schema": "KeywordTypeSchema",
759
+ "exportNode": {
760
+ "__schema": "InterfaceSchema",
761
+ "location": {
762
+ "filePath": "formatter.ts",
763
+ "line": 38,
764
+ "character": 1
765
+ },
766
+ "signature": "interface Formatter",
767
+ "name": "Formatter",
768
+ "members": [
769
+ {
770
+ "__schema": "VariableLikeSchema",
736
771
  "location": {
737
772
  "filePath": "formatter.ts",
738
773
  "line": 39,
739
- "character": 7
774
+ "character": 3
740
775
  },
741
- "name": "string"
742
- },
743
- "isOptional": false
744
- },
745
- {
746
- "__schema": "FunctionLikeSchema",
747
- "location": {
748
- "filePath": "formatter.ts",
749
- "line": 40,
750
- "character": 3
751
- },
752
- "signature": "(method) Formatter.format(context: FormatterContext): Promise<FormatResults>",
753
- "name": "format",
754
- "params": [
755
- {
756
- "__schema": "ParameterSchema",
776
+ "signature": "(property) Formatter.id: string",
777
+ "name": "id",
778
+ "type": {
779
+ "__schema": "KeywordTypeSchema",
757
780
  "location": {
758
781
  "filePath": "formatter.ts",
759
- "line": 40,
760
- "character": 10
761
- },
762
- "name": "context",
763
- "type": {
764
- "__schema": "TypeRefSchema",
765
- "location": {
766
- "filePath": "formatter.ts",
767
- "line": 40,
768
- "character": 19
769
- },
770
- "name": "FormatterContext"
782
+ "line": 39,
783
+ "character": 7
771
784
  },
772
- "isOptional": false,
773
- "isSpread": false
774
- }
775
- ],
776
- "returnType": {
777
- "__schema": "TypeRefSchema",
785
+ "name": "string"
786
+ },
787
+ "isOptional": false
788
+ },
789
+ {
790
+ "__schema": "FunctionLikeSchema",
778
791
  "location": {
779
792
  "filePath": "formatter.ts",
780
793
  "line": 40,
781
- "character": 38
794
+ "character": 3
782
795
  },
783
- "name": "Promise",
784
- "typeArgs": [
796
+ "signature": "(method) Formatter.format(context: FormatterContext): Promise<FormatResults>",
797
+ "name": "format",
798
+ "params": [
785
799
  {
786
- "__schema": "TypeRefSchema",
800
+ "__schema": "ParameterSchema",
787
801
  "location": {
788
802
  "filePath": "formatter.ts",
789
803
  "line": 40,
790
- "character": 46
804
+ "character": 10
805
+ },
806
+ "name": "context",
807
+ "type": {
808
+ "__schema": "TypeRefSchema",
809
+ "location": {
810
+ "filePath": "formatter.ts",
811
+ "line": 40,
812
+ "character": 19
813
+ },
814
+ "name": "FormatterContext"
791
815
  },
792
- "name": "FormatResults"
816
+ "isOptional": false,
817
+ "isSpread": false
793
818
  }
794
- ]
795
- },
796
- "modifiers": []
797
- },
798
- {
799
- "__schema": "FunctionLikeSchema",
800
- "location": {
801
- "filePath": "formatter.ts",
802
- "line": 41,
803
- "character": 3
804
- },
805
- "signature": "(method) Formatter.formatSnippet(snippet: string, filepath?: string): Promise<string>",
806
- "name": "formatSnippet",
807
- "params": [
808
- {
809
- "__schema": "ParameterSchema",
819
+ ],
820
+ "returnType": {
821
+ "__schema": "TypeRefSchema",
810
822
  "location": {
811
823
  "filePath": "formatter.ts",
812
- "line": 41,
813
- "character": 17
814
- },
815
- "name": "snippet",
816
- "type": {
817
- "__schema": "KeywordTypeSchema",
818
- "location": {
819
- "filePath": "formatter.ts",
820
- "line": 41,
821
- "character": 26
822
- },
823
- "name": "string"
824
+ "line": 40,
825
+ "character": 38
824
826
  },
825
- "isOptional": false,
826
- "isSpread": false
827
+ "name": "Promise",
828
+ "typeArgs": [
829
+ {
830
+ "__schema": "TypeRefSchema",
831
+ "location": {
832
+ "filePath": "formatter.ts",
833
+ "line": 40,
834
+ "character": 46
835
+ },
836
+ "name": "FormatResults"
837
+ }
838
+ ]
827
839
  },
828
- {
829
- "__schema": "ParameterSchema",
830
- "location": {
831
- "filePath": "formatter.ts",
832
- "line": 41,
833
- "character": 34
834
- },
835
- "name": "filepath",
836
- "type": {
837
- "__schema": "KeywordTypeSchema",
838
- "location": {
839
- "filePath": "formatter.ts",
840
- "line": 41,
841
- "character": 45
842
- },
843
- "name": "string"
844
- },
845
- "isOptional": true,
846
- "isSpread": false
847
- }
848
- ],
849
- "returnType": {
850
- "__schema": "TypeRefSchema",
840
+ "modifiers": []
841
+ },
842
+ {
843
+ "__schema": "FunctionLikeSchema",
851
844
  "location": {
852
845
  "filePath": "formatter.ts",
853
846
  "line": 41,
854
- "character": 54
847
+ "character": 3
855
848
  },
856
- "name": "Promise",
857
- "typeArgs": [
849
+ "signature": "(method) Formatter.formatSnippet(snippet: string, filepath?: string): Promise<string>",
850
+ "name": "formatSnippet",
851
+ "params": [
858
852
  {
859
- "__schema": "KeywordTypeSchema",
853
+ "__schema": "ParameterSchema",
860
854
  "location": {
861
855
  "filePath": "formatter.ts",
862
856
  "line": 41,
863
- "character": 62
857
+ "character": 17
864
858
  },
865
- "name": "string"
866
- }
867
- ]
868
- },
869
- "modifiers": []
870
- },
871
- {
872
- "__schema": "FunctionLikeSchema",
873
- "location": {
874
- "filePath": "formatter.ts",
875
- "line": 42,
876
- "character": 3
877
- },
878
- "signature": "(method) Formatter.check(context: FormatterContext): Promise<FormatResults>",
879
- "name": "check",
880
- "params": [
881
- {
882
- "__schema": "ParameterSchema",
883
- "location": {
884
- "filePath": "formatter.ts",
885
- "line": 42,
886
- "character": 9
859
+ "name": "snippet",
860
+ "type": {
861
+ "__schema": "KeywordTypeSchema",
862
+ "location": {
863
+ "filePath": "formatter.ts",
864
+ "line": 41,
865
+ "character": 26
866
+ },
867
+ "name": "string"
868
+ },
869
+ "isOptional": false,
870
+ "isSpread": false
887
871
  },
888
- "name": "context",
889
- "type": {
890
- "__schema": "TypeRefSchema",
872
+ {
873
+ "__schema": "ParameterSchema",
891
874
  "location": {
892
875
  "filePath": "formatter.ts",
893
- "line": 42,
894
- "character": 18
876
+ "line": 41,
877
+ "character": 34
878
+ },
879
+ "name": "filepath",
880
+ "type": {
881
+ "__schema": "KeywordTypeSchema",
882
+ "location": {
883
+ "filePath": "formatter.ts",
884
+ "line": 41,
885
+ "character": 45
886
+ },
887
+ "name": "string"
895
888
  },
896
- "name": "FormatterContext"
889
+ "isOptional": true,
890
+ "isSpread": false
891
+ }
892
+ ],
893
+ "returnType": {
894
+ "__schema": "TypeRefSchema",
895
+ "location": {
896
+ "filePath": "formatter.ts",
897
+ "line": 41,
898
+ "character": 54
897
899
  },
898
- "isOptional": false,
899
- "isSpread": false
900
- }
901
- ],
902
- "returnType": {
903
- "__schema": "TypeRefSchema",
900
+ "name": "Promise",
901
+ "typeArgs": [
902
+ {
903
+ "__schema": "KeywordTypeSchema",
904
+ "location": {
905
+ "filePath": "formatter.ts",
906
+ "line": 41,
907
+ "character": 62
908
+ },
909
+ "name": "string"
910
+ }
911
+ ]
912
+ },
913
+ "modifiers": []
914
+ },
915
+ {
916
+ "__schema": "FunctionLikeSchema",
904
917
  "location": {
905
918
  "filePath": "formatter.ts",
906
919
  "line": 42,
907
- "character": 37
920
+ "character": 3
908
921
  },
909
- "name": "Promise",
910
- "typeArgs": [
922
+ "signature": "(method) Formatter.check(context: FormatterContext): Promise<FormatResults>",
923
+ "name": "check",
924
+ "params": [
911
925
  {
912
- "__schema": "TypeRefSchema",
926
+ "__schema": "ParameterSchema",
913
927
  "location": {
914
928
  "filePath": "formatter.ts",
915
929
  "line": 42,
916
- "character": 45
930
+ "character": 9
931
+ },
932
+ "name": "context",
933
+ "type": {
934
+ "__schema": "TypeRefSchema",
935
+ "location": {
936
+ "filePath": "formatter.ts",
937
+ "line": 42,
938
+ "character": 18
939
+ },
940
+ "name": "FormatterContext"
917
941
  },
918
- "name": "FormatResults"
942
+ "isOptional": false,
943
+ "isSpread": false
919
944
  }
920
- ]
921
- },
922
- "modifiers": []
923
- }
924
- ],
925
- "extendsNodes": []
945
+ ],
946
+ "returnType": {
947
+ "__schema": "TypeRefSchema",
948
+ "location": {
949
+ "filePath": "formatter.ts",
950
+ "line": 42,
951
+ "character": 37
952
+ },
953
+ "name": "Promise",
954
+ "typeArgs": [
955
+ {
956
+ "__schema": "TypeRefSchema",
957
+ "location": {
958
+ "filePath": "formatter.ts",
959
+ "line": 42,
960
+ "character": 45
961
+ },
962
+ "name": "FormatResults"
963
+ }
964
+ ]
965
+ },
966
+ "modifiers": []
967
+ }
968
+ ],
969
+ "extendsNodes": []
970
+ }
926
971
  },
927
972
  {
928
- "__schema": "TypeSchema",
973
+ "__schema": "ExportSchema",
929
974
  "location": {
930
- "filePath": "formatter.ts",
931
- "line": 16,
932
- "character": 1
975
+ "filePath": "index.ts",
976
+ "line": 5,
977
+ "character": 41
933
978
  },
934
- "signature": "type FileFormatResult = {\n filePath: string;\n hasIssues: boolean;\n newContent?: string | undefined;\n}",
935
979
  "name": "FileFormatResult",
936
- "type": {
937
- "__schema": "TypeLiteralSchema",
980
+ "exportNode": {
981
+ "__schema": "TypeSchema",
938
982
  "location": {
939
983
  "filePath": "formatter.ts",
940
984
  "line": 16,
941
- "character": 32
985
+ "character": 1
942
986
  },
943
- "members": [
944
- {
945
- "__schema": "VariableLikeSchema",
946
- "location": {
947
- "filePath": "formatter.ts",
948
- "line": 20,
949
- "character": 3
950
- },
951
- "doc": {
952
- "__schema": "DocSchema",
953
- "location": {
954
- "filePath": "formatter.ts",
955
- "line": 17,
956
- "character": 3
957
- },
958
- "raw": "/**\n * path of the formatted file.\n */",
959
- "comment": "path of the formatted file."
960
- },
961
- "signature": "(property) filePath: string",
962
- "name": "filePath",
963
- "type": {
964
- "__schema": "KeywordTypeSchema",
987
+ "signature": "type FileFormatResult = {\n filePath: string;\n hasIssues: boolean;\n newContent?: string | undefined;\n}",
988
+ "name": "FileFormatResult",
989
+ "type": {
990
+ "__schema": "TypeLiteralSchema",
991
+ "location": {
992
+ "filePath": "formatter.ts",
993
+ "line": 16,
994
+ "character": 32
995
+ },
996
+ "members": [
997
+ {
998
+ "__schema": "VariableLikeSchema",
965
999
  "location": {
966
1000
  "filePath": "formatter.ts",
967
1001
  "line": 20,
968
- "character": 13
1002
+ "character": 3
969
1003
  },
970
- "name": "string"
971
- },
972
- "isOptional": false
973
- },
974
- {
975
- "__schema": "VariableLikeSchema",
976
- "location": {
977
- "filePath": "formatter.ts",
978
- "line": 25,
979
- "character": 3
980
- },
981
- "doc": {
982
- "__schema": "DocSchema",
983
- "location": {
984
- "filePath": "formatter.ts",
985
- "line": 22,
986
- "character": 3
1004
+ "doc": {
1005
+ "__schema": "DocSchema",
1006
+ "location": {
1007
+ "filePath": "formatter.ts",
1008
+ "line": 17,
1009
+ "character": 3
1010
+ },
1011
+ "raw": "/**\n * path of the formatted file.\n */",
1012
+ "comment": "path of the formatted file."
987
1013
  },
988
- "raw": "/**\n * Does the file has formatting issues (needs format)\n */",
989
- "comment": "Does the file has formatting issues (needs format)"
990
- },
991
- "signature": "(property) hasIssues: boolean",
992
- "name": "hasIssues",
993
- "type": {
994
- "__schema": "KeywordTypeSchema",
995
- "location": {
996
- "filePath": "formatter.ts",
997
- "line": 25,
998
- "character": 14
1014
+ "signature": "(property) filePath: string",
1015
+ "name": "filePath",
1016
+ "type": {
1017
+ "__schema": "KeywordTypeSchema",
1018
+ "location": {
1019
+ "filePath": "formatter.ts",
1020
+ "line": 20,
1021
+ "character": 13
1022
+ },
1023
+ "name": "string"
999
1024
  },
1000
- "name": "boolean"
1001
- },
1002
- "isOptional": false
1003
- },
1004
- {
1005
- "__schema": "VariableLikeSchema",
1006
- "location": {
1007
- "filePath": "formatter.ts",
1008
- "line": 30,
1009
- "character": 3
1025
+ "isOptional": false
1010
1026
  },
1011
- "doc": {
1012
- "__schema": "DocSchema",
1027
+ {
1028
+ "__schema": "VariableLikeSchema",
1013
1029
  "location": {
1014
1030
  "filePath": "formatter.ts",
1015
- "line": 27,
1031
+ "line": 25,
1016
1032
  "character": 3
1017
1033
  },
1018
- "raw": "/**\n * The new file content after the formatting\n */",
1019
- "comment": "The new file content after the formatting"
1034
+ "doc": {
1035
+ "__schema": "DocSchema",
1036
+ "location": {
1037
+ "filePath": "formatter.ts",
1038
+ "line": 22,
1039
+ "character": 3
1040
+ },
1041
+ "raw": "/**\n * Does the file has formatting issues (needs format)\n */",
1042
+ "comment": "Does the file has formatting issues (needs format)"
1043
+ },
1044
+ "signature": "(property) hasIssues: boolean",
1045
+ "name": "hasIssues",
1046
+ "type": {
1047
+ "__schema": "KeywordTypeSchema",
1048
+ "location": {
1049
+ "filePath": "formatter.ts",
1050
+ "line": 25,
1051
+ "character": 14
1052
+ },
1053
+ "name": "boolean"
1054
+ },
1055
+ "isOptional": false
1020
1056
  },
1021
- "signature": "(property) newContent?: string | undefined",
1022
- "name": "newContent",
1023
- "type": {
1024
- "__schema": "KeywordTypeSchema",
1057
+ {
1058
+ "__schema": "VariableLikeSchema",
1025
1059
  "location": {
1026
1060
  "filePath": "formatter.ts",
1027
1061
  "line": 30,
1028
- "character": 16
1062
+ "character": 3
1029
1063
  },
1030
- "name": "string"
1031
- },
1032
- "isOptional": true
1033
- }
1034
- ]
1064
+ "doc": {
1065
+ "__schema": "DocSchema",
1066
+ "location": {
1067
+ "filePath": "formatter.ts",
1068
+ "line": 27,
1069
+ "character": 3
1070
+ },
1071
+ "raw": "/**\n * The new file content after the formatting\n */",
1072
+ "comment": "The new file content after the formatting"
1073
+ },
1074
+ "signature": "(property) newContent?: string | undefined",
1075
+ "name": "newContent",
1076
+ "type": {
1077
+ "__schema": "KeywordTypeSchema",
1078
+ "location": {
1079
+ "filePath": "formatter.ts",
1080
+ "line": 30,
1081
+ "character": 16
1082
+ },
1083
+ "name": "string"
1084
+ },
1085
+ "isOptional": true
1086
+ }
1087
+ ]
1088
+ }
1035
1089
  }
1036
1090
  },
1037
1091
  {
1038
- "__schema": "TypeSchema",
1092
+ "__schema": "ExportSchema",
1039
1093
  "location": {
1040
- "filePath": "formatter.ts",
1041
- "line": 4,
1042
- "character": 1
1094
+ "filePath": "index.ts",
1095
+ "line": 5,
1096
+ "character": 59
1043
1097
  },
1044
- "signature": "type ComponentFormatResult = {\n component: Component;\n results: FileFormatResult[];\n}",
1045
1098
  "name": "ComponentFormatResult",
1046
- "type": {
1047
- "__schema": "TypeLiteralSchema",
1099
+ "exportNode": {
1100
+ "__schema": "TypeSchema",
1048
1101
  "location": {
1049
1102
  "filePath": "formatter.ts",
1050
1103
  "line": 4,
1051
- "character": 37
1104
+ "character": 1
1052
1105
  },
1053
- "members": [
1054
- {
1055
- "__schema": "VariableLikeSchema",
1056
- "location": {
1057
- "filePath": "formatter.ts",
1058
- "line": 8,
1059
- "character": 3
1060
- },
1061
- "doc": {
1062
- "__schema": "DocSchema",
1063
- "location": {
1064
- "filePath": "formatter.ts",
1065
- "line": 5,
1066
- "character": 3
1067
- },
1068
- "raw": "/**\n * the formatted component.\n */",
1069
- "comment": "the formatted component."
1070
- },
1071
- "signature": "(property) component: Component",
1072
- "name": "component",
1073
- "type": {
1074
- "__schema": "TypeRefSchema",
1106
+ "signature": "type ComponentFormatResult = {\n component: Component;\n results: FileFormatResult[];\n}",
1107
+ "name": "ComponentFormatResult",
1108
+ "type": {
1109
+ "__schema": "TypeLiteralSchema",
1110
+ "location": {
1111
+ "filePath": "formatter.ts",
1112
+ "line": 4,
1113
+ "character": 37
1114
+ },
1115
+ "members": [
1116
+ {
1117
+ "__schema": "VariableLikeSchema",
1075
1118
  "location": {
1076
1119
  "filePath": "formatter.ts",
1077
1120
  "line": 8,
1078
1121
  "character": 3
1079
1122
  },
1080
- "name": "Component",
1081
- "componentId": {
1082
- "scope": "teambit.component",
1083
- "name": "component"
1084
- }
1085
- },
1086
- "isOptional": false
1087
- },
1088
- {
1089
- "__schema": "VariableLikeSchema",
1090
- "location": {
1091
- "filePath": "formatter.ts",
1092
- "line": 13,
1093
- "character": 3
1094
- },
1095
- "doc": {
1096
- "__schema": "DocSchema",
1097
- "location": {
1098
- "filePath": "formatter.ts",
1099
- "line": 10,
1100
- "character": 3
1123
+ "doc": {
1124
+ "__schema": "DocSchema",
1125
+ "location": {
1126
+ "filePath": "formatter.ts",
1127
+ "line": 5,
1128
+ "character": 3
1129
+ },
1130
+ "raw": "/**\n * the formatted component.\n */",
1131
+ "comment": "the formatted component."
1132
+ },
1133
+ "signature": "(property) component: Component",
1134
+ "name": "component",
1135
+ "type": {
1136
+ "__schema": "TypeRefSchema",
1137
+ "location": {
1138
+ "filePath": "formatter.ts",
1139
+ "line": 8,
1140
+ "character": 3
1141
+ },
1142
+ "name": "Component",
1143
+ "componentId": {
1144
+ "scope": "teambit.component",
1145
+ "name": "component"
1146
+ }
1101
1147
  },
1102
- "raw": "/**\n * format results for each file of the component.\n */",
1103
- "comment": "format results for each file of the component."
1148
+ "isOptional": false
1104
1149
  },
1105
- "signature": "(property) results: FileFormatResult[]",
1106
- "name": "results",
1107
- "type": {
1108
- "__schema": "TypeArraySchema",
1150
+ {
1151
+ "__schema": "VariableLikeSchema",
1109
1152
  "location": {
1110
1153
  "filePath": "formatter.ts",
1111
1154
  "line": 13,
1112
- "character": 12
1155
+ "character": 3
1156
+ },
1157
+ "doc": {
1158
+ "__schema": "DocSchema",
1159
+ "location": {
1160
+ "filePath": "formatter.ts",
1161
+ "line": 10,
1162
+ "character": 3
1163
+ },
1164
+ "raw": "/**\n * format results for each file of the component.\n */",
1165
+ "comment": "format results for each file of the component."
1113
1166
  },
1167
+ "signature": "(property) results: FileFormatResult[]",
1168
+ "name": "results",
1114
1169
  "type": {
1115
- "__schema": "TypeRefSchema",
1170
+ "__schema": "TypeArraySchema",
1116
1171
  "location": {
1117
1172
  "filePath": "formatter.ts",
1118
1173
  "line": 13,
1119
1174
  "character": 12
1120
1175
  },
1121
- "name": "FileFormatResult"
1122
- }
1123
- },
1124
- "isOptional": false
1125
- }
1126
- ]
1176
+ "type": {
1177
+ "__schema": "TypeRefSchema",
1178
+ "location": {
1179
+ "filePath": "formatter.ts",
1180
+ "line": 13,
1181
+ "character": 12
1182
+ },
1183
+ "name": "FileFormatResult"
1184
+ }
1185
+ },
1186
+ "isOptional": false
1187
+ }
1188
+ ]
1189
+ }
1127
1190
  }
1128
1191
  },
1129
1192
  {
1130
- "__schema": "ClassSchema",
1193
+ "__schema": "ExportSchema",
1131
1194
  "location": {
1132
- "filePath": "format.task.ts",
1133
- "line": 4,
1134
- "character": 1
1195
+ "filePath": "index.ts",
1196
+ "line": 6,
1197
+ "character": 15
1135
1198
  },
1136
- "signature": "class FormatTask",
1137
1199
  "name": "FormatTask",
1138
- "members": [
1139
- {
1140
- "__schema": "ConstructorSchema",
1141
- "location": {
1142
- "filePath": "format.task.ts",
1143
- "line": 5,
1144
- "character": 3
1145
- },
1146
- "signature": "constructor FormatTask(aspectId: string, name?: string): FormatTask",
1147
- "name": "constructor",
1148
- "params": [
1149
- {
1150
- "__schema": "ParameterSchema",
1151
- "location": {
1152
- "filePath": "format.task.ts",
1153
- "line": 5,
1154
- "character": 15
1155
- },
1156
- "name": "aspectId",
1157
- "type": {
1158
- "__schema": "KeywordTypeSchema",
1200
+ "exportNode": {
1201
+ "__schema": "ClassSchema",
1202
+ "location": {
1203
+ "filePath": "format.task.ts",
1204
+ "line": 4,
1205
+ "character": 1
1206
+ },
1207
+ "signature": "class FormatTask",
1208
+ "name": "FormatTask",
1209
+ "members": [
1210
+ {
1211
+ "__schema": "ConstructorSchema",
1212
+ "location": {
1213
+ "filePath": "format.task.ts",
1214
+ "line": 5,
1215
+ "character": 3
1216
+ },
1217
+ "signature": "constructor FormatTask(aspectId: string, name?: string): FormatTask",
1218
+ "name": "constructor",
1219
+ "params": [
1220
+ {
1221
+ "__schema": "ParameterSchema",
1159
1222
  "location": {
1160
1223
  "filePath": "format.task.ts",
1161
1224
  "line": 5,
1162
- "character": 34
1225
+ "character": 15
1163
1226
  },
1164
- "name": "string"
1165
- },
1166
- "isOptional": false,
1167
- "isSpread": false
1168
- },
1169
- {
1170
- "__schema": "ParameterSchema",
1171
- "location": {
1172
- "filePath": "format.task.ts",
1173
- "line": 5,
1174
- "character": 42
1227
+ "name": "aspectId",
1228
+ "type": {
1229
+ "__schema": "KeywordTypeSchema",
1230
+ "location": {
1231
+ "filePath": "format.task.ts",
1232
+ "line": 5,
1233
+ "character": 34
1234
+ },
1235
+ "name": "string"
1236
+ },
1237
+ "isOptional": false,
1238
+ "isSpread": false
1175
1239
  },
1176
- "name": "name",
1177
- "type": {
1178
- "__schema": "InferenceTypeSchema",
1240
+ {
1241
+ "__schema": "ParameterSchema",
1179
1242
  "location": {
1180
1243
  "filePath": "format.task.ts",
1181
1244
  "line": 5,
1182
1245
  "character": 42
1183
1246
  },
1184
- "type": "string"
1185
- },
1186
- "isOptional": true,
1187
- "defaultValue": "'format'",
1188
- "isSpread": false
1189
- }
1190
- ],
1191
- "returnType": {
1192
- "__schema": "ThisTypeSchema",
1193
- "location": {
1194
- "filePath": "format.task.ts",
1195
- "line": 4,
1196
- "character": 1
1197
- },
1198
- "name": "FormatTask"
1199
- },
1200
- "modifiers": []
1201
- },
1202
- {
1203
- "__schema": "FunctionLikeSchema",
1204
- "location": {
1205
- "filePath": "format.task.ts",
1206
- "line": 7,
1207
- "character": 3
1208
- },
1209
- "signature": "(method) FormatTask.execute(context: BuildContext): Promise<BuiltTaskResult>",
1210
- "name": "execute",
1211
- "params": [
1212
- {
1213
- "__schema": "ParameterSchema",
1247
+ "name": "name",
1248
+ "type": {
1249
+ "__schema": "InferenceTypeSchema",
1250
+ "location": {
1251
+ "filePath": "format.task.ts",
1252
+ "line": 5,
1253
+ "character": 42
1254
+ },
1255
+ "type": "string"
1256
+ },
1257
+ "isOptional": true,
1258
+ "defaultValue": "'format'",
1259
+ "isSpread": false
1260
+ }
1261
+ ],
1262
+ "returnType": {
1263
+ "__schema": "ThisTypeSchema",
1214
1264
  "location": {
1215
1265
  "filePath": "format.task.ts",
1216
- "line": 7,
1217
- "character": 17
1218
- },
1219
- "name": "context",
1220
- "type": {
1221
- "__schema": "TypeRefSchema",
1222
- "location": {
1223
- "filePath": "format.task.ts",
1224
- "line": 7,
1225
- "character": 26
1226
- },
1227
- "name": "BuildContext",
1228
- "componentId": {
1229
- "scope": "teambit.pipelines",
1230
- "name": "builder"
1231
- }
1266
+ "line": 4,
1267
+ "character": 1
1232
1268
  },
1233
- "isOptional": false,
1234
- "isSpread": false
1235
- }
1236
- ],
1237
- "returnType": {
1238
- "__schema": "TypeRefSchema",
1269
+ "name": "FormatTask"
1270
+ },
1271
+ "modifiers": []
1272
+ },
1273
+ {
1274
+ "__schema": "FunctionLikeSchema",
1239
1275
  "location": {
1240
1276
  "filePath": "format.task.ts",
1241
1277
  "line": 7,
1242
- "character": 41
1278
+ "character": 3
1243
1279
  },
1244
- "name": "Promise",
1245
- "typeArgs": [
1280
+ "signature": "(method) FormatTask.execute(context: BuildContext): Promise<BuiltTaskResult>",
1281
+ "name": "execute",
1282
+ "params": [
1246
1283
  {
1247
- "__schema": "TypeRefSchema",
1284
+ "__schema": "ParameterSchema",
1248
1285
  "location": {
1249
1286
  "filePath": "format.task.ts",
1250
1287
  "line": 7,
1251
- "character": 49
1288
+ "character": 17
1252
1289
  },
1253
- "name": "BuiltTaskResult",
1254
- "componentId": {
1255
- "scope": "teambit.pipelines",
1256
- "name": "builder"
1257
- }
1290
+ "name": "context",
1291
+ "type": {
1292
+ "__schema": "TypeRefSchema",
1293
+ "location": {
1294
+ "filePath": "format.task.ts",
1295
+ "line": 7,
1296
+ "character": 26
1297
+ },
1298
+ "name": "BuildContext",
1299
+ "componentId": {
1300
+ "scope": "teambit.pipelines",
1301
+ "name": "builder"
1302
+ }
1303
+ },
1304
+ "isOptional": false,
1305
+ "isSpread": false
1258
1306
  }
1307
+ ],
1308
+ "returnType": {
1309
+ "__schema": "TypeRefSchema",
1310
+ "location": {
1311
+ "filePath": "format.task.ts",
1312
+ "line": 7,
1313
+ "character": 41
1314
+ },
1315
+ "name": "Promise",
1316
+ "typeArgs": [
1317
+ {
1318
+ "__schema": "TypeRefSchema",
1319
+ "location": {
1320
+ "filePath": "format.task.ts",
1321
+ "line": 7,
1322
+ "character": 49
1323
+ },
1324
+ "name": "BuiltTaskResult",
1325
+ "componentId": {
1326
+ "scope": "teambit.pipelines",
1327
+ "name": "builder"
1328
+ }
1329
+ }
1330
+ ]
1331
+ },
1332
+ "modifiers": [
1333
+ "async"
1259
1334
  ]
1260
- },
1261
- "modifiers": [
1262
- "async"
1263
- ]
1264
- }
1265
- ],
1266
- "extendsNodes": [],
1267
- "implementNodes": [
1268
- {
1269
- "__schema": "ExpressionWithTypeArgumentsSchema",
1270
- "location": {
1271
- "filePath": "format.task.ts",
1272
- "line": 4,
1273
- "character": 36
1274
- },
1275
- "name": "implements BuildTask",
1276
- "typeArgs": [],
1277
- "expression": {
1278
- "__schema": "TypeRefSchema",
1335
+ }
1336
+ ],
1337
+ "extendsNodes": [],
1338
+ "implementNodes": [
1339
+ {
1340
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1279
1341
  "location": {
1280
1342
  "filePath": "format.task.ts",
1281
1343
  "line": 4,
1282
1344
  "character": 36
1283
1345
  },
1284
- "name": "BuildTask",
1285
- "componentId": {
1286
- "_legacy": {
1287
- "scope": "teambit.defender",
1288
- "name": "formatter",
1289
- "version": "1.0.257"
1346
+ "name": "implements BuildTask",
1347
+ "typeArgs": [],
1348
+ "expression": {
1349
+ "__schema": "TypeRefSchema",
1350
+ "location": {
1351
+ "filePath": "format.task.ts",
1352
+ "line": 4,
1353
+ "character": 36
1290
1354
  },
1291
- "_scope": "teambit.defender"
1355
+ "name": "BuildTask",
1356
+ "componentId": {
1357
+ "_legacy": {
1358
+ "scope": "teambit.defender",
1359
+ "name": "formatter",
1360
+ "version": "1.0.259"
1361
+ },
1362
+ "_scope": "teambit.defender"
1363
+ }
1292
1364
  }
1293
1365
  }
1294
- }
1295
- ]
1366
+ ]
1367
+ }
1296
1368
  },
1297
1369
  {
1298
- "__schema": "InterfaceSchema",
1370
+ "__schema": "ExportSchema",
1299
1371
  "location": {
1300
- "filePath": "formatter-env-type.ts",
1301
- "line": 4,
1302
- "character": 1
1372
+ "filePath": "index.ts",
1373
+ "line": 7,
1374
+ "character": 15
1303
1375
  },
1304
- "signature": "interface FormatterEnv",
1305
1376
  "name": "FormatterEnv",
1306
- "members": [
1307
- {
1308
- "__schema": "FunctionLikeSchema",
1309
- "location": {
1310
- "filePath": "formatter-env-type.ts",
1311
- "line": 8,
1312
- "character": 3
1313
- },
1314
- "doc": {
1315
- "__schema": "DocSchema",
1377
+ "exportNode": {
1378
+ "__schema": "InterfaceSchema",
1379
+ "location": {
1380
+ "filePath": "formatter-env-type.ts",
1381
+ "line": 4,
1382
+ "character": 1
1383
+ },
1384
+ "signature": "interface FormatterEnv",
1385
+ "name": "FormatterEnv",
1386
+ "members": [
1387
+ {
1388
+ "__schema": "FunctionLikeSchema",
1316
1389
  "location": {
1317
1390
  "filePath": "formatter-env-type.ts",
1318
- "line": 5,
1391
+ "line": 8,
1319
1392
  "character": 3
1320
1393
  },
1321
- "raw": "/**\n * return a Formatter instance.\n */",
1322
- "comment": "return a Formatter instance."
1323
- },
1324
- "signature": "(method) FormatterEnv.formatter(): EnvHandler<Formatter>",
1325
- "name": "formatter",
1326
- "params": [],
1327
- "returnType": {
1328
- "__schema": "TypeRefSchema",
1329
- "location": {
1330
- "filePath": "formatter-env-type.ts",
1331
- "line": 8,
1332
- "character": 16
1394
+ "doc": {
1395
+ "__schema": "DocSchema",
1396
+ "location": {
1397
+ "filePath": "formatter-env-type.ts",
1398
+ "line": 5,
1399
+ "character": 3
1400
+ },
1401
+ "raw": "/**\n * return a Formatter instance.\n */",
1402
+ "comment": "return a Formatter instance."
1333
1403
  },
1334
- "name": "EnvHandler",
1335
- "componentId": {
1336
- "scope": "teambit.envs",
1337
- "name": "envs"
1404
+ "signature": "(method) FormatterEnv.formatter(): EnvHandler<Formatter>",
1405
+ "name": "formatter",
1406
+ "params": [],
1407
+ "returnType": {
1408
+ "__schema": "TypeRefSchema",
1409
+ "location": {
1410
+ "filePath": "formatter-env-type.ts",
1411
+ "line": 8,
1412
+ "character": 16
1413
+ },
1414
+ "name": "EnvHandler",
1415
+ "componentId": {
1416
+ "scope": "teambit.envs",
1417
+ "name": "envs"
1418
+ },
1419
+ "typeArgs": [
1420
+ {
1421
+ "__schema": "TypeRefSchema",
1422
+ "location": {
1423
+ "filePath": "formatter-env-type.ts",
1424
+ "line": 8,
1425
+ "character": 27
1426
+ },
1427
+ "name": "Formatter"
1428
+ }
1429
+ ]
1338
1430
  },
1339
- "typeArgs": [
1340
- {
1341
- "__schema": "TypeRefSchema",
1342
- "location": {
1343
- "filePath": "formatter-env-type.ts",
1344
- "line": 8,
1345
- "character": 27
1346
- },
1347
- "name": "Formatter"
1348
- }
1349
- ]
1350
- },
1351
- "modifiers": []
1352
- }
1353
- ],
1354
- "extendsNodes": []
1431
+ "modifiers": []
1432
+ }
1433
+ ],
1434
+ "extendsNodes": []
1435
+ }
1355
1436
  },
1356
1437
  {
1357
- "__schema": "InterfaceSchema",
1438
+ "__schema": "ExportSchema",
1358
1439
  "location": {
1359
- "filePath": "formatter-context.ts",
1360
- "line": 4,
1361
- "character": 1
1440
+ "filePath": "index.ts",
1441
+ "line": 8,
1442
+ "character": 15
1362
1443
  },
1363
- "signature": "interface FormatterContext",
1364
1444
  "name": "FormatterContext",
1365
- "members": [],
1366
- "extendsNodes": [
1367
- {
1368
- "__schema": "ExpressionWithTypeArgumentsSchema",
1369
- "location": {
1370
- "filePath": "formatter-context.ts",
1371
- "line": 4,
1372
- "character": 43
1373
- },
1374
- "name": "extends ExecutionContext, FormatterOptions",
1375
- "typeArgs": [],
1376
- "expression": {
1377
- "__schema": "TypeRefSchema",
1445
+ "exportNode": {
1446
+ "__schema": "InterfaceSchema",
1447
+ "location": {
1448
+ "filePath": "formatter-context.ts",
1449
+ "line": 4,
1450
+ "character": 1
1451
+ },
1452
+ "signature": "interface FormatterContext",
1453
+ "name": "FormatterContext",
1454
+ "members": [],
1455
+ "extendsNodes": [
1456
+ {
1457
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1378
1458
  "location": {
1379
1459
  "filePath": "formatter-context.ts",
1380
1460
  "line": 4,
1381
1461
  "character": 43
1382
1462
  },
1383
- "name": "ExecutionContext",
1384
- "componentId": {
1385
- "_legacy": {
1386
- "scope": "teambit.defender",
1387
- "name": "formatter",
1388
- "version": "1.0.257"
1463
+ "name": "extends ExecutionContext, FormatterOptions",
1464
+ "typeArgs": [],
1465
+ "expression": {
1466
+ "__schema": "TypeRefSchema",
1467
+ "location": {
1468
+ "filePath": "formatter-context.ts",
1469
+ "line": 4,
1470
+ "character": 43
1389
1471
  },
1390
- "_scope": "teambit.defender"
1472
+ "name": "ExecutionContext",
1473
+ "componentId": {
1474
+ "_legacy": {
1475
+ "scope": "teambit.defender",
1476
+ "name": "formatter",
1477
+ "version": "1.0.259"
1478
+ },
1479
+ "_scope": "teambit.defender"
1480
+ }
1391
1481
  }
1392
- }
1393
- },
1394
- {
1395
- "__schema": "ExpressionWithTypeArgumentsSchema",
1396
- "location": {
1397
- "filePath": "formatter-context.ts",
1398
- "line": 4,
1399
- "character": 61
1400
1482
  },
1401
- "name": "extends ExecutionContext, FormatterOptions",
1402
- "typeArgs": [],
1403
- "expression": {
1404
- "__schema": "TypeSchema",
1483
+ {
1484
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1405
1485
  "location": {
1406
1486
  "filePath": "formatter-context.ts",
1407
- "line": 3,
1408
- "character": 1
1487
+ "line": 4,
1488
+ "character": 61
1409
1489
  },
1410
- "name": "FormatterOptions",
1411
- "signature": "type FormatterOptions = {\n check?: boolean | undefined;\n}",
1412
- "type": {
1413
- "__schema": "TypeLiteralSchema",
1490
+ "name": "extends ExecutionContext, FormatterOptions",
1491
+ "typeArgs": [],
1492
+ "expression": {
1493
+ "__schema": "TypeSchema",
1414
1494
  "location": {
1415
1495
  "filePath": "formatter-context.ts",
1416
1496
  "line": 3,
1417
- "character": 32
1497
+ "character": 1
1418
1498
  },
1419
- "members": [
1420
- {
1421
- "__schema": "VariableLikeSchema",
1422
- "location": {
1423
- "filePath": "formatter-context.ts",
1424
- "line": 3,
1425
- "character": 34
1426
- },
1427
- "name": "check",
1428
- "signature": "(property) check?: boolean | undefined",
1429
- "isOptional": true,
1430
- "type": {
1431
- "__schema": "KeywordTypeSchema",
1499
+ "name": "FormatterOptions",
1500
+ "signature": "type FormatterOptions = {\n check?: boolean | undefined;\n}",
1501
+ "type": {
1502
+ "__schema": "TypeLiteralSchema",
1503
+ "location": {
1504
+ "filePath": "formatter-context.ts",
1505
+ "line": 3,
1506
+ "character": 32
1507
+ },
1508
+ "members": [
1509
+ {
1510
+ "__schema": "VariableLikeSchema",
1432
1511
  "location": {
1433
1512
  "filePath": "formatter-context.ts",
1434
1513
  "line": 3,
1435
- "character": 42
1514
+ "character": 34
1436
1515
  },
1437
- "name": "boolean"
1516
+ "name": "check",
1517
+ "signature": "(property) check?: boolean | undefined",
1518
+ "isOptional": true,
1519
+ "type": {
1520
+ "__schema": "KeywordTypeSchema",
1521
+ "location": {
1522
+ "filePath": "formatter-context.ts",
1523
+ "line": 3,
1524
+ "character": 42
1525
+ },
1526
+ "name": "boolean"
1527
+ }
1438
1528
  }
1439
- }
1440
- ]
1529
+ ]
1530
+ }
1441
1531
  }
1442
1532
  }
1443
- }
1444
- ]
1533
+ ]
1534
+ }
1445
1535
  },
1446
1536
  {
1447
- "__schema": "TypeSchema",
1537
+ "__schema": "ExportSchema",
1448
1538
  "location": {
1449
- "filePath": "formatter-context.ts",
1450
- "line": 3,
1451
- "character": 1
1539
+ "filePath": "index.ts",
1540
+ "line": 8,
1541
+ "character": 33
1452
1542
  },
1453
- "signature": "type FormatterOptions = {\n check?: boolean | undefined;\n}",
1454
1543
  "name": "FormatterOptions",
1455
- "type": {
1456
- "__schema": "TypeLiteralSchema",
1544
+ "exportNode": {
1545
+ "__schema": "TypeSchema",
1457
1546
  "location": {
1458
1547
  "filePath": "formatter-context.ts",
1459
1548
  "line": 3,
1460
- "character": 32
1549
+ "character": 1
1461
1550
  },
1462
- "members": [
1463
- {
1464
- "__schema": "VariableLikeSchema",
1465
- "location": {
1466
- "filePath": "formatter-context.ts",
1467
- "line": 3,
1468
- "character": 34
1469
- },
1470
- "signature": "(property) check?: boolean | undefined",
1471
- "name": "check",
1472
- "type": {
1473
- "__schema": "KeywordTypeSchema",
1551
+ "signature": "type FormatterOptions = {\n check?: boolean | undefined;\n}",
1552
+ "name": "FormatterOptions",
1553
+ "type": {
1554
+ "__schema": "TypeLiteralSchema",
1555
+ "location": {
1556
+ "filePath": "formatter-context.ts",
1557
+ "line": 3,
1558
+ "character": 32
1559
+ },
1560
+ "members": [
1561
+ {
1562
+ "__schema": "VariableLikeSchema",
1474
1563
  "location": {
1475
1564
  "filePath": "formatter-context.ts",
1476
1565
  "line": 3,
1477
- "character": 42
1566
+ "character": 34
1478
1567
  },
1479
- "name": "boolean"
1480
- },
1481
- "isOptional": true
1482
- }
1483
- ]
1568
+ "signature": "(property) check?: boolean | undefined",
1569
+ "name": "check",
1570
+ "type": {
1571
+ "__schema": "KeywordTypeSchema",
1572
+ "location": {
1573
+ "filePath": "formatter-context.ts",
1574
+ "line": 3,
1575
+ "character": 42
1576
+ },
1577
+ "name": "boolean"
1578
+ },
1579
+ "isOptional": true
1580
+ }
1581
+ ]
1582
+ }
1484
1583
  }
1485
1584
  },
1486
1585
  {
@@ -2822,7 +2921,7 @@
2822
2921
  "_legacy": {
2823
2922
  "scope": "teambit.defender",
2824
2923
  "name": "formatter",
2825
- "version": "1.0.257"
2924
+ "version": "1.0.259"
2826
2925
  },
2827
2926
  "_scope": "teambit.defender"
2828
2927
  }
@@ -2907,7 +3006,7 @@
2907
3006
  "componentId": {
2908
3007
  "scope": "teambit.defender",
2909
3008
  "name": "formatter",
2910
- "version": "1.0.257"
3009
+ "version": "1.0.259"
2911
3010
  },
2912
3011
  "taggedModuleExports": []
2913
3012
  }