@teambit/deprecation 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,740 +14,786 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "deprecation.main.runtime.ts",
20
- "line": 35,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 15
22
22
  },
23
- "signature": "class DeprecationMain",
24
23
  "name": "DeprecationMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "deprecation.main.runtime.ts",
30
- "line": 36,
31
- "character": 3
32
- },
33
- "signature": "constructor DeprecationMain(scope: ScopeMain, workspace: Workspace): DeprecationMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "deprecation.main.runtime.ts",
40
- "line": 36,
41
- "character": 15
42
- },
43
- "name": "scope",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "deprecation.main.runtime.ts",
28
+ "line": 35,
29
+ "character": 1
30
+ },
31
+ "signature": "class DeprecationMain",
32
+ "name": "DeprecationMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "deprecation.main.runtime.ts",
38
+ "line": 36,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor DeprecationMain(scope: ScopeMain, workspace: Workspace): DeprecationMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "deprecation.main.runtime.ts",
48
48
  "line": 36,
49
- "character": 30
49
+ "character": 15
50
50
  },
51
- "name": "ScopeMain",
52
- "componentId": {
53
- "scope": "teambit.scope",
54
- "name": "scope"
55
- }
56
- },
57
- "isOptional": false,
58
- "isSpread": false
59
- },
60
- {
61
- "__schema": "ParameterSchema",
62
- "location": {
63
- "filePath": "deprecation.main.runtime.ts",
64
- "line": 36,
65
- "character": 41
51
+ "name": "scope",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "deprecation.main.runtime.ts",
56
+ "line": 36,
57
+ "character": 30
58
+ },
59
+ "name": "ScopeMain",
60
+ "componentId": {
61
+ "scope": "teambit.scope",
62
+ "name": "scope"
63
+ }
64
+ },
65
+ "isOptional": false,
66
+ "isSpread": false
66
67
  },
67
- "name": "workspace",
68
- "type": {
69
- "__schema": "TypeRefSchema",
68
+ {
69
+ "__schema": "ParameterSchema",
70
70
  "location": {
71
71
  "filePath": "deprecation.main.runtime.ts",
72
72
  "line": 36,
73
- "character": 60
73
+ "character": 41
74
74
  },
75
- "name": "Workspace",
76
- "componentId": {
77
- "scope": "teambit.workspace",
78
- "name": "workspace"
79
- }
75
+ "name": "workspace",
76
+ "type": {
77
+ "__schema": "TypeRefSchema",
78
+ "location": {
79
+ "filePath": "deprecation.main.runtime.ts",
80
+ "line": 36,
81
+ "character": 60
82
+ },
83
+ "name": "Workspace",
84
+ "componentId": {
85
+ "scope": "teambit.workspace",
86
+ "name": "workspace"
87
+ }
88
+ },
89
+ "isOptional": false,
90
+ "isSpread": false
91
+ }
92
+ ],
93
+ "returnType": {
94
+ "__schema": "ThisTypeSchema",
95
+ "location": {
96
+ "filePath": "deprecation.main.runtime.ts",
97
+ "line": 35,
98
+ "character": 1
80
99
  },
81
- "isOptional": false,
82
- "isSpread": false
83
- }
84
- ],
85
- "returnType": {
86
- "__schema": "ThisTypeSchema",
87
- "location": {
88
- "filePath": "deprecation.main.runtime.ts",
89
- "line": 35,
90
- "character": 1
100
+ "name": "DeprecationMain"
91
101
  },
92
- "name": "DeprecationMain"
93
- },
94
- "modifiers": []
95
- },
96
- {
97
- "__schema": "VariableLikeSchema",
98
- "location": {
99
- "filePath": "deprecation.main.runtime.ts",
100
- "line": 37,
101
- "character": 3
102
+ "modifiers": []
102
103
  },
103
- "signature": "(property) DeprecationMain.runtime: RuntimeDefinition",
104
- "name": "runtime",
105
- "type": {
106
- "__schema": "InferenceTypeSchema",
104
+ {
105
+ "__schema": "VariableLikeSchema",
107
106
  "location": {
108
107
  "filePath": "deprecation.main.runtime.ts",
109
108
  "line": 37,
110
109
  "character": 3
111
110
  },
112
- "type": "RuntimeDefinition"
113
- },
114
- "isOptional": true,
115
- "defaultValue": "MainRuntime"
116
- },
117
- {
118
- "__schema": "VariableLikeSchema",
119
- "location": {
120
- "filePath": "deprecation.main.runtime.ts",
121
- "line": 38,
122
- "character": 3
111
+ "signature": "(property) DeprecationMain.runtime: RuntimeDefinition",
112
+ "name": "runtime",
113
+ "type": {
114
+ "__schema": "InferenceTypeSchema",
115
+ "location": {
116
+ "filePath": "deprecation.main.runtime.ts",
117
+ "line": 37,
118
+ "character": 3
119
+ },
120
+ "type": "RuntimeDefinition"
121
+ },
122
+ "isOptional": true,
123
+ "defaultValue": "MainRuntime"
123
124
  },
124
- "signature": "(property) DeprecationMain.dependencies: Aspect[]",
125
- "name": "dependencies",
126
- "type": {
127
- "__schema": "InferenceTypeSchema",
125
+ {
126
+ "__schema": "VariableLikeSchema",
128
127
  "location": {
129
128
  "filePath": "deprecation.main.runtime.ts",
130
129
  "line": 38,
131
130
  "character": 3
132
131
  },
133
- "type": "Aspect[]"
134
- },
135
- "isOptional": true,
136
- "defaultValue": "[GraphqlAspect, ScopeAspect, ComponentAspect, WorkspaceAspect, CLIAspect]"
137
- },
138
- {
139
- "__schema": "FunctionLikeSchema",
140
- "location": {
141
- "filePath": "deprecation.main.runtime.ts",
142
- "line": 40,
143
- "character": 3
144
- },
145
- "signature": "(method) DeprecationMain.getDeprecationInfo(component: Component): Promise<DeprecationInfo>",
146
- "name": "getDeprecationInfo",
147
- "params": [
148
- {
149
- "__schema": "ParameterSchema",
132
+ "signature": "(property) DeprecationMain.dependencies: Aspect[]",
133
+ "name": "dependencies",
134
+ "type": {
135
+ "__schema": "InferenceTypeSchema",
150
136
  "location": {
151
137
  "filePath": "deprecation.main.runtime.ts",
152
- "line": 40,
153
- "character": 28
154
- },
155
- "name": "component",
156
- "type": {
157
- "__schema": "TypeRefSchema",
158
- "location": {
159
- "filePath": "deprecation.main.runtime.ts",
160
- "line": 40,
161
- "character": 39
162
- },
163
- "name": "Component",
164
- "componentId": {
165
- "scope": "teambit.component",
166
- "name": "component"
167
- }
138
+ "line": 38,
139
+ "character": 3
168
140
  },
169
- "isOptional": false,
170
- "isSpread": false
171
- }
172
- ],
173
- "returnType": {
174
- "__schema": "TypeRefSchema",
141
+ "type": "Aspect[]"
142
+ },
143
+ "isOptional": true,
144
+ "defaultValue": "[GraphqlAspect, ScopeAspect, ComponentAspect, WorkspaceAspect, CLIAspect]"
145
+ },
146
+ {
147
+ "__schema": "FunctionLikeSchema",
175
148
  "location": {
176
149
  "filePath": "deprecation.main.runtime.ts",
177
150
  "line": 40,
178
- "character": 51
151
+ "character": 3
179
152
  },
180
- "name": "Promise",
181
- "typeArgs": [
153
+ "signature": "(method) DeprecationMain.getDeprecationInfo(component: Component): Promise<DeprecationInfo>",
154
+ "name": "getDeprecationInfo",
155
+ "params": [
182
156
  {
183
- "__schema": "TypeRefSchema",
157
+ "__schema": "ParameterSchema",
184
158
  "location": {
185
159
  "filePath": "deprecation.main.runtime.ts",
186
160
  "line": 40,
187
- "character": 59
161
+ "character": 28
162
+ },
163
+ "name": "component",
164
+ "type": {
165
+ "__schema": "TypeRefSchema",
166
+ "location": {
167
+ "filePath": "deprecation.main.runtime.ts",
168
+ "line": 40,
169
+ "character": 39
170
+ },
171
+ "name": "Component",
172
+ "componentId": {
173
+ "scope": "teambit.component",
174
+ "name": "component"
175
+ }
188
176
  },
189
- "name": "DeprecationInfo"
177
+ "isOptional": false,
178
+ "isSpread": false
190
179
  }
180
+ ],
181
+ "returnType": {
182
+ "__schema": "TypeRefSchema",
183
+ "location": {
184
+ "filePath": "deprecation.main.runtime.ts",
185
+ "line": 40,
186
+ "character": 51
187
+ },
188
+ "name": "Promise",
189
+ "typeArgs": [
190
+ {
191
+ "__schema": "TypeRefSchema",
192
+ "location": {
193
+ "filePath": "deprecation.main.runtime.ts",
194
+ "line": 40,
195
+ "character": 59
196
+ },
197
+ "name": "DeprecationInfo"
198
+ }
199
+ ]
200
+ },
201
+ "modifiers": [
202
+ "async"
191
203
  ]
192
204
  },
193
- "modifiers": [
194
- "async"
195
- ]
196
- },
197
- {
198
- "__schema": "FunctionLikeSchema",
199
- "location": {
200
- "filePath": "deprecation.main.runtime.ts",
201
- "line": 82,
202
- "character": 3
203
- },
204
- "doc": {
205
- "__schema": "DocSchema",
205
+ {
206
+ "__schema": "FunctionLikeSchema",
206
207
  "location": {
207
208
  "filePath": "deprecation.main.runtime.ts",
208
- "line": 74,
209
+ "line": 82,
209
210
  "character": 3
210
211
  },
211
- "raw": "/**\n * mark a component as deprecated. after this change, the component will be modified.\n * tag and export the component to have it deprecated on the remote.\n *\n * @param componentId\n * @param newId\n * @returns boolean whether or not the component has been deprecated\n */",
212
- "comment": "mark a component as deprecated. after this change, the component will be modified.\ntag and export the component to have it deprecated on the remote.",
213
- "tags": [
214
- {
215
- "__schema": "PropertyLikeTagSchema",
216
- "location": {
217
- "filePath": "deprecation.main.runtime.ts",
218
- "line": 78,
219
- "character": 6
220
- },
221
- "name": "componentId",
222
- "tagName": "parameter"
212
+ "doc": {
213
+ "__schema": "DocSchema",
214
+ "location": {
215
+ "filePath": "deprecation.main.runtime.ts",
216
+ "line": 74,
217
+ "character": 3
223
218
  },
224
- {
225
- "__schema": "PropertyLikeTagSchema",
226
- "location": {
227
- "filePath": "deprecation.main.runtime.ts",
228
- "line": 79,
229
- "character": 6
219
+ "raw": "/**\n * mark a component as deprecated. after this change, the component will be modified.\n * tag and export the component to have it deprecated on the remote.\n *\n * @param componentId\n * @param newId\n * @returns boolean whether or not the component has been deprecated\n */",
220
+ "comment": "mark a component as deprecated. after this change, the component will be modified.\ntag and export the component to have it deprecated on the remote.",
221
+ "tags": [
222
+ {
223
+ "__schema": "PropertyLikeTagSchema",
224
+ "location": {
225
+ "filePath": "deprecation.main.runtime.ts",
226
+ "line": 78,
227
+ "character": 6
228
+ },
229
+ "name": "componentId",
230
+ "tagName": "parameter"
230
231
  },
231
- "name": "newId",
232
- "tagName": "parameter"
233
- },
232
+ {
233
+ "__schema": "PropertyLikeTagSchema",
234
+ "location": {
235
+ "filePath": "deprecation.main.runtime.ts",
236
+ "line": 79,
237
+ "character": 6
238
+ },
239
+ "name": "newId",
240
+ "tagName": "parameter"
241
+ },
242
+ {
243
+ "__schema": "ReturnTagSchema",
244
+ "location": {
245
+ "filePath": "deprecation.main.runtime.ts",
246
+ "line": 80,
247
+ "character": 6
248
+ },
249
+ "tagName": "return",
250
+ "comment": "boolean whether or not the component has been deprecated"
251
+ }
252
+ ]
253
+ },
254
+ "signature": "(method) DeprecationMain.deprecate(componentId: ComponentID, newId?: ComponentID, range?: string): Promise<boolean>",
255
+ "name": "deprecate",
256
+ "params": [
234
257
  {
235
- "__schema": "ReturnTagSchema",
258
+ "__schema": "ParameterSchema",
236
259
  "location": {
237
260
  "filePath": "deprecation.main.runtime.ts",
238
- "line": 80,
239
- "character": 6
261
+ "line": 82,
262
+ "character": 19
240
263
  },
241
- "tagName": "return",
242
- "comment": "boolean whether or not the component has been deprecated"
243
- }
244
- ]
245
- },
246
- "signature": "(method) DeprecationMain.deprecate(componentId: ComponentID, newId?: ComponentID, range?: string): Promise<boolean>",
247
- "name": "deprecate",
248
- "params": [
249
- {
250
- "__schema": "ParameterSchema",
251
- "location": {
252
- "filePath": "deprecation.main.runtime.ts",
253
- "line": 82,
254
- "character": 19
264
+ "name": "componentId",
265
+ "type": {
266
+ "__schema": "TypeRefSchema",
267
+ "location": {
268
+ "filePath": "deprecation.main.runtime.ts",
269
+ "line": 82,
270
+ "character": 32
271
+ },
272
+ "name": "ComponentID",
273
+ "componentId": {
274
+ "scope": "teambit.component",
275
+ "name": "component"
276
+ }
277
+ },
278
+ "isOptional": false,
279
+ "isSpread": false
255
280
  },
256
- "name": "componentId",
257
- "type": {
258
- "__schema": "TypeRefSchema",
281
+ {
282
+ "__schema": "ParameterSchema",
259
283
  "location": {
260
284
  "filePath": "deprecation.main.runtime.ts",
261
285
  "line": 82,
262
- "character": 32
286
+ "character": 45
263
287
  },
264
- "name": "ComponentID",
265
- "componentId": {
266
- "scope": "teambit.component",
267
- "name": "component"
268
- }
269
- },
270
- "isOptional": false,
271
- "isSpread": false
272
- },
273
- {
274
- "__schema": "ParameterSchema",
275
- "location": {
276
- "filePath": "deprecation.main.runtime.ts",
277
- "line": 82,
278
- "character": 45
288
+ "name": "newId",
289
+ "type": {
290
+ "__schema": "TypeRefSchema",
291
+ "location": {
292
+ "filePath": "deprecation.main.runtime.ts",
293
+ "line": 82,
294
+ "character": 53
295
+ },
296
+ "name": "ComponentID",
297
+ "componentId": {
298
+ "scope": "teambit.component",
299
+ "name": "component"
300
+ }
301
+ },
302
+ "isOptional": true,
303
+ "isSpread": false
279
304
  },
280
- "name": "newId",
281
- "type": {
282
- "__schema": "TypeRefSchema",
305
+ {
306
+ "__schema": "ParameterSchema",
283
307
  "location": {
284
308
  "filePath": "deprecation.main.runtime.ts",
285
309
  "line": 82,
286
- "character": 53
310
+ "character": 66
287
311
  },
288
- "name": "ComponentID",
289
- "componentId": {
290
- "scope": "teambit.component",
291
- "name": "component"
292
- }
293
- },
294
- "isOptional": true,
295
- "isSpread": false
296
- },
297
- {
298
- "__schema": "ParameterSchema",
312
+ "name": "range",
313
+ "type": {
314
+ "__schema": "KeywordTypeSchema",
315
+ "location": {
316
+ "filePath": "deprecation.main.runtime.ts",
317
+ "line": 82,
318
+ "character": 74
319
+ },
320
+ "name": "string"
321
+ },
322
+ "isOptional": true,
323
+ "isSpread": false
324
+ }
325
+ ],
326
+ "returnType": {
327
+ "__schema": "TypeRefSchema",
299
328
  "location": {
300
329
  "filePath": "deprecation.main.runtime.ts",
301
330
  "line": 82,
302
- "character": 66
303
- },
304
- "name": "range",
305
- "type": {
306
- "__schema": "KeywordTypeSchema",
307
- "location": {
308
- "filePath": "deprecation.main.runtime.ts",
309
- "line": 82,
310
- "character": 74
311
- },
312
- "name": "string"
331
+ "character": 83
313
332
  },
314
- "isOptional": true,
315
- "isSpread": false
316
- }
317
- ],
318
- "returnType": {
319
- "__schema": "TypeRefSchema",
333
+ "name": "Promise",
334
+ "typeArgs": [
335
+ {
336
+ "__schema": "KeywordTypeSchema",
337
+ "location": {
338
+ "filePath": "deprecation.main.runtime.ts",
339
+ "line": 82,
340
+ "character": 91
341
+ },
342
+ "name": "boolean"
343
+ }
344
+ ]
345
+ },
346
+ "modifiers": [
347
+ "async"
348
+ ]
349
+ },
350
+ {
351
+ "__schema": "FunctionLikeSchema",
320
352
  "location": {
321
353
  "filePath": "deprecation.main.runtime.ts",
322
- "line": 82,
323
- "character": 83
354
+ "line": 93,
355
+ "character": 3
324
356
  },
325
- "name": "Promise",
326
- "typeArgs": [
357
+ "signature": "(method) DeprecationMain.unDeprecate(componentId: ComponentID): Promise<boolean>",
358
+ "name": "unDeprecate",
359
+ "params": [
327
360
  {
328
- "__schema": "KeywordTypeSchema",
361
+ "__schema": "ParameterSchema",
329
362
  "location": {
330
363
  "filePath": "deprecation.main.runtime.ts",
331
- "line": 82,
332
- "character": 91
364
+ "line": 93,
365
+ "character": 21
333
366
  },
334
- "name": "boolean"
367
+ "name": "componentId",
368
+ "type": {
369
+ "__schema": "TypeRefSchema",
370
+ "location": {
371
+ "filePath": "deprecation.main.runtime.ts",
372
+ "line": 93,
373
+ "character": 34
374
+ },
375
+ "name": "ComponentID",
376
+ "componentId": {
377
+ "scope": "teambit.component",
378
+ "name": "component"
379
+ }
380
+ },
381
+ "isOptional": false,
382
+ "isSpread": false
335
383
  }
336
- ]
337
- },
338
- "modifiers": [
339
- "async"
340
- ]
341
- },
342
- {
343
- "__schema": "FunctionLikeSchema",
344
- "location": {
345
- "filePath": "deprecation.main.runtime.ts",
346
- "line": 93,
347
- "character": 3
348
- },
349
- "signature": "(method) DeprecationMain.unDeprecate(componentId: ComponentID): Promise<boolean>",
350
- "name": "unDeprecate",
351
- "params": [
352
- {
353
- "__schema": "ParameterSchema",
384
+ ],
385
+ "returnType": {
386
+ "__schema": "InferenceTypeSchema",
354
387
  "location": {
355
388
  "filePath": "deprecation.main.runtime.ts",
356
389
  "line": 93,
357
- "character": 21
358
- },
359
- "name": "componentId",
360
- "type": {
361
- "__schema": "TypeRefSchema",
362
- "location": {
363
- "filePath": "deprecation.main.runtime.ts",
364
- "line": 93,
365
- "character": 34
366
- },
367
- "name": "ComponentID",
368
- "componentId": {
369
- "scope": "teambit.component",
370
- "name": "component"
371
- }
390
+ "character": 3
372
391
  },
373
- "isOptional": false,
374
- "isSpread": false
375
- }
376
- ],
377
- "returnType": {
378
- "__schema": "InferenceTypeSchema",
392
+ "type": "Promise<boolean>"
393
+ },
394
+ "modifiers": [
395
+ "async"
396
+ ]
397
+ },
398
+ {
399
+ "__schema": "FunctionLikeSchema",
379
400
  "location": {
380
401
  "filePath": "deprecation.main.runtime.ts",
381
- "line": 93,
402
+ "line": 103,
382
403
  "character": 3
383
404
  },
384
- "type": "Promise<boolean>"
385
- },
386
- "modifiers": [
387
- "async"
388
- ]
389
- },
390
- {
391
- "__schema": "FunctionLikeSchema",
392
- "location": {
393
- "filePath": "deprecation.main.runtime.ts",
394
- "line": 103,
395
- "character": 3
396
- },
397
- "signature": "(method) DeprecationMain.provider([graphql, scope, componentAspect, workspace, cli]: [\n GraphqlMain,\n ScopeMain,\n ComponentMain,\n Workspace,\n CLIMain\n]): Promise<DeprecationMain>",
398
- "name": "provider",
399
- "params": [
400
- {
401
- "__schema": "ParameterSchema",
402
- "location": {
403
- "filePath": "deprecation.main.runtime.ts",
404
- "line": 103,
405
- "character": 25
406
- },
407
- "name": "[ graphql, scope, componentAspect, workspace, cli ]",
408
- "type": {
409
- "__schema": "TupleTypeSchema",
405
+ "signature": "(method) DeprecationMain.provider([graphql, scope, componentAspect, workspace, cli]: [\n GraphqlMain,\n ScopeMain,\n ComponentMain,\n Workspace,\n CLIMain\n]): Promise<DeprecationMain>",
406
+ "name": "provider",
407
+ "params": [
408
+ {
409
+ "__schema": "ParameterSchema",
410
410
  "location": {
411
411
  "filePath": "deprecation.main.runtime.ts",
412
412
  "line": 103,
413
- "character": 76
413
+ "character": 25
414
414
  },
415
- "elements": [
416
- {
417
- "__schema": "TypeRefSchema",
418
- "location": {
419
- "filePath": "deprecation.main.runtime.ts",
420
- "line": 104,
421
- "character": 5
422
- },
423
- "name": "GraphqlMain",
424
- "componentId": {
425
- "scope": "teambit.harmony",
426
- "name": "graphql"
427
- }
415
+ "name": "[ graphql, scope, componentAspect, workspace, cli ]",
416
+ "type": {
417
+ "__schema": "TupleTypeSchema",
418
+ "location": {
419
+ "filePath": "deprecation.main.runtime.ts",
420
+ "line": 103,
421
+ "character": 76
428
422
  },
429
- {
430
- "__schema": "TypeRefSchema",
431
- "location": {
432
- "filePath": "deprecation.main.runtime.ts",
433
- "line": 105,
434
- "character": 5
423
+ "elements": [
424
+ {
425
+ "__schema": "TypeRefSchema",
426
+ "location": {
427
+ "filePath": "deprecation.main.runtime.ts",
428
+ "line": 104,
429
+ "character": 5
430
+ },
431
+ "name": "GraphqlMain",
432
+ "componentId": {
433
+ "scope": "teambit.harmony",
434
+ "name": "graphql"
435
+ }
435
436
  },
436
- "name": "ScopeMain",
437
- "componentId": {
438
- "scope": "teambit.scope",
439
- "name": "scope"
440
- }
441
- },
442
- {
443
- "__schema": "TypeRefSchema",
444
- "location": {
445
- "filePath": "deprecation.main.runtime.ts",
446
- "line": 106,
447
- "character": 5
437
+ {
438
+ "__schema": "TypeRefSchema",
439
+ "location": {
440
+ "filePath": "deprecation.main.runtime.ts",
441
+ "line": 105,
442
+ "character": 5
443
+ },
444
+ "name": "ScopeMain",
445
+ "componentId": {
446
+ "scope": "teambit.scope",
447
+ "name": "scope"
448
+ }
448
449
  },
449
- "name": "ComponentMain",
450
- "componentId": {
451
- "scope": "teambit.component",
452
- "name": "component"
453
- }
454
- },
455
- {
456
- "__schema": "TypeRefSchema",
457
- "location": {
458
- "filePath": "deprecation.main.runtime.ts",
459
- "line": 107,
460
- "character": 5
450
+ {
451
+ "__schema": "TypeRefSchema",
452
+ "location": {
453
+ "filePath": "deprecation.main.runtime.ts",
454
+ "line": 106,
455
+ "character": 5
456
+ },
457
+ "name": "ComponentMain",
458
+ "componentId": {
459
+ "scope": "teambit.component",
460
+ "name": "component"
461
+ }
461
462
  },
462
- "name": "Workspace",
463
- "componentId": {
464
- "scope": "teambit.workspace",
465
- "name": "workspace"
466
- }
467
- },
468
- {
469
- "__schema": "TypeRefSchema",
470
- "location": {
471
- "filePath": "deprecation.main.runtime.ts",
472
- "line": 108,
473
- "character": 5
463
+ {
464
+ "__schema": "TypeRefSchema",
465
+ "location": {
466
+ "filePath": "deprecation.main.runtime.ts",
467
+ "line": 107,
468
+ "character": 5
469
+ },
470
+ "name": "Workspace",
471
+ "componentId": {
472
+ "scope": "teambit.workspace",
473
+ "name": "workspace"
474
+ }
474
475
  },
475
- "name": "CLIMain",
476
- "componentId": {
477
- "scope": "teambit.harmony",
478
- "name": "cli"
476
+ {
477
+ "__schema": "TypeRefSchema",
478
+ "location": {
479
+ "filePath": "deprecation.main.runtime.ts",
480
+ "line": 108,
481
+ "character": 5
482
+ },
483
+ "name": "CLIMain",
484
+ "componentId": {
485
+ "scope": "teambit.harmony",
486
+ "name": "cli"
487
+ }
479
488
  }
480
- }
481
- ]
489
+ ]
490
+ },
491
+ "isOptional": false,
492
+ "isSpread": false
493
+ }
494
+ ],
495
+ "returnType": {
496
+ "__schema": "InferenceTypeSchema",
497
+ "location": {
498
+ "filePath": "deprecation.main.runtime.ts",
499
+ "line": 103,
500
+ "character": 3
482
501
  },
483
- "isOptional": false,
484
- "isSpread": false
485
- }
486
- ],
487
- "returnType": {
488
- "__schema": "InferenceTypeSchema",
489
- "location": {
490
- "filePath": "deprecation.main.runtime.ts",
491
- "line": 103,
492
- "character": 3
502
+ "type": "Promise<DeprecationMain>"
493
503
  },
494
- "type": "Promise<DeprecationMain>"
495
- },
496
- "modifiers": [
497
- "static",
498
- "async"
499
- ]
500
- }
501
- ],
502
- "extendsNodes": [],
503
- "implementNodes": []
504
+ "modifiers": [
505
+ "static",
506
+ "async"
507
+ ]
508
+ }
509
+ ],
510
+ "extendsNodes": [],
511
+ "implementNodes": []
512
+ }
504
513
  },
505
514
  {
506
- "__schema": "TypeSchema",
515
+ "__schema": "ExportSchema",
507
516
  "location": {
508
- "filePath": "deprecation.main.runtime.ts",
509
- "line": 14,
510
- "character": 1
517
+ "filePath": "index.ts",
518
+ "line": 1,
519
+ "character": 32
511
520
  },
512
- "signature": "type DeprecationInfo = {\n isDeprecate: boolean;\n newId?: string | undefined;\n range?: string | undefined;\n}",
513
521
  "name": "DeprecationInfo",
514
- "type": {
515
- "__schema": "TypeLiteralSchema",
522
+ "exportNode": {
523
+ "__schema": "TypeSchema",
516
524
  "location": {
517
525
  "filePath": "deprecation.main.runtime.ts",
518
526
  "line": 14,
519
- "character": 31
527
+ "character": 1
520
528
  },
521
- "members": [
522
- {
523
- "__schema": "VariableLikeSchema",
524
- "location": {
525
- "filePath": "deprecation.main.runtime.ts",
526
- "line": 15,
527
- "character": 3
528
- },
529
- "signature": "(property) isDeprecate: boolean",
530
- "name": "isDeprecate",
531
- "type": {
532
- "__schema": "KeywordTypeSchema",
529
+ "signature": "type DeprecationInfo = {\n isDeprecate: boolean;\n newId?: string | undefined;\n range?: string | undefined;\n}",
530
+ "name": "DeprecationInfo",
531
+ "type": {
532
+ "__schema": "TypeLiteralSchema",
533
+ "location": {
534
+ "filePath": "deprecation.main.runtime.ts",
535
+ "line": 14,
536
+ "character": 31
537
+ },
538
+ "members": [
539
+ {
540
+ "__schema": "VariableLikeSchema",
533
541
  "location": {
534
542
  "filePath": "deprecation.main.runtime.ts",
535
543
  "line": 15,
536
- "character": 16
544
+ "character": 3
537
545
  },
538
- "name": "boolean"
539
- },
540
- "isOptional": false
541
- },
542
- {
543
- "__schema": "VariableLikeSchema",
544
- "location": {
545
- "filePath": "deprecation.main.runtime.ts",
546
- "line": 16,
547
- "character": 3
546
+ "signature": "(property) isDeprecate: boolean",
547
+ "name": "isDeprecate",
548
+ "type": {
549
+ "__schema": "KeywordTypeSchema",
550
+ "location": {
551
+ "filePath": "deprecation.main.runtime.ts",
552
+ "line": 15,
553
+ "character": 16
554
+ },
555
+ "name": "boolean"
556
+ },
557
+ "isOptional": false
548
558
  },
549
- "signature": "(property) newId?: string | undefined",
550
- "name": "newId",
551
- "type": {
552
- "__schema": "KeywordTypeSchema",
559
+ {
560
+ "__schema": "VariableLikeSchema",
553
561
  "location": {
554
562
  "filePath": "deprecation.main.runtime.ts",
555
563
  "line": 16,
556
- "character": 11
564
+ "character": 3
557
565
  },
558
- "name": "string"
559
- },
560
- "isOptional": true
561
- },
562
- {
563
- "__schema": "VariableLikeSchema",
564
- "location": {
565
- "filePath": "deprecation.main.runtime.ts",
566
- "line": 17,
567
- "character": 3
566
+ "signature": "(property) newId?: string | undefined",
567
+ "name": "newId",
568
+ "type": {
569
+ "__schema": "KeywordTypeSchema",
570
+ "location": {
571
+ "filePath": "deprecation.main.runtime.ts",
572
+ "line": 16,
573
+ "character": 11
574
+ },
575
+ "name": "string"
576
+ },
577
+ "isOptional": true
568
578
  },
569
- "signature": "(property) range?: string | undefined",
570
- "name": "range",
571
- "type": {
572
- "__schema": "KeywordTypeSchema",
579
+ {
580
+ "__schema": "VariableLikeSchema",
573
581
  "location": {
574
582
  "filePath": "deprecation.main.runtime.ts",
575
583
  "line": 17,
576
- "character": 11
584
+ "character": 3
577
585
  },
578
- "name": "string"
579
- },
580
- "isOptional": true
581
- }
582
- ]
586
+ "signature": "(property) range?: string | undefined",
587
+ "name": "range",
588
+ "type": {
589
+ "__schema": "KeywordTypeSchema",
590
+ "location": {
591
+ "filePath": "deprecation.main.runtime.ts",
592
+ "line": 17,
593
+ "character": 11
594
+ },
595
+ "name": "string"
596
+ },
597
+ "isOptional": true
598
+ }
599
+ ]
600
+ }
583
601
  }
584
602
  },
585
603
  {
586
- "__schema": "TypeSchema",
604
+ "__schema": "ExportSchema",
587
605
  "location": {
588
- "filePath": "deprecation.main.runtime.ts",
589
- "line": 20,
590
- "character": 1
606
+ "filePath": "index.ts",
607
+ "line": 1,
608
+ "character": 49
591
609
  },
592
- "signature": "type DeprecationMetadata = {\n deprecate?: boolean | undefined;\n newId?: ComponentIdObj | undefined;\n range?: string | undefined;\n}",
593
610
  "name": "DeprecationMetadata",
594
- "type": {
595
- "__schema": "TypeLiteralSchema",
611
+ "exportNode": {
612
+ "__schema": "TypeSchema",
596
613
  "location": {
597
614
  "filePath": "deprecation.main.runtime.ts",
598
615
  "line": 20,
599
- "character": 35
616
+ "character": 1
600
617
  },
601
- "members": [
602
- {
603
- "__schema": "VariableLikeSchema",
604
- "location": {
605
- "filePath": "deprecation.main.runtime.ts",
606
- "line": 24,
607
- "character": 3
608
- },
609
- "doc": {
610
- "__schema": "DocSchema",
618
+ "signature": "type DeprecationMetadata = {\n deprecate?: boolean | undefined;\n newId?: ComponentIdObj | undefined;\n range?: string | undefined;\n}",
619
+ "name": "DeprecationMetadata",
620
+ "type": {
621
+ "__schema": "TypeLiteralSchema",
622
+ "location": {
623
+ "filePath": "deprecation.main.runtime.ts",
624
+ "line": 20,
625
+ "character": 35
626
+ },
627
+ "members": [
628
+ {
629
+ "__schema": "VariableLikeSchema",
611
630
  "location": {
612
631
  "filePath": "deprecation.main.runtime.ts",
613
- "line": 21,
632
+ "line": 24,
614
633
  "character": 3
615
634
  },
616
- "raw": "/**\n * whether the head is deprecated\n */",
617
- "comment": "whether the head is deprecated"
618
- },
619
- "signature": "(property) deprecate?: boolean | undefined",
620
- "name": "deprecate",
621
- "type": {
622
- "__schema": "KeywordTypeSchema",
623
- "location": {
624
- "filePath": "deprecation.main.runtime.ts",
625
- "line": 24,
626
- "character": 15
635
+ "doc": {
636
+ "__schema": "DocSchema",
637
+ "location": {
638
+ "filePath": "deprecation.main.runtime.ts",
639
+ "line": 21,
640
+ "character": 3
641
+ },
642
+ "raw": "/**\n * whether the head is deprecated\n */",
643
+ "comment": "whether the head is deprecated"
627
644
  },
628
- "name": "boolean"
629
- },
630
- "isOptional": true
631
- },
632
- {
633
- "__schema": "VariableLikeSchema",
634
- "location": {
635
- "filePath": "deprecation.main.runtime.ts",
636
- "line": 28,
637
- "character": 3
638
- },
639
- "doc": {
640
- "__schema": "DocSchema",
641
- "location": {
642
- "filePath": "deprecation.main.runtime.ts",
643
- "line": 25,
644
- "character": 3
645
+ "signature": "(property) deprecate?: boolean | undefined",
646
+ "name": "deprecate",
647
+ "type": {
648
+ "__schema": "KeywordTypeSchema",
649
+ "location": {
650
+ "filePath": "deprecation.main.runtime.ts",
651
+ "line": 24,
652
+ "character": 15
653
+ },
654
+ "name": "boolean"
645
655
  },
646
- "raw": "/**\n * the new id to use instead of the current one\n */",
647
- "comment": "the new id to use instead of the current one"
656
+ "isOptional": true
648
657
  },
649
- "signature": "(property) newId?: ComponentIdObj | undefined",
650
- "name": "newId",
651
- "type": {
652
- "__schema": "TypeRefSchema",
658
+ {
659
+ "__schema": "VariableLikeSchema",
653
660
  "location": {
654
661
  "filePath": "deprecation.main.runtime.ts",
655
662
  "line": 28,
656
- "character": 11
657
- },
658
- "name": "ComponentIdObj",
659
- "componentId": {
660
- "scope": "teambit.component",
661
- "name": "component-id",
662
- "version": "1.2.0"
663
- }
664
- },
665
- "isOptional": true
666
- },
667
- {
668
- "__schema": "VariableLikeSchema",
669
- "location": {
670
- "filePath": "deprecation.main.runtime.ts",
671
- "line": 32,
672
- "character": 3
673
- },
674
- "doc": {
675
- "__schema": "DocSchema",
676
- "location": {
677
- "filePath": "deprecation.main.runtime.ts",
678
- "line": 29,
679
663
  "character": 3
680
664
  },
681
- "raw": "/**\n * Semver range to deprecate previous versions\n */",
682
- "comment": "Semver range to deprecate previous versions"
665
+ "doc": {
666
+ "__schema": "DocSchema",
667
+ "location": {
668
+ "filePath": "deprecation.main.runtime.ts",
669
+ "line": 25,
670
+ "character": 3
671
+ },
672
+ "raw": "/**\n * the new id to use instead of the current one\n */",
673
+ "comment": "the new id to use instead of the current one"
674
+ },
675
+ "signature": "(property) newId?: ComponentIdObj | undefined",
676
+ "name": "newId",
677
+ "type": {
678
+ "__schema": "TypeRefSchema",
679
+ "location": {
680
+ "filePath": "deprecation.main.runtime.ts",
681
+ "line": 28,
682
+ "character": 11
683
+ },
684
+ "name": "ComponentIdObj",
685
+ "componentId": {
686
+ "scope": "teambit.component",
687
+ "name": "component-id",
688
+ "version": "1.2.0"
689
+ }
690
+ },
691
+ "isOptional": true
683
692
  },
684
- "signature": "(property) range?: string | undefined",
685
- "name": "range",
686
- "type": {
687
- "__schema": "KeywordTypeSchema",
693
+ {
694
+ "__schema": "VariableLikeSchema",
688
695
  "location": {
689
696
  "filePath": "deprecation.main.runtime.ts",
690
697
  "line": 32,
691
- "character": 11
698
+ "character": 3
692
699
  },
693
- "name": "string"
694
- },
695
- "isOptional": true
696
- }
697
- ]
700
+ "doc": {
701
+ "__schema": "DocSchema",
702
+ "location": {
703
+ "filePath": "deprecation.main.runtime.ts",
704
+ "line": 29,
705
+ "character": 3
706
+ },
707
+ "raw": "/**\n * Semver range to deprecate previous versions\n */",
708
+ "comment": "Semver range to deprecate previous versions"
709
+ },
710
+ "signature": "(property) range?: string | undefined",
711
+ "name": "range",
712
+ "type": {
713
+ "__schema": "KeywordTypeSchema",
714
+ "location": {
715
+ "filePath": "deprecation.main.runtime.ts",
716
+ "line": 32,
717
+ "character": 11
718
+ },
719
+ "name": "string"
720
+ },
721
+ "isOptional": true
722
+ }
723
+ ]
724
+ }
698
725
  }
699
726
  },
700
727
  {
701
- "__schema": "VariableLikeSchema",
728
+ "__schema": "ExportSchema",
702
729
  "location": {
703
- "filePath": "deprecation.aspect.ts",
704
- "line": 3,
705
- "character": 14
730
+ "filePath": "index.ts",
731
+ "line": 2,
732
+ "character": 10
706
733
  },
707
- "signature": "const DeprecationAspect: Aspect",
708
734
  "name": "DeprecationAspect",
709
- "type": {
710
- "__schema": "TypeRefSchema",
735
+ "exportNode": {
736
+ "__schema": "VariableLikeSchema",
711
737
  "location": {
712
738
  "filePath": "deprecation.aspect.ts",
713
739
  "line": 3,
714
740
  "character": 14
715
741
  },
716
- "name": "Aspect",
717
- "componentId": {
718
- "scope": "teambit.harmony",
719
- "name": "harmony",
720
- "version": "0.4.6"
721
- }
722
- },
723
- "isOptional": false,
724
- "defaultValue": "Aspect.create({\n id: 'teambit.component/deprecation',\n dependencies: [],\n defaultConfig: {},\n})"
742
+ "signature": "const DeprecationAspect: Aspect",
743
+ "name": "DeprecationAspect",
744
+ "type": {
745
+ "__schema": "TypeRefSchema",
746
+ "location": {
747
+ "filePath": "deprecation.aspect.ts",
748
+ "line": 3,
749
+ "character": 14
750
+ },
751
+ "name": "Aspect",
752
+ "componentId": {
753
+ "scope": "teambit.harmony",
754
+ "name": "harmony",
755
+ "version": "0.4.6"
756
+ }
757
+ },
758
+ "isOptional": false,
759
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/deprecation',\n dependencies: [],\n defaultConfig: {},\n})"
760
+ }
725
761
  },
726
762
  {
727
- "__schema": "VariableLikeSchema",
763
+ "__schema": "ExportSchema",
728
764
  "location": {
729
- "filePath": "deprecation.aspect.ts",
730
- "line": 3,
731
- "character": 14
765
+ "filePath": "index.ts",
766
+ "line": 2,
767
+ "character": 50
732
768
  },
733
- "signature": "const DeprecationAspect: Aspect",
734
769
  "name": "DeprecationAspect",
735
- "type": {
736
- "__schema": "TypeRefSchema",
770
+ "exportNode": {
771
+ "__schema": "VariableLikeSchema",
737
772
  "location": {
738
773
  "filePath": "deprecation.aspect.ts",
739
774
  "line": 3,
740
775
  "character": 14
741
776
  },
742
- "name": "Aspect",
743
- "componentId": {
744
- "scope": "teambit.harmony",
745
- "name": "harmony",
746
- "version": "0.4.6"
747
- }
777
+ "signature": "const DeprecationAspect: Aspect",
778
+ "name": "DeprecationAspect",
779
+ "type": {
780
+ "__schema": "TypeRefSchema",
781
+ "location": {
782
+ "filePath": "deprecation.aspect.ts",
783
+ "line": 3,
784
+ "character": 14
785
+ },
786
+ "name": "Aspect",
787
+ "componentId": {
788
+ "scope": "teambit.harmony",
789
+ "name": "harmony",
790
+ "version": "0.4.6"
791
+ }
792
+ },
793
+ "isOptional": false,
794
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/deprecation',\n dependencies: [],\n defaultConfig: {},\n})"
748
795
  },
749
- "isOptional": false,
750
- "defaultValue": "Aspect.create({\n id: 'teambit.component/deprecation',\n dependencies: [],\n defaultConfig: {},\n})"
796
+ "alias": "default"
751
797
  }
752
798
  ],
753
799
  "internals": []
@@ -1510,7 +1556,7 @@
1510
1556
  "componentId": {
1511
1557
  "scope": "teambit.component",
1512
1558
  "name": "deprecation",
1513
- "version": "1.0.257"
1559
+ "version": "1.0.259"
1514
1560
  },
1515
1561
  "taggedModuleExports": []
1516
1562
  }