@teambit/component 1.0.177 → 1.0.178

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.178"
2426
2426
  },
2427
2427
  "_scope": "teambit.component"
2428
2428
  }
@@ -7951,7 +7951,7 @@
7951
7951
  "_legacy": {
7952
7952
  "scope": "teambit.component",
7953
7953
  "name": "component",
7954
- "version": "1.0.177"
7954
+ "version": "1.0.178"
7955
7955
  },
7956
7956
  "_scope": "teambit.component"
7957
7957
  }
@@ -9647,6 +9647,67 @@
9647
9647
  "line": 109,
9648
9648
  "character": 3
9649
9649
  },
9650
+ "signature": "(method) ComponentMain.getHostIfExist(id?: string): ComponentFactory | undefined",
9651
+ "name": "getHostIfExist",
9652
+ "params": [
9653
+ {
9654
+ "__schema": "ParameterSchema",
9655
+ "location": {
9656
+ "filePath": "component.main.runtime.ts",
9657
+ "line": 109,
9658
+ "character": 18
9659
+ },
9660
+ "name": "id",
9661
+ "type": {
9662
+ "__schema": "KeywordTypeSchema",
9663
+ "location": {
9664
+ "filePath": "component.main.runtime.ts",
9665
+ "line": 109,
9666
+ "character": 23
9667
+ },
9668
+ "name": "string"
9669
+ },
9670
+ "isOptional": true,
9671
+ "isSpread": false
9672
+ }
9673
+ ],
9674
+ "returnType": {
9675
+ "__schema": "TypeUnionSchema",
9676
+ "location": {
9677
+ "filePath": "component.main.runtime.ts",
9678
+ "line": 109,
9679
+ "character": 32
9680
+ },
9681
+ "types": [
9682
+ {
9683
+ "__schema": "TypeRefSchema",
9684
+ "location": {
9685
+ "filePath": "component.main.runtime.ts",
9686
+ "line": 109,
9687
+ "character": 32
9688
+ },
9689
+ "name": "ComponentFactory"
9690
+ },
9691
+ {
9692
+ "__schema": "KeywordTypeSchema",
9693
+ "location": {
9694
+ "filePath": "component.main.runtime.ts",
9695
+ "line": 109,
9696
+ "character": 51
9697
+ },
9698
+ "name": "undefined"
9699
+ }
9700
+ ]
9701
+ },
9702
+ "modifiers": []
9703
+ },
9704
+ {
9705
+ "__schema": "FunctionLikeSchema",
9706
+ "location": {
9707
+ "filePath": "component.main.runtime.ts",
9708
+ "line": 118,
9709
+ "character": 3
9710
+ },
9650
9711
  "signature": "(method) ComponentMain.getRoute(id: ComponentID, routeName: string): string",
9651
9712
  "name": "getRoute",
9652
9713
  "params": [
@@ -9654,7 +9715,7 @@
9654
9715
  "__schema": "ParameterSchema",
9655
9716
  "location": {
9656
9717
  "filePath": "component.main.runtime.ts",
9657
- "line": 109,
9718
+ "line": 118,
9658
9719
  "character": 12
9659
9720
  },
9660
9721
  "name": "id",
@@ -9662,7 +9723,7 @@
9662
9723
  "__schema": "TypeRefSchema",
9663
9724
  "location": {
9664
9725
  "filePath": "component.main.runtime.ts",
9665
- "line": 109,
9726
+ "line": 118,
9666
9727
  "character": 16
9667
9728
  },
9668
9729
  "name": "ComponentID"
@@ -9674,7 +9735,7 @@
9674
9735
  "__schema": "ParameterSchema",
9675
9736
  "location": {
9676
9737
  "filePath": "component.main.runtime.ts",
9677
- "line": 109,
9738
+ "line": 118,
9678
9739
  "character": 29
9679
9740
  },
9680
9741
  "name": "routeName",
@@ -9682,7 +9743,7 @@
9682
9743
  "__schema": "KeywordTypeSchema",
9683
9744
  "location": {
9684
9745
  "filePath": "component.main.runtime.ts",
9685
- "line": 109,
9746
+ "line": 118,
9686
9747
  "character": 40
9687
9748
  },
9688
9749
  "name": "string"
@@ -9695,7 +9756,7 @@
9695
9756
  "__schema": "InferenceTypeSchema",
9696
9757
  "location": {
9697
9758
  "filePath": "component.main.runtime.ts",
9698
- "line": 109,
9759
+ "line": 118,
9699
9760
  "character": 3
9700
9761
  },
9701
9762
  "type": "string"
@@ -9706,7 +9767,7 @@
9706
9767
  "__schema": "FunctionLikeSchema",
9707
9768
  "location": {
9708
9769
  "filePath": "component.main.runtime.ts",
9709
- "line": 124,
9770
+ "line": 133,
9710
9771
  "character": 3
9711
9772
  },
9712
9773
  "signature": "(method) ComponentMain.getShowFragments(): ShowFragment[]",
@@ -9716,7 +9777,7 @@
9716
9777
  "__schema": "InferenceTypeSchema",
9717
9778
  "location": {
9718
9779
  "filePath": "component.main.runtime.ts",
9719
- "line": 124,
9780
+ "line": 133,
9720
9781
  "character": 3
9721
9782
  },
9722
9783
  "type": "ShowFragment[]"
@@ -9727,7 +9788,7 @@
9727
9788
  "__schema": "FunctionLikeSchema",
9728
9789
  "location": {
9729
9790
  "filePath": "component.main.runtime.ts",
9730
- "line": 129,
9791
+ "line": 138,
9731
9792
  "character": 3
9732
9793
  },
9733
9794
  "signature": "(method) ComponentMain.isHost(name: string): boolean",
@@ -9737,7 +9798,7 @@
9737
9798
  "__schema": "ParameterSchema",
9738
9799
  "location": {
9739
9800
  "filePath": "component.main.runtime.ts",
9740
- "line": 129,
9801
+ "line": 138,
9741
9802
  "character": 10
9742
9803
  },
9743
9804
  "name": "name",
@@ -9745,7 +9806,7 @@
9745
9806
  "__schema": "KeywordTypeSchema",
9746
9807
  "location": {
9747
9808
  "filePath": "component.main.runtime.ts",
9748
- "line": 129,
9809
+ "line": 138,
9749
9810
  "character": 16
9750
9811
  },
9751
9812
  "name": "string"
@@ -9758,7 +9819,7 @@
9758
9819
  "__schema": "InferenceTypeSchema",
9759
9820
  "location": {
9760
9821
  "filePath": "component.main.runtime.ts",
9761
- "line": 129,
9822
+ "line": 138,
9762
9823
  "character": 3
9763
9824
  },
9764
9825
  "type": "boolean"
@@ -9769,14 +9830,14 @@
9769
9830
  "__schema": "FunctionLikeSchema",
9770
9831
  "location": {
9771
9832
  "filePath": "component.main.runtime.ts",
9772
- "line": 136,
9833
+ "line": 145,
9773
9834
  "character": 3
9774
9835
  },
9775
9836
  "doc": {
9776
9837
  "__schema": "DocSchema",
9777
9838
  "location": {
9778
9839
  "filePath": "component.main.runtime.ts",
9779
- "line": 133,
9840
+ "line": 142,
9780
9841
  "character": 3
9781
9842
  },
9782
9843
  "raw": "/**\n * register a show fragment to display further information in the `bit show` command.\n */",
@@ -9789,7 +9850,7 @@
9789
9850
  "__schema": "ParameterSchema",
9790
9851
  "location": {
9791
9852
  "filePath": "component.main.runtime.ts",
9792
- "line": 136,
9853
+ "line": 145,
9793
9854
  "character": 25
9794
9855
  },
9795
9856
  "name": "showFragments",
@@ -9797,14 +9858,14 @@
9797
9858
  "__schema": "TypeArraySchema",
9798
9859
  "location": {
9799
9860
  "filePath": "component.main.runtime.ts",
9800
- "line": 136,
9861
+ "line": 145,
9801
9862
  "character": 40
9802
9863
  },
9803
9864
  "type": {
9804
9865
  "__schema": "TypeRefSchema",
9805
9866
  "location": {
9806
9867
  "filePath": "component.main.runtime.ts",
9807
- "line": 136,
9868
+ "line": 145,
9808
9869
  "character": 40
9809
9870
  },
9810
9871
  "name": "ShowFragment"
@@ -9818,7 +9879,7 @@
9818
9879
  "__schema": "TypeRefSchema",
9819
9880
  "location": {
9820
9881
  "filePath": "component.main.runtime.ts",
9821
- "line": 136,
9882
+ "line": 145,
9822
9883
  "character": 3
9823
9884
  },
9824
9885
  "name": "ComponentMain"
@@ -9829,7 +9890,7 @@
9829
9890
  "__schema": "VariableLikeSchema",
9830
9891
  "location": {
9831
9892
  "filePath": "component.main.runtime.ts",
9832
- "line": 143,
9893
+ "line": 152,
9833
9894
  "character": 3
9834
9895
  },
9835
9896
  "signature": "(property) ComponentMain.slots: (((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
@@ -9838,7 +9899,7 @@
9838
9899
  "__schema": "InferenceTypeSchema",
9839
9900
  "location": {
9840
9901
  "filePath": "component.main.runtime.ts",
9841
- "line": 143,
9902
+ "line": 152,
9842
9903
  "character": 3
9843
9904
  },
9844
9905
  "type": "(((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
@@ -9850,7 +9911,7 @@
9850
9911
  "__schema": "VariableLikeSchema",
9851
9912
  "location": {
9852
9913
  "filePath": "component.main.runtime.ts",
9853
- "line": 145,
9914
+ "line": 154,
9854
9915
  "character": 3
9855
9916
  },
9856
9917
  "signature": "(property) ComponentMain.runtime: RuntimeDefinition",
@@ -9859,7 +9920,7 @@
9859
9920
  "__schema": "InferenceTypeSchema",
9860
9921
  "location": {
9861
9922
  "filePath": "component.main.runtime.ts",
9862
- "line": 145,
9923
+ "line": 154,
9863
9924
  "character": 3
9864
9925
  },
9865
9926
  "type": "RuntimeDefinition"
@@ -9871,7 +9932,7 @@
9871
9932
  "__schema": "VariableLikeSchema",
9872
9933
  "location": {
9873
9934
  "filePath": "component.main.runtime.ts",
9874
- "line": 146,
9935
+ "line": 155,
9875
9936
  "character": 3
9876
9937
  },
9877
9938
  "signature": "(property) ComponentMain.dependencies: Aspect[]",
@@ -9880,7 +9941,7 @@
9880
9941
  "__schema": "InferenceTypeSchema",
9881
9942
  "location": {
9882
9943
  "filePath": "component.main.runtime.ts",
9883
- "line": 146,
9944
+ "line": 155,
9884
9945
  "character": 3
9885
9946
  },
9886
9947
  "type": "Aspect[]"
@@ -9892,7 +9953,7 @@
9892
9953
  "__schema": "FunctionLikeSchema",
9893
9954
  "location": {
9894
9955
  "filePath": "component.main.runtime.ts",
9895
- "line": 148,
9956
+ "line": 157,
9896
9957
  "character": 3
9897
9958
  },
9898
9959
  "signature": "(method) ComponentMain.provider([graphql, express, cli]: [GraphqlMain, ExpressMain, CLIMain], config: any, [hostSlot, showFragmentSlot]: [ComponentHostSlot, ShowFragmentSlot]): Promise<ComponentMain>",
@@ -9902,7 +9963,7 @@
9902
9963
  "__schema": "ParameterSchema",
9903
9964
  "location": {
9904
9965
  "filePath": "component.main.runtime.ts",
9905
- "line": 149,
9966
+ "line": 158,
9906
9967
  "character": 5
9907
9968
  },
9908
9969
  "name": "[ graphql, express, cli ]",
@@ -9910,7 +9971,7 @@
9910
9971
  "__schema": "TupleTypeSchema",
9911
9972
  "location": {
9912
9973
  "filePath": "component.main.runtime.ts",
9913
- "line": 149,
9974
+ "line": 158,
9914
9975
  "character": 30
9915
9976
  },
9916
9977
  "elements": [
@@ -9918,7 +9979,7 @@
9918
9979
  "__schema": "TypeRefSchema",
9919
9980
  "location": {
9920
9981
  "filePath": "component.main.runtime.ts",
9921
- "line": 149,
9982
+ "line": 158,
9922
9983
  "character": 31
9923
9984
  },
9924
9985
  "name": "GraphqlMain"
@@ -9927,7 +9988,7 @@
9927
9988
  "__schema": "TypeRefSchema",
9928
9989
  "location": {
9929
9990
  "filePath": "component.main.runtime.ts",
9930
- "line": 149,
9991
+ "line": 158,
9931
9992
  "character": 44
9932
9993
  },
9933
9994
  "name": "ExpressMain"
@@ -9936,7 +9997,7 @@
9936
9997
  "__schema": "TypeRefSchema",
9937
9998
  "location": {
9938
9999
  "filePath": "component.main.runtime.ts",
9939
- "line": 149,
10000
+ "line": 158,
9940
10001
  "character": 57
9941
10002
  },
9942
10003
  "name": "CLIMain"
@@ -9950,7 +10011,7 @@
9950
10011
  "__schema": "ParameterSchema",
9951
10012
  "location": {
9952
10013
  "filePath": "component.main.runtime.ts",
9953
- "line": 150,
10014
+ "line": 159,
9954
10015
  "character": 5
9955
10016
  },
9956
10017
  "name": "config",
@@ -9958,7 +10019,7 @@
9958
10019
  "__schema": "InferenceTypeSchema",
9959
10020
  "location": {
9960
10021
  "filePath": "component.main.runtime.ts",
9961
- "line": 150,
10022
+ "line": 159,
9962
10023
  "character": 5
9963
10024
  },
9964
10025
  "type": "any"
@@ -9970,7 +10031,7 @@
9970
10031
  "__schema": "ParameterSchema",
9971
10032
  "location": {
9972
10033
  "filePath": "component.main.runtime.ts",
9973
- "line": 151,
10034
+ "line": 160,
9974
10035
  "character": 5
9975
10036
  },
9976
10037
  "name": "[ hostSlot, showFragmentSlot ]",
@@ -9978,7 +10039,7 @@
9978
10039
  "__schema": "TupleTypeSchema",
9979
10040
  "location": {
9980
10041
  "filePath": "component.main.runtime.ts",
9981
- "line": 151,
10042
+ "line": 160,
9982
10043
  "character": 35
9983
10044
  },
9984
10045
  "elements": [
@@ -9986,7 +10047,7 @@
9986
10047
  "__schema": "TypeRefSchema",
9987
10048
  "location": {
9988
10049
  "filePath": "component.main.runtime.ts",
9989
- "line": 151,
10050
+ "line": 160,
9990
10051
  "character": 36
9991
10052
  },
9992
10053
  "name": "ComponentHostSlot"
@@ -9995,7 +10056,7 @@
9995
10056
  "__schema": "TypeRefSchema",
9996
10057
  "location": {
9997
10058
  "filePath": "component.main.runtime.ts",
9998
- "line": 151,
10059
+ "line": 160,
9999
10060
  "character": 55
10000
10061
  },
10001
10062
  "name": "ShowFragmentSlot"
@@ -10010,7 +10071,7 @@
10010
10071
  "__schema": "InferenceTypeSchema",
10011
10072
  "location": {
10012
10073
  "filePath": "component.main.runtime.ts",
10013
- "line": 148,
10074
+ "line": 157,
10014
10075
  "character": 3
10015
10076
  },
10016
10077
  "type": "Promise<ComponentMain>"
@@ -18512,7 +18573,7 @@
18512
18573
  "_legacy": {
18513
18574
  "scope": "teambit.component",
18514
18575
  "name": "component",
18515
- "version": "1.0.177"
18576
+ "version": "1.0.178"
18516
18577
  },
18517
18578
  "_scope": "teambit.component"
18518
18579
  }
@@ -23607,7 +23668,7 @@
23607
23668
  "_legacy": {
23608
23669
  "scope": "teambit.component",
23609
23670
  "name": "component",
23610
- "version": "1.0.177"
23671
+ "version": "1.0.178"
23611
23672
  },
23612
23673
  "_scope": "teambit.component"
23613
23674
  }
@@ -24102,6 +24163,67 @@
24102
24163
  "line": 109,
24103
24164
  "character": 3
24104
24165
  },
24166
+ "signature": "(method) ComponentMain.getHostIfExist(id?: string): ComponentFactory | undefined",
24167
+ "name": "getHostIfExist",
24168
+ "params": [
24169
+ {
24170
+ "__schema": "ParameterSchema",
24171
+ "location": {
24172
+ "filePath": "component.main.runtime.ts",
24173
+ "line": 109,
24174
+ "character": 18
24175
+ },
24176
+ "name": "id",
24177
+ "type": {
24178
+ "__schema": "KeywordTypeSchema",
24179
+ "location": {
24180
+ "filePath": "component.main.runtime.ts",
24181
+ "line": 109,
24182
+ "character": 23
24183
+ },
24184
+ "name": "string"
24185
+ },
24186
+ "isOptional": true,
24187
+ "isSpread": false
24188
+ }
24189
+ ],
24190
+ "returnType": {
24191
+ "__schema": "TypeUnionSchema",
24192
+ "location": {
24193
+ "filePath": "component.main.runtime.ts",
24194
+ "line": 109,
24195
+ "character": 32
24196
+ },
24197
+ "types": [
24198
+ {
24199
+ "__schema": "TypeRefSchema",
24200
+ "location": {
24201
+ "filePath": "component.main.runtime.ts",
24202
+ "line": 109,
24203
+ "character": 32
24204
+ },
24205
+ "name": "ComponentFactory"
24206
+ },
24207
+ {
24208
+ "__schema": "KeywordTypeSchema",
24209
+ "location": {
24210
+ "filePath": "component.main.runtime.ts",
24211
+ "line": 109,
24212
+ "character": 51
24213
+ },
24214
+ "name": "undefined"
24215
+ }
24216
+ ]
24217
+ },
24218
+ "modifiers": []
24219
+ },
24220
+ {
24221
+ "__schema": "FunctionLikeSchema",
24222
+ "location": {
24223
+ "filePath": "component.main.runtime.ts",
24224
+ "line": 118,
24225
+ "character": 3
24226
+ },
24105
24227
  "signature": "(method) ComponentMain.getRoute(id: ComponentID, routeName: string): string",
24106
24228
  "name": "getRoute",
24107
24229
  "params": [
@@ -24109,7 +24231,7 @@
24109
24231
  "__schema": "ParameterSchema",
24110
24232
  "location": {
24111
24233
  "filePath": "component.main.runtime.ts",
24112
- "line": 109,
24234
+ "line": 118,
24113
24235
  "character": 12
24114
24236
  },
24115
24237
  "name": "id",
@@ -24117,7 +24239,7 @@
24117
24239
  "__schema": "TypeRefSchema",
24118
24240
  "location": {
24119
24241
  "filePath": "component.main.runtime.ts",
24120
- "line": 109,
24242
+ "line": 118,
24121
24243
  "character": 16
24122
24244
  },
24123
24245
  "name": "ComponentID"
@@ -24129,7 +24251,7 @@
24129
24251
  "__schema": "ParameterSchema",
24130
24252
  "location": {
24131
24253
  "filePath": "component.main.runtime.ts",
24132
- "line": 109,
24254
+ "line": 118,
24133
24255
  "character": 29
24134
24256
  },
24135
24257
  "name": "routeName",
@@ -24137,7 +24259,7 @@
24137
24259
  "__schema": "KeywordTypeSchema",
24138
24260
  "location": {
24139
24261
  "filePath": "component.main.runtime.ts",
24140
- "line": 109,
24262
+ "line": 118,
24141
24263
  "character": 40
24142
24264
  },
24143
24265
  "name": "string"
@@ -24150,7 +24272,7 @@
24150
24272
  "__schema": "InferenceTypeSchema",
24151
24273
  "location": {
24152
24274
  "filePath": "component.main.runtime.ts",
24153
- "line": 109,
24275
+ "line": 118,
24154
24276
  "character": 3
24155
24277
  },
24156
24278
  "type": "string"
@@ -24161,7 +24283,7 @@
24161
24283
  "__schema": "FunctionLikeSchema",
24162
24284
  "location": {
24163
24285
  "filePath": "component.main.runtime.ts",
24164
- "line": 124,
24286
+ "line": 133,
24165
24287
  "character": 3
24166
24288
  },
24167
24289
  "signature": "(method) ComponentMain.getShowFragments(): ShowFragment[]",
@@ -24171,7 +24293,7 @@
24171
24293
  "__schema": "InferenceTypeSchema",
24172
24294
  "location": {
24173
24295
  "filePath": "component.main.runtime.ts",
24174
- "line": 124,
24296
+ "line": 133,
24175
24297
  "character": 3
24176
24298
  },
24177
24299
  "type": "ShowFragment[]"
@@ -24182,7 +24304,7 @@
24182
24304
  "__schema": "FunctionLikeSchema",
24183
24305
  "location": {
24184
24306
  "filePath": "component.main.runtime.ts",
24185
- "line": 129,
24307
+ "line": 138,
24186
24308
  "character": 3
24187
24309
  },
24188
24310
  "signature": "(method) ComponentMain.isHost(name: string): boolean",
@@ -24192,7 +24314,7 @@
24192
24314
  "__schema": "ParameterSchema",
24193
24315
  "location": {
24194
24316
  "filePath": "component.main.runtime.ts",
24195
- "line": 129,
24317
+ "line": 138,
24196
24318
  "character": 10
24197
24319
  },
24198
24320
  "name": "name",
@@ -24200,7 +24322,7 @@
24200
24322
  "__schema": "KeywordTypeSchema",
24201
24323
  "location": {
24202
24324
  "filePath": "component.main.runtime.ts",
24203
- "line": 129,
24325
+ "line": 138,
24204
24326
  "character": 16
24205
24327
  },
24206
24328
  "name": "string"
@@ -24213,7 +24335,7 @@
24213
24335
  "__schema": "InferenceTypeSchema",
24214
24336
  "location": {
24215
24337
  "filePath": "component.main.runtime.ts",
24216
- "line": 129,
24338
+ "line": 138,
24217
24339
  "character": 3
24218
24340
  },
24219
24341
  "type": "boolean"
@@ -24224,14 +24346,14 @@
24224
24346
  "__schema": "FunctionLikeSchema",
24225
24347
  "location": {
24226
24348
  "filePath": "component.main.runtime.ts",
24227
- "line": 136,
24349
+ "line": 145,
24228
24350
  "character": 3
24229
24351
  },
24230
24352
  "doc": {
24231
24353
  "__schema": "DocSchema",
24232
24354
  "location": {
24233
24355
  "filePath": "component.main.runtime.ts",
24234
- "line": 133,
24356
+ "line": 142,
24235
24357
  "character": 3
24236
24358
  },
24237
24359
  "raw": "/**\n * register a show fragment to display further information in the `bit show` command.\n */",
@@ -24244,7 +24366,7 @@
24244
24366
  "__schema": "ParameterSchema",
24245
24367
  "location": {
24246
24368
  "filePath": "component.main.runtime.ts",
24247
- "line": 136,
24369
+ "line": 145,
24248
24370
  "character": 25
24249
24371
  },
24250
24372
  "name": "showFragments",
@@ -24252,14 +24374,14 @@
24252
24374
  "__schema": "TypeArraySchema",
24253
24375
  "location": {
24254
24376
  "filePath": "component.main.runtime.ts",
24255
- "line": 136,
24377
+ "line": 145,
24256
24378
  "character": 40
24257
24379
  },
24258
24380
  "type": {
24259
24381
  "__schema": "TypeRefSchema",
24260
24382
  "location": {
24261
24383
  "filePath": "component.main.runtime.ts",
24262
- "line": 136,
24384
+ "line": 145,
24263
24385
  "character": 40
24264
24386
  },
24265
24387
  "name": "ShowFragment"
@@ -24273,7 +24395,7 @@
24273
24395
  "__schema": "TypeRefSchema",
24274
24396
  "location": {
24275
24397
  "filePath": "component.main.runtime.ts",
24276
- "line": 136,
24398
+ "line": 145,
24277
24399
  "character": 3
24278
24400
  },
24279
24401
  "name": "ComponentMain"
@@ -24284,7 +24406,7 @@
24284
24406
  "__schema": "VariableLikeSchema",
24285
24407
  "location": {
24286
24408
  "filePath": "component.main.runtime.ts",
24287
- "line": 143,
24409
+ "line": 152,
24288
24410
  "character": 3
24289
24411
  },
24290
24412
  "signature": "(property) ComponentMain.slots: (((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
@@ -24293,7 +24415,7 @@
24293
24415
  "__schema": "InferenceTypeSchema",
24294
24416
  "location": {
24295
24417
  "filePath": "component.main.runtime.ts",
24296
- "line": 143,
24418
+ "line": 152,
24297
24419
  "character": 3
24298
24420
  },
24299
24421
  "type": "(((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
@@ -24305,7 +24427,7 @@
24305
24427
  "__schema": "VariableLikeSchema",
24306
24428
  "location": {
24307
24429
  "filePath": "component.main.runtime.ts",
24308
- "line": 145,
24430
+ "line": 154,
24309
24431
  "character": 3
24310
24432
  },
24311
24433
  "signature": "(property) ComponentMain.runtime: RuntimeDefinition",
@@ -24314,7 +24436,7 @@
24314
24436
  "__schema": "InferenceTypeSchema",
24315
24437
  "location": {
24316
24438
  "filePath": "component.main.runtime.ts",
24317
- "line": 145,
24439
+ "line": 154,
24318
24440
  "character": 3
24319
24441
  },
24320
24442
  "type": "RuntimeDefinition"
@@ -24326,7 +24448,7 @@
24326
24448
  "__schema": "VariableLikeSchema",
24327
24449
  "location": {
24328
24450
  "filePath": "component.main.runtime.ts",
24329
- "line": 146,
24451
+ "line": 155,
24330
24452
  "character": 3
24331
24453
  },
24332
24454
  "signature": "(property) ComponentMain.dependencies: Aspect[]",
@@ -24335,7 +24457,7 @@
24335
24457
  "__schema": "InferenceTypeSchema",
24336
24458
  "location": {
24337
24459
  "filePath": "component.main.runtime.ts",
24338
- "line": 146,
24460
+ "line": 155,
24339
24461
  "character": 3
24340
24462
  },
24341
24463
  "type": "Aspect[]"
@@ -24347,7 +24469,7 @@
24347
24469
  "__schema": "FunctionLikeSchema",
24348
24470
  "location": {
24349
24471
  "filePath": "component.main.runtime.ts",
24350
- "line": 148,
24472
+ "line": 157,
24351
24473
  "character": 3
24352
24474
  },
24353
24475
  "signature": "(method) ComponentMain.provider([graphql, express, cli]: [GraphqlMain, ExpressMain, CLIMain], config: any, [hostSlot, showFragmentSlot]: [ComponentHostSlot, ShowFragmentSlot]): Promise<ComponentMain>",
@@ -24357,7 +24479,7 @@
24357
24479
  "__schema": "ParameterSchema",
24358
24480
  "location": {
24359
24481
  "filePath": "component.main.runtime.ts",
24360
- "line": 149,
24482
+ "line": 158,
24361
24483
  "character": 5
24362
24484
  },
24363
24485
  "name": "[ graphql, express, cli ]",
@@ -24365,7 +24487,7 @@
24365
24487
  "__schema": "TupleTypeSchema",
24366
24488
  "location": {
24367
24489
  "filePath": "component.main.runtime.ts",
24368
- "line": 149,
24490
+ "line": 158,
24369
24491
  "character": 30
24370
24492
  },
24371
24493
  "elements": [
@@ -24373,7 +24495,7 @@
24373
24495
  "__schema": "TypeRefSchema",
24374
24496
  "location": {
24375
24497
  "filePath": "component.main.runtime.ts",
24376
- "line": 149,
24498
+ "line": 158,
24377
24499
  "character": 31
24378
24500
  },
24379
24501
  "name": "GraphqlMain"
@@ -24382,7 +24504,7 @@
24382
24504
  "__schema": "TypeRefSchema",
24383
24505
  "location": {
24384
24506
  "filePath": "component.main.runtime.ts",
24385
- "line": 149,
24507
+ "line": 158,
24386
24508
  "character": 44
24387
24509
  },
24388
24510
  "name": "ExpressMain"
@@ -24391,7 +24513,7 @@
24391
24513
  "__schema": "TypeRefSchema",
24392
24514
  "location": {
24393
24515
  "filePath": "component.main.runtime.ts",
24394
- "line": 149,
24516
+ "line": 158,
24395
24517
  "character": 57
24396
24518
  },
24397
24519
  "name": "CLIMain"
@@ -24405,7 +24527,7 @@
24405
24527
  "__schema": "ParameterSchema",
24406
24528
  "location": {
24407
24529
  "filePath": "component.main.runtime.ts",
24408
- "line": 150,
24530
+ "line": 159,
24409
24531
  "character": 5
24410
24532
  },
24411
24533
  "name": "config",
@@ -24413,7 +24535,7 @@
24413
24535
  "__schema": "InferenceTypeSchema",
24414
24536
  "location": {
24415
24537
  "filePath": "component.main.runtime.ts",
24416
- "line": 150,
24538
+ "line": 159,
24417
24539
  "character": 5
24418
24540
  },
24419
24541
  "type": "any"
@@ -24425,7 +24547,7 @@
24425
24547
  "__schema": "ParameterSchema",
24426
24548
  "location": {
24427
24549
  "filePath": "component.main.runtime.ts",
24428
- "line": 151,
24550
+ "line": 160,
24429
24551
  "character": 5
24430
24552
  },
24431
24553
  "name": "[ hostSlot, showFragmentSlot ]",
@@ -24433,7 +24555,7 @@
24433
24555
  "__schema": "TupleTypeSchema",
24434
24556
  "location": {
24435
24557
  "filePath": "component.main.runtime.ts",
24436
- "line": 151,
24558
+ "line": 160,
24437
24559
  "character": 35
24438
24560
  },
24439
24561
  "elements": [
@@ -24441,7 +24563,7 @@
24441
24563
  "__schema": "TypeRefSchema",
24442
24564
  "location": {
24443
24565
  "filePath": "component.main.runtime.ts",
24444
- "line": 151,
24566
+ "line": 160,
24445
24567
  "character": 36
24446
24568
  },
24447
24569
  "name": "ComponentHostSlot"
@@ -24450,7 +24572,7 @@
24450
24572
  "__schema": "TypeRefSchema",
24451
24573
  "location": {
24452
24574
  "filePath": "component.main.runtime.ts",
24453
- "line": 151,
24575
+ "line": 160,
24454
24576
  "character": 55
24455
24577
  },
24456
24578
  "name": "ShowFragmentSlot"
@@ -24465,7 +24587,7 @@
24465
24587
  "__schema": "InferenceTypeSchema",
24466
24588
  "location": {
24467
24589
  "filePath": "component.main.runtime.ts",
24468
- "line": 148,
24590
+ "line": 157,
24469
24591
  "character": 3
24470
24592
  },
24471
24593
  "type": "Promise<ComponentMain>"
@@ -24485,7 +24607,7 @@
24485
24607
  "__schema": "UnImplementedSchema",
24486
24608
  "location": {
24487
24609
  "filePath": "component.main.runtime.ts",
24488
- "line": 170,
24610
+ "line": 179,
24489
24611
  "character": 1
24490
24612
  },
24491
24613
  "name": "ComponentAspect.addRuntime(ComponentMain);",
@@ -29807,7 +29929,7 @@
29807
29929
  "_legacy": {
29808
29930
  "scope": "teambit.component",
29809
29931
  "name": "component",
29810
- "version": "1.0.177"
29932
+ "version": "1.0.178"
29811
29933
  },
29812
29934
  "_scope": "teambit.component"
29813
29935
  }
@@ -32189,7 +32311,7 @@
32189
32311
  "componentId": {
32190
32312
  "scope": "teambit.component",
32191
32313
  "name": "component",
32192
- "version": "1.0.177"
32314
+ "version": "1.0.178"
32193
32315
  },
32194
32316
  "taggedModuleExports": []
32195
32317
  }