@teambit/env 1.0.188 → 1.0.190

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/artifacts/__bit_junit.xml +1 -1
  2. package/artifacts/env-template/public/{206.ccc4b8334526dbc48961.js → 291.1602676adae8a95a4658.js} +2 -2
  3. package/artifacts/env-template/public/{310.307965d54e009dc3367d.js → 310.f2033c3091e4d042c6c3.js} +30 -29
  4. package/artifacts/env-template/public/{700.abf31755134a9a0e5356.js → 762.b304d8bb3020bb984902.js} +11 -11
  5. package/artifacts/env-template/public/assets-manifest.json +18 -18
  6. package/artifacts/env-template/public/compositions.3744267ef6a8393d93c2.js +17 -0
  7. package/artifacts/env-template/public/compositions.html +1 -1
  8. package/artifacts/env-template/public/{overview.008ec3a750c4b015464a.js → overview.c6da786d52c3c05b1737.js} +1 -1
  9. package/artifacts/env-template/public/overview.html +1 -1
  10. package/artifacts/env-template/public/peers.6d721508cc5bbfc322b7.js +1 -0
  11. package/artifacts/env-template/public/{preview-root.475970907ce1877dcde2.js → preview-root.0ec292e5c07b0f7dbd11.js} +1 -1
  12. package/artifacts/env-template/public/static/css/{310.752c23fb.css → 310.9f487c8a.css} +1 -1
  13. package/artifacts/preview/teambit_envs_env-preview.js +1 -1
  14. package/artifacts/schema.json +1092 -0
  15. package/{compositions-1710040632859.js → compositions-1710232535180.js} +1 -1
  16. package/dist/env.aspect.js.map +1 -1
  17. package/dist/env.composition.js.map +1 -1
  18. package/dist/env.env.js.map +1 -1
  19. package/dist/env.main.runtime.js.map +1 -1
  20. package/dist/index.js.map +1 -1
  21. package/dist/preview-1710232535180.js +7 -0
  22. package/{overview-1710040632859.js → overview-1710232535180.js} +1 -1
  23. package/package.json +8 -8
  24. package/artifacts/env-template/public/compositions.4571e65b506129457066.js +0 -17
  25. package/artifacts/env-template/public/peers.09dfec9a411b4607437a.js +0 -1
  26. package/dist/preview-1710040632859.js +0 -7
  27. /package/artifacts/env-template/public/{851.66d0ce171d9b9726d3c5.js → 851.d2664a57f5d46b636e5f.js} +0 -0
@@ -0,0 +1,1092 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "location": {
19
+ "filePath": "env.env.ts",
20
+ "line": 10,
21
+ "character": 1
22
+ },
23
+ "doc": {
24
+ "__schema": "DocSchema",
25
+ "location": {
26
+ "filePath": "env.env.ts",
27
+ "line": 7,
28
+ "character": 1
29
+ },
30
+ "raw": "/**\n * a component environment built for Envs.\n */",
31
+ "comment": "a component environment built for Envs."
32
+ },
33
+ "signature": "class EnvEnv",
34
+ "name": "EnvEnv",
35
+ "members": [
36
+ {
37
+ "__schema": "ConstructorSchema",
38
+ "location": {
39
+ "filePath": "env.env.ts",
40
+ "line": 11,
41
+ "character": 3
42
+ },
43
+ "signature": "constructor EnvEnv(aspectEnv: AspectEnv): EnvEnv",
44
+ "name": "constructor",
45
+ "params": [
46
+ {
47
+ "__schema": "ParameterSchema",
48
+ "location": {
49
+ "filePath": "env.env.ts",
50
+ "line": 11,
51
+ "character": 15
52
+ },
53
+ "name": "aspectEnv",
54
+ "type": {
55
+ "__schema": "TypeRefSchema",
56
+ "location": {
57
+ "filePath": "env.env.ts",
58
+ "line": 11,
59
+ "character": 34
60
+ },
61
+ "name": "AspectEnv",
62
+ "componentId": {
63
+ "scope": "teambit.harmony",
64
+ "name": "aspect"
65
+ }
66
+ },
67
+ "isOptional": false,
68
+ "isSpread": false
69
+ }
70
+ ],
71
+ "returnType": {
72
+ "__schema": "ThisTypeSchema",
73
+ "location": {
74
+ "filePath": "env.env.ts",
75
+ "line": 10,
76
+ "character": 1
77
+ },
78
+ "name": "EnvEnv"
79
+ },
80
+ "modifiers": []
81
+ },
82
+ {
83
+ "__schema": "VariableLikeSchema",
84
+ "location": {
85
+ "filePath": "env.env.ts",
86
+ "line": 13,
87
+ "character": 3
88
+ },
89
+ "signature": "(property) EnvEnv.icon: string",
90
+ "name": "icon",
91
+ "type": {
92
+ "__schema": "InferenceTypeSchema",
93
+ "location": {
94
+ "filePath": "env.env.ts",
95
+ "line": 13,
96
+ "character": 3
97
+ },
98
+ "type": "string"
99
+ },
100
+ "isOptional": true,
101
+ "defaultValue": "'https://static.bit.dev/extensions-icons/default.svg'"
102
+ },
103
+ {
104
+ "__schema": "FunctionLikeSchema",
105
+ "location": {
106
+ "filePath": "env.env.ts",
107
+ "line": 15,
108
+ "character": 3
109
+ },
110
+ "signature": "(method) EnvEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
111
+ "name": "__getDescriptor",
112
+ "params": [],
113
+ "returnType": {
114
+ "__schema": "InferenceTypeSchema",
115
+ "location": {
116
+ "filePath": "env.env.ts",
117
+ "line": 15,
118
+ "character": 3
119
+ },
120
+ "type": "Promise<{\n type: string;\n}>"
121
+ },
122
+ "modifiers": [
123
+ "async"
124
+ ]
125
+ },
126
+ {
127
+ "__schema": "FunctionLikeSchema",
128
+ "location": {
129
+ "filePath": "env.env.ts",
130
+ "line": 21,
131
+ "character": 3
132
+ },
133
+ "signature": "(method) EnvEnv.getPackageJsonProps(): PackageJsonProps",
134
+ "name": "getPackageJsonProps",
135
+ "params": [],
136
+ "returnType": {
137
+ "__schema": "TypeRefSchema",
138
+ "location": {
139
+ "filePath": "env.env.ts",
140
+ "line": 21,
141
+ "character": 3
142
+ },
143
+ "name": "PackageJsonProps",
144
+ "componentId": {
145
+ "scope": "teambit.pkg",
146
+ "name": "pkg"
147
+ }
148
+ },
149
+ "modifiers": []
150
+ },
151
+ {
152
+ "__schema": "FunctionLikeSchema",
153
+ "location": {
154
+ "filePath": "env.env.ts",
155
+ "line": 27,
156
+ "character": 3
157
+ },
158
+ "signature": "(method) EnvEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
159
+ "name": "getPreviewConfig",
160
+ "params": [],
161
+ "returnType": {
162
+ "__schema": "InferenceTypeSchema",
163
+ "location": {
164
+ "filePath": "env.env.ts",
165
+ "line": 27,
166
+ "character": 3
167
+ },
168
+ "type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
169
+ },
170
+ "modifiers": []
171
+ }
172
+ ],
173
+ "extendsNodes": [],
174
+ "implementNodes": []
175
+ },
176
+ {
177
+ "__schema": "ClassSchema",
178
+ "location": {
179
+ "filePath": "env.main.runtime.ts",
180
+ "line": 7,
181
+ "character": 1
182
+ },
183
+ "signature": "class EnvMain",
184
+ "name": "EnvMain",
185
+ "members": [
186
+ {
187
+ "__schema": "ConstructorSchema",
188
+ "location": {
189
+ "filePath": "env.main.runtime.ts",
190
+ "line": 8,
191
+ "character": 3
192
+ },
193
+ "signature": "constructor EnvMain(envEnv: EnvEnv, envs: EnvsMain): EnvMain",
194
+ "name": "constructor",
195
+ "params": [
196
+ {
197
+ "__schema": "ParameterSchema",
198
+ "location": {
199
+ "filePath": "env.main.runtime.ts",
200
+ "line": 8,
201
+ "character": 15
202
+ },
203
+ "name": "envEnv",
204
+ "type": {
205
+ "__schema": "TypeRefSchema",
206
+ "location": {
207
+ "filePath": "env.main.runtime.ts",
208
+ "line": 8,
209
+ "character": 32
210
+ },
211
+ "name": "EnvEnv"
212
+ },
213
+ "isOptional": false,
214
+ "isSpread": false
215
+ },
216
+ {
217
+ "__schema": "ParameterSchema",
218
+ "location": {
219
+ "filePath": "env.main.runtime.ts",
220
+ "line": 8,
221
+ "character": 40
222
+ },
223
+ "name": "envs",
224
+ "type": {
225
+ "__schema": "TypeRefSchema",
226
+ "location": {
227
+ "filePath": "env.main.runtime.ts",
228
+ "line": 8,
229
+ "character": 54
230
+ },
231
+ "name": "EnvsMain",
232
+ "componentId": {
233
+ "scope": "teambit.envs",
234
+ "name": "envs"
235
+ }
236
+ },
237
+ "isOptional": false,
238
+ "isSpread": false
239
+ }
240
+ ],
241
+ "returnType": {
242
+ "__schema": "ThisTypeSchema",
243
+ "location": {
244
+ "filePath": "env.main.runtime.ts",
245
+ "line": 7,
246
+ "character": 1
247
+ },
248
+ "name": "EnvMain"
249
+ },
250
+ "modifiers": []
251
+ },
252
+ {
253
+ "__schema": "FunctionLikeSchema",
254
+ "location": {
255
+ "filePath": "env.main.runtime.ts",
256
+ "line": 13,
257
+ "character": 3
258
+ },
259
+ "doc": {
260
+ "__schema": "DocSchema",
261
+ "location": {
262
+ "filePath": "env.main.runtime.ts",
263
+ "line": 10,
264
+ "character": 3
265
+ },
266
+ "raw": "/**\n * compose your own aspect environment.\n */",
267
+ "comment": "compose your own aspect environment."
268
+ },
269
+ "signature": "(method) EnvMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
270
+ "name": "compose",
271
+ "params": [
272
+ {
273
+ "__schema": "ParameterSchema",
274
+ "location": {
275
+ "filePath": "env.main.runtime.ts",
276
+ "line": 13,
277
+ "character": 11
278
+ },
279
+ "name": "transformers",
280
+ "type": {
281
+ "__schema": "TypeArraySchema",
282
+ "location": {
283
+ "filePath": "env.main.runtime.ts",
284
+ "line": 13,
285
+ "character": 25
286
+ },
287
+ "type": {
288
+ "__schema": "TypeRefSchema",
289
+ "location": {
290
+ "filePath": "env.main.runtime.ts",
291
+ "line": 13,
292
+ "character": 25
293
+ },
294
+ "name": "EnvTransformer",
295
+ "componentId": {
296
+ "scope": "teambit.envs",
297
+ "name": "envs"
298
+ }
299
+ }
300
+ },
301
+ "isOptional": true,
302
+ "defaultValue": "[]",
303
+ "isSpread": false
304
+ },
305
+ {
306
+ "__schema": "ParameterSchema",
307
+ "location": {
308
+ "filePath": "env.main.runtime.ts",
309
+ "line": 13,
310
+ "character": 48
311
+ },
312
+ "name": "targetEnv",
313
+ "type": {
314
+ "__schema": "TypeRefSchema",
315
+ "location": {
316
+ "filePath": "env.main.runtime.ts",
317
+ "line": 13,
318
+ "character": 59
319
+ },
320
+ "name": "Environment",
321
+ "componentId": {
322
+ "scope": "teambit.envs",
323
+ "name": "envs"
324
+ }
325
+ },
326
+ "isOptional": true,
327
+ "defaultValue": "{}",
328
+ "isSpread": false
329
+ }
330
+ ],
331
+ "returnType": {
332
+ "__schema": "TypeRefSchema",
333
+ "location": {
334
+ "filePath": "env.main.runtime.ts",
335
+ "line": 13,
336
+ "character": 3
337
+ },
338
+ "name": "Environment",
339
+ "componentId": {
340
+ "scope": "teambit.envs",
341
+ "name": "envs"
342
+ }
343
+ },
344
+ "modifiers": []
345
+ },
346
+ {
347
+ "__schema": "VariableLikeSchema",
348
+ "location": {
349
+ "filePath": "env.main.runtime.ts",
350
+ "line": 17,
351
+ "character": 3
352
+ },
353
+ "signature": "(property) EnvMain.slots: never[]",
354
+ "name": "slots",
355
+ "type": {
356
+ "__schema": "InferenceTypeSchema",
357
+ "location": {
358
+ "filePath": "env.main.runtime.ts",
359
+ "line": 17,
360
+ "character": 3
361
+ },
362
+ "type": "never[]"
363
+ },
364
+ "isOptional": true,
365
+ "defaultValue": "[]"
366
+ },
367
+ {
368
+ "__schema": "VariableLikeSchema",
369
+ "location": {
370
+ "filePath": "env.main.runtime.ts",
371
+ "line": 18,
372
+ "character": 3
373
+ },
374
+ "signature": "(property) EnvMain.dependencies: Aspect[]",
375
+ "name": "dependencies",
376
+ "type": {
377
+ "__schema": "InferenceTypeSchema",
378
+ "location": {
379
+ "filePath": "env.main.runtime.ts",
380
+ "line": 18,
381
+ "character": 3
382
+ },
383
+ "type": "Aspect[]"
384
+ },
385
+ "isOptional": true,
386
+ "defaultValue": "[AspectAspect, EnvsAspect]"
387
+ },
388
+ {
389
+ "__schema": "VariableLikeSchema",
390
+ "location": {
391
+ "filePath": "env.main.runtime.ts",
392
+ "line": 19,
393
+ "character": 3
394
+ },
395
+ "signature": "(property) EnvMain.runtime: RuntimeDefinition",
396
+ "name": "runtime",
397
+ "type": {
398
+ "__schema": "InferenceTypeSchema",
399
+ "location": {
400
+ "filePath": "env.main.runtime.ts",
401
+ "line": 19,
402
+ "character": 3
403
+ },
404
+ "type": "RuntimeDefinition"
405
+ },
406
+ "isOptional": true,
407
+ "defaultValue": "MainRuntime"
408
+ },
409
+ {
410
+ "__schema": "FunctionLikeSchema",
411
+ "location": {
412
+ "filePath": "env.main.runtime.ts",
413
+ "line": 20,
414
+ "character": 3
415
+ },
416
+ "signature": "(method) EnvMain.provider([aspectAspect, envs]: [AspectMain, EnvsMain]): Promise<EnvMain>",
417
+ "name": "provider",
418
+ "params": [
419
+ {
420
+ "__schema": "ParameterSchema",
421
+ "location": {
422
+ "filePath": "env.main.runtime.ts",
423
+ "line": 20,
424
+ "character": 25
425
+ },
426
+ "name": "[ aspectAspect, envs ]",
427
+ "type": {
428
+ "__schema": "TupleTypeSchema",
429
+ "location": {
430
+ "filePath": "env.main.runtime.ts",
431
+ "line": 20,
432
+ "character": 47
433
+ },
434
+ "elements": [
435
+ {
436
+ "__schema": "TypeRefSchema",
437
+ "location": {
438
+ "filePath": "env.main.runtime.ts",
439
+ "line": 20,
440
+ "character": 48
441
+ },
442
+ "name": "AspectMain",
443
+ "componentId": {
444
+ "scope": "teambit.harmony",
445
+ "name": "aspect"
446
+ }
447
+ },
448
+ {
449
+ "__schema": "TypeRefSchema",
450
+ "location": {
451
+ "filePath": "env.main.runtime.ts",
452
+ "line": 20,
453
+ "character": 60
454
+ },
455
+ "name": "EnvsMain",
456
+ "componentId": {
457
+ "scope": "teambit.envs",
458
+ "name": "envs"
459
+ }
460
+ }
461
+ ]
462
+ },
463
+ "isOptional": false,
464
+ "isSpread": false
465
+ }
466
+ ],
467
+ "returnType": {
468
+ "__schema": "InferenceTypeSchema",
469
+ "location": {
470
+ "filePath": "env.main.runtime.ts",
471
+ "line": 20,
472
+ "character": 3
473
+ },
474
+ "type": "Promise<EnvMain>"
475
+ },
476
+ "modifiers": [
477
+ "static",
478
+ "async"
479
+ ]
480
+ }
481
+ ],
482
+ "extendsNodes": [],
483
+ "implementNodes": []
484
+ },
485
+ {
486
+ "__schema": "UnImplementedSchema",
487
+ "location": {
488
+ "filePath": "index.ts",
489
+ "line": 5,
490
+ "character": 16
491
+ },
492
+ "name": "EnvAspect",
493
+ "type": "Identifier"
494
+ },
495
+ {
496
+ "__schema": "VariableLikeSchema",
497
+ "location": {
498
+ "filePath": "env.aspect.ts",
499
+ "line": 3,
500
+ "character": 14
501
+ },
502
+ "signature": "const EnvAspect: Aspect",
503
+ "name": "EnvAspect",
504
+ "type": {
505
+ "__schema": "TypeRefSchema",
506
+ "location": {
507
+ "filePath": "env.aspect.ts",
508
+ "line": 3,
509
+ "character": 14
510
+ },
511
+ "name": "Aspect",
512
+ "componentId": {
513
+ "scope": "teambit.harmony",
514
+ "name": "harmony",
515
+ "version": "0.4.6"
516
+ }
517
+ },
518
+ "isOptional": false,
519
+ "defaultValue": "Aspect.create({\n id: 'teambit.envs/env',\n})"
520
+ }
521
+ ],
522
+ "internals": []
523
+ },
524
+ "internals": [
525
+ {
526
+ "__schema": "ModuleSchema",
527
+ "location": {
528
+ "filePath": "env.env.ts",
529
+ "line": 1,
530
+ "character": 1
531
+ },
532
+ "exports": [
533
+ {
534
+ "__schema": "VariableLikeSchema",
535
+ "location": {
536
+ "filePath": "env.env.ts",
537
+ "line": 5,
538
+ "character": 14
539
+ },
540
+ "signature": "const EnvEnvType: \"env\"",
541
+ "name": "EnvEnvType",
542
+ "type": {
543
+ "__schema": "InferenceTypeSchema",
544
+ "location": {
545
+ "filePath": "env.env.ts",
546
+ "line": 5,
547
+ "character": 14
548
+ },
549
+ "type": "\"env\""
550
+ },
551
+ "isOptional": false,
552
+ "defaultValue": "'env'"
553
+ },
554
+ {
555
+ "__schema": "ClassSchema",
556
+ "location": {
557
+ "filePath": "env.env.ts",
558
+ "line": 10,
559
+ "character": 1
560
+ },
561
+ "doc": {
562
+ "__schema": "DocSchema",
563
+ "location": {
564
+ "filePath": "env.env.ts",
565
+ "line": 7,
566
+ "character": 1
567
+ },
568
+ "raw": "/**\n * a component environment built for Envs.\n */",
569
+ "comment": "a component environment built for Envs."
570
+ },
571
+ "signature": "class EnvEnv",
572
+ "name": "EnvEnv",
573
+ "members": [
574
+ {
575
+ "__schema": "ConstructorSchema",
576
+ "location": {
577
+ "filePath": "env.env.ts",
578
+ "line": 11,
579
+ "character": 3
580
+ },
581
+ "signature": "constructor EnvEnv(aspectEnv: AspectEnv): EnvEnv",
582
+ "name": "constructor",
583
+ "params": [
584
+ {
585
+ "__schema": "ParameterSchema",
586
+ "location": {
587
+ "filePath": "env.env.ts",
588
+ "line": 11,
589
+ "character": 15
590
+ },
591
+ "name": "aspectEnv",
592
+ "type": {
593
+ "__schema": "TypeRefSchema",
594
+ "location": {
595
+ "filePath": "env.env.ts",
596
+ "line": 11,
597
+ "character": 34
598
+ },
599
+ "name": "AspectEnv",
600
+ "componentId": {
601
+ "scope": "teambit.harmony",
602
+ "name": "aspect"
603
+ }
604
+ },
605
+ "isOptional": false,
606
+ "isSpread": false
607
+ }
608
+ ],
609
+ "returnType": {
610
+ "__schema": "ThisTypeSchema",
611
+ "location": {
612
+ "filePath": "env.env.ts",
613
+ "line": 10,
614
+ "character": 1
615
+ },
616
+ "name": "EnvEnv"
617
+ },
618
+ "modifiers": []
619
+ },
620
+ {
621
+ "__schema": "VariableLikeSchema",
622
+ "location": {
623
+ "filePath": "env.env.ts",
624
+ "line": 13,
625
+ "character": 3
626
+ },
627
+ "signature": "(property) EnvEnv.icon: string",
628
+ "name": "icon",
629
+ "type": {
630
+ "__schema": "InferenceTypeSchema",
631
+ "location": {
632
+ "filePath": "env.env.ts",
633
+ "line": 13,
634
+ "character": 3
635
+ },
636
+ "type": "string"
637
+ },
638
+ "isOptional": true,
639
+ "defaultValue": "'https://static.bit.dev/extensions-icons/default.svg'"
640
+ },
641
+ {
642
+ "__schema": "FunctionLikeSchema",
643
+ "location": {
644
+ "filePath": "env.env.ts",
645
+ "line": 15,
646
+ "character": 3
647
+ },
648
+ "signature": "(method) EnvEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
649
+ "name": "__getDescriptor",
650
+ "params": [],
651
+ "returnType": {
652
+ "__schema": "InferenceTypeSchema",
653
+ "location": {
654
+ "filePath": "env.env.ts",
655
+ "line": 15,
656
+ "character": 3
657
+ },
658
+ "type": "Promise<{\n type: string;\n}>"
659
+ },
660
+ "modifiers": [
661
+ "async"
662
+ ]
663
+ },
664
+ {
665
+ "__schema": "FunctionLikeSchema",
666
+ "location": {
667
+ "filePath": "env.env.ts",
668
+ "line": 21,
669
+ "character": 3
670
+ },
671
+ "signature": "(method) EnvEnv.getPackageJsonProps(): PackageJsonProps",
672
+ "name": "getPackageJsonProps",
673
+ "params": [],
674
+ "returnType": {
675
+ "__schema": "TypeRefSchema",
676
+ "location": {
677
+ "filePath": "env.env.ts",
678
+ "line": 21,
679
+ "character": 3
680
+ },
681
+ "name": "PackageJsonProps",
682
+ "componentId": {
683
+ "scope": "teambit.pkg",
684
+ "name": "pkg"
685
+ }
686
+ },
687
+ "modifiers": []
688
+ },
689
+ {
690
+ "__schema": "FunctionLikeSchema",
691
+ "location": {
692
+ "filePath": "env.env.ts",
693
+ "line": 27,
694
+ "character": 3
695
+ },
696
+ "signature": "(method) EnvEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
697
+ "name": "getPreviewConfig",
698
+ "params": [],
699
+ "returnType": {
700
+ "__schema": "InferenceTypeSchema",
701
+ "location": {
702
+ "filePath": "env.env.ts",
703
+ "line": 27,
704
+ "character": 3
705
+ },
706
+ "type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
707
+ },
708
+ "modifiers": []
709
+ }
710
+ ],
711
+ "extendsNodes": [],
712
+ "implementNodes": []
713
+ }
714
+ ],
715
+ "internals": []
716
+ },
717
+ {
718
+ "__schema": "ModuleSchema",
719
+ "location": {
720
+ "filePath": "env.main.runtime.ts",
721
+ "line": 1,
722
+ "character": 1
723
+ },
724
+ "exports": [
725
+ {
726
+ "__schema": "ClassSchema",
727
+ "location": {
728
+ "filePath": "env.main.runtime.ts",
729
+ "line": 7,
730
+ "character": 1
731
+ },
732
+ "signature": "class EnvMain",
733
+ "name": "EnvMain",
734
+ "members": [
735
+ {
736
+ "__schema": "ConstructorSchema",
737
+ "location": {
738
+ "filePath": "env.main.runtime.ts",
739
+ "line": 8,
740
+ "character": 3
741
+ },
742
+ "signature": "constructor EnvMain(envEnv: EnvEnv, envs: EnvsMain): EnvMain",
743
+ "name": "constructor",
744
+ "params": [
745
+ {
746
+ "__schema": "ParameterSchema",
747
+ "location": {
748
+ "filePath": "env.main.runtime.ts",
749
+ "line": 8,
750
+ "character": 15
751
+ },
752
+ "name": "envEnv",
753
+ "type": {
754
+ "__schema": "TypeRefSchema",
755
+ "location": {
756
+ "filePath": "env.main.runtime.ts",
757
+ "line": 8,
758
+ "character": 32
759
+ },
760
+ "name": "EnvEnv"
761
+ },
762
+ "isOptional": false,
763
+ "isSpread": false
764
+ },
765
+ {
766
+ "__schema": "ParameterSchema",
767
+ "location": {
768
+ "filePath": "env.main.runtime.ts",
769
+ "line": 8,
770
+ "character": 40
771
+ },
772
+ "name": "envs",
773
+ "type": {
774
+ "__schema": "TypeRefSchema",
775
+ "location": {
776
+ "filePath": "env.main.runtime.ts",
777
+ "line": 8,
778
+ "character": 54
779
+ },
780
+ "name": "EnvsMain",
781
+ "componentId": {
782
+ "scope": "teambit.envs",
783
+ "name": "envs"
784
+ }
785
+ },
786
+ "isOptional": false,
787
+ "isSpread": false
788
+ }
789
+ ],
790
+ "returnType": {
791
+ "__schema": "ThisTypeSchema",
792
+ "location": {
793
+ "filePath": "env.main.runtime.ts",
794
+ "line": 7,
795
+ "character": 1
796
+ },
797
+ "name": "EnvMain"
798
+ },
799
+ "modifiers": []
800
+ },
801
+ {
802
+ "__schema": "FunctionLikeSchema",
803
+ "location": {
804
+ "filePath": "env.main.runtime.ts",
805
+ "line": 13,
806
+ "character": 3
807
+ },
808
+ "doc": {
809
+ "__schema": "DocSchema",
810
+ "location": {
811
+ "filePath": "env.main.runtime.ts",
812
+ "line": 10,
813
+ "character": 3
814
+ },
815
+ "raw": "/**\n * compose your own aspect environment.\n */",
816
+ "comment": "compose your own aspect environment."
817
+ },
818
+ "signature": "(method) EnvMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
819
+ "name": "compose",
820
+ "params": [
821
+ {
822
+ "__schema": "ParameterSchema",
823
+ "location": {
824
+ "filePath": "env.main.runtime.ts",
825
+ "line": 13,
826
+ "character": 11
827
+ },
828
+ "name": "transformers",
829
+ "type": {
830
+ "__schema": "TypeArraySchema",
831
+ "location": {
832
+ "filePath": "env.main.runtime.ts",
833
+ "line": 13,
834
+ "character": 25
835
+ },
836
+ "type": {
837
+ "__schema": "TypeRefSchema",
838
+ "location": {
839
+ "filePath": "env.main.runtime.ts",
840
+ "line": 13,
841
+ "character": 25
842
+ },
843
+ "name": "EnvTransformer",
844
+ "componentId": {
845
+ "scope": "teambit.envs",
846
+ "name": "envs"
847
+ }
848
+ }
849
+ },
850
+ "isOptional": true,
851
+ "defaultValue": "[]",
852
+ "isSpread": false
853
+ },
854
+ {
855
+ "__schema": "ParameterSchema",
856
+ "location": {
857
+ "filePath": "env.main.runtime.ts",
858
+ "line": 13,
859
+ "character": 48
860
+ },
861
+ "name": "targetEnv",
862
+ "type": {
863
+ "__schema": "TypeRefSchema",
864
+ "location": {
865
+ "filePath": "env.main.runtime.ts",
866
+ "line": 13,
867
+ "character": 59
868
+ },
869
+ "name": "Environment",
870
+ "componentId": {
871
+ "scope": "teambit.envs",
872
+ "name": "envs"
873
+ }
874
+ },
875
+ "isOptional": true,
876
+ "defaultValue": "{}",
877
+ "isSpread": false
878
+ }
879
+ ],
880
+ "returnType": {
881
+ "__schema": "TypeRefSchema",
882
+ "location": {
883
+ "filePath": "env.main.runtime.ts",
884
+ "line": 13,
885
+ "character": 3
886
+ },
887
+ "name": "Environment",
888
+ "componentId": {
889
+ "scope": "teambit.envs",
890
+ "name": "envs"
891
+ }
892
+ },
893
+ "modifiers": []
894
+ },
895
+ {
896
+ "__schema": "VariableLikeSchema",
897
+ "location": {
898
+ "filePath": "env.main.runtime.ts",
899
+ "line": 17,
900
+ "character": 3
901
+ },
902
+ "signature": "(property) EnvMain.slots: never[]",
903
+ "name": "slots",
904
+ "type": {
905
+ "__schema": "InferenceTypeSchema",
906
+ "location": {
907
+ "filePath": "env.main.runtime.ts",
908
+ "line": 17,
909
+ "character": 3
910
+ },
911
+ "type": "never[]"
912
+ },
913
+ "isOptional": true,
914
+ "defaultValue": "[]"
915
+ },
916
+ {
917
+ "__schema": "VariableLikeSchema",
918
+ "location": {
919
+ "filePath": "env.main.runtime.ts",
920
+ "line": 18,
921
+ "character": 3
922
+ },
923
+ "signature": "(property) EnvMain.dependencies: Aspect[]",
924
+ "name": "dependencies",
925
+ "type": {
926
+ "__schema": "InferenceTypeSchema",
927
+ "location": {
928
+ "filePath": "env.main.runtime.ts",
929
+ "line": 18,
930
+ "character": 3
931
+ },
932
+ "type": "Aspect[]"
933
+ },
934
+ "isOptional": true,
935
+ "defaultValue": "[AspectAspect, EnvsAspect]"
936
+ },
937
+ {
938
+ "__schema": "VariableLikeSchema",
939
+ "location": {
940
+ "filePath": "env.main.runtime.ts",
941
+ "line": 19,
942
+ "character": 3
943
+ },
944
+ "signature": "(property) EnvMain.runtime: RuntimeDefinition",
945
+ "name": "runtime",
946
+ "type": {
947
+ "__schema": "InferenceTypeSchema",
948
+ "location": {
949
+ "filePath": "env.main.runtime.ts",
950
+ "line": 19,
951
+ "character": 3
952
+ },
953
+ "type": "RuntimeDefinition"
954
+ },
955
+ "isOptional": true,
956
+ "defaultValue": "MainRuntime"
957
+ },
958
+ {
959
+ "__schema": "FunctionLikeSchema",
960
+ "location": {
961
+ "filePath": "env.main.runtime.ts",
962
+ "line": 20,
963
+ "character": 3
964
+ },
965
+ "signature": "(method) EnvMain.provider([aspectAspect, envs]: [AspectMain, EnvsMain]): Promise<EnvMain>",
966
+ "name": "provider",
967
+ "params": [
968
+ {
969
+ "__schema": "ParameterSchema",
970
+ "location": {
971
+ "filePath": "env.main.runtime.ts",
972
+ "line": 20,
973
+ "character": 25
974
+ },
975
+ "name": "[ aspectAspect, envs ]",
976
+ "type": {
977
+ "__schema": "TupleTypeSchema",
978
+ "location": {
979
+ "filePath": "env.main.runtime.ts",
980
+ "line": 20,
981
+ "character": 47
982
+ },
983
+ "elements": [
984
+ {
985
+ "__schema": "TypeRefSchema",
986
+ "location": {
987
+ "filePath": "env.main.runtime.ts",
988
+ "line": 20,
989
+ "character": 48
990
+ },
991
+ "name": "AspectMain",
992
+ "componentId": {
993
+ "scope": "teambit.harmony",
994
+ "name": "aspect"
995
+ }
996
+ },
997
+ {
998
+ "__schema": "TypeRefSchema",
999
+ "location": {
1000
+ "filePath": "env.main.runtime.ts",
1001
+ "line": 20,
1002
+ "character": 60
1003
+ },
1004
+ "name": "EnvsMain",
1005
+ "componentId": {
1006
+ "scope": "teambit.envs",
1007
+ "name": "envs"
1008
+ }
1009
+ }
1010
+ ]
1011
+ },
1012
+ "isOptional": false,
1013
+ "isSpread": false
1014
+ }
1015
+ ],
1016
+ "returnType": {
1017
+ "__schema": "InferenceTypeSchema",
1018
+ "location": {
1019
+ "filePath": "env.main.runtime.ts",
1020
+ "line": 20,
1021
+ "character": 3
1022
+ },
1023
+ "type": "Promise<EnvMain>"
1024
+ },
1025
+ "modifiers": [
1026
+ "static",
1027
+ "async"
1028
+ ]
1029
+ }
1030
+ ],
1031
+ "extendsNodes": [],
1032
+ "implementNodes": []
1033
+ }
1034
+ ],
1035
+ "internals": [
1036
+ {
1037
+ "__schema": "UnImplementedSchema",
1038
+ "location": {
1039
+ "filePath": "env.main.runtime.ts",
1040
+ "line": 28,
1041
+ "character": 1
1042
+ },
1043
+ "name": "EnvAspect.addRuntime(EnvMain);",
1044
+ "type": "ExpressionStatement"
1045
+ }
1046
+ ]
1047
+ },
1048
+ {
1049
+ "__schema": "ModuleSchema",
1050
+ "location": {
1051
+ "filePath": "env.aspect.ts",
1052
+ "line": 1,
1053
+ "character": 1
1054
+ },
1055
+ "exports": [
1056
+ {
1057
+ "__schema": "VariableLikeSchema",
1058
+ "location": {
1059
+ "filePath": "env.aspect.ts",
1060
+ "line": 3,
1061
+ "character": 14
1062
+ },
1063
+ "signature": "const EnvAspect: Aspect",
1064
+ "name": "EnvAspect",
1065
+ "type": {
1066
+ "__schema": "TypeRefSchema",
1067
+ "location": {
1068
+ "filePath": "env.aspect.ts",
1069
+ "line": 3,
1070
+ "character": 14
1071
+ },
1072
+ "name": "Aspect",
1073
+ "componentId": {
1074
+ "scope": "teambit.harmony",
1075
+ "name": "harmony",
1076
+ "version": "0.4.6"
1077
+ }
1078
+ },
1079
+ "isOptional": false,
1080
+ "defaultValue": "Aspect.create({\n id: 'teambit.envs/env',\n})"
1081
+ }
1082
+ ],
1083
+ "internals": []
1084
+ }
1085
+ ],
1086
+ "componentId": {
1087
+ "scope": "teambit.envs",
1088
+ "name": "env",
1089
+ "version": "1.0.190"
1090
+ },
1091
+ "taggedModuleExports": []
1092
+ }