@teambit/schema 1.0.171 → 1.0.174

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.
@@ -611,7 +611,7 @@
611
611
  "_legacy": {
612
612
  "scope": "teambit.semantics",
613
613
  "name": "schema",
614
- "version": "1.0.171"
614
+ "version": "1.0.174"
615
615
  },
616
616
  "_scope": "teambit.semantics"
617
617
  }
@@ -770,14 +770,14 @@
770
770
  "__schema": "ClassSchema",
771
771
  "location": {
772
772
  "filePath": "schema.main.runtime.ts",
773
- "line": 43,
773
+ "line": 44,
774
774
  "character": 1
775
775
  },
776
776
  "doc": {
777
777
  "__schema": "DocSchema",
778
778
  "location": {
779
779
  "filePath": "schema.main.runtime.ts",
780
- "line": 40,
780
+ "line": 41,
781
781
  "character": 1
782
782
  },
783
783
  "raw": "/**\n * extension for extracting component schemas.\n */",
@@ -790,7 +790,7 @@
790
790
  "__schema": "ConstructorSchema",
791
791
  "location": {
792
792
  "filePath": "schema.main.runtime.ts",
793
- "line": 44,
793
+ "line": 45,
794
794
  "character": 3
795
795
  },
796
796
  "signature": "constructor SchemaMain(parserSlot: ParserSlot, envs: EnvsMain, config: SchemaConfig, builder: BuilderMain, workspace: Workspace, logger: Logger): SchemaMain",
@@ -800,7 +800,7 @@
800
800
  "__schema": "ParameterSchema",
801
801
  "location": {
802
802
  "filePath": "schema.main.runtime.ts",
803
- "line": 48,
803
+ "line": 49,
804
804
  "character": 5
805
805
  },
806
806
  "name": "parserSlot",
@@ -808,7 +808,7 @@
808
808
  "__schema": "TypeRefSchema",
809
809
  "location": {
810
810
  "filePath": "schema.main.runtime.ts",
811
- "line": 48,
811
+ "line": 49,
812
812
  "character": 25
813
813
  },
814
814
  "name": "ParserSlot"
@@ -820,7 +820,7 @@
820
820
  "__schema": "ParameterSchema",
821
821
  "location": {
822
822
  "filePath": "schema.main.runtime.ts",
823
- "line": 50,
823
+ "line": 51,
824
824
  "character": 5
825
825
  },
826
826
  "name": "envs",
@@ -828,7 +828,7 @@
828
828
  "__schema": "TypeRefSchema",
829
829
  "location": {
830
830
  "filePath": "schema.main.runtime.ts",
831
- "line": 50,
831
+ "line": 51,
832
832
  "character": 19
833
833
  },
834
834
  "name": "EnvsMain"
@@ -840,7 +840,7 @@
840
840
  "__schema": "ParameterSchema",
841
841
  "location": {
842
842
  "filePath": "schema.main.runtime.ts",
843
- "line": 52,
843
+ "line": 53,
844
844
  "character": 5
845
845
  },
846
846
  "name": "config",
@@ -848,7 +848,7 @@
848
848
  "__schema": "TypeRefSchema",
849
849
  "location": {
850
850
  "filePath": "schema.main.runtime.ts",
851
- "line": 52,
851
+ "line": 53,
852
852
  "character": 21
853
853
  },
854
854
  "name": "SchemaConfig"
@@ -860,7 +860,7 @@
860
860
  "__schema": "ParameterSchema",
861
861
  "location": {
862
862
  "filePath": "schema.main.runtime.ts",
863
- "line": 54,
863
+ "line": 55,
864
864
  "character": 5
865
865
  },
866
866
  "name": "builder",
@@ -868,7 +868,7 @@
868
868
  "__schema": "TypeRefSchema",
869
869
  "location": {
870
870
  "filePath": "schema.main.runtime.ts",
871
- "line": 54,
871
+ "line": 55,
872
872
  "character": 22
873
873
  },
874
874
  "name": "BuilderMain"
@@ -880,7 +880,7 @@
880
880
  "__schema": "ParameterSchema",
881
881
  "location": {
882
882
  "filePath": "schema.main.runtime.ts",
883
- "line": 56,
883
+ "line": 57,
884
884
  "character": 5
885
885
  },
886
886
  "name": "workspace",
@@ -888,7 +888,7 @@
888
888
  "__schema": "TypeRefSchema",
889
889
  "location": {
890
890
  "filePath": "schema.main.runtime.ts",
891
- "line": 56,
891
+ "line": 57,
892
892
  "character": 24
893
893
  },
894
894
  "name": "Workspace"
@@ -900,7 +900,7 @@
900
900
  "__schema": "ParameterSchema",
901
901
  "location": {
902
902
  "filePath": "schema.main.runtime.ts",
903
- "line": 58,
903
+ "line": 59,
904
904
  "character": 5
905
905
  },
906
906
  "name": "logger",
@@ -908,7 +908,7 @@
908
908
  "__schema": "TypeRefSchema",
909
909
  "location": {
910
910
  "filePath": "schema.main.runtime.ts",
911
- "line": 58,
911
+ "line": 59,
912
912
  "character": 21
913
913
  },
914
914
  "name": "Logger"
@@ -921,7 +921,7 @@
921
921
  "__schema": "ThisTypeSchema",
922
922
  "location": {
923
923
  "filePath": "schema.main.runtime.ts",
924
- "line": 43,
924
+ "line": 44,
925
925
  "character": 1
926
926
  },
927
927
  "name": "SchemaMain"
@@ -932,14 +932,14 @@
932
932
  "__schema": "FunctionLikeSchema",
933
933
  "location": {
934
934
  "filePath": "schema.main.runtime.ts",
935
- "line": 64,
935
+ "line": 65,
936
936
  "character": 3
937
937
  },
938
938
  "doc": {
939
939
  "__schema": "DocSchema",
940
940
  "location": {
941
941
  "filePath": "schema.main.runtime.ts",
942
- "line": 61,
942
+ "line": 62,
943
943
  "character": 3
944
944
  },
945
945
  "raw": "/**\n * get the default parser.\n */",
@@ -952,7 +952,7 @@
952
952
  "__schema": "TypeRefSchema",
953
953
  "location": {
954
954
  "filePath": "schema.main.runtime.ts",
955
- "line": 64,
955
+ "line": 65,
956
956
  "character": 3
957
957
  },
958
958
  "name": "Parser"
@@ -963,7 +963,7 @@
963
963
  "__schema": "FunctionLikeSchema",
964
964
  "location": {
965
965
  "filePath": "schema.main.runtime.ts",
966
- "line": 68,
966
+ "line": 69,
967
967
  "character": 3
968
968
  },
969
969
  "signature": "(method) SchemaMain.registerSchemaClass(schema: SchemaNodeConstructor): void",
@@ -973,7 +973,7 @@
973
973
  "__schema": "ParameterSchema",
974
974
  "location": {
975
975
  "filePath": "schema.main.runtime.ts",
976
- "line": 68,
976
+ "line": 69,
977
977
  "character": 23
978
978
  },
979
979
  "name": "schema",
@@ -981,7 +981,7 @@
981
981
  "__schema": "TypeRefSchema",
982
982
  "location": {
983
983
  "filePath": "schema.main.runtime.ts",
984
- "line": 68,
984
+ "line": 69,
985
985
  "character": 31
986
986
  },
987
987
  "name": "SchemaNodeConstructor"
@@ -994,7 +994,7 @@
994
994
  "__schema": "InferenceTypeSchema",
995
995
  "location": {
996
996
  "filePath": "schema.main.runtime.ts",
997
- "line": 68,
997
+ "line": 69,
998
998
  "character": 3
999
999
  },
1000
1000
  "type": "void"
@@ -1005,14 +1005,14 @@
1005
1005
  "__schema": "FunctionLikeSchema",
1006
1006
  "location": {
1007
1007
  "filePath": "schema.main.runtime.ts",
1008
- "line": 75,
1008
+ "line": 76,
1009
1009
  "character": 3
1010
1010
  },
1011
1011
  "doc": {
1012
1012
  "__schema": "DocSchema",
1013
1013
  "location": {
1014
1014
  "filePath": "schema.main.runtime.ts",
1015
- "line": 72,
1015
+ "line": 73,
1016
1016
  "character": 3
1017
1017
  },
1018
1018
  "raw": "/**\n * parse a module into a component schema.\n */",
@@ -1025,7 +1025,7 @@
1025
1025
  "__schema": "ParameterSchema",
1026
1026
  "location": {
1027
1027
  "filePath": "schema.main.runtime.ts",
1028
- "line": 75,
1028
+ "line": 76,
1029
1029
  "character": 15
1030
1030
  },
1031
1031
  "name": "path",
@@ -1033,7 +1033,7 @@
1033
1033
  "__schema": "KeywordTypeSchema",
1034
1034
  "location": {
1035
1035
  "filePath": "schema.main.runtime.ts",
1036
- "line": 75,
1036
+ "line": 76,
1037
1037
  "character": 21
1038
1038
  },
1039
1039
  "name": "string"
@@ -1045,7 +1045,7 @@
1045
1045
  "__schema": "ParameterSchema",
1046
1046
  "location": {
1047
1047
  "filePath": "schema.main.runtime.ts",
1048
- "line": 75,
1048
+ "line": 76,
1049
1049
  "character": 29
1050
1050
  },
1051
1051
  "name": "content",
@@ -1053,7 +1053,7 @@
1053
1053
  "__schema": "KeywordTypeSchema",
1054
1054
  "location": {
1055
1055
  "filePath": "schema.main.runtime.ts",
1056
- "line": 75,
1056
+ "line": 76,
1057
1057
  "character": 39
1058
1058
  },
1059
1059
  "name": "string"
@@ -1066,14 +1066,14 @@
1066
1066
  "__schema": "TypeArraySchema",
1067
1067
  "location": {
1068
1068
  "filePath": "schema.main.runtime.ts",
1069
- "line": 75,
1069
+ "line": 76,
1070
1070
  "character": 48
1071
1071
  },
1072
1072
  "type": {
1073
1073
  "__schema": "TypeRefSchema",
1074
1074
  "location": {
1075
1075
  "filePath": "schema.main.runtime.ts",
1076
- "line": 75,
1076
+ "line": 76,
1077
1077
  "character": 48
1078
1078
  },
1079
1079
  "name": "Export"
@@ -1085,7 +1085,7 @@
1085
1085
  "__schema": "FunctionLikeSchema",
1086
1086
  "location": {
1087
1087
  "filePath": "schema.main.runtime.ts",
1088
- "line": 90,
1088
+ "line": 91,
1089
1089
  "character": 3
1090
1090
  },
1091
1091
  "signature": "(method) SchemaMain.getSchemaExtractor(component: Component, tsserverPath?: string, contextPath?: string): SchemaExtractor",
@@ -1095,7 +1095,7 @@
1095
1095
  "__schema": "ParameterSchema",
1096
1096
  "location": {
1097
1097
  "filePath": "schema.main.runtime.ts",
1098
- "line": 90,
1098
+ "line": 91,
1099
1099
  "character": 22
1100
1100
  },
1101
1101
  "name": "component",
@@ -1103,7 +1103,7 @@
1103
1103
  "__schema": "TypeRefSchema",
1104
1104
  "location": {
1105
1105
  "filePath": "schema.main.runtime.ts",
1106
- "line": 90,
1106
+ "line": 91,
1107
1107
  "character": 33
1108
1108
  },
1109
1109
  "name": "Component"
@@ -1115,7 +1115,7 @@
1115
1115
  "__schema": "ParameterSchema",
1116
1116
  "location": {
1117
1117
  "filePath": "schema.main.runtime.ts",
1118
- "line": 90,
1118
+ "line": 91,
1119
1119
  "character": 44
1120
1120
  },
1121
1121
  "name": "tsserverPath",
@@ -1123,7 +1123,7 @@
1123
1123
  "__schema": "KeywordTypeSchema",
1124
1124
  "location": {
1125
1125
  "filePath": "schema.main.runtime.ts",
1126
- "line": 90,
1126
+ "line": 91,
1127
1127
  "character": 59
1128
1128
  },
1129
1129
  "name": "string"
@@ -1135,7 +1135,7 @@
1135
1135
  "__schema": "ParameterSchema",
1136
1136
  "location": {
1137
1137
  "filePath": "schema.main.runtime.ts",
1138
- "line": 90,
1138
+ "line": 91,
1139
1139
  "character": 67
1140
1140
  },
1141
1141
  "name": "contextPath",
@@ -1143,7 +1143,7 @@
1143
1143
  "__schema": "KeywordTypeSchema",
1144
1144
  "location": {
1145
1145
  "filePath": "schema.main.runtime.ts",
1146
- "line": 90,
1146
+ "line": 91,
1147
1147
  "character": 81
1148
1148
  },
1149
1149
  "name": "string"
@@ -1156,7 +1156,7 @@
1156
1156
  "__schema": "TypeRefSchema",
1157
1157
  "location": {
1158
1158
  "filePath": "schema.main.runtime.ts",
1159
- "line": 90,
1159
+ "line": 91,
1160
1160
  "character": 3
1161
1161
  },
1162
1162
  "name": "SchemaExtractor"
@@ -1167,14 +1167,14 @@
1167
1167
  "__schema": "FunctionLikeSchema",
1168
1168
  "location": {
1169
1169
  "filePath": "schema.main.runtime.ts",
1170
- "line": 107,
1170
+ "line": 108,
1171
1171
  "character": 3
1172
1172
  },
1173
1173
  "doc": {
1174
1174
  "__schema": "DocSchema",
1175
1175
  "location": {
1176
1176
  "filePath": "schema.main.runtime.ts",
1177
- "line": 99,
1177
+ "line": 100,
1178
1178
  "character": 3
1179
1179
  },
1180
1180
  "raw": "/**\n * get a schema of a component.\n * @param component target component.\n * @param shouldDisposeResourcesOnceDone for long-running processes, such as bit-start/bit-watch, this is not\n * relevant. for calling the API only to get a schema for one component, this is needed to ensure the ts-server is\n * not kept alive. otherwise, the process will never end.\n *\n */",
@@ -1184,7 +1184,7 @@
1184
1184
  "__schema": "PropertyLikeTagSchema",
1185
1185
  "location": {
1186
1186
  "filePath": "schema.main.runtime.ts",
1187
- "line": 101,
1187
+ "line": 102,
1188
1188
  "character": 6
1189
1189
  },
1190
1190
  "name": "component",
@@ -1195,7 +1195,7 @@
1195
1195
  "__schema": "PropertyLikeTagSchema",
1196
1196
  "location": {
1197
1197
  "filePath": "schema.main.runtime.ts",
1198
- "line": 102,
1198
+ "line": 103,
1199
1199
  "character": 6
1200
1200
  },
1201
1201
  "name": "shouldDisposeResourcesOnceDone",
@@ -1204,14 +1204,14 @@
1204
1204
  }
1205
1205
  ]
1206
1206
  },
1207
- "signature": "(method) SchemaMain.getSchema(component: Component, shouldDisposeResourcesOnceDone?: boolean, alwaysRunExtractor?: boolean, tsserverPath?: string, contextPath?: string, skipInternals?: boolean): Promise<APISchema>",
1207
+ "signature": "(method) SchemaMain.getSchema(component: Component, shouldDisposeResourcesOnceDone?: boolean, alwaysRunExtractor?: boolean, tsserverPath?: string, contextPath?: string, skipInternals?: boolean, schemaTransformers?: SchemaTransformer[], apiTransformers?: SchemaNodeTransformer[]): Promise<APISchema>",
1208
1208
  "name": "getSchema",
1209
1209
  "params": [
1210
1210
  {
1211
1211
  "__schema": "ParameterSchema",
1212
1212
  "location": {
1213
1213
  "filePath": "schema.main.runtime.ts",
1214
- "line": 108,
1214
+ "line": 109,
1215
1215
  "character": 5
1216
1216
  },
1217
1217
  "name": "component",
@@ -1219,7 +1219,7 @@
1219
1219
  "__schema": "TypeRefSchema",
1220
1220
  "location": {
1221
1221
  "filePath": "schema.main.runtime.ts",
1222
- "line": 108,
1222
+ "line": 109,
1223
1223
  "character": 16
1224
1224
  },
1225
1225
  "name": "Component"
@@ -1231,7 +1231,7 @@
1231
1231
  "__schema": "ParameterSchema",
1232
1232
  "location": {
1233
1233
  "filePath": "schema.main.runtime.ts",
1234
- "line": 109,
1234
+ "line": 110,
1235
1235
  "character": 5
1236
1236
  },
1237
1237
  "name": "shouldDisposeResourcesOnceDone",
@@ -1239,7 +1239,7 @@
1239
1239
  "__schema": "InferenceTypeSchema",
1240
1240
  "location": {
1241
1241
  "filePath": "schema.main.runtime.ts",
1242
- "line": 109,
1242
+ "line": 110,
1243
1243
  "character": 5
1244
1244
  },
1245
1245
  "type": "boolean"
@@ -1252,7 +1252,7 @@
1252
1252
  "__schema": "ParameterSchema",
1253
1253
  "location": {
1254
1254
  "filePath": "schema.main.runtime.ts",
1255
- "line": 110,
1255
+ "line": 111,
1256
1256
  "character": 5
1257
1257
  },
1258
1258
  "name": "alwaysRunExtractor",
@@ -1260,7 +1260,7 @@
1260
1260
  "__schema": "InferenceTypeSchema",
1261
1261
  "location": {
1262
1262
  "filePath": "schema.main.runtime.ts",
1263
- "line": 110,
1263
+ "line": 111,
1264
1264
  "character": 5
1265
1265
  },
1266
1266
  "type": "boolean"
@@ -1273,7 +1273,7 @@
1273
1273
  "__schema": "ParameterSchema",
1274
1274
  "location": {
1275
1275
  "filePath": "schema.main.runtime.ts",
1276
- "line": 111,
1276
+ "line": 112,
1277
1277
  "character": 5
1278
1278
  },
1279
1279
  "name": "tsserverPath",
@@ -1281,7 +1281,7 @@
1281
1281
  "__schema": "KeywordTypeSchema",
1282
1282
  "location": {
1283
1283
  "filePath": "schema.main.runtime.ts",
1284
- "line": 111,
1284
+ "line": 112,
1285
1285
  "character": 20
1286
1286
  },
1287
1287
  "name": "string"
@@ -1293,7 +1293,7 @@
1293
1293
  "__schema": "ParameterSchema",
1294
1294
  "location": {
1295
1295
  "filePath": "schema.main.runtime.ts",
1296
- "line": 112,
1296
+ "line": 113,
1297
1297
  "character": 5
1298
1298
  },
1299
1299
  "name": "contextPath",
@@ -1301,7 +1301,7 @@
1301
1301
  "__schema": "KeywordTypeSchema",
1302
1302
  "location": {
1303
1303
  "filePath": "schema.main.runtime.ts",
1304
- "line": 112,
1304
+ "line": 113,
1305
1305
  "character": 19
1306
1306
  },
1307
1307
  "name": "string"
@@ -1313,7 +1313,7 @@
1313
1313
  "__schema": "ParameterSchema",
1314
1314
  "location": {
1315
1315
  "filePath": "schema.main.runtime.ts",
1316
- "line": 113,
1316
+ "line": 114,
1317
1317
  "character": 5
1318
1318
  },
1319
1319
  "name": "skipInternals",
@@ -1321,20 +1321,76 @@
1321
1321
  "__schema": "KeywordTypeSchema",
1322
1322
  "location": {
1323
1323
  "filePath": "schema.main.runtime.ts",
1324
- "line": 113,
1324
+ "line": 114,
1325
1325
  "character": 21
1326
1326
  },
1327
1327
  "name": "boolean"
1328
1328
  },
1329
1329
  "isOptional": true,
1330
1330
  "isSpread": false
1331
+ },
1332
+ {
1333
+ "__schema": "ParameterSchema",
1334
+ "location": {
1335
+ "filePath": "schema.main.runtime.ts",
1336
+ "line": 115,
1337
+ "character": 5
1338
+ },
1339
+ "name": "schemaTransformers",
1340
+ "type": {
1341
+ "__schema": "TypeArraySchema",
1342
+ "location": {
1343
+ "filePath": "schema.main.runtime.ts",
1344
+ "line": 115,
1345
+ "character": 26
1346
+ },
1347
+ "type": {
1348
+ "__schema": "TypeRefSchema",
1349
+ "location": {
1350
+ "filePath": "schema.main.runtime.ts",
1351
+ "line": 115,
1352
+ "character": 26
1353
+ },
1354
+ "name": "SchemaTransformer"
1355
+ }
1356
+ },
1357
+ "isOptional": true,
1358
+ "isSpread": false
1359
+ },
1360
+ {
1361
+ "__schema": "ParameterSchema",
1362
+ "location": {
1363
+ "filePath": "schema.main.runtime.ts",
1364
+ "line": 116,
1365
+ "character": 5
1366
+ },
1367
+ "name": "apiTransformers",
1368
+ "type": {
1369
+ "__schema": "TypeArraySchema",
1370
+ "location": {
1371
+ "filePath": "schema.main.runtime.ts",
1372
+ "line": 116,
1373
+ "character": 23
1374
+ },
1375
+ "type": {
1376
+ "__schema": "TypeRefSchema",
1377
+ "location": {
1378
+ "filePath": "schema.main.runtime.ts",
1379
+ "line": 116,
1380
+ "character": 23
1381
+ },
1382
+ "name": "SchemaNodeTransformer"
1383
+ }
1384
+ },
1385
+ "isOptional": true,
1386
+ "isSpread": false
1331
1387
  }
1332
1388
  ],
1333
1389
  "returnType": {
1334
1390
  "__schema": "TypeRefSchema",
1335
1391
  "location": {
1336
1392
  "filePath": "schema.main.runtime.ts",
1337
- "line": 114,
1393
+ "line": 117,
1338
1394
  "character": 6
1339
1395
  },
1340
1396
  "name": "Promise",
@@ -1343,7 +1399,7 @@
1343
1399
  "__schema": "TypeRefSchema",
1344
1400
  "location": {
1345
1401
  "filePath": "schema.main.runtime.ts",
1346
- "line": 114,
1402
+ "line": 117,
1347
1403
  "character": 14
1348
1404
  },
1349
1405
  "name": "APISchema"
@@ -1358,7 +1414,7 @@
1358
1414
  "__schema": "FunctionLikeSchema",
1359
1415
  "location": {
1360
1416
  "filePath": "schema.main.runtime.ts",
1361
- "line": 171,
1417
+ "line": 180,
1362
1418
  "character": 3
1363
1419
  },
1364
1420
  "signature": "(method) SchemaMain.getSchemaFromObject(obj: Record<string, any>): APISchema",
@@ -1368,7 +1424,7 @@
1368
1424
  "__schema": "ParameterSchema",
1369
1425
  "location": {
1370
1426
  "filePath": "schema.main.runtime.ts",
1371
- "line": 171,
1427
+ "line": 180,
1372
1428
  "character": 23
1373
1429
  },
1374
1430
  "name": "obj",
@@ -1376,7 +1432,7 @@
1376
1432
  "__schema": "TypeRefSchema",
1377
1433
  "location": {
1378
1434
  "filePath": "schema.main.runtime.ts",
1379
- "line": 171,
1435
+ "line": 180,
1380
1436
  "character": 28
1381
1437
  },
1382
1438
  "name": "Record",
@@ -1385,7 +1441,7 @@
1385
1441
  "__schema": "KeywordTypeSchema",
1386
1442
  "location": {
1387
1443
  "filePath": "schema.main.runtime.ts",
1388
- "line": 171,
1444
+ "line": 180,
1389
1445
  "character": 35
1390
1446
  },
1391
1447
  "name": "string"
@@ -1394,7 +1450,7 @@
1394
1450
  "__schema": "KeywordTypeSchema",
1395
1451
  "location": {
1396
1452
  "filePath": "schema.main.runtime.ts",
1397
- "line": 171,
1453
+ "line": 180,
1398
1454
  "character": 43
1399
1455
  },
1400
1456
  "name": "any"
@@ -1409,14 +1465,14 @@
1409
1465
  "__schema": "TypeRefSchema",
1410
1466
  "location": {
1411
1467
  "filePath": "schema.main.runtime.ts",
1412
- "line": 171,
1468
+ "line": 180,
1413
1469
  "character": 3
1414
1470
  },
1415
1471
  "name": "APISchema",
1416
1472
  "componentId": {
1417
1473
  "scope": "teambit.semantics",
1418
1474
  "name": "entities/semantic-schema",
1419
- "version": "0.0.67"
1475
+ "version": "0.0.68"
1420
1476
  }
1421
1477
  },
1422
1478
  "modifiers": []
@@ -1425,14 +1481,14 @@
1425
1481
  "__schema": "FunctionLikeSchema",
1426
1482
  "location": {
1427
1483
  "filePath": "schema.main.runtime.ts",
1428
- "line": 178,
1484
+ "line": 187,
1429
1485
  "character": 3
1430
1486
  },
1431
1487
  "doc": {
1432
1488
  "__schema": "DocSchema",
1433
1489
  "location": {
1434
1490
  "filePath": "schema.main.runtime.ts",
1435
- "line": 175,
1491
+ "line": 184,
1436
1492
  "character": 3
1437
1493
  },
1438
1494
  "raw": "/**\n * register a new parser.\n */",
@@ -1445,7 +1501,7 @@
1445
1501
  "__schema": "ParameterSchema",
1446
1502
  "location": {
1447
1503
  "filePath": "schema.main.runtime.ts",
1448
- "line": 178,
1504
+ "line": 187,
1449
1505
  "character": 18
1450
1506
  },
1451
1507
  "name": "parser",
@@ -1453,7 +1509,7 @@
1453
1509
  "__schema": "TypeRefSchema",
1454
1510
  "location": {
1455
1511
  "filePath": "schema.main.runtime.ts",
1456
- "line": 178,
1512
+ "line": 187,
1457
1513
  "character": 26
1458
1514
  },
1459
1515
  "name": "Parser"
@@ -1466,7 +1522,7 @@
1466
1522
  "__schema": "TypeRefSchema",
1467
1523
  "location": {
1468
1524
  "filePath": "schema.main.runtime.ts",
1469
- "line": 178,
1525
+ "line": 187,
1470
1526
  "character": 3
1471
1527
  },
1472
1528
  "name": "SchemaMain"
@@ -1477,7 +1533,7 @@
1477
1533
  "__schema": "FunctionLikeSchema",
1478
1534
  "location": {
1479
1535
  "filePath": "schema.main.runtime.ts",
1480
- "line": 183,
1536
+ "line": 192,
1481
1537
  "character": 3
1482
1538
  },
1483
1539
  "signature": "(method) SchemaMain.calcSchemaData(): Promise<{\n disabled?: boolean;\n}>",
@@ -1487,7 +1543,7 @@
1487
1543
  "__schema": "TypeRefSchema",
1488
1544
  "location": {
1489
1545
  "filePath": "schema.main.runtime.ts",
1490
- "line": 183,
1546
+ "line": 192,
1491
1547
  "character": 27
1492
1548
  },
1493
1549
  "name": "Promise",
@@ -1496,7 +1552,7 @@
1496
1552
  "__schema": "TypeLiteralSchema",
1497
1553
  "location": {
1498
1554
  "filePath": "schema.main.runtime.ts",
1499
- "line": 183,
1555
+ "line": 192,
1500
1556
  "character": 35
1501
1557
  },
1502
1558
  "members": [
@@ -1504,7 +1560,7 @@
1504
1560
  "__schema": "VariableLikeSchema",
1505
1561
  "location": {
1506
1562
  "filePath": "schema.main.runtime.ts",
1507
- "line": 183,
1563
+ "line": 192,
1508
1564
  "character": 37
1509
1565
  },
1510
1566
  "signature": "(property) disabled?: boolean | undefined",
@@ -1513,7 +1569,7 @@
1513
1569
  "__schema": "KeywordTypeSchema",
1514
1570
  "location": {
1515
1571
  "filePath": "schema.main.runtime.ts",
1516
- "line": 183,
1572
+ "line": 192,
1517
1573
  "character": 48
1518
1574
  },
1519
1575
  "name": "boolean"
@@ -1532,7 +1588,7 @@
1532
1588
  "__schema": "FunctionLikeSchema",
1533
1589
  "location": {
1534
1590
  "filePath": "schema.main.runtime.ts",
1535
- "line": 189,
1591
+ "line": 198,
1536
1592
  "character": 3
1537
1593
  },
1538
1594
  "signature": "(method) SchemaMain.getSchemaData(component: Component): {\n [key: string]: any;\n} | undefined",
@@ -1542,7 +1598,7 @@
1542
1598
  "__schema": "ParameterSchema",
1543
1599
  "location": {
1544
1600
  "filePath": "schema.main.runtime.ts",
1545
- "line": 189,
1601
+ "line": 198,
1546
1602
  "character": 17
1547
1603
  },
1548
1604
  "name": "component",
@@ -1550,7 +1606,7 @@
1550
1606
  "__schema": "TypeRefSchema",
1551
1607
  "location": {
1552
1608
  "filePath": "schema.main.runtime.ts",
1553
- "line": 189,
1609
+ "line": 198,
1554
1610
  "character": 28
1555
1611
  },
1556
1612
  "name": "Component"
@@ -1563,7 +1619,7 @@
1563
1619
  "__schema": "InferenceTypeSchema",
1564
1620
  "location": {
1565
1621
  "filePath": "schema.main.runtime.ts",
1566
- "line": 189,
1622
+ "line": 198,
1567
1623
  "character": 3
1568
1624
  },
1569
1625
  "type": "{\n [key: string]: any;\n} | undefined"
@@ -1574,7 +1630,7 @@
1574
1630
  "__schema": "FunctionLikeSchema",
1575
1631
  "location": {
1576
1632
  "filePath": "schema.main.runtime.ts",
1577
- "line": 193,
1633
+ "line": 202,
1578
1634
  "character": 3
1579
1635
  },
1580
1636
  "signature": "(method) SchemaMain.isSchemaTaskDisabled(component: Component): any",
@@ -1584,7 +1640,7 @@
1584
1640
  "__schema": "ParameterSchema",
1585
1641
  "location": {
1586
1642
  "filePath": "schema.main.runtime.ts",
1587
- "line": 193,
1643
+ "line": 202,
1588
1644
  "character": 24
1589
1645
  },
1590
1646
  "name": "component",
@@ -1592,7 +1648,7 @@
1592
1648
  "__schema": "TypeRefSchema",
1593
1649
  "location": {
1594
1650
  "filePath": "schema.main.runtime.ts",
1595
- "line": 193,
1651
+ "line": 202,
1596
1652
  "character": 35
1597
1653
  },
1598
1654
  "name": "Component"
@@ -1605,7 +1661,7 @@
1605
1661
  "__schema": "InferenceTypeSchema",
1606
1662
  "location": {
1607
1663
  "filePath": "schema.main.runtime.ts",
1608
- "line": 193,
1664
+ "line": 202,
1609
1665
  "character": 3
1610
1666
  },
1611
1667
  "type": "any"
@@ -1616,7 +1672,7 @@
1616
1672
  "__schema": "VariableLikeSchema",
1617
1673
  "location": {
1618
1674
  "filePath": "schema.main.runtime.ts",
1619
- "line": 197,
1675
+ "line": 206,
1620
1676
  "character": 3
1621
1677
  },
1622
1678
  "signature": "(property) SchemaMain.runtime: RuntimeDefinition",
@@ -1625,7 +1681,7 @@
1625
1681
  "__schema": "InferenceTypeSchema",
1626
1682
  "location": {
1627
1683
  "filePath": "schema.main.runtime.ts",
1628
- "line": 197,
1684
+ "line": 206,
1629
1685
  "character": 3
1630
1686
  },
1631
1687
  "type": "RuntimeDefinition"
@@ -1637,7 +1693,7 @@
1637
1693
  "__schema": "VariableLikeSchema",
1638
1694
  "location": {
1639
1695
  "filePath": "schema.main.runtime.ts",
1640
- "line": 198,
1696
+ "line": 207,
1641
1697
  "character": 3
1642
1698
  },
1643
1699
  "signature": "(property) SchemaMain.dependencies: Aspect[]",
@@ -1646,7 +1702,7 @@
1646
1702
  "__schema": "InferenceTypeSchema",
1647
1703
  "location": {
1648
1704
  "filePath": "schema.main.runtime.ts",
1649
- "line": 198,
1705
+ "line": 207,
1650
1706
  "character": 3
1651
1707
  },
1652
1708
  "type": "Aspect[]"
@@ -1658,7 +1714,7 @@
1658
1714
  "__schema": "VariableLikeSchema",
1659
1715
  "location": {
1660
1716
  "filePath": "schema.main.runtime.ts",
1661
- "line": 208,
1717
+ "line": 217,
1662
1718
  "character": 3
1663
1719
  },
1664
1720
  "signature": "(property) SchemaMain.slots: ((registerFn: () => string) => SlotRegistry<Parser>)[]",
@@ -1667,7 +1723,7 @@
1667
1723
  "__schema": "InferenceTypeSchema",
1668
1724
  "location": {
1669
1725
  "filePath": "schema.main.runtime.ts",
1670
- "line": 208,
1726
+ "line": 217,
1671
1727
  "character": 3
1672
1728
  },
1673
1729
  "type": "((registerFn: () => string) => SlotRegistry<Parser>)[]"
@@ -1679,7 +1735,7 @@
1679
1735
  "__schema": "VariableLikeSchema",
1680
1736
  "location": {
1681
1737
  "filePath": "schema.main.runtime.ts",
1682
- "line": 210,
1738
+ "line": 219,
1683
1739
  "character": 3
1684
1740
  },
1685
1741
  "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n disabled: boolean;\n}",
@@ -1688,7 +1744,7 @@
1688
1744
  "__schema": "InferenceTypeSchema",
1689
1745
  "location": {
1690
1746
  "filePath": "schema.main.runtime.ts",
1691
- "line": 210,
1747
+ "line": 219,
1692
1748
  "character": 3
1693
1749
  },
1694
1750
  "type": "{\n defaultParser: string;\n disabled: boolean;\n}"
@@ -1700,7 +1756,7 @@
1700
1756
  "__schema": "FunctionLikeSchema",
1701
1757
  "location": {
1702
1758
  "filePath": "schema.main.runtime.ts",
1703
- "line": 215,
1759
+ "line": 224,
1704
1760
  "character": 3
1705
1761
  },
1706
1762
  "signature": "(method) SchemaMain.provider([envs, cli, component, graphql, loggerMain, builder, workspace, scope]: [\n EnvsMain,\n CLIMain,\n ComponentMain,\n GraphqlMain,\n LoggerMain,\n BuilderMain,\n Workspace,\n ScopeMain\n], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>",
@@ -1710,7 +1766,7 @@
1710
1766
  "__schema": "ParameterSchema",
1711
1767
  "location": {
1712
1768
  "filePath": "schema.main.runtime.ts",
1713
- "line": 216,
1769
+ "line": 225,
1714
1770
  "character": 5
1715
1771
  },
1716
1772
  "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace, scope ]",
@@ -1718,7 +1774,7 @@
1718
1774
  "__schema": "TupleTypeSchema",
1719
1775
  "location": {
1720
1776
  "filePath": "schema.main.runtime.ts",
1721
- "line": 216,
1777
+ "line": 225,
1722
1778
  "character": 77
1723
1779
  },
1724
1780
  "elements": [
@@ -1726,7 +1782,7 @@
1726
1782
  "__schema": "TypeRefSchema",
1727
1783
  "location": {
1728
1784
  "filePath": "schema.main.runtime.ts",
1729
- "line": 217,
1785
+ "line": 226,
1730
1786
  "character": 7
1731
1787
  },
1732
1788
  "name": "EnvsMain"
@@ -1735,7 +1791,7 @@
1735
1791
  "__schema": "TypeRefSchema",
1736
1792
  "location": {
1737
1793
  "filePath": "schema.main.runtime.ts",
1738
- "line": 218,
1794
+ "line": 227,
1739
1795
  "character": 7
1740
1796
  },
1741
1797
  "name": "CLIMain"
@@ -1744,7 +1800,7 @@
1744
1800
  "__schema": "TypeRefSchema",
1745
1801
  "location": {
1746
1802
  "filePath": "schema.main.runtime.ts",
1747
- "line": 219,
1803
+ "line": 228,
1748
1804
  "character": 7
1749
1805
  },
1750
1806
  "name": "ComponentMain"
@@ -1753,7 +1809,7 @@
1753
1809
  "__schema": "TypeRefSchema",
1754
1810
  "location": {
1755
1811
  "filePath": "schema.main.runtime.ts",
1756
- "line": 220,
1812
+ "line": 229,
1757
1813
  "character": 7
1758
1814
  },
1759
1815
  "name": "GraphqlMain"
@@ -1762,7 +1818,7 @@
1762
1818
  "__schema": "TypeRefSchema",
1763
1819
  "location": {
1764
1820
  "filePath": "schema.main.runtime.ts",
1765
- "line": 221,
1821
+ "line": 230,
1766
1822
  "character": 7
1767
1823
  },
1768
1824
  "name": "LoggerMain"
@@ -1771,7 +1827,7 @@
1771
1827
  "__schema": "TypeRefSchema",
1772
1828
  "location": {
1773
1829
  "filePath": "schema.main.runtime.ts",
1774
- "line": 222,
1830
+ "line": 231,
1775
1831
  "character": 7
1776
1832
  },
1777
1833
  "name": "BuilderMain"
@@ -1780,7 +1836,7 @@
1780
1836
  "__schema": "TypeRefSchema",
1781
1837
  "location": {
1782
1838
  "filePath": "schema.main.runtime.ts",
1783
- "line": 223,
1839
+ "line": 232,
1784
1840
  "character": 7
1785
1841
  },
1786
1842
  "name": "Workspace"
@@ -1789,7 +1845,7 @@
1789
1845
  "__schema": "TypeRefSchema",
1790
1846
  "location": {
1791
1847
  "filePath": "schema.main.runtime.ts",
1792
- "line": 224,
1848
+ "line": 233,
1793
1849
  "character": 7
1794
1850
  },
1795
1851
  "name": "ScopeMain"
@@ -1803,7 +1859,7 @@
1803
1859
  "__schema": "ParameterSchema",
1804
1860
  "location": {
1805
1861
  "filePath": "schema.main.runtime.ts",
1806
- "line": 226,
1862
+ "line": 235,
1807
1863
  "character": 5
1808
1864
  },
1809
1865
  "name": "config",
@@ -1811,7 +1867,7 @@
1811
1867
  "__schema": "TypeRefSchema",
1812
1868
  "location": {
1813
1869
  "filePath": "schema.main.runtime.ts",
1814
- "line": 226,
1870
+ "line": 235,
1815
1871
  "character": 13
1816
1872
  },
1817
1873
  "name": "SchemaConfig"
@@ -1823,7 +1879,7 @@
1823
1879
  "__schema": "ParameterSchema",
1824
1880
  "location": {
1825
1881
  "filePath": "schema.main.runtime.ts",
1826
- "line": 227,
1882
+ "line": 236,
1827
1883
  "character": 5
1828
1884
  },
1829
1885
  "name": "[ parserSlot ]",
@@ -1831,7 +1887,7 @@
1831
1887
  "__schema": "TupleTypeSchema",
1832
1888
  "location": {
1833
1889
  "filePath": "schema.main.runtime.ts",
1834
- "line": 227,
1890
+ "line": 236,
1835
1891
  "character": 19
1836
1892
  },
1837
1893
  "elements": [
@@ -1839,7 +1895,7 @@
1839
1895
  "__schema": "TypeRefSchema",
1840
1896
  "location": {
1841
1897
  "filePath": "schema.main.runtime.ts",
1842
- "line": 227,
1898
+ "line": 236,
1843
1899
  "character": 20
1844
1900
  },
1845
1901
  "name": "ParserSlot"
@@ -1854,7 +1910,7 @@
1854
1910
  "__schema": "InferenceTypeSchema",
1855
1911
  "location": {
1856
1912
  "filePath": "schema.main.runtime.ts",
1857
- "line": 215,
1913
+ "line": 224,
1858
1914
  "character": 3
1859
1915
  },
1860
1916
  "type": "Promise<SchemaMain>"
@@ -2578,7 +2634,7 @@
2578
2634
  "_legacy": {
2579
2635
  "scope": "teambit.semantics",
2580
2636
  "name": "schema",
2581
- "version": "1.0.171"
2637
+ "version": "1.0.174"
2582
2638
  },
2583
2639
  "_scope": "teambit.semantics"
2584
2640
  }
@@ -2717,7 +2773,7 @@
2717
2773
  "__schema": "TypeSchema",
2718
2774
  "location": {
2719
2775
  "filePath": "schema.main.runtime.ts",
2720
- "line": 27,
2776
+ "line": 28,
2721
2777
  "character": 1
2722
2778
  },
2723
2779
  "signature": "type ParserSlot = SlotRegistry<Parser>",
@@ -2726,7 +2782,7 @@
2726
2782
  "__schema": "TypeRefSchema",
2727
2783
  "location": {
2728
2784
  "filePath": "schema.main.runtime.ts",
2729
- "line": 27,
2785
+ "line": 28,
2730
2786
  "character": 26
2731
2787
  },
2732
2788
  "name": "SlotRegistry",
@@ -2735,7 +2791,7 @@
2735
2791
  "__schema": "TypeRefSchema",
2736
2792
  "location": {
2737
2793
  "filePath": "schema.main.runtime.ts",
2738
- "line": 27,
2794
+ "line": 28,
2739
2795
  "character": 39
2740
2796
  },
2741
2797
  "name": "Parser"
@@ -2747,7 +2803,7 @@
2747
2803
  "__schema": "TypeSchema",
2748
2804
  "location": {
2749
2805
  "filePath": "schema.main.runtime.ts",
2750
- "line": 29,
2806
+ "line": 30,
2751
2807
  "character": 1
2752
2808
  },
2753
2809
  "signature": "type SchemaConfig = {\n defaultParser: string;\n disabled?: boolean | undefined;\n}",
@@ -2756,7 +2812,7 @@
2756
2812
  "__schema": "TypeLiteralSchema",
2757
2813
  "location": {
2758
2814
  "filePath": "schema.main.runtime.ts",
2759
- "line": 29,
2815
+ "line": 30,
2760
2816
  "character": 28
2761
2817
  },
2762
2818
  "members": [
@@ -2764,14 +2820,14 @@
2764
2820
  "__schema": "VariableLikeSchema",
2765
2821
  "location": {
2766
2822
  "filePath": "schema.main.runtime.ts",
2767
- "line": 33,
2823
+ "line": 34,
2768
2824
  "character": 3
2769
2825
  },
2770
2826
  "doc": {
2771
2827
  "__schema": "DocSchema",
2772
2828
  "location": {
2773
2829
  "filePath": "schema.main.runtime.ts",
2774
- "line": 30,
2830
+ "line": 31,
2775
2831
  "character": 3
2776
2832
  },
2777
2833
  "raw": "/**\n * default parser\n */",
@@ -2783,7 +2839,7 @@
2783
2839
  "__schema": "KeywordTypeSchema",
2784
2840
  "location": {
2785
2841
  "filePath": "schema.main.runtime.ts",
2786
- "line": 33,
2842
+ "line": 34,
2787
2843
  "character": 18
2788
2844
  },
2789
2845
  "name": "string"
@@ -2794,14 +2850,14 @@
2794
2850
  "__schema": "VariableLikeSchema",
2795
2851
  "location": {
2796
2852
  "filePath": "schema.main.runtime.ts",
2797
- "line": 37,
2853
+ "line": 38,
2798
2854
  "character": 3
2799
2855
  },
2800
2856
  "doc": {
2801
2857
  "__schema": "DocSchema",
2802
2858
  "location": {
2803
2859
  "filePath": "schema.main.runtime.ts",
2804
- "line": 34,
2860
+ "line": 35,
2805
2861
  "character": 3
2806
2862
  },
2807
2863
  "raw": "/**\n * disable extracting schema\n */",
@@ -2813,7 +2869,7 @@
2813
2869
  "__schema": "KeywordTypeSchema",
2814
2870
  "location": {
2815
2871
  "filePath": "schema.main.runtime.ts",
2816
- "line": 37,
2872
+ "line": 38,
2817
2873
  "character": 14
2818
2874
  },
2819
2875
  "name": "boolean"
@@ -2827,14 +2883,14 @@
2827
2883
  "__schema": "ClassSchema",
2828
2884
  "location": {
2829
2885
  "filePath": "schema.main.runtime.ts",
2830
- "line": 43,
2886
+ "line": 44,
2831
2887
  "character": 1
2832
2888
  },
2833
2889
  "doc": {
2834
2890
  "__schema": "DocSchema",
2835
2891
  "location": {
2836
2892
  "filePath": "schema.main.runtime.ts",
2837
- "line": 40,
2893
+ "line": 41,
2838
2894
  "character": 1
2839
2895
  },
2840
2896
  "raw": "/**\n * extension for extracting component schemas.\n */",
@@ -2847,7 +2903,7 @@
2847
2903
  "__schema": "ConstructorSchema",
2848
2904
  "location": {
2849
2905
  "filePath": "schema.main.runtime.ts",
2850
- "line": 44,
2906
+ "line": 45,
2851
2907
  "character": 3
2852
2908
  },
2853
2909
  "signature": "constructor SchemaMain(parserSlot: ParserSlot, envs: EnvsMain, config: SchemaConfig, builder: BuilderMain, workspace: Workspace, logger: Logger): SchemaMain",
@@ -2857,7 +2913,7 @@
2857
2913
  "__schema": "ParameterSchema",
2858
2914
  "location": {
2859
2915
  "filePath": "schema.main.runtime.ts",
2860
- "line": 48,
2916
+ "line": 49,
2861
2917
  "character": 5
2862
2918
  },
2863
2919
  "name": "parserSlot",
@@ -2865,7 +2921,7 @@
2865
2921
  "__schema": "TypeRefSchema",
2866
2922
  "location": {
2867
2923
  "filePath": "schema.main.runtime.ts",
2868
- "line": 48,
2924
+ "line": 49,
2869
2925
  "character": 25
2870
2926
  },
2871
2927
  "name": "ParserSlot"
@@ -2877,7 +2933,7 @@
2877
2933
  "__schema": "ParameterSchema",
2878
2934
  "location": {
2879
2935
  "filePath": "schema.main.runtime.ts",
2880
- "line": 50,
2936
+ "line": 51,
2881
2937
  "character": 5
2882
2938
  },
2883
2939
  "name": "envs",
@@ -2885,7 +2941,7 @@
2885
2941
  "__schema": "TypeRefSchema",
2886
2942
  "location": {
2887
2943
  "filePath": "schema.main.runtime.ts",
2888
- "line": 50,
2944
+ "line": 51,
2889
2945
  "character": 19
2890
2946
  },
2891
2947
  "name": "EnvsMain"
@@ -2897,7 +2953,7 @@
2897
2953
  "__schema": "ParameterSchema",
2898
2954
  "location": {
2899
2955
  "filePath": "schema.main.runtime.ts",
2900
- "line": 52,
2956
+ "line": 53,
2901
2957
  "character": 5
2902
2958
  },
2903
2959
  "name": "config",
@@ -2905,7 +2961,7 @@
2905
2961
  "__schema": "TypeRefSchema",
2906
2962
  "location": {
2907
2963
  "filePath": "schema.main.runtime.ts",
2908
- "line": 52,
2964
+ "line": 53,
2909
2965
  "character": 21
2910
2966
  },
2911
2967
  "name": "SchemaConfig"
@@ -2917,7 +2973,7 @@
2917
2973
  "__schema": "ParameterSchema",
2918
2974
  "location": {
2919
2975
  "filePath": "schema.main.runtime.ts",
2920
- "line": 54,
2976
+ "line": 55,
2921
2977
  "character": 5
2922
2978
  },
2923
2979
  "name": "builder",
@@ -2925,7 +2981,7 @@
2925
2981
  "__schema": "TypeRefSchema",
2926
2982
  "location": {
2927
2983
  "filePath": "schema.main.runtime.ts",
2928
- "line": 54,
2984
+ "line": 55,
2929
2985
  "character": 22
2930
2986
  },
2931
2987
  "name": "BuilderMain"
@@ -2937,7 +2993,7 @@
2937
2993
  "__schema": "ParameterSchema",
2938
2994
  "location": {
2939
2995
  "filePath": "schema.main.runtime.ts",
2940
- "line": 56,
2996
+ "line": 57,
2941
2997
  "character": 5
2942
2998
  },
2943
2999
  "name": "workspace",
@@ -2945,7 +3001,7 @@
2945
3001
  "__schema": "TypeRefSchema",
2946
3002
  "location": {
2947
3003
  "filePath": "schema.main.runtime.ts",
2948
- "line": 56,
3004
+ "line": 57,
2949
3005
  "character": 24
2950
3006
  },
2951
3007
  "name": "Workspace"
@@ -2957,7 +3013,7 @@
2957
3013
  "__schema": "ParameterSchema",
2958
3014
  "location": {
2959
3015
  "filePath": "schema.main.runtime.ts",
2960
- "line": 58,
3016
+ "line": 59,
2961
3017
  "character": 5
2962
3018
  },
2963
3019
  "name": "logger",
@@ -2965,7 +3021,7 @@
2965
3021
  "__schema": "TypeRefSchema",
2966
3022
  "location": {
2967
3023
  "filePath": "schema.main.runtime.ts",
2968
- "line": 58,
3024
+ "line": 59,
2969
3025
  "character": 21
2970
3026
  },
2971
3027
  "name": "Logger"
@@ -2978,7 +3034,7 @@
2978
3034
  "__schema": "ThisTypeSchema",
2979
3035
  "location": {
2980
3036
  "filePath": "schema.main.runtime.ts",
2981
- "line": 43,
3037
+ "line": 44,
2982
3038
  "character": 1
2983
3039
  },
2984
3040
  "name": "SchemaMain"
@@ -2989,14 +3045,14 @@
2989
3045
  "__schema": "FunctionLikeSchema",
2990
3046
  "location": {
2991
3047
  "filePath": "schema.main.runtime.ts",
2992
- "line": 64,
3048
+ "line": 65,
2993
3049
  "character": 3
2994
3050
  },
2995
3051
  "doc": {
2996
3052
  "__schema": "DocSchema",
2997
3053
  "location": {
2998
3054
  "filePath": "schema.main.runtime.ts",
2999
- "line": 61,
3055
+ "line": 62,
3000
3056
  "character": 3
3001
3057
  },
3002
3058
  "raw": "/**\n * get the default parser.\n */",
@@ -3009,7 +3065,7 @@
3009
3065
  "__schema": "TypeRefSchema",
3010
3066
  "location": {
3011
3067
  "filePath": "schema.main.runtime.ts",
3012
- "line": 64,
3068
+ "line": 65,
3013
3069
  "character": 3
3014
3070
  },
3015
3071
  "name": "Parser"
@@ -3020,7 +3076,7 @@
3020
3076
  "__schema": "FunctionLikeSchema",
3021
3077
  "location": {
3022
3078
  "filePath": "schema.main.runtime.ts",
3023
- "line": 68,
3079
+ "line": 69,
3024
3080
  "character": 3
3025
3081
  },
3026
3082
  "signature": "(method) SchemaMain.registerSchemaClass(schema: SchemaNodeConstructor): void",
@@ -3030,7 +3086,7 @@
3030
3086
  "__schema": "ParameterSchema",
3031
3087
  "location": {
3032
3088
  "filePath": "schema.main.runtime.ts",
3033
- "line": 68,
3089
+ "line": 69,
3034
3090
  "character": 23
3035
3091
  },
3036
3092
  "name": "schema",
@@ -3038,7 +3094,7 @@
3038
3094
  "__schema": "TypeRefSchema",
3039
3095
  "location": {
3040
3096
  "filePath": "schema.main.runtime.ts",
3041
- "line": 68,
3097
+ "line": 69,
3042
3098
  "character": 31
3043
3099
  },
3044
3100
  "name": "SchemaNodeConstructor"
@@ -3051,7 +3107,7 @@
3051
3107
  "__schema": "InferenceTypeSchema",
3052
3108
  "location": {
3053
3109
  "filePath": "schema.main.runtime.ts",
3054
- "line": 68,
3110
+ "line": 69,
3055
3111
  "character": 3
3056
3112
  },
3057
3113
  "type": "void"
@@ -3062,14 +3118,14 @@
3062
3118
  "__schema": "FunctionLikeSchema",
3063
3119
  "location": {
3064
3120
  "filePath": "schema.main.runtime.ts",
3065
- "line": 75,
3121
+ "line": 76,
3066
3122
  "character": 3
3067
3123
  },
3068
3124
  "doc": {
3069
3125
  "__schema": "DocSchema",
3070
3126
  "location": {
3071
3127
  "filePath": "schema.main.runtime.ts",
3072
- "line": 72,
3128
+ "line": 73,
3073
3129
  "character": 3
3074
3130
  },
3075
3131
  "raw": "/**\n * parse a module into a component schema.\n */",
@@ -3082,7 +3138,7 @@
3082
3138
  "__schema": "ParameterSchema",
3083
3139
  "location": {
3084
3140
  "filePath": "schema.main.runtime.ts",
3085
- "line": 75,
3141
+ "line": 76,
3086
3142
  "character": 15
3087
3143
  },
3088
3144
  "name": "path",
@@ -3090,7 +3146,7 @@
3090
3146
  "__schema": "KeywordTypeSchema",
3091
3147
  "location": {
3092
3148
  "filePath": "schema.main.runtime.ts",
3093
- "line": 75,
3149
+ "line": 76,
3094
3150
  "character": 21
3095
3151
  },
3096
3152
  "name": "string"
@@ -3102,7 +3158,7 @@
3102
3158
  "__schema": "ParameterSchema",
3103
3159
  "location": {
3104
3160
  "filePath": "schema.main.runtime.ts",
3105
- "line": 75,
3161
+ "line": 76,
3106
3162
  "character": 29
3107
3163
  },
3108
3164
  "name": "content",
@@ -3110,7 +3166,7 @@
3110
3166
  "__schema": "KeywordTypeSchema",
3111
3167
  "location": {
3112
3168
  "filePath": "schema.main.runtime.ts",
3113
- "line": 75,
3169
+ "line": 76,
3114
3170
  "character": 39
3115
3171
  },
3116
3172
  "name": "string"
@@ -3123,14 +3179,14 @@
3123
3179
  "__schema": "TypeArraySchema",
3124
3180
  "location": {
3125
3181
  "filePath": "schema.main.runtime.ts",
3126
- "line": 75,
3182
+ "line": 76,
3127
3183
  "character": 48
3128
3184
  },
3129
3185
  "type": {
3130
3186
  "__schema": "TypeRefSchema",
3131
3187
  "location": {
3132
3188
  "filePath": "schema.main.runtime.ts",
3133
- "line": 75,
3189
+ "line": 76,
3134
3190
  "character": 48
3135
3191
  },
3136
3192
  "name": "Export"
@@ -3142,7 +3198,7 @@
3142
3198
  "__schema": "FunctionLikeSchema",
3143
3199
  "location": {
3144
3200
  "filePath": "schema.main.runtime.ts",
3145
- "line": 90,
3201
+ "line": 91,
3146
3202
  "character": 3
3147
3203
  },
3148
3204
  "signature": "(method) SchemaMain.getSchemaExtractor(component: Component, tsserverPath?: string, contextPath?: string): SchemaExtractor",
@@ -3152,7 +3208,7 @@
3152
3208
  "__schema": "ParameterSchema",
3153
3209
  "location": {
3154
3210
  "filePath": "schema.main.runtime.ts",
3155
- "line": 90,
3211
+ "line": 91,
3156
3212
  "character": 22
3157
3213
  },
3158
3214
  "name": "component",
@@ -3160,7 +3216,7 @@
3160
3216
  "__schema": "TypeRefSchema",
3161
3217
  "location": {
3162
3218
  "filePath": "schema.main.runtime.ts",
3163
- "line": 90,
3219
+ "line": 91,
3164
3220
  "character": 33
3165
3221
  },
3166
3222
  "name": "Component"
@@ -3172,7 +3228,7 @@
3172
3228
  "__schema": "ParameterSchema",
3173
3229
  "location": {
3174
3230
  "filePath": "schema.main.runtime.ts",
3175
- "line": 90,
3231
+ "line": 91,
3176
3232
  "character": 44
3177
3233
  },
3178
3234
  "name": "tsserverPath",
@@ -3180,7 +3236,7 @@
3180
3236
  "__schema": "KeywordTypeSchema",
3181
3237
  "location": {
3182
3238
  "filePath": "schema.main.runtime.ts",
3183
- "line": 90,
3239
+ "line": 91,
3184
3240
  "character": 59
3185
3241
  },
3186
3242
  "name": "string"
@@ -3192,7 +3248,7 @@
3192
3248
  "__schema": "ParameterSchema",
3193
3249
  "location": {
3194
3250
  "filePath": "schema.main.runtime.ts",
3195
- "line": 90,
3251
+ "line": 91,
3196
3252
  "character": 67
3197
3253
  },
3198
3254
  "name": "contextPath",
@@ -3200,7 +3256,7 @@
3200
3256
  "__schema": "KeywordTypeSchema",
3201
3257
  "location": {
3202
3258
  "filePath": "schema.main.runtime.ts",
3203
- "line": 90,
3259
+ "line": 91,
3204
3260
  "character": 81
3205
3261
  },
3206
3262
  "name": "string"
@@ -3213,7 +3269,7 @@
3213
3269
  "__schema": "TypeRefSchema",
3214
3270
  "location": {
3215
3271
  "filePath": "schema.main.runtime.ts",
3216
- "line": 90,
3272
+ "line": 91,
3217
3273
  "character": 3
3218
3274
  },
3219
3275
  "name": "SchemaExtractor"
@@ -3224,14 +3280,14 @@
3224
3280
  "__schema": "FunctionLikeSchema",
3225
3281
  "location": {
3226
3282
  "filePath": "schema.main.runtime.ts",
3227
- "line": 107,
3283
+ "line": 108,
3228
3284
  "character": 3
3229
3285
  },
3230
3286
  "doc": {
3231
3287
  "__schema": "DocSchema",
3232
3288
  "location": {
3233
3289
  "filePath": "schema.main.runtime.ts",
3234
- "line": 99,
3290
+ "line": 100,
3235
3291
  "character": 3
3236
3292
  },
3237
3293
  "raw": "/**\n * get a schema of a component.\n * @param component target component.\n * @param shouldDisposeResourcesOnceDone for long-running processes, such as bit-start/bit-watch, this is not\n * relevant. for calling the API only to get a schema for one component, this is needed to ensure the ts-server is\n * not kept alive. otherwise, the process will never end.\n *\n */",
@@ -3241,7 +3297,7 @@
3241
3297
  "__schema": "PropertyLikeTagSchema",
3242
3298
  "location": {
3243
3299
  "filePath": "schema.main.runtime.ts",
3244
- "line": 101,
3300
+ "line": 102,
3245
3301
  "character": 6
3246
3302
  },
3247
3303
  "name": "component",
@@ -3252,7 +3308,7 @@
3252
3308
  "__schema": "PropertyLikeTagSchema",
3253
3309
  "location": {
3254
3310
  "filePath": "schema.main.runtime.ts",
3255
- "line": 102,
3311
+ "line": 103,
3256
3312
  "character": 6
3257
3313
  },
3258
3314
  "name": "shouldDisposeResourcesOnceDone",
@@ -3261,14 +3317,14 @@
3261
3317
  }
3262
3318
  ]
3263
3319
  },
3264
- "signature": "(method) SchemaMain.getSchema(component: Component, shouldDisposeResourcesOnceDone?: boolean, alwaysRunExtractor?: boolean, tsserverPath?: string, contextPath?: string, skipInternals?: boolean): Promise<APISchema>",
3320
+ "signature": "(method) SchemaMain.getSchema(component: Component, shouldDisposeResourcesOnceDone?: boolean, alwaysRunExtractor?: boolean, tsserverPath?: string, contextPath?: string, skipInternals?: boolean, schemaTransformers?: SchemaTransformer[], apiTransformers?: SchemaNodeTransformer[]): Promise<APISchema>",
3265
3321
  "name": "getSchema",
3266
3322
  "params": [
3267
3323
  {
3268
3324
  "__schema": "ParameterSchema",
3269
3325
  "location": {
3270
3326
  "filePath": "schema.main.runtime.ts",
3271
- "line": 108,
3327
+ "line": 109,
3272
3328
  "character": 5
3273
3329
  },
3274
3330
  "name": "component",
@@ -3276,7 +3332,7 @@
3276
3332
  "__schema": "TypeRefSchema",
3277
3333
  "location": {
3278
3334
  "filePath": "schema.main.runtime.ts",
3279
- "line": 108,
3335
+ "line": 109,
3280
3336
  "character": 16
3281
3337
  },
3282
3338
  "name": "Component"
@@ -3288,7 +3344,7 @@
3288
3344
  "__schema": "ParameterSchema",
3289
3345
  "location": {
3290
3346
  "filePath": "schema.main.runtime.ts",
3291
- "line": 109,
3347
+ "line": 110,
3292
3348
  "character": 5
3293
3349
  },
3294
3350
  "name": "shouldDisposeResourcesOnceDone",
@@ -3296,7 +3352,7 @@
3296
3352
  "__schema": "InferenceTypeSchema",
3297
3353
  "location": {
3298
3354
  "filePath": "schema.main.runtime.ts",
3299
- "line": 109,
3355
+ "line": 110,
3300
3356
  "character": 5
3301
3357
  },
3302
3358
  "type": "boolean"
@@ -3309,7 +3365,7 @@
3309
3365
  "__schema": "ParameterSchema",
3310
3366
  "location": {
3311
3367
  "filePath": "schema.main.runtime.ts",
3312
- "line": 110,
3368
+ "line": 111,
3313
3369
  "character": 5
3314
3370
  },
3315
3371
  "name": "alwaysRunExtractor",
@@ -3317,7 +3373,7 @@
3317
3373
  "__schema": "InferenceTypeSchema",
3318
3374
  "location": {
3319
3375
  "filePath": "schema.main.runtime.ts",
3320
- "line": 110,
3376
+ "line": 111,
3321
3377
  "character": 5
3322
3378
  },
3323
3379
  "type": "boolean"
@@ -3330,7 +3386,7 @@
3330
3386
  "__schema": "ParameterSchema",
3331
3387
  "location": {
3332
3388
  "filePath": "schema.main.runtime.ts",
3333
- "line": 111,
3389
+ "line": 112,
3334
3390
  "character": 5
3335
3391
  },
3336
3392
  "name": "tsserverPath",
@@ -3338,7 +3394,7 @@
3338
3394
  "__schema": "KeywordTypeSchema",
3339
3395
  "location": {
3340
3396
  "filePath": "schema.main.runtime.ts",
3341
- "line": 111,
3397
+ "line": 112,
3342
3398
  "character": 20
3343
3399
  },
3344
3400
  "name": "string"
@@ -3350,7 +3406,7 @@
3350
3406
  "__schema": "ParameterSchema",
3351
3407
  "location": {
3352
3408
  "filePath": "schema.main.runtime.ts",
3353
- "line": 112,
3409
+ "line": 113,
3354
3410
  "character": 5
3355
3411
  },
3356
3412
  "name": "contextPath",
@@ -3358,7 +3414,7 @@
3358
3414
  "__schema": "KeywordTypeSchema",
3359
3415
  "location": {
3360
3416
  "filePath": "schema.main.runtime.ts",
3361
- "line": 112,
3417
+ "line": 113,
3362
3418
  "character": 19
3363
3419
  },
3364
3420
  "name": "string"
@@ -3370,7 +3426,7 @@
3370
3426
  "__schema": "ParameterSchema",
3371
3427
  "location": {
3372
3428
  "filePath": "schema.main.runtime.ts",
3373
- "line": 113,
3429
+ "line": 114,
3374
3430
  "character": 5
3375
3431
  },
3376
3432
  "name": "skipInternals",
@@ -3378,20 +3434,76 @@
3378
3434
  "__schema": "KeywordTypeSchema",
3379
3435
  "location": {
3380
3436
  "filePath": "schema.main.runtime.ts",
3381
- "line": 113,
3437
+ "line": 114,
3382
3438
  "character": 21
3383
3439
  },
3384
3440
  "name": "boolean"
3385
3441
  },
3386
3442
  "isOptional": true,
3387
3443
  "isSpread": false
3444
+ },
3445
+ {
3446
+ "__schema": "ParameterSchema",
3447
+ "location": {
3448
+ "filePath": "schema.main.runtime.ts",
3449
+ "line": 115,
3450
+ "character": 5
3451
+ },
3452
+ "name": "schemaTransformers",
3453
+ "type": {
3454
+ "__schema": "TypeArraySchema",
3455
+ "location": {
3456
+ "filePath": "schema.main.runtime.ts",
3457
+ "line": 115,
3458
+ "character": 26
3459
+ },
3460
+ "type": {
3461
+ "__schema": "TypeRefSchema",
3462
+ "location": {
3463
+ "filePath": "schema.main.runtime.ts",
3464
+ "line": 115,
3465
+ "character": 26
3466
+ },
3467
+ "name": "SchemaTransformer"
3468
+ }
3469
+ },
3470
+ "isOptional": true,
3471
+ "isSpread": false
3472
+ },
3473
+ {
3474
+ "__schema": "ParameterSchema",
3475
+ "location": {
3476
+ "filePath": "schema.main.runtime.ts",
3477
+ "line": 116,
3478
+ "character": 5
3479
+ },
3480
+ "name": "apiTransformers",
3481
+ "type": {
3482
+ "__schema": "TypeArraySchema",
3483
+ "location": {
3484
+ "filePath": "schema.main.runtime.ts",
3485
+ "line": 116,
3486
+ "character": 23
3487
+ },
3488
+ "type": {
3489
+ "__schema": "TypeRefSchema",
3490
+ "location": {
3491
+ "filePath": "schema.main.runtime.ts",
3492
+ "line": 116,
3493
+ "character": 23
3494
+ },
3495
+ "name": "SchemaNodeTransformer"
3496
+ }
3497
+ },
3498
+ "isOptional": true,
3499
+ "isSpread": false
3388
3500
  }
3389
3501
  ],
3390
3502
  "returnType": {
3391
3503
  "__schema": "TypeRefSchema",
3392
3504
  "location": {
3393
3505
  "filePath": "schema.main.runtime.ts",
3394
- "line": 114,
3506
+ "line": 117,
3395
3507
  "character": 6
3396
3508
  },
3397
3509
  "name": "Promise",
@@ -3400,7 +3512,7 @@
3400
3512
  "__schema": "TypeRefSchema",
3401
3513
  "location": {
3402
3514
  "filePath": "schema.main.runtime.ts",
3403
- "line": 114,
3515
+ "line": 117,
3404
3516
  "character": 14
3405
3517
  },
3406
3518
  "name": "APISchema"
@@ -3415,7 +3527,7 @@
3415
3527
  "__schema": "FunctionLikeSchema",
3416
3528
  "location": {
3417
3529
  "filePath": "schema.main.runtime.ts",
3418
- "line": 171,
3530
+ "line": 180,
3419
3531
  "character": 3
3420
3532
  },
3421
3533
  "signature": "(method) SchemaMain.getSchemaFromObject(obj: Record<string, any>): APISchema",
@@ -3425,7 +3537,7 @@
3425
3537
  "__schema": "ParameterSchema",
3426
3538
  "location": {
3427
3539
  "filePath": "schema.main.runtime.ts",
3428
- "line": 171,
3540
+ "line": 180,
3429
3541
  "character": 23
3430
3542
  },
3431
3543
  "name": "obj",
@@ -3433,7 +3545,7 @@
3433
3545
  "__schema": "TypeRefSchema",
3434
3546
  "location": {
3435
3547
  "filePath": "schema.main.runtime.ts",
3436
- "line": 171,
3548
+ "line": 180,
3437
3549
  "character": 28
3438
3550
  },
3439
3551
  "name": "Record",
@@ -3442,7 +3554,7 @@
3442
3554
  "__schema": "KeywordTypeSchema",
3443
3555
  "location": {
3444
3556
  "filePath": "schema.main.runtime.ts",
3445
- "line": 171,
3557
+ "line": 180,
3446
3558
  "character": 35
3447
3559
  },
3448
3560
  "name": "string"
@@ -3451,7 +3563,7 @@
3451
3563
  "__schema": "KeywordTypeSchema",
3452
3564
  "location": {
3453
3565
  "filePath": "schema.main.runtime.ts",
3454
- "line": 171,
3566
+ "line": 180,
3455
3567
  "character": 43
3456
3568
  },
3457
3569
  "name": "any"
@@ -3466,14 +3578,14 @@
3466
3578
  "__schema": "TypeRefSchema",
3467
3579
  "location": {
3468
3580
  "filePath": "schema.main.runtime.ts",
3469
- "line": 171,
3581
+ "line": 180,
3470
3582
  "character": 3
3471
3583
  },
3472
3584
  "name": "APISchema",
3473
3585
  "componentId": {
3474
3586
  "scope": "teambit.semantics",
3475
3587
  "name": "entities/semantic-schema",
3476
- "version": "0.0.67"
3588
+ "version": "0.0.68"
3477
3589
  }
3478
3590
  },
3479
3591
  "modifiers": []
@@ -3482,14 +3594,14 @@
3482
3594
  "__schema": "FunctionLikeSchema",
3483
3595
  "location": {
3484
3596
  "filePath": "schema.main.runtime.ts",
3485
- "line": 178,
3597
+ "line": 187,
3486
3598
  "character": 3
3487
3599
  },
3488
3600
  "doc": {
3489
3601
  "__schema": "DocSchema",
3490
3602
  "location": {
3491
3603
  "filePath": "schema.main.runtime.ts",
3492
- "line": 175,
3604
+ "line": 184,
3493
3605
  "character": 3
3494
3606
  },
3495
3607
  "raw": "/**\n * register a new parser.\n */",
@@ -3502,7 +3614,7 @@
3502
3614
  "__schema": "ParameterSchema",
3503
3615
  "location": {
3504
3616
  "filePath": "schema.main.runtime.ts",
3505
- "line": 178,
3617
+ "line": 187,
3506
3618
  "character": 18
3507
3619
  },
3508
3620
  "name": "parser",
@@ -3510,7 +3622,7 @@
3510
3622
  "__schema": "TypeRefSchema",
3511
3623
  "location": {
3512
3624
  "filePath": "schema.main.runtime.ts",
3513
- "line": 178,
3625
+ "line": 187,
3514
3626
  "character": 26
3515
3627
  },
3516
3628
  "name": "Parser"
@@ -3523,7 +3635,7 @@
3523
3635
  "__schema": "TypeRefSchema",
3524
3636
  "location": {
3525
3637
  "filePath": "schema.main.runtime.ts",
3526
- "line": 178,
3638
+ "line": 187,
3527
3639
  "character": 3
3528
3640
  },
3529
3641
  "name": "SchemaMain"
@@ -3534,7 +3646,7 @@
3534
3646
  "__schema": "FunctionLikeSchema",
3535
3647
  "location": {
3536
3648
  "filePath": "schema.main.runtime.ts",
3537
- "line": 183,
3649
+ "line": 192,
3538
3650
  "character": 3
3539
3651
  },
3540
3652
  "signature": "(method) SchemaMain.calcSchemaData(): Promise<{\n disabled?: boolean;\n}>",
@@ -3544,7 +3656,7 @@
3544
3656
  "__schema": "TypeRefSchema",
3545
3657
  "location": {
3546
3658
  "filePath": "schema.main.runtime.ts",
3547
- "line": 183,
3659
+ "line": 192,
3548
3660
  "character": 27
3549
3661
  },
3550
3662
  "name": "Promise",
@@ -3553,7 +3665,7 @@
3553
3665
  "__schema": "TypeLiteralSchema",
3554
3666
  "location": {
3555
3667
  "filePath": "schema.main.runtime.ts",
3556
- "line": 183,
3668
+ "line": 192,
3557
3669
  "character": 35
3558
3670
  },
3559
3671
  "members": [
@@ -3561,7 +3673,7 @@
3561
3673
  "__schema": "VariableLikeSchema",
3562
3674
  "location": {
3563
3675
  "filePath": "schema.main.runtime.ts",
3564
- "line": 183,
3676
+ "line": 192,
3565
3677
  "character": 37
3566
3678
  },
3567
3679
  "signature": "(property) disabled?: boolean | undefined",
@@ -3570,7 +3682,7 @@
3570
3682
  "__schema": "KeywordTypeSchema",
3571
3683
  "location": {
3572
3684
  "filePath": "schema.main.runtime.ts",
3573
- "line": 183,
3685
+ "line": 192,
3574
3686
  "character": 48
3575
3687
  },
3576
3688
  "name": "boolean"
@@ -3589,7 +3701,7 @@
3589
3701
  "__schema": "FunctionLikeSchema",
3590
3702
  "location": {
3591
3703
  "filePath": "schema.main.runtime.ts",
3592
- "line": 189,
3704
+ "line": 198,
3593
3705
  "character": 3
3594
3706
  },
3595
3707
  "signature": "(method) SchemaMain.getSchemaData(component: Component): {\n [key: string]: any;\n} | undefined",
@@ -3599,7 +3711,7 @@
3599
3711
  "__schema": "ParameterSchema",
3600
3712
  "location": {
3601
3713
  "filePath": "schema.main.runtime.ts",
3602
- "line": 189,
3714
+ "line": 198,
3603
3715
  "character": 17
3604
3716
  },
3605
3717
  "name": "component",
@@ -3607,7 +3719,7 @@
3607
3719
  "__schema": "TypeRefSchema",
3608
3720
  "location": {
3609
3721
  "filePath": "schema.main.runtime.ts",
3610
- "line": 189,
3722
+ "line": 198,
3611
3723
  "character": 28
3612
3724
  },
3613
3725
  "name": "Component"
@@ -3620,7 +3732,7 @@
3620
3732
  "__schema": "InferenceTypeSchema",
3621
3733
  "location": {
3622
3734
  "filePath": "schema.main.runtime.ts",
3623
- "line": 189,
3735
+ "line": 198,
3624
3736
  "character": 3
3625
3737
  },
3626
3738
  "type": "{\n [key: string]: any;\n} | undefined"
@@ -3631,7 +3743,7 @@
3631
3743
  "__schema": "FunctionLikeSchema",
3632
3744
  "location": {
3633
3745
  "filePath": "schema.main.runtime.ts",
3634
- "line": 193,
3746
+ "line": 202,
3635
3747
  "character": 3
3636
3748
  },
3637
3749
  "signature": "(method) SchemaMain.isSchemaTaskDisabled(component: Component): any",
@@ -3641,7 +3753,7 @@
3641
3753
  "__schema": "ParameterSchema",
3642
3754
  "location": {
3643
3755
  "filePath": "schema.main.runtime.ts",
3644
- "line": 193,
3756
+ "line": 202,
3645
3757
  "character": 24
3646
3758
  },
3647
3759
  "name": "component",
@@ -3649,7 +3761,7 @@
3649
3761
  "__schema": "TypeRefSchema",
3650
3762
  "location": {
3651
3763
  "filePath": "schema.main.runtime.ts",
3652
- "line": 193,
3764
+ "line": 202,
3653
3765
  "character": 35
3654
3766
  },
3655
3767
  "name": "Component"
@@ -3662,7 +3774,7 @@
3662
3774
  "__schema": "InferenceTypeSchema",
3663
3775
  "location": {
3664
3776
  "filePath": "schema.main.runtime.ts",
3665
- "line": 193,
3777
+ "line": 202,
3666
3778
  "character": 3
3667
3779
  },
3668
3780
  "type": "any"
@@ -3673,7 +3785,7 @@
3673
3785
  "__schema": "VariableLikeSchema",
3674
3786
  "location": {
3675
3787
  "filePath": "schema.main.runtime.ts",
3676
- "line": 197,
3788
+ "line": 206,
3677
3789
  "character": 3
3678
3790
  },
3679
3791
  "signature": "(property) SchemaMain.runtime: RuntimeDefinition",
@@ -3682,7 +3794,7 @@
3682
3794
  "__schema": "InferenceTypeSchema",
3683
3795
  "location": {
3684
3796
  "filePath": "schema.main.runtime.ts",
3685
- "line": 197,
3797
+ "line": 206,
3686
3798
  "character": 3
3687
3799
  },
3688
3800
  "type": "RuntimeDefinition"
@@ -3694,7 +3806,7 @@
3694
3806
  "__schema": "VariableLikeSchema",
3695
3807
  "location": {
3696
3808
  "filePath": "schema.main.runtime.ts",
3697
- "line": 198,
3809
+ "line": 207,
3698
3810
  "character": 3
3699
3811
  },
3700
3812
  "signature": "(property) SchemaMain.dependencies: Aspect[]",
@@ -3703,7 +3815,7 @@
3703
3815
  "__schema": "InferenceTypeSchema",
3704
3816
  "location": {
3705
3817
  "filePath": "schema.main.runtime.ts",
3706
- "line": 198,
3818
+ "line": 207,
3707
3819
  "character": 3
3708
3820
  },
3709
3821
  "type": "Aspect[]"
@@ -3715,7 +3827,7 @@
3715
3827
  "__schema": "VariableLikeSchema",
3716
3828
  "location": {
3717
3829
  "filePath": "schema.main.runtime.ts",
3718
- "line": 208,
3830
+ "line": 217,
3719
3831
  "character": 3
3720
3832
  },
3721
3833
  "signature": "(property) SchemaMain.slots: ((registerFn: () => string) => SlotRegistry<Parser>)[]",
@@ -3724,7 +3836,7 @@
3724
3836
  "__schema": "InferenceTypeSchema",
3725
3837
  "location": {
3726
3838
  "filePath": "schema.main.runtime.ts",
3727
- "line": 208,
3839
+ "line": 217,
3728
3840
  "character": 3
3729
3841
  },
3730
3842
  "type": "((registerFn: () => string) => SlotRegistry<Parser>)[]"
@@ -3736,7 +3848,7 @@
3736
3848
  "__schema": "VariableLikeSchema",
3737
3849
  "location": {
3738
3850
  "filePath": "schema.main.runtime.ts",
3739
- "line": 210,
3851
+ "line": 219,
3740
3852
  "character": 3
3741
3853
  },
3742
3854
  "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n disabled: boolean;\n}",
@@ -3745,7 +3857,7 @@
3745
3857
  "__schema": "InferenceTypeSchema",
3746
3858
  "location": {
3747
3859
  "filePath": "schema.main.runtime.ts",
3748
- "line": 210,
3860
+ "line": 219,
3749
3861
  "character": 3
3750
3862
  },
3751
3863
  "type": "{\n defaultParser: string;\n disabled: boolean;\n}"
@@ -3757,7 +3869,7 @@
3757
3869
  "__schema": "FunctionLikeSchema",
3758
3870
  "location": {
3759
3871
  "filePath": "schema.main.runtime.ts",
3760
- "line": 215,
3872
+ "line": 224,
3761
3873
  "character": 3
3762
3874
  },
3763
3875
  "signature": "(method) SchemaMain.provider([envs, cli, component, graphql, loggerMain, builder, workspace, scope]: [\n EnvsMain,\n CLIMain,\n ComponentMain,\n GraphqlMain,\n LoggerMain,\n BuilderMain,\n Workspace,\n ScopeMain\n], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>",
@@ -3767,7 +3879,7 @@
3767
3879
  "__schema": "ParameterSchema",
3768
3880
  "location": {
3769
3881
  "filePath": "schema.main.runtime.ts",
3770
- "line": 216,
3882
+ "line": 225,
3771
3883
  "character": 5
3772
3884
  },
3773
3885
  "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace, scope ]",
@@ -3775,7 +3887,7 @@
3775
3887
  "__schema": "TupleTypeSchema",
3776
3888
  "location": {
3777
3889
  "filePath": "schema.main.runtime.ts",
3778
- "line": 216,
3890
+ "line": 225,
3779
3891
  "character": 77
3780
3892
  },
3781
3893
  "elements": [
@@ -3783,7 +3895,7 @@
3783
3895
  "__schema": "TypeRefSchema",
3784
3896
  "location": {
3785
3897
  "filePath": "schema.main.runtime.ts",
3786
- "line": 217,
3898
+ "line": 226,
3787
3899
  "character": 7
3788
3900
  },
3789
3901
  "name": "EnvsMain"
@@ -3792,7 +3904,7 @@
3792
3904
  "__schema": "TypeRefSchema",
3793
3905
  "location": {
3794
3906
  "filePath": "schema.main.runtime.ts",
3795
- "line": 218,
3907
+ "line": 227,
3796
3908
  "character": 7
3797
3909
  },
3798
3910
  "name": "CLIMain"
@@ -3801,7 +3913,7 @@
3801
3913
  "__schema": "TypeRefSchema",
3802
3914
  "location": {
3803
3915
  "filePath": "schema.main.runtime.ts",
3804
- "line": 219,
3916
+ "line": 228,
3805
3917
  "character": 7
3806
3918
  },
3807
3919
  "name": "ComponentMain"
@@ -3810,7 +3922,7 @@
3810
3922
  "__schema": "TypeRefSchema",
3811
3923
  "location": {
3812
3924
  "filePath": "schema.main.runtime.ts",
3813
- "line": 220,
3925
+ "line": 229,
3814
3926
  "character": 7
3815
3927
  },
3816
3928
  "name": "GraphqlMain"
@@ -3819,7 +3931,7 @@
3819
3931
  "__schema": "TypeRefSchema",
3820
3932
  "location": {
3821
3933
  "filePath": "schema.main.runtime.ts",
3822
- "line": 221,
3934
+ "line": 230,
3823
3935
  "character": 7
3824
3936
  },
3825
3937
  "name": "LoggerMain"
@@ -3828,7 +3940,7 @@
3828
3940
  "__schema": "TypeRefSchema",
3829
3941
  "location": {
3830
3942
  "filePath": "schema.main.runtime.ts",
3831
- "line": 222,
3943
+ "line": 231,
3832
3944
  "character": 7
3833
3945
  },
3834
3946
  "name": "BuilderMain"
@@ -3837,7 +3949,7 @@
3837
3949
  "__schema": "TypeRefSchema",
3838
3950
  "location": {
3839
3951
  "filePath": "schema.main.runtime.ts",
3840
- "line": 223,
3952
+ "line": 232,
3841
3953
  "character": 7
3842
3954
  },
3843
3955
  "name": "Workspace"
@@ -3846,7 +3958,7 @@
3846
3958
  "__schema": "TypeRefSchema",
3847
3959
  "location": {
3848
3960
  "filePath": "schema.main.runtime.ts",
3849
- "line": 224,
3961
+ "line": 233,
3850
3962
  "character": 7
3851
3963
  },
3852
3964
  "name": "ScopeMain"
@@ -3860,7 +3972,7 @@
3860
3972
  "__schema": "ParameterSchema",
3861
3973
  "location": {
3862
3974
  "filePath": "schema.main.runtime.ts",
3863
- "line": 226,
3975
+ "line": 235,
3864
3976
  "character": 5
3865
3977
  },
3866
3978
  "name": "config",
@@ -3868,7 +3980,7 @@
3868
3980
  "__schema": "TypeRefSchema",
3869
3981
  "location": {
3870
3982
  "filePath": "schema.main.runtime.ts",
3871
- "line": 226,
3983
+ "line": 235,
3872
3984
  "character": 13
3873
3985
  },
3874
3986
  "name": "SchemaConfig"
@@ -3880,7 +3992,7 @@
3880
3992
  "__schema": "ParameterSchema",
3881
3993
  "location": {
3882
3994
  "filePath": "schema.main.runtime.ts",
3883
- "line": 227,
3995
+ "line": 236,
3884
3996
  "character": 5
3885
3997
  },
3886
3998
  "name": "[ parserSlot ]",
@@ -3888,7 +4000,7 @@
3888
4000
  "__schema": "TupleTypeSchema",
3889
4001
  "location": {
3890
4002
  "filePath": "schema.main.runtime.ts",
3891
- "line": 227,
4003
+ "line": 236,
3892
4004
  "character": 19
3893
4005
  },
3894
4006
  "elements": [
@@ -3896,7 +4008,7 @@
3896
4008
  "__schema": "TypeRefSchema",
3897
4009
  "location": {
3898
4010
  "filePath": "schema.main.runtime.ts",
3899
- "line": 227,
4011
+ "line": 236,
3900
4012
  "character": 20
3901
4013
  },
3902
4014
  "name": "ParserSlot"
@@ -3911,7 +4023,7 @@
3911
4023
  "__schema": "InferenceTypeSchema",
3912
4024
  "location": {
3913
4025
  "filePath": "schema.main.runtime.ts",
3914
- "line": 215,
4026
+ "line": 224,
3915
4027
  "character": 3
3916
4028
  },
3917
4029
  "type": "Promise<SchemaMain>"
@@ -3929,7 +4041,7 @@
3929
4041
  "__schema": "UnImplementedSchema",
3930
4042
  "location": {
3931
4043
  "filePath": "schema.main.runtime.ts",
3932
- "line": 253,
4044
+ "line": 262,
3933
4045
  "character": 16
3934
4046
  },
3935
4047
  "name": "SchemaMain",
@@ -3941,7 +4053,7 @@
3941
4053
  "__schema": "UnImplementedSchema",
3942
4054
  "location": {
3943
4055
  "filePath": "schema.main.runtime.ts",
3944
- "line": 251,
4056
+ "line": 260,
3945
4057
  "character": 1
3946
4058
  },
3947
4059
  "name": "SchemaAspect.addRuntime(SchemaMain);",
@@ -3990,7 +4102,7 @@
3990
4102
  "componentId": {
3991
4103
  "scope": "teambit.semantics",
3992
4104
  "name": "schema",
3993
- "version": "1.0.171"
4105
+ "version": "1.0.174"
3994
4106
  },
3995
4107
  "taggedModuleExports": []
3996
4108
  }