@teambit/env 0.0.420 → 0.0.422

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