@teambit/component 1.0.177 → 1.0.179

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.
@@ -2422,7 +2422,7 @@
2422
2422
  "_legacy": {
2423
2423
  "scope": "teambit.component",
2424
2424
  "name": "component",
2425
- "version": "1.0.177"
2425
+ "version": "1.0.179"
2426
2426
  },
2427
2427
  "_scope": "teambit.component"
2428
2428
  }
@@ -4165,31 +4165,58 @@
4165
4165
  "line": 157,
4166
4166
  "character": 3
4167
4167
  },
4168
- "signature": "(method) ComponentFactory.listIds(): Promise<ComponentID[]>",
4168
+ "signature": "(method) ComponentFactory.listIds(): Promise<ComponentID[]> | ComponentID[]",
4169
4169
  "name": "listIds",
4170
4170
  "params": [],
4171
4171
  "returnType": {
4172
- "__schema": "TypeRefSchema",
4172
+ "__schema": "TypeUnionSchema",
4173
4173
  "location": {
4174
4174
  "filePath": "component-factory.ts",
4175
4175
  "line": 157,
4176
4176
  "character": 14
4177
4177
  },
4178
- "name": "Promise",
4179
- "typeArgs": [
4178
+ "types": [
4179
+ {
4180
+ "__schema": "TypeRefSchema",
4181
+ "location": {
4182
+ "filePath": "component-factory.ts",
4183
+ "line": 157,
4184
+ "character": 14
4185
+ },
4186
+ "name": "Promise",
4187
+ "typeArgs": [
4188
+ {
4189
+ "__schema": "TypeArraySchema",
4190
+ "location": {
4191
+ "filePath": "component-factory.ts",
4192
+ "line": 157,
4193
+ "character": 22
4194
+ },
4195
+ "type": {
4196
+ "__schema": "TypeRefSchema",
4197
+ "location": {
4198
+ "filePath": "component-factory.ts",
4199
+ "line": 157,
4200
+ "character": 22
4201
+ },
4202
+ "name": "ComponentID"
4203
+ }
4204
+ }
4205
+ ]
4206
+ },
4180
4207
  {
4181
4208
  "__schema": "TypeArraySchema",
4182
4209
  "location": {
4183
4210
  "filePath": "component-factory.ts",
4184
4211
  "line": 157,
4185
- "character": 22
4212
+ "character": 39
4186
4213
  },
4187
4214
  "type": {
4188
4215
  "__schema": "TypeRefSchema",
4189
4216
  "location": {
4190
4217
  "filePath": "component-factory.ts",
4191
4218
  "line": 157,
4192
- "character": 22
4219
+ "character": 39
4193
4220
  },
4194
4221
  "name": "ComponentID"
4195
4222
  }
@@ -7951,7 +7978,7 @@
7951
7978
  "_legacy": {
7952
7979
  "scope": "teambit.component",
7953
7980
  "name": "component",
7954
- "version": "1.0.177"
7981
+ "version": "1.0.179"
7955
7982
  },
7956
7983
  "_scope": "teambit.component"
7957
7984
  }
@@ -9647,6 +9674,67 @@
9647
9674
  "line": 109,
9648
9675
  "character": 3
9649
9676
  },
9677
+ "signature": "(method) ComponentMain.getHostIfExist(id?: string): ComponentFactory | undefined",
9678
+ "name": "getHostIfExist",
9679
+ "params": [
9680
+ {
9681
+ "__schema": "ParameterSchema",
9682
+ "location": {
9683
+ "filePath": "component.main.runtime.ts",
9684
+ "line": 109,
9685
+ "character": 18
9686
+ },
9687
+ "name": "id",
9688
+ "type": {
9689
+ "__schema": "KeywordTypeSchema",
9690
+ "location": {
9691
+ "filePath": "component.main.runtime.ts",
9692
+ "line": 109,
9693
+ "character": 23
9694
+ },
9695
+ "name": "string"
9696
+ },
9697
+ "isOptional": true,
9698
+ "isSpread": false
9699
+ }
9700
+ ],
9701
+ "returnType": {
9702
+ "__schema": "TypeUnionSchema",
9703
+ "location": {
9704
+ "filePath": "component.main.runtime.ts",
9705
+ "line": 109,
9706
+ "character": 32
9707
+ },
9708
+ "types": [
9709
+ {
9710
+ "__schema": "TypeRefSchema",
9711
+ "location": {
9712
+ "filePath": "component.main.runtime.ts",
9713
+ "line": 109,
9714
+ "character": 32
9715
+ },
9716
+ "name": "ComponentFactory"
9717
+ },
9718
+ {
9719
+ "__schema": "KeywordTypeSchema",
9720
+ "location": {
9721
+ "filePath": "component.main.runtime.ts",
9722
+ "line": 109,
9723
+ "character": 51
9724
+ },
9725
+ "name": "undefined"
9726
+ }
9727
+ ]
9728
+ },
9729
+ "modifiers": []
9730
+ },
9731
+ {
9732
+ "__schema": "FunctionLikeSchema",
9733
+ "location": {
9734
+ "filePath": "component.main.runtime.ts",
9735
+ "line": 118,
9736
+ "character": 3
9737
+ },
9650
9738
  "signature": "(method) ComponentMain.getRoute(id: ComponentID, routeName: string): string",
9651
9739
  "name": "getRoute",
9652
9740
  "params": [
@@ -9654,7 +9742,7 @@
9654
9742
  "__schema": "ParameterSchema",
9655
9743
  "location": {
9656
9744
  "filePath": "component.main.runtime.ts",
9657
- "line": 109,
9745
+ "line": 118,
9658
9746
  "character": 12
9659
9747
  },
9660
9748
  "name": "id",
@@ -9662,7 +9750,7 @@
9662
9750
  "__schema": "TypeRefSchema",
9663
9751
  "location": {
9664
9752
  "filePath": "component.main.runtime.ts",
9665
- "line": 109,
9753
+ "line": 118,
9666
9754
  "character": 16
9667
9755
  },
9668
9756
  "name": "ComponentID"
@@ -9674,7 +9762,7 @@
9674
9762
  "__schema": "ParameterSchema",
9675
9763
  "location": {
9676
9764
  "filePath": "component.main.runtime.ts",
9677
- "line": 109,
9765
+ "line": 118,
9678
9766
  "character": 29
9679
9767
  },
9680
9768
  "name": "routeName",
@@ -9682,7 +9770,7 @@
9682
9770
  "__schema": "KeywordTypeSchema",
9683
9771
  "location": {
9684
9772
  "filePath": "component.main.runtime.ts",
9685
- "line": 109,
9773
+ "line": 118,
9686
9774
  "character": 40
9687
9775
  },
9688
9776
  "name": "string"
@@ -9695,7 +9783,7 @@
9695
9783
  "__schema": "InferenceTypeSchema",
9696
9784
  "location": {
9697
9785
  "filePath": "component.main.runtime.ts",
9698
- "line": 109,
9786
+ "line": 118,
9699
9787
  "character": 3
9700
9788
  },
9701
9789
  "type": "string"
@@ -9706,7 +9794,7 @@
9706
9794
  "__schema": "FunctionLikeSchema",
9707
9795
  "location": {
9708
9796
  "filePath": "component.main.runtime.ts",
9709
- "line": 124,
9797
+ "line": 133,
9710
9798
  "character": 3
9711
9799
  },
9712
9800
  "signature": "(method) ComponentMain.getShowFragments(): ShowFragment[]",
@@ -9716,7 +9804,7 @@
9716
9804
  "__schema": "InferenceTypeSchema",
9717
9805
  "location": {
9718
9806
  "filePath": "component.main.runtime.ts",
9719
- "line": 124,
9807
+ "line": 133,
9720
9808
  "character": 3
9721
9809
  },
9722
9810
  "type": "ShowFragment[]"
@@ -9727,7 +9815,7 @@
9727
9815
  "__schema": "FunctionLikeSchema",
9728
9816
  "location": {
9729
9817
  "filePath": "component.main.runtime.ts",
9730
- "line": 129,
9818
+ "line": 138,
9731
9819
  "character": 3
9732
9820
  },
9733
9821
  "signature": "(method) ComponentMain.isHost(name: string): boolean",
@@ -9737,7 +9825,7 @@
9737
9825
  "__schema": "ParameterSchema",
9738
9826
  "location": {
9739
9827
  "filePath": "component.main.runtime.ts",
9740
- "line": 129,
9828
+ "line": 138,
9741
9829
  "character": 10
9742
9830
  },
9743
9831
  "name": "name",
@@ -9745,7 +9833,7 @@
9745
9833
  "__schema": "KeywordTypeSchema",
9746
9834
  "location": {
9747
9835
  "filePath": "component.main.runtime.ts",
9748
- "line": 129,
9836
+ "line": 138,
9749
9837
  "character": 16
9750
9838
  },
9751
9839
  "name": "string"
@@ -9758,7 +9846,7 @@
9758
9846
  "__schema": "InferenceTypeSchema",
9759
9847
  "location": {
9760
9848
  "filePath": "component.main.runtime.ts",
9761
- "line": 129,
9849
+ "line": 138,
9762
9850
  "character": 3
9763
9851
  },
9764
9852
  "type": "boolean"
@@ -9769,14 +9857,14 @@
9769
9857
  "__schema": "FunctionLikeSchema",
9770
9858
  "location": {
9771
9859
  "filePath": "component.main.runtime.ts",
9772
- "line": 136,
9860
+ "line": 145,
9773
9861
  "character": 3
9774
9862
  },
9775
9863
  "doc": {
9776
9864
  "__schema": "DocSchema",
9777
9865
  "location": {
9778
9866
  "filePath": "component.main.runtime.ts",
9779
- "line": 133,
9867
+ "line": 142,
9780
9868
  "character": 3
9781
9869
  },
9782
9870
  "raw": "/**\n * register a show fragment to display further information in the `bit show` command.\n */",
@@ -9789,7 +9877,7 @@
9789
9877
  "__schema": "ParameterSchema",
9790
9878
  "location": {
9791
9879
  "filePath": "component.main.runtime.ts",
9792
- "line": 136,
9880
+ "line": 145,
9793
9881
  "character": 25
9794
9882
  },
9795
9883
  "name": "showFragments",
@@ -9797,14 +9885,14 @@
9797
9885
  "__schema": "TypeArraySchema",
9798
9886
  "location": {
9799
9887
  "filePath": "component.main.runtime.ts",
9800
- "line": 136,
9888
+ "line": 145,
9801
9889
  "character": 40
9802
9890
  },
9803
9891
  "type": {
9804
9892
  "__schema": "TypeRefSchema",
9805
9893
  "location": {
9806
9894
  "filePath": "component.main.runtime.ts",
9807
- "line": 136,
9895
+ "line": 145,
9808
9896
  "character": 40
9809
9897
  },
9810
9898
  "name": "ShowFragment"
@@ -9818,7 +9906,7 @@
9818
9906
  "__schema": "TypeRefSchema",
9819
9907
  "location": {
9820
9908
  "filePath": "component.main.runtime.ts",
9821
- "line": 136,
9909
+ "line": 145,
9822
9910
  "character": 3
9823
9911
  },
9824
9912
  "name": "ComponentMain"
@@ -9829,7 +9917,7 @@
9829
9917
  "__schema": "VariableLikeSchema",
9830
9918
  "location": {
9831
9919
  "filePath": "component.main.runtime.ts",
9832
- "line": 143,
9920
+ "line": 152,
9833
9921
  "character": 3
9834
9922
  },
9835
9923
  "signature": "(property) ComponentMain.slots: (((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
@@ -9838,7 +9926,7 @@
9838
9926
  "__schema": "InferenceTypeSchema",
9839
9927
  "location": {
9840
9928
  "filePath": "component.main.runtime.ts",
9841
- "line": 143,
9929
+ "line": 152,
9842
9930
  "character": 3
9843
9931
  },
9844
9932
  "type": "(((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
@@ -9850,7 +9938,7 @@
9850
9938
  "__schema": "VariableLikeSchema",
9851
9939
  "location": {
9852
9940
  "filePath": "component.main.runtime.ts",
9853
- "line": 145,
9941
+ "line": 154,
9854
9942
  "character": 3
9855
9943
  },
9856
9944
  "signature": "(property) ComponentMain.runtime: RuntimeDefinition",
@@ -9859,7 +9947,7 @@
9859
9947
  "__schema": "InferenceTypeSchema",
9860
9948
  "location": {
9861
9949
  "filePath": "component.main.runtime.ts",
9862
- "line": 145,
9950
+ "line": 154,
9863
9951
  "character": 3
9864
9952
  },
9865
9953
  "type": "RuntimeDefinition"
@@ -9871,7 +9959,7 @@
9871
9959
  "__schema": "VariableLikeSchema",
9872
9960
  "location": {
9873
9961
  "filePath": "component.main.runtime.ts",
9874
- "line": 146,
9962
+ "line": 155,
9875
9963
  "character": 3
9876
9964
  },
9877
9965
  "signature": "(property) ComponentMain.dependencies: Aspect[]",
@@ -9880,7 +9968,7 @@
9880
9968
  "__schema": "InferenceTypeSchema",
9881
9969
  "location": {
9882
9970
  "filePath": "component.main.runtime.ts",
9883
- "line": 146,
9971
+ "line": 155,
9884
9972
  "character": 3
9885
9973
  },
9886
9974
  "type": "Aspect[]"
@@ -9892,7 +9980,7 @@
9892
9980
  "__schema": "FunctionLikeSchema",
9893
9981
  "location": {
9894
9982
  "filePath": "component.main.runtime.ts",
9895
- "line": 148,
9983
+ "line": 157,
9896
9984
  "character": 3
9897
9985
  },
9898
9986
  "signature": "(method) ComponentMain.provider([graphql, express, cli]: [GraphqlMain, ExpressMain, CLIMain], config: any, [hostSlot, showFragmentSlot]: [ComponentHostSlot, ShowFragmentSlot]): Promise<ComponentMain>",
@@ -9902,7 +9990,7 @@
9902
9990
  "__schema": "ParameterSchema",
9903
9991
  "location": {
9904
9992
  "filePath": "component.main.runtime.ts",
9905
- "line": 149,
9993
+ "line": 158,
9906
9994
  "character": 5
9907
9995
  },
9908
9996
  "name": "[ graphql, express, cli ]",
@@ -9910,7 +9998,7 @@
9910
9998
  "__schema": "TupleTypeSchema",
9911
9999
  "location": {
9912
10000
  "filePath": "component.main.runtime.ts",
9913
- "line": 149,
10001
+ "line": 158,
9914
10002
  "character": 30
9915
10003
  },
9916
10004
  "elements": [
@@ -9918,7 +10006,7 @@
9918
10006
  "__schema": "TypeRefSchema",
9919
10007
  "location": {
9920
10008
  "filePath": "component.main.runtime.ts",
9921
- "line": 149,
10009
+ "line": 158,
9922
10010
  "character": 31
9923
10011
  },
9924
10012
  "name": "GraphqlMain"
@@ -9927,7 +10015,7 @@
9927
10015
  "__schema": "TypeRefSchema",
9928
10016
  "location": {
9929
10017
  "filePath": "component.main.runtime.ts",
9930
- "line": 149,
10018
+ "line": 158,
9931
10019
  "character": 44
9932
10020
  },
9933
10021
  "name": "ExpressMain"
@@ -9936,7 +10024,7 @@
9936
10024
  "__schema": "TypeRefSchema",
9937
10025
  "location": {
9938
10026
  "filePath": "component.main.runtime.ts",
9939
- "line": 149,
10027
+ "line": 158,
9940
10028
  "character": 57
9941
10029
  },
9942
10030
  "name": "CLIMain"
@@ -9950,7 +10038,7 @@
9950
10038
  "__schema": "ParameterSchema",
9951
10039
  "location": {
9952
10040
  "filePath": "component.main.runtime.ts",
9953
- "line": 150,
10041
+ "line": 159,
9954
10042
  "character": 5
9955
10043
  },
9956
10044
  "name": "config",
@@ -9958,7 +10046,7 @@
9958
10046
  "__schema": "InferenceTypeSchema",
9959
10047
  "location": {
9960
10048
  "filePath": "component.main.runtime.ts",
9961
- "line": 150,
10049
+ "line": 159,
9962
10050
  "character": 5
9963
10051
  },
9964
10052
  "type": "any"
@@ -9970,7 +10058,7 @@
9970
10058
  "__schema": "ParameterSchema",
9971
10059
  "location": {
9972
10060
  "filePath": "component.main.runtime.ts",
9973
- "line": 151,
10061
+ "line": 160,
9974
10062
  "character": 5
9975
10063
  },
9976
10064
  "name": "[ hostSlot, showFragmentSlot ]",
@@ -9978,7 +10066,7 @@
9978
10066
  "__schema": "TupleTypeSchema",
9979
10067
  "location": {
9980
10068
  "filePath": "component.main.runtime.ts",
9981
- "line": 151,
10069
+ "line": 160,
9982
10070
  "character": 35
9983
10071
  },
9984
10072
  "elements": [
@@ -9986,7 +10074,7 @@
9986
10074
  "__schema": "TypeRefSchema",
9987
10075
  "location": {
9988
10076
  "filePath": "component.main.runtime.ts",
9989
- "line": 151,
10077
+ "line": 160,
9990
10078
  "character": 36
9991
10079
  },
9992
10080
  "name": "ComponentHostSlot"
@@ -9995,7 +10083,7 @@
9995
10083
  "__schema": "TypeRefSchema",
9996
10084
  "location": {
9997
10085
  "filePath": "component.main.runtime.ts",
9998
- "line": 151,
10086
+ "line": 160,
9999
10087
  "character": 55
10000
10088
  },
10001
10089
  "name": "ShowFragmentSlot"
@@ -10010,7 +10098,7 @@
10010
10098
  "__schema": "InferenceTypeSchema",
10011
10099
  "location": {
10012
10100
  "filePath": "component.main.runtime.ts",
10013
- "line": 148,
10101
+ "line": 157,
10014
10102
  "character": 3
10015
10103
  },
10016
10104
  "type": "Promise<ComponentMain>"
@@ -18512,7 +18600,7 @@
18512
18600
  "_legacy": {
18513
18601
  "scope": "teambit.component",
18514
18602
  "name": "component",
18515
- "version": "1.0.177"
18603
+ "version": "1.0.179"
18516
18604
  },
18517
18605
  "_scope": "teambit.component"
18518
18606
  }
@@ -20663,31 +20751,58 @@
20663
20751
  "line": 157,
20664
20752
  "character": 3
20665
20753
  },
20666
- "signature": "(method) ComponentFactory.listIds(): Promise<ComponentID[]>",
20754
+ "signature": "(method) ComponentFactory.listIds(): Promise<ComponentID[]> | ComponentID[]",
20667
20755
  "name": "listIds",
20668
20756
  "params": [],
20669
20757
  "returnType": {
20670
- "__schema": "TypeRefSchema",
20758
+ "__schema": "TypeUnionSchema",
20671
20759
  "location": {
20672
20760
  "filePath": "component-factory.ts",
20673
20761
  "line": 157,
20674
20762
  "character": 14
20675
20763
  },
20676
- "name": "Promise",
20677
- "typeArgs": [
20764
+ "types": [
20765
+ {
20766
+ "__schema": "TypeRefSchema",
20767
+ "location": {
20768
+ "filePath": "component-factory.ts",
20769
+ "line": 157,
20770
+ "character": 14
20771
+ },
20772
+ "name": "Promise",
20773
+ "typeArgs": [
20774
+ {
20775
+ "__schema": "TypeArraySchema",
20776
+ "location": {
20777
+ "filePath": "component-factory.ts",
20778
+ "line": 157,
20779
+ "character": 22
20780
+ },
20781
+ "type": {
20782
+ "__schema": "TypeRefSchema",
20783
+ "location": {
20784
+ "filePath": "component-factory.ts",
20785
+ "line": 157,
20786
+ "character": 22
20787
+ },
20788
+ "name": "ComponentID"
20789
+ }
20790
+ }
20791
+ ]
20792
+ },
20678
20793
  {
20679
20794
  "__schema": "TypeArraySchema",
20680
20795
  "location": {
20681
20796
  "filePath": "component-factory.ts",
20682
20797
  "line": 157,
20683
- "character": 22
20798
+ "character": 39
20684
20799
  },
20685
20800
  "type": {
20686
20801
  "__schema": "TypeRefSchema",
20687
20802
  "location": {
20688
20803
  "filePath": "component-factory.ts",
20689
20804
  "line": 157,
20690
- "character": 22
20805
+ "character": 39
20691
20806
  },
20692
20807
  "name": "ComponentID"
20693
20808
  }
@@ -23607,7 +23722,7 @@
23607
23722
  "_legacy": {
23608
23723
  "scope": "teambit.component",
23609
23724
  "name": "component",
23610
- "version": "1.0.177"
23725
+ "version": "1.0.179"
23611
23726
  },
23612
23727
  "_scope": "teambit.component"
23613
23728
  }
@@ -24102,6 +24217,67 @@
24102
24217
  "line": 109,
24103
24218
  "character": 3
24104
24219
  },
24220
+ "signature": "(method) ComponentMain.getHostIfExist(id?: string): ComponentFactory | undefined",
24221
+ "name": "getHostIfExist",
24222
+ "params": [
24223
+ {
24224
+ "__schema": "ParameterSchema",
24225
+ "location": {
24226
+ "filePath": "component.main.runtime.ts",
24227
+ "line": 109,
24228
+ "character": 18
24229
+ },
24230
+ "name": "id",
24231
+ "type": {
24232
+ "__schema": "KeywordTypeSchema",
24233
+ "location": {
24234
+ "filePath": "component.main.runtime.ts",
24235
+ "line": 109,
24236
+ "character": 23
24237
+ },
24238
+ "name": "string"
24239
+ },
24240
+ "isOptional": true,
24241
+ "isSpread": false
24242
+ }
24243
+ ],
24244
+ "returnType": {
24245
+ "__schema": "TypeUnionSchema",
24246
+ "location": {
24247
+ "filePath": "component.main.runtime.ts",
24248
+ "line": 109,
24249
+ "character": 32
24250
+ },
24251
+ "types": [
24252
+ {
24253
+ "__schema": "TypeRefSchema",
24254
+ "location": {
24255
+ "filePath": "component.main.runtime.ts",
24256
+ "line": 109,
24257
+ "character": 32
24258
+ },
24259
+ "name": "ComponentFactory"
24260
+ },
24261
+ {
24262
+ "__schema": "KeywordTypeSchema",
24263
+ "location": {
24264
+ "filePath": "component.main.runtime.ts",
24265
+ "line": 109,
24266
+ "character": 51
24267
+ },
24268
+ "name": "undefined"
24269
+ }
24270
+ ]
24271
+ },
24272
+ "modifiers": []
24273
+ },
24274
+ {
24275
+ "__schema": "FunctionLikeSchema",
24276
+ "location": {
24277
+ "filePath": "component.main.runtime.ts",
24278
+ "line": 118,
24279
+ "character": 3
24280
+ },
24105
24281
  "signature": "(method) ComponentMain.getRoute(id: ComponentID, routeName: string): string",
24106
24282
  "name": "getRoute",
24107
24283
  "params": [
@@ -24109,7 +24285,7 @@
24109
24285
  "__schema": "ParameterSchema",
24110
24286
  "location": {
24111
24287
  "filePath": "component.main.runtime.ts",
24112
- "line": 109,
24288
+ "line": 118,
24113
24289
  "character": 12
24114
24290
  },
24115
24291
  "name": "id",
@@ -24117,7 +24293,7 @@
24117
24293
  "__schema": "TypeRefSchema",
24118
24294
  "location": {
24119
24295
  "filePath": "component.main.runtime.ts",
24120
- "line": 109,
24296
+ "line": 118,
24121
24297
  "character": 16
24122
24298
  },
24123
24299
  "name": "ComponentID"
@@ -24129,7 +24305,7 @@
24129
24305
  "__schema": "ParameterSchema",
24130
24306
  "location": {
24131
24307
  "filePath": "component.main.runtime.ts",
24132
- "line": 109,
24308
+ "line": 118,
24133
24309
  "character": 29
24134
24310
  },
24135
24311
  "name": "routeName",
@@ -24137,7 +24313,7 @@
24137
24313
  "__schema": "KeywordTypeSchema",
24138
24314
  "location": {
24139
24315
  "filePath": "component.main.runtime.ts",
24140
- "line": 109,
24316
+ "line": 118,
24141
24317
  "character": 40
24142
24318
  },
24143
24319
  "name": "string"
@@ -24150,7 +24326,7 @@
24150
24326
  "__schema": "InferenceTypeSchema",
24151
24327
  "location": {
24152
24328
  "filePath": "component.main.runtime.ts",
24153
- "line": 109,
24329
+ "line": 118,
24154
24330
  "character": 3
24155
24331
  },
24156
24332
  "type": "string"
@@ -24161,7 +24337,7 @@
24161
24337
  "__schema": "FunctionLikeSchema",
24162
24338
  "location": {
24163
24339
  "filePath": "component.main.runtime.ts",
24164
- "line": 124,
24340
+ "line": 133,
24165
24341
  "character": 3
24166
24342
  },
24167
24343
  "signature": "(method) ComponentMain.getShowFragments(): ShowFragment[]",
@@ -24171,7 +24347,7 @@
24171
24347
  "__schema": "InferenceTypeSchema",
24172
24348
  "location": {
24173
24349
  "filePath": "component.main.runtime.ts",
24174
- "line": 124,
24350
+ "line": 133,
24175
24351
  "character": 3
24176
24352
  },
24177
24353
  "type": "ShowFragment[]"
@@ -24182,7 +24358,7 @@
24182
24358
  "__schema": "FunctionLikeSchema",
24183
24359
  "location": {
24184
24360
  "filePath": "component.main.runtime.ts",
24185
- "line": 129,
24361
+ "line": 138,
24186
24362
  "character": 3
24187
24363
  },
24188
24364
  "signature": "(method) ComponentMain.isHost(name: string): boolean",
@@ -24192,7 +24368,7 @@
24192
24368
  "__schema": "ParameterSchema",
24193
24369
  "location": {
24194
24370
  "filePath": "component.main.runtime.ts",
24195
- "line": 129,
24371
+ "line": 138,
24196
24372
  "character": 10
24197
24373
  },
24198
24374
  "name": "name",
@@ -24200,7 +24376,7 @@
24200
24376
  "__schema": "KeywordTypeSchema",
24201
24377
  "location": {
24202
24378
  "filePath": "component.main.runtime.ts",
24203
- "line": 129,
24379
+ "line": 138,
24204
24380
  "character": 16
24205
24381
  },
24206
24382
  "name": "string"
@@ -24213,7 +24389,7 @@
24213
24389
  "__schema": "InferenceTypeSchema",
24214
24390
  "location": {
24215
24391
  "filePath": "component.main.runtime.ts",
24216
- "line": 129,
24392
+ "line": 138,
24217
24393
  "character": 3
24218
24394
  },
24219
24395
  "type": "boolean"
@@ -24224,14 +24400,14 @@
24224
24400
  "__schema": "FunctionLikeSchema",
24225
24401
  "location": {
24226
24402
  "filePath": "component.main.runtime.ts",
24227
- "line": 136,
24403
+ "line": 145,
24228
24404
  "character": 3
24229
24405
  },
24230
24406
  "doc": {
24231
24407
  "__schema": "DocSchema",
24232
24408
  "location": {
24233
24409
  "filePath": "component.main.runtime.ts",
24234
- "line": 133,
24410
+ "line": 142,
24235
24411
  "character": 3
24236
24412
  },
24237
24413
  "raw": "/**\n * register a show fragment to display further information in the `bit show` command.\n */",
@@ -24244,7 +24420,7 @@
24244
24420
  "__schema": "ParameterSchema",
24245
24421
  "location": {
24246
24422
  "filePath": "component.main.runtime.ts",
24247
- "line": 136,
24423
+ "line": 145,
24248
24424
  "character": 25
24249
24425
  },
24250
24426
  "name": "showFragments",
@@ -24252,14 +24428,14 @@
24252
24428
  "__schema": "TypeArraySchema",
24253
24429
  "location": {
24254
24430
  "filePath": "component.main.runtime.ts",
24255
- "line": 136,
24431
+ "line": 145,
24256
24432
  "character": 40
24257
24433
  },
24258
24434
  "type": {
24259
24435
  "__schema": "TypeRefSchema",
24260
24436
  "location": {
24261
24437
  "filePath": "component.main.runtime.ts",
24262
- "line": 136,
24438
+ "line": 145,
24263
24439
  "character": 40
24264
24440
  },
24265
24441
  "name": "ShowFragment"
@@ -24273,7 +24449,7 @@
24273
24449
  "__schema": "TypeRefSchema",
24274
24450
  "location": {
24275
24451
  "filePath": "component.main.runtime.ts",
24276
- "line": 136,
24452
+ "line": 145,
24277
24453
  "character": 3
24278
24454
  },
24279
24455
  "name": "ComponentMain"
@@ -24284,7 +24460,7 @@
24284
24460
  "__schema": "VariableLikeSchema",
24285
24461
  "location": {
24286
24462
  "filePath": "component.main.runtime.ts",
24287
- "line": 143,
24463
+ "line": 152,
24288
24464
  "character": 3
24289
24465
  },
24290
24466
  "signature": "(property) ComponentMain.slots: (((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
@@ -24293,7 +24469,7 @@
24293
24469
  "__schema": "InferenceTypeSchema",
24294
24470
  "location": {
24295
24471
  "filePath": "component.main.runtime.ts",
24296
- "line": 143,
24472
+ "line": 152,
24297
24473
  "character": 3
24298
24474
  },
24299
24475
  "type": "(((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
@@ -24305,7 +24481,7 @@
24305
24481
  "__schema": "VariableLikeSchema",
24306
24482
  "location": {
24307
24483
  "filePath": "component.main.runtime.ts",
24308
- "line": 145,
24484
+ "line": 154,
24309
24485
  "character": 3
24310
24486
  },
24311
24487
  "signature": "(property) ComponentMain.runtime: RuntimeDefinition",
@@ -24314,7 +24490,7 @@
24314
24490
  "__schema": "InferenceTypeSchema",
24315
24491
  "location": {
24316
24492
  "filePath": "component.main.runtime.ts",
24317
- "line": 145,
24493
+ "line": 154,
24318
24494
  "character": 3
24319
24495
  },
24320
24496
  "type": "RuntimeDefinition"
@@ -24326,7 +24502,7 @@
24326
24502
  "__schema": "VariableLikeSchema",
24327
24503
  "location": {
24328
24504
  "filePath": "component.main.runtime.ts",
24329
- "line": 146,
24505
+ "line": 155,
24330
24506
  "character": 3
24331
24507
  },
24332
24508
  "signature": "(property) ComponentMain.dependencies: Aspect[]",
@@ -24335,7 +24511,7 @@
24335
24511
  "__schema": "InferenceTypeSchema",
24336
24512
  "location": {
24337
24513
  "filePath": "component.main.runtime.ts",
24338
- "line": 146,
24514
+ "line": 155,
24339
24515
  "character": 3
24340
24516
  },
24341
24517
  "type": "Aspect[]"
@@ -24347,7 +24523,7 @@
24347
24523
  "__schema": "FunctionLikeSchema",
24348
24524
  "location": {
24349
24525
  "filePath": "component.main.runtime.ts",
24350
- "line": 148,
24526
+ "line": 157,
24351
24527
  "character": 3
24352
24528
  },
24353
24529
  "signature": "(method) ComponentMain.provider([graphql, express, cli]: [GraphqlMain, ExpressMain, CLIMain], config: any, [hostSlot, showFragmentSlot]: [ComponentHostSlot, ShowFragmentSlot]): Promise<ComponentMain>",
@@ -24357,7 +24533,7 @@
24357
24533
  "__schema": "ParameterSchema",
24358
24534
  "location": {
24359
24535
  "filePath": "component.main.runtime.ts",
24360
- "line": 149,
24536
+ "line": 158,
24361
24537
  "character": 5
24362
24538
  },
24363
24539
  "name": "[ graphql, express, cli ]",
@@ -24365,7 +24541,7 @@
24365
24541
  "__schema": "TupleTypeSchema",
24366
24542
  "location": {
24367
24543
  "filePath": "component.main.runtime.ts",
24368
- "line": 149,
24544
+ "line": 158,
24369
24545
  "character": 30
24370
24546
  },
24371
24547
  "elements": [
@@ -24373,7 +24549,7 @@
24373
24549
  "__schema": "TypeRefSchema",
24374
24550
  "location": {
24375
24551
  "filePath": "component.main.runtime.ts",
24376
- "line": 149,
24552
+ "line": 158,
24377
24553
  "character": 31
24378
24554
  },
24379
24555
  "name": "GraphqlMain"
@@ -24382,7 +24558,7 @@
24382
24558
  "__schema": "TypeRefSchema",
24383
24559
  "location": {
24384
24560
  "filePath": "component.main.runtime.ts",
24385
- "line": 149,
24561
+ "line": 158,
24386
24562
  "character": 44
24387
24563
  },
24388
24564
  "name": "ExpressMain"
@@ -24391,7 +24567,7 @@
24391
24567
  "__schema": "TypeRefSchema",
24392
24568
  "location": {
24393
24569
  "filePath": "component.main.runtime.ts",
24394
- "line": 149,
24570
+ "line": 158,
24395
24571
  "character": 57
24396
24572
  },
24397
24573
  "name": "CLIMain"
@@ -24405,7 +24581,7 @@
24405
24581
  "__schema": "ParameterSchema",
24406
24582
  "location": {
24407
24583
  "filePath": "component.main.runtime.ts",
24408
- "line": 150,
24584
+ "line": 159,
24409
24585
  "character": 5
24410
24586
  },
24411
24587
  "name": "config",
@@ -24413,7 +24589,7 @@
24413
24589
  "__schema": "InferenceTypeSchema",
24414
24590
  "location": {
24415
24591
  "filePath": "component.main.runtime.ts",
24416
- "line": 150,
24592
+ "line": 159,
24417
24593
  "character": 5
24418
24594
  },
24419
24595
  "type": "any"
@@ -24425,7 +24601,7 @@
24425
24601
  "__schema": "ParameterSchema",
24426
24602
  "location": {
24427
24603
  "filePath": "component.main.runtime.ts",
24428
- "line": 151,
24604
+ "line": 160,
24429
24605
  "character": 5
24430
24606
  },
24431
24607
  "name": "[ hostSlot, showFragmentSlot ]",
@@ -24433,7 +24609,7 @@
24433
24609
  "__schema": "TupleTypeSchema",
24434
24610
  "location": {
24435
24611
  "filePath": "component.main.runtime.ts",
24436
- "line": 151,
24612
+ "line": 160,
24437
24613
  "character": 35
24438
24614
  },
24439
24615
  "elements": [
@@ -24441,7 +24617,7 @@
24441
24617
  "__schema": "TypeRefSchema",
24442
24618
  "location": {
24443
24619
  "filePath": "component.main.runtime.ts",
24444
- "line": 151,
24620
+ "line": 160,
24445
24621
  "character": 36
24446
24622
  },
24447
24623
  "name": "ComponentHostSlot"
@@ -24450,7 +24626,7 @@
24450
24626
  "__schema": "TypeRefSchema",
24451
24627
  "location": {
24452
24628
  "filePath": "component.main.runtime.ts",
24453
- "line": 151,
24629
+ "line": 160,
24454
24630
  "character": 55
24455
24631
  },
24456
24632
  "name": "ShowFragmentSlot"
@@ -24465,7 +24641,7 @@
24465
24641
  "__schema": "InferenceTypeSchema",
24466
24642
  "location": {
24467
24643
  "filePath": "component.main.runtime.ts",
24468
- "line": 148,
24644
+ "line": 157,
24469
24645
  "character": 3
24470
24646
  },
24471
24647
  "type": "Promise<ComponentMain>"
@@ -24485,7 +24661,7 @@
24485
24661
  "__schema": "UnImplementedSchema",
24486
24662
  "location": {
24487
24663
  "filePath": "component.main.runtime.ts",
24488
- "line": 170,
24664
+ "line": 179,
24489
24665
  "character": 1
24490
24666
  },
24491
24667
  "name": "ComponentAspect.addRuntime(ComponentMain);",
@@ -29807,7 +29983,7 @@
29807
29983
  "_legacy": {
29808
29984
  "scope": "teambit.component",
29809
29985
  "name": "component",
29810
- "version": "1.0.177"
29986
+ "version": "1.0.179"
29811
29987
  },
29812
29988
  "_scope": "teambit.component"
29813
29989
  }
@@ -32189,7 +32365,7 @@
32189
32365
  "componentId": {
32190
32366
  "scope": "teambit.component",
32191
32367
  "name": "component",
32192
- "version": "1.0.177"
32368
+ "version": "1.0.179"
32193
32369
  },
32194
32370
  "taggedModuleExports": []
32195
32371
  }