@teambit/schema 1.0.160 → 1.0.162

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.160"
614
+ "version": "1.0.162"
615
615
  },
616
616
  "_scope": "teambit.semantics"
617
617
  }
@@ -665,7 +665,7 @@
665
665
  "__schema": "FunctionLikeSchema",
666
666
  "location": {
667
667
  "filePath": "schema.task.ts",
668
- "line": 71,
668
+ "line": 73,
669
669
  "character": 1
670
670
  },
671
671
  "signature": "function getSchemaArtifactDef(): ArtifactDefinition",
@@ -675,7 +675,7 @@
675
675
  "__schema": "TypeRefSchema",
676
676
  "location": {
677
677
  "filePath": "schema.task.ts",
678
- "line": 71,
678
+ "line": 73,
679
679
  "character": 1
680
680
  },
681
681
  "name": "ArtifactDefinition",
@@ -692,7 +692,7 @@
692
692
  "__schema": "FunctionLikeSchema",
693
693
  "location": {
694
694
  "filePath": "schema.task.ts",
695
- "line": 67,
695
+ "line": 69,
696
696
  "character": 1
697
697
  },
698
698
  "signature": "function getSchemaArtifactPath(): string",
@@ -702,7 +702,7 @@
702
702
  "__schema": "InferenceTypeSchema",
703
703
  "location": {
704
704
  "filePath": "schema.task.ts",
705
- "line": 67,
705
+ "line": 69,
706
706
  "character": 1
707
707
  },
708
708
  "type": "string"
@@ -770,14 +770,14 @@
770
770
  "__schema": "ClassSchema",
771
771
  "location": {
772
772
  "filePath": "schema.main.runtime.ts",
773
- "line": 38,
773
+ "line": 43,
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": 35,
780
+ "line": 40,
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": 39,
793
+ "line": 44,
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": 43,
803
+ "line": 48,
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": 43,
811
+ "line": 48,
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": 45,
823
+ "line": 50,
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": 45,
831
+ "line": 50,
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": 47,
843
+ "line": 52,
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": 47,
851
+ "line": 52,
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": 49,
863
+ "line": 54,
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": 49,
871
+ "line": 54,
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": 51,
883
+ "line": 56,
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": 51,
891
+ "line": 56,
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": 53,
903
+ "line": 58,
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": 53,
911
+ "line": 58,
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": 38,
924
+ "line": 43,
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": 59,
935
+ "line": 64,
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": 56,
942
+ "line": 61,
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": 59,
955
+ "line": 64,
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": 63,
966
+ "line": 68,
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": 63,
976
+ "line": 68,
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": 63,
984
+ "line": 68,
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": 63,
997
+ "line": 68,
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": 70,
1008
+ "line": 75,
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": 67,
1015
+ "line": 72,
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": 70,
1028
+ "line": 75,
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": 70,
1036
+ "line": 75,
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": 70,
1048
+ "line": 75,
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": 70,
1056
+ "line": 75,
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": 70,
1069
+ "line": 75,
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": 70,
1076
+ "line": 75,
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": 85,
1088
+ "line": 90,
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": 85,
1098
+ "line": 90,
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": 85,
1106
+ "line": 90,
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": 85,
1118
+ "line": 90,
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": 85,
1126
+ "line": 90,
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": 85,
1138
+ "line": 90,
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": 85,
1146
+ "line": 90,
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": 85,
1159
+ "line": 90,
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": 102,
1170
+ "line": 107,
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": 94,
1177
+ "line": 99,
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": 96,
1187
+ "line": 101,
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": 97,
1198
+ "line": 102,
1199
1199
  "character": 6
1200
1200
  },
1201
1201
  "name": "shouldDisposeResourcesOnceDone",
@@ -1211,7 +1211,7 @@
1211
1211
  "__schema": "ParameterSchema",
1212
1212
  "location": {
1213
1213
  "filePath": "schema.main.runtime.ts",
1214
- "line": 103,
1214
+ "line": 108,
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": 103,
1222
+ "line": 108,
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": 104,
1234
+ "line": 109,
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": 104,
1242
+ "line": 109,
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": 105,
1255
+ "line": 110,
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": 105,
1263
+ "line": 110,
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": 106,
1276
+ "line": 111,
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": 106,
1284
+ "line": 111,
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": 107,
1296
+ "line": 112,
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": 107,
1304
+ "line": 112,
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": 108,
1316
+ "line": 113,
1317
1317
  "character": 5
1318
1318
  },
1319
1319
  "name": "skipInternals",
@@ -1321,7 +1321,7 @@
1321
1321
  "__schema": "KeywordTypeSchema",
1322
1322
  "location": {
1323
1323
  "filePath": "schema.main.runtime.ts",
1324
- "line": 108,
1324
+ "line": 113,
1325
1325
  "character": 21
1326
1326
  },
1327
1327
  "name": "boolean"
@@ -1334,7 +1334,7 @@
1334
1334
  "__schema": "TypeRefSchema",
1335
1335
  "location": {
1336
1336
  "filePath": "schema.main.runtime.ts",
1337
- "line": 109,
1337
+ "line": 114,
1338
1338
  "character": 6
1339
1339
  },
1340
1340
  "name": "Promise",
@@ -1343,7 +1343,7 @@
1343
1343
  "__schema": "TypeRefSchema",
1344
1344
  "location": {
1345
1345
  "filePath": "schema.main.runtime.ts",
1346
- "line": 109,
1346
+ "line": 114,
1347
1347
  "character": 14
1348
1348
  },
1349
1349
  "name": "APISchema"
@@ -1358,7 +1358,7 @@
1358
1358
  "__schema": "FunctionLikeSchema",
1359
1359
  "location": {
1360
1360
  "filePath": "schema.main.runtime.ts",
1361
- "line": 162,
1361
+ "line": 171,
1362
1362
  "character": 3
1363
1363
  },
1364
1364
  "signature": "(method) SchemaMain.getSchemaFromObject(obj: Record<string, any>): APISchema",
@@ -1368,7 +1368,7 @@
1368
1368
  "__schema": "ParameterSchema",
1369
1369
  "location": {
1370
1370
  "filePath": "schema.main.runtime.ts",
1371
- "line": 162,
1371
+ "line": 171,
1372
1372
  "character": 23
1373
1373
  },
1374
1374
  "name": "obj",
@@ -1376,7 +1376,7 @@
1376
1376
  "__schema": "TypeRefSchema",
1377
1377
  "location": {
1378
1378
  "filePath": "schema.main.runtime.ts",
1379
- "line": 162,
1379
+ "line": 171,
1380
1380
  "character": 28
1381
1381
  },
1382
1382
  "name": "Record",
@@ -1385,7 +1385,7 @@
1385
1385
  "__schema": "KeywordTypeSchema",
1386
1386
  "location": {
1387
1387
  "filePath": "schema.main.runtime.ts",
1388
- "line": 162,
1388
+ "line": 171,
1389
1389
  "character": 35
1390
1390
  },
1391
1391
  "name": "string"
@@ -1394,7 +1394,7 @@
1394
1394
  "__schema": "KeywordTypeSchema",
1395
1395
  "location": {
1396
1396
  "filePath": "schema.main.runtime.ts",
1397
- "line": 162,
1397
+ "line": 171,
1398
1398
  "character": 43
1399
1399
  },
1400
1400
  "name": "any"
@@ -1409,7 +1409,7 @@
1409
1409
  "__schema": "TypeRefSchema",
1410
1410
  "location": {
1411
1411
  "filePath": "schema.main.runtime.ts",
1412
- "line": 162,
1412
+ "line": 171,
1413
1413
  "character": 3
1414
1414
  },
1415
1415
  "name": "APISchema",
@@ -1425,14 +1425,14 @@
1425
1425
  "__schema": "FunctionLikeSchema",
1426
1426
  "location": {
1427
1427
  "filePath": "schema.main.runtime.ts",
1428
- "line": 169,
1428
+ "line": 178,
1429
1429
  "character": 3
1430
1430
  },
1431
1431
  "doc": {
1432
1432
  "__schema": "DocSchema",
1433
1433
  "location": {
1434
1434
  "filePath": "schema.main.runtime.ts",
1435
- "line": 166,
1435
+ "line": 175,
1436
1436
  "character": 3
1437
1437
  },
1438
1438
  "raw": "/**\n * register a new parser.\n */",
@@ -1445,7 +1445,7 @@
1445
1445
  "__schema": "ParameterSchema",
1446
1446
  "location": {
1447
1447
  "filePath": "schema.main.runtime.ts",
1448
- "line": 169,
1448
+ "line": 178,
1449
1449
  "character": 18
1450
1450
  },
1451
1451
  "name": "parser",
@@ -1453,7 +1453,7 @@
1453
1453
  "__schema": "TypeRefSchema",
1454
1454
  "location": {
1455
1455
  "filePath": "schema.main.runtime.ts",
1456
- "line": 169,
1456
+ "line": 178,
1457
1457
  "character": 26
1458
1458
  },
1459
1459
  "name": "Parser"
@@ -1466,18 +1466,157 @@
1466
1466
  "__schema": "TypeRefSchema",
1467
1467
  "location": {
1468
1468
  "filePath": "schema.main.runtime.ts",
1469
- "line": 169,
1469
+ "line": 178,
1470
1470
  "character": 3
1471
1471
  },
1472
1472
  "name": "SchemaMain"
1473
1473
  },
1474
1474
  "modifiers": []
1475
1475
  },
1476
+ {
1477
+ "__schema": "FunctionLikeSchema",
1478
+ "location": {
1479
+ "filePath": "schema.main.runtime.ts",
1480
+ "line": 183,
1481
+ "character": 3
1482
+ },
1483
+ "signature": "(method) SchemaMain.calcSchemaData(): Promise<{\n disabled?: boolean;\n}>",
1484
+ "name": "calcSchemaData",
1485
+ "params": [],
1486
+ "returnType": {
1487
+ "__schema": "TypeRefSchema",
1488
+ "location": {
1489
+ "filePath": "schema.main.runtime.ts",
1490
+ "line": 183,
1491
+ "character": 27
1492
+ },
1493
+ "name": "Promise",
1494
+ "typeArgs": [
1495
+ {
1496
+ "__schema": "TypeLiteralSchema",
1497
+ "location": {
1498
+ "filePath": "schema.main.runtime.ts",
1499
+ "line": 183,
1500
+ "character": 35
1501
+ },
1502
+ "members": [
1503
+ {
1504
+ "__schema": "VariableLikeSchema",
1505
+ "location": {
1506
+ "filePath": "schema.main.runtime.ts",
1507
+ "line": 183,
1508
+ "character": 37
1509
+ },
1510
+ "signature": "(property) disabled?: boolean | undefined",
1511
+ "name": "disabled",
1512
+ "type": {
1513
+ "__schema": "KeywordTypeSchema",
1514
+ "location": {
1515
+ "filePath": "schema.main.runtime.ts",
1516
+ "line": 183,
1517
+ "character": 48
1518
+ },
1519
+ "name": "boolean"
1520
+ },
1521
+ "isOptional": true
1522
+ }
1523
+ ]
1524
+ }
1525
+ ]
1526
+ },
1527
+ "modifiers": [
1528
+ "async"
1529
+ ]
1530
+ },
1531
+ {
1532
+ "__schema": "FunctionLikeSchema",
1533
+ "location": {
1534
+ "filePath": "schema.main.runtime.ts",
1535
+ "line": 189,
1536
+ "character": 3
1537
+ },
1538
+ "signature": "(method) SchemaMain.getSchemaData(component: Component): {\n [key: string]: any;\n} | undefined",
1539
+ "name": "getSchemaData",
1540
+ "params": [
1541
+ {
1542
+ "__schema": "ParameterSchema",
1543
+ "location": {
1544
+ "filePath": "schema.main.runtime.ts",
1545
+ "line": 189,
1546
+ "character": 17
1547
+ },
1548
+ "name": "component",
1549
+ "type": {
1550
+ "__schema": "TypeRefSchema",
1551
+ "location": {
1552
+ "filePath": "schema.main.runtime.ts",
1553
+ "line": 189,
1554
+ "character": 28
1555
+ },
1556
+ "name": "Component"
1557
+ },
1558
+ "isOptional": false,
1559
+ "isSpread": false
1560
+ }
1561
+ ],
1562
+ "returnType": {
1563
+ "__schema": "InferenceTypeSchema",
1564
+ "location": {
1565
+ "filePath": "schema.main.runtime.ts",
1566
+ "line": 189,
1567
+ "character": 3
1568
+ },
1569
+ "type": "{\n [key: string]: any;\n} | undefined"
1570
+ },
1571
+ "modifiers": []
1572
+ },
1573
+ {
1574
+ "__schema": "FunctionLikeSchema",
1575
+ "location": {
1576
+ "filePath": "schema.main.runtime.ts",
1577
+ "line": 193,
1578
+ "character": 3
1579
+ },
1580
+ "signature": "(method) SchemaMain.isSchemaTaskDisabled(component: Component): any",
1581
+ "name": "isSchemaTaskDisabled",
1582
+ "params": [
1583
+ {
1584
+ "__schema": "ParameterSchema",
1585
+ "location": {
1586
+ "filePath": "schema.main.runtime.ts",
1587
+ "line": 193,
1588
+ "character": 24
1589
+ },
1590
+ "name": "component",
1591
+ "type": {
1592
+ "__schema": "TypeRefSchema",
1593
+ "location": {
1594
+ "filePath": "schema.main.runtime.ts",
1595
+ "line": 193,
1596
+ "character": 35
1597
+ },
1598
+ "name": "Component"
1599
+ },
1600
+ "isOptional": false,
1601
+ "isSpread": false
1602
+ }
1603
+ ],
1604
+ "returnType": {
1605
+ "__schema": "InferenceTypeSchema",
1606
+ "location": {
1607
+ "filePath": "schema.main.runtime.ts",
1608
+ "line": 193,
1609
+ "character": 3
1610
+ },
1611
+ "type": "any"
1612
+ },
1613
+ "modifiers": []
1614
+ },
1476
1615
  {
1477
1616
  "__schema": "VariableLikeSchema",
1478
1617
  "location": {
1479
1618
  "filePath": "schema.main.runtime.ts",
1480
- "line": 174,
1619
+ "line": 197,
1481
1620
  "character": 3
1482
1621
  },
1483
1622
  "signature": "(property) SchemaMain.runtime: RuntimeDefinition",
@@ -1486,7 +1625,7 @@
1486
1625
  "__schema": "InferenceTypeSchema",
1487
1626
  "location": {
1488
1627
  "filePath": "schema.main.runtime.ts",
1489
- "line": 174,
1628
+ "line": 197,
1490
1629
  "character": 3
1491
1630
  },
1492
1631
  "type": "RuntimeDefinition"
@@ -1498,7 +1637,7 @@
1498
1637
  "__schema": "VariableLikeSchema",
1499
1638
  "location": {
1500
1639
  "filePath": "schema.main.runtime.ts",
1501
- "line": 175,
1640
+ "line": 198,
1502
1641
  "character": 3
1503
1642
  },
1504
1643
  "signature": "(property) SchemaMain.dependencies: Aspect[]",
@@ -1507,19 +1646,19 @@
1507
1646
  "__schema": "InferenceTypeSchema",
1508
1647
  "location": {
1509
1648
  "filePath": "schema.main.runtime.ts",
1510
- "line": 175,
1649
+ "line": 198,
1511
1650
  "character": 3
1512
1651
  },
1513
1652
  "type": "Aspect[]"
1514
1653
  },
1515
1654
  "isOptional": true,
1516
- "defaultValue": "[\n EnvsAspect,\n CLIAspect,\n ComponentAspect,\n GraphqlAspect,\n LoggerAspect,\n BuilderAspect,\n WorkspaceAspect,\n ]"
1655
+ "defaultValue": "[\n EnvsAspect,\n CLIAspect,\n ComponentAspect,\n GraphqlAspect,\n LoggerAspect,\n BuilderAspect,\n WorkspaceAspect,\n ScopeAspect,\n ]"
1517
1656
  },
1518
1657
  {
1519
1658
  "__schema": "VariableLikeSchema",
1520
1659
  "location": {
1521
1660
  "filePath": "schema.main.runtime.ts",
1522
- "line": 184,
1661
+ "line": 208,
1523
1662
  "character": 3
1524
1663
  },
1525
1664
  "signature": "(property) SchemaMain.slots: ((registerFn: () => string) => SlotRegistry<Parser>)[]",
@@ -1528,7 +1667,7 @@
1528
1667
  "__schema": "InferenceTypeSchema",
1529
1668
  "location": {
1530
1669
  "filePath": "schema.main.runtime.ts",
1531
- "line": 184,
1670
+ "line": 208,
1532
1671
  "character": 3
1533
1672
  },
1534
1673
  "type": "((registerFn: () => string) => SlotRegistry<Parser>)[]"
@@ -1540,54 +1679,54 @@
1540
1679
  "__schema": "VariableLikeSchema",
1541
1680
  "location": {
1542
1681
  "filePath": "schema.main.runtime.ts",
1543
- "line": 186,
1682
+ "line": 210,
1544
1683
  "character": 3
1545
1684
  },
1546
- "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n}",
1685
+ "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n disabled: boolean;\n}",
1547
1686
  "name": "defaultConfig",
1548
1687
  "type": {
1549
1688
  "__schema": "InferenceTypeSchema",
1550
1689
  "location": {
1551
1690
  "filePath": "schema.main.runtime.ts",
1552
- "line": 186,
1691
+ "line": 210,
1553
1692
  "character": 3
1554
1693
  },
1555
- "type": "{\n defaultParser: string;\n}"
1694
+ "type": "{\n defaultParser: string;\n disabled: boolean;\n}"
1556
1695
  },
1557
1696
  "isOptional": true,
1558
- "defaultValue": "{\n defaultParser: 'teambit.typescript/typescript',\n }"
1697
+ "defaultValue": "{\n defaultParser: 'teambit.typescript/typescript',\n disabled: false,\n }"
1559
1698
  },
1560
1699
  {
1561
1700
  "__schema": "FunctionLikeSchema",
1562
1701
  "location": {
1563
1702
  "filePath": "schema.main.runtime.ts",
1564
- "line": 190,
1703
+ "line": 215,
1565
1704
  "character": 3
1566
1705
  },
1567
- "signature": "(method) SchemaMain.provider([envs, cli, component, graphql, loggerMain, builder, workspace]: [\n EnvsMain,\n CLIMain,\n ComponentMain,\n GraphqlMain,\n LoggerMain,\n BuilderMain,\n Workspace\n], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>",
1706
+ "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>",
1568
1707
  "name": "provider",
1569
1708
  "params": [
1570
1709
  {
1571
1710
  "__schema": "ParameterSchema",
1572
1711
  "location": {
1573
1712
  "filePath": "schema.main.runtime.ts",
1574
- "line": 191,
1713
+ "line": 216,
1575
1714
  "character": 5
1576
1715
  },
1577
- "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace ]",
1716
+ "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace, scope ]",
1578
1717
  "type": {
1579
1718
  "__schema": "TupleTypeSchema",
1580
1719
  "location": {
1581
1720
  "filePath": "schema.main.runtime.ts",
1582
- "line": 191,
1583
- "character": 70
1721
+ "line": 216,
1722
+ "character": 77
1584
1723
  },
1585
1724
  "elements": [
1586
1725
  {
1587
1726
  "__schema": "TypeRefSchema",
1588
1727
  "location": {
1589
1728
  "filePath": "schema.main.runtime.ts",
1590
- "line": 192,
1729
+ "line": 217,
1591
1730
  "character": 7
1592
1731
  },
1593
1732
  "name": "EnvsMain"
@@ -1596,7 +1735,7 @@
1596
1735
  "__schema": "TypeRefSchema",
1597
1736
  "location": {
1598
1737
  "filePath": "schema.main.runtime.ts",
1599
- "line": 193,
1738
+ "line": 218,
1600
1739
  "character": 7
1601
1740
  },
1602
1741
  "name": "CLIMain"
@@ -1605,7 +1744,7 @@
1605
1744
  "__schema": "TypeRefSchema",
1606
1745
  "location": {
1607
1746
  "filePath": "schema.main.runtime.ts",
1608
- "line": 194,
1747
+ "line": 219,
1609
1748
  "character": 7
1610
1749
  },
1611
1750
  "name": "ComponentMain"
@@ -1614,7 +1753,7 @@
1614
1753
  "__schema": "TypeRefSchema",
1615
1754
  "location": {
1616
1755
  "filePath": "schema.main.runtime.ts",
1617
- "line": 195,
1756
+ "line": 220,
1618
1757
  "character": 7
1619
1758
  },
1620
1759
  "name": "GraphqlMain"
@@ -1623,7 +1762,7 @@
1623
1762
  "__schema": "TypeRefSchema",
1624
1763
  "location": {
1625
1764
  "filePath": "schema.main.runtime.ts",
1626
- "line": 196,
1765
+ "line": 221,
1627
1766
  "character": 7
1628
1767
  },
1629
1768
  "name": "LoggerMain"
@@ -1632,7 +1771,7 @@
1632
1771
  "__schema": "TypeRefSchema",
1633
1772
  "location": {
1634
1773
  "filePath": "schema.main.runtime.ts",
1635
- "line": 197,
1774
+ "line": 222,
1636
1775
  "character": 7
1637
1776
  },
1638
1777
  "name": "BuilderMain"
@@ -1641,10 +1780,19 @@
1641
1780
  "__schema": "TypeRefSchema",
1642
1781
  "location": {
1643
1782
  "filePath": "schema.main.runtime.ts",
1644
- "line": 198,
1783
+ "line": 223,
1645
1784
  "character": 7
1646
1785
  },
1647
1786
  "name": "Workspace"
1787
+ },
1788
+ {
1789
+ "__schema": "TypeRefSchema",
1790
+ "location": {
1791
+ "filePath": "schema.main.runtime.ts",
1792
+ "line": 224,
1793
+ "character": 7
1794
+ },
1795
+ "name": "ScopeMain"
1648
1796
  }
1649
1797
  ]
1650
1798
  },
@@ -1655,7 +1803,7 @@
1655
1803
  "__schema": "ParameterSchema",
1656
1804
  "location": {
1657
1805
  "filePath": "schema.main.runtime.ts",
1658
- "line": 200,
1806
+ "line": 226,
1659
1807
  "character": 5
1660
1808
  },
1661
1809
  "name": "config",
@@ -1663,7 +1811,7 @@
1663
1811
  "__schema": "TypeRefSchema",
1664
1812
  "location": {
1665
1813
  "filePath": "schema.main.runtime.ts",
1666
- "line": 200,
1814
+ "line": 226,
1667
1815
  "character": 13
1668
1816
  },
1669
1817
  "name": "SchemaConfig"
@@ -1675,7 +1823,7 @@
1675
1823
  "__schema": "ParameterSchema",
1676
1824
  "location": {
1677
1825
  "filePath": "schema.main.runtime.ts",
1678
- "line": 201,
1826
+ "line": 227,
1679
1827
  "character": 5
1680
1828
  },
1681
1829
  "name": "[ parserSlot ]",
@@ -1683,7 +1831,7 @@
1683
1831
  "__schema": "TupleTypeSchema",
1684
1832
  "location": {
1685
1833
  "filePath": "schema.main.runtime.ts",
1686
- "line": 201,
1834
+ "line": 227,
1687
1835
  "character": 19
1688
1836
  },
1689
1837
  "elements": [
@@ -1691,7 +1839,7 @@
1691
1839
  "__schema": "TypeRefSchema",
1692
1840
  "location": {
1693
1841
  "filePath": "schema.main.runtime.ts",
1694
- "line": 201,
1842
+ "line": 227,
1695
1843
  "character": 20
1696
1844
  },
1697
1845
  "name": "ParserSlot"
@@ -1706,7 +1854,7 @@
1706
1854
  "__schema": "InferenceTypeSchema",
1707
1855
  "location": {
1708
1856
  "filePath": "schema.main.runtime.ts",
1709
- "line": 190,
1857
+ "line": 215,
1710
1858
  "character": 3
1711
1859
  },
1712
1860
  "type": "Promise<SchemaMain>"
@@ -2430,7 +2578,7 @@
2430
2578
  "_legacy": {
2431
2579
  "scope": "teambit.semantics",
2432
2580
  "name": "schema",
2433
- "version": "1.0.160"
2581
+ "version": "1.0.162"
2434
2582
  },
2435
2583
  "_scope": "teambit.semantics"
2436
2584
  }
@@ -2442,7 +2590,7 @@
2442
2590
  "__schema": "FunctionLikeSchema",
2443
2591
  "location": {
2444
2592
  "filePath": "schema.task.ts",
2445
- "line": 67,
2593
+ "line": 69,
2446
2594
  "character": 1
2447
2595
  },
2448
2596
  "signature": "function getSchemaArtifactPath(): string",
@@ -2452,7 +2600,7 @@
2452
2600
  "__schema": "InferenceTypeSchema",
2453
2601
  "location": {
2454
2602
  "filePath": "schema.task.ts",
2455
- "line": 67,
2603
+ "line": 69,
2456
2604
  "character": 1
2457
2605
  },
2458
2606
  "type": "string"
@@ -2465,7 +2613,7 @@
2465
2613
  "__schema": "FunctionLikeSchema",
2466
2614
  "location": {
2467
2615
  "filePath": "schema.task.ts",
2468
- "line": 71,
2616
+ "line": 73,
2469
2617
  "character": 1
2470
2618
  },
2471
2619
  "signature": "function getSchemaArtifactDef(): ArtifactDefinition",
@@ -2475,7 +2623,7 @@
2475
2623
  "__schema": "TypeRefSchema",
2476
2624
  "location": {
2477
2625
  "filePath": "schema.task.ts",
2478
- "line": 71,
2626
+ "line": 73,
2479
2627
  "character": 1
2480
2628
  },
2481
2629
  "name": "ArtifactDefinition",
@@ -2569,7 +2717,7 @@
2569
2717
  "__schema": "TypeSchema",
2570
2718
  "location": {
2571
2719
  "filePath": "schema.main.runtime.ts",
2572
- "line": 26,
2720
+ "line": 27,
2573
2721
  "character": 1
2574
2722
  },
2575
2723
  "signature": "type ParserSlot = SlotRegistry<Parser>",
@@ -2578,7 +2726,7 @@
2578
2726
  "__schema": "TypeRefSchema",
2579
2727
  "location": {
2580
2728
  "filePath": "schema.main.runtime.ts",
2581
- "line": 26,
2729
+ "line": 27,
2582
2730
  "character": 26
2583
2731
  },
2584
2732
  "name": "SlotRegistry",
@@ -2587,7 +2735,7 @@
2587
2735
  "__schema": "TypeRefSchema",
2588
2736
  "location": {
2589
2737
  "filePath": "schema.main.runtime.ts",
2590
- "line": 26,
2738
+ "line": 27,
2591
2739
  "character": 39
2592
2740
  },
2593
2741
  "name": "Parser"
@@ -2599,16 +2747,16 @@
2599
2747
  "__schema": "TypeSchema",
2600
2748
  "location": {
2601
2749
  "filePath": "schema.main.runtime.ts",
2602
- "line": 28,
2750
+ "line": 29,
2603
2751
  "character": 1
2604
2752
  },
2605
- "signature": "type SchemaConfig = {\n defaultParser: string;\n}",
2753
+ "signature": "type SchemaConfig = {\n defaultParser: string;\n disabled?: boolean | undefined;\n}",
2606
2754
  "name": "SchemaConfig",
2607
2755
  "type": {
2608
2756
  "__schema": "TypeLiteralSchema",
2609
2757
  "location": {
2610
2758
  "filePath": "schema.main.runtime.ts",
2611
- "line": 28,
2759
+ "line": 29,
2612
2760
  "character": 28
2613
2761
  },
2614
2762
  "members": [
@@ -2616,14 +2764,14 @@
2616
2764
  "__schema": "VariableLikeSchema",
2617
2765
  "location": {
2618
2766
  "filePath": "schema.main.runtime.ts",
2619
- "line": 32,
2767
+ "line": 33,
2620
2768
  "character": 3
2621
2769
  },
2622
2770
  "doc": {
2623
2771
  "__schema": "DocSchema",
2624
2772
  "location": {
2625
2773
  "filePath": "schema.main.runtime.ts",
2626
- "line": 29,
2774
+ "line": 30,
2627
2775
  "character": 3
2628
2776
  },
2629
2777
  "raw": "/**\n * default parser\n */",
@@ -2635,12 +2783,42 @@
2635
2783
  "__schema": "KeywordTypeSchema",
2636
2784
  "location": {
2637
2785
  "filePath": "schema.main.runtime.ts",
2638
- "line": 32,
2786
+ "line": 33,
2639
2787
  "character": 18
2640
2788
  },
2641
2789
  "name": "string"
2642
2790
  },
2643
2791
  "isOptional": false
2792
+ },
2793
+ {
2794
+ "__schema": "VariableLikeSchema",
2795
+ "location": {
2796
+ "filePath": "schema.main.runtime.ts",
2797
+ "line": 37,
2798
+ "character": 3
2799
+ },
2800
+ "doc": {
2801
+ "__schema": "DocSchema",
2802
+ "location": {
2803
+ "filePath": "schema.main.runtime.ts",
2804
+ "line": 34,
2805
+ "character": 3
2806
+ },
2807
+ "raw": "/**\n * disable extracting schema\n */",
2808
+ "comment": "disable extracting schema"
2809
+ },
2810
+ "signature": "(property) disabled?: boolean | undefined",
2811
+ "name": "disabled",
2812
+ "type": {
2813
+ "__schema": "KeywordTypeSchema",
2814
+ "location": {
2815
+ "filePath": "schema.main.runtime.ts",
2816
+ "line": 37,
2817
+ "character": 14
2818
+ },
2819
+ "name": "boolean"
2820
+ },
2821
+ "isOptional": true
2644
2822
  }
2645
2823
  ]
2646
2824
  }
@@ -2649,14 +2827,14 @@
2649
2827
  "__schema": "ClassSchema",
2650
2828
  "location": {
2651
2829
  "filePath": "schema.main.runtime.ts",
2652
- "line": 38,
2830
+ "line": 43,
2653
2831
  "character": 1
2654
2832
  },
2655
2833
  "doc": {
2656
2834
  "__schema": "DocSchema",
2657
2835
  "location": {
2658
2836
  "filePath": "schema.main.runtime.ts",
2659
- "line": 35,
2837
+ "line": 40,
2660
2838
  "character": 1
2661
2839
  },
2662
2840
  "raw": "/**\n * extension for extracting component schemas.\n */",
@@ -2669,7 +2847,7 @@
2669
2847
  "__schema": "ConstructorSchema",
2670
2848
  "location": {
2671
2849
  "filePath": "schema.main.runtime.ts",
2672
- "line": 39,
2850
+ "line": 44,
2673
2851
  "character": 3
2674
2852
  },
2675
2853
  "signature": "constructor SchemaMain(parserSlot: ParserSlot, envs: EnvsMain, config: SchemaConfig, builder: BuilderMain, workspace: Workspace, logger: Logger): SchemaMain",
@@ -2679,7 +2857,7 @@
2679
2857
  "__schema": "ParameterSchema",
2680
2858
  "location": {
2681
2859
  "filePath": "schema.main.runtime.ts",
2682
- "line": 43,
2860
+ "line": 48,
2683
2861
  "character": 5
2684
2862
  },
2685
2863
  "name": "parserSlot",
@@ -2687,7 +2865,7 @@
2687
2865
  "__schema": "TypeRefSchema",
2688
2866
  "location": {
2689
2867
  "filePath": "schema.main.runtime.ts",
2690
- "line": 43,
2868
+ "line": 48,
2691
2869
  "character": 25
2692
2870
  },
2693
2871
  "name": "ParserSlot"
@@ -2699,7 +2877,7 @@
2699
2877
  "__schema": "ParameterSchema",
2700
2878
  "location": {
2701
2879
  "filePath": "schema.main.runtime.ts",
2702
- "line": 45,
2880
+ "line": 50,
2703
2881
  "character": 5
2704
2882
  },
2705
2883
  "name": "envs",
@@ -2707,7 +2885,7 @@
2707
2885
  "__schema": "TypeRefSchema",
2708
2886
  "location": {
2709
2887
  "filePath": "schema.main.runtime.ts",
2710
- "line": 45,
2888
+ "line": 50,
2711
2889
  "character": 19
2712
2890
  },
2713
2891
  "name": "EnvsMain"
@@ -2719,7 +2897,7 @@
2719
2897
  "__schema": "ParameterSchema",
2720
2898
  "location": {
2721
2899
  "filePath": "schema.main.runtime.ts",
2722
- "line": 47,
2900
+ "line": 52,
2723
2901
  "character": 5
2724
2902
  },
2725
2903
  "name": "config",
@@ -2727,7 +2905,7 @@
2727
2905
  "__schema": "TypeRefSchema",
2728
2906
  "location": {
2729
2907
  "filePath": "schema.main.runtime.ts",
2730
- "line": 47,
2908
+ "line": 52,
2731
2909
  "character": 21
2732
2910
  },
2733
2911
  "name": "SchemaConfig"
@@ -2739,7 +2917,7 @@
2739
2917
  "__schema": "ParameterSchema",
2740
2918
  "location": {
2741
2919
  "filePath": "schema.main.runtime.ts",
2742
- "line": 49,
2920
+ "line": 54,
2743
2921
  "character": 5
2744
2922
  },
2745
2923
  "name": "builder",
@@ -2747,7 +2925,7 @@
2747
2925
  "__schema": "TypeRefSchema",
2748
2926
  "location": {
2749
2927
  "filePath": "schema.main.runtime.ts",
2750
- "line": 49,
2928
+ "line": 54,
2751
2929
  "character": 22
2752
2930
  },
2753
2931
  "name": "BuilderMain"
@@ -2759,7 +2937,7 @@
2759
2937
  "__schema": "ParameterSchema",
2760
2938
  "location": {
2761
2939
  "filePath": "schema.main.runtime.ts",
2762
- "line": 51,
2940
+ "line": 56,
2763
2941
  "character": 5
2764
2942
  },
2765
2943
  "name": "workspace",
@@ -2767,7 +2945,7 @@
2767
2945
  "__schema": "TypeRefSchema",
2768
2946
  "location": {
2769
2947
  "filePath": "schema.main.runtime.ts",
2770
- "line": 51,
2948
+ "line": 56,
2771
2949
  "character": 24
2772
2950
  },
2773
2951
  "name": "Workspace"
@@ -2779,7 +2957,7 @@
2779
2957
  "__schema": "ParameterSchema",
2780
2958
  "location": {
2781
2959
  "filePath": "schema.main.runtime.ts",
2782
- "line": 53,
2960
+ "line": 58,
2783
2961
  "character": 5
2784
2962
  },
2785
2963
  "name": "logger",
@@ -2787,7 +2965,7 @@
2787
2965
  "__schema": "TypeRefSchema",
2788
2966
  "location": {
2789
2967
  "filePath": "schema.main.runtime.ts",
2790
- "line": 53,
2968
+ "line": 58,
2791
2969
  "character": 21
2792
2970
  },
2793
2971
  "name": "Logger"
@@ -2800,7 +2978,7 @@
2800
2978
  "__schema": "ThisTypeSchema",
2801
2979
  "location": {
2802
2980
  "filePath": "schema.main.runtime.ts",
2803
- "line": 38,
2981
+ "line": 43,
2804
2982
  "character": 1
2805
2983
  },
2806
2984
  "name": "SchemaMain"
@@ -2811,14 +2989,14 @@
2811
2989
  "__schema": "FunctionLikeSchema",
2812
2990
  "location": {
2813
2991
  "filePath": "schema.main.runtime.ts",
2814
- "line": 59,
2992
+ "line": 64,
2815
2993
  "character": 3
2816
2994
  },
2817
2995
  "doc": {
2818
2996
  "__schema": "DocSchema",
2819
2997
  "location": {
2820
2998
  "filePath": "schema.main.runtime.ts",
2821
- "line": 56,
2999
+ "line": 61,
2822
3000
  "character": 3
2823
3001
  },
2824
3002
  "raw": "/**\n * get the default parser.\n */",
@@ -2831,7 +3009,7 @@
2831
3009
  "__schema": "TypeRefSchema",
2832
3010
  "location": {
2833
3011
  "filePath": "schema.main.runtime.ts",
2834
- "line": 59,
3012
+ "line": 64,
2835
3013
  "character": 3
2836
3014
  },
2837
3015
  "name": "Parser"
@@ -2842,7 +3020,7 @@
2842
3020
  "__schema": "FunctionLikeSchema",
2843
3021
  "location": {
2844
3022
  "filePath": "schema.main.runtime.ts",
2845
- "line": 63,
3023
+ "line": 68,
2846
3024
  "character": 3
2847
3025
  },
2848
3026
  "signature": "(method) SchemaMain.registerSchemaClass(schema: SchemaNodeConstructor): void",
@@ -2852,7 +3030,7 @@
2852
3030
  "__schema": "ParameterSchema",
2853
3031
  "location": {
2854
3032
  "filePath": "schema.main.runtime.ts",
2855
- "line": 63,
3033
+ "line": 68,
2856
3034
  "character": 23
2857
3035
  },
2858
3036
  "name": "schema",
@@ -2860,7 +3038,7 @@
2860
3038
  "__schema": "TypeRefSchema",
2861
3039
  "location": {
2862
3040
  "filePath": "schema.main.runtime.ts",
2863
- "line": 63,
3041
+ "line": 68,
2864
3042
  "character": 31
2865
3043
  },
2866
3044
  "name": "SchemaNodeConstructor"
@@ -2873,7 +3051,7 @@
2873
3051
  "__schema": "InferenceTypeSchema",
2874
3052
  "location": {
2875
3053
  "filePath": "schema.main.runtime.ts",
2876
- "line": 63,
3054
+ "line": 68,
2877
3055
  "character": 3
2878
3056
  },
2879
3057
  "type": "void"
@@ -2884,14 +3062,14 @@
2884
3062
  "__schema": "FunctionLikeSchema",
2885
3063
  "location": {
2886
3064
  "filePath": "schema.main.runtime.ts",
2887
- "line": 70,
3065
+ "line": 75,
2888
3066
  "character": 3
2889
3067
  },
2890
3068
  "doc": {
2891
3069
  "__schema": "DocSchema",
2892
3070
  "location": {
2893
3071
  "filePath": "schema.main.runtime.ts",
2894
- "line": 67,
3072
+ "line": 72,
2895
3073
  "character": 3
2896
3074
  },
2897
3075
  "raw": "/**\n * parse a module into a component schema.\n */",
@@ -2904,7 +3082,7 @@
2904
3082
  "__schema": "ParameterSchema",
2905
3083
  "location": {
2906
3084
  "filePath": "schema.main.runtime.ts",
2907
- "line": 70,
3085
+ "line": 75,
2908
3086
  "character": 15
2909
3087
  },
2910
3088
  "name": "path",
@@ -2912,7 +3090,7 @@
2912
3090
  "__schema": "KeywordTypeSchema",
2913
3091
  "location": {
2914
3092
  "filePath": "schema.main.runtime.ts",
2915
- "line": 70,
3093
+ "line": 75,
2916
3094
  "character": 21
2917
3095
  },
2918
3096
  "name": "string"
@@ -2924,7 +3102,7 @@
2924
3102
  "__schema": "ParameterSchema",
2925
3103
  "location": {
2926
3104
  "filePath": "schema.main.runtime.ts",
2927
- "line": 70,
3105
+ "line": 75,
2928
3106
  "character": 29
2929
3107
  },
2930
3108
  "name": "content",
@@ -2932,7 +3110,7 @@
2932
3110
  "__schema": "KeywordTypeSchema",
2933
3111
  "location": {
2934
3112
  "filePath": "schema.main.runtime.ts",
2935
- "line": 70,
3113
+ "line": 75,
2936
3114
  "character": 39
2937
3115
  },
2938
3116
  "name": "string"
@@ -2945,14 +3123,14 @@
2945
3123
  "__schema": "TypeArraySchema",
2946
3124
  "location": {
2947
3125
  "filePath": "schema.main.runtime.ts",
2948
- "line": 70,
3126
+ "line": 75,
2949
3127
  "character": 48
2950
3128
  },
2951
3129
  "type": {
2952
3130
  "__schema": "TypeRefSchema",
2953
3131
  "location": {
2954
3132
  "filePath": "schema.main.runtime.ts",
2955
- "line": 70,
3133
+ "line": 75,
2956
3134
  "character": 48
2957
3135
  },
2958
3136
  "name": "Export"
@@ -2964,7 +3142,7 @@
2964
3142
  "__schema": "FunctionLikeSchema",
2965
3143
  "location": {
2966
3144
  "filePath": "schema.main.runtime.ts",
2967
- "line": 85,
3145
+ "line": 90,
2968
3146
  "character": 3
2969
3147
  },
2970
3148
  "signature": "(method) SchemaMain.getSchemaExtractor(component: Component, tsserverPath?: string, contextPath?: string): SchemaExtractor",
@@ -2974,7 +3152,7 @@
2974
3152
  "__schema": "ParameterSchema",
2975
3153
  "location": {
2976
3154
  "filePath": "schema.main.runtime.ts",
2977
- "line": 85,
3155
+ "line": 90,
2978
3156
  "character": 22
2979
3157
  },
2980
3158
  "name": "component",
@@ -2982,7 +3160,7 @@
2982
3160
  "__schema": "TypeRefSchema",
2983
3161
  "location": {
2984
3162
  "filePath": "schema.main.runtime.ts",
2985
- "line": 85,
3163
+ "line": 90,
2986
3164
  "character": 33
2987
3165
  },
2988
3166
  "name": "Component"
@@ -2994,7 +3172,7 @@
2994
3172
  "__schema": "ParameterSchema",
2995
3173
  "location": {
2996
3174
  "filePath": "schema.main.runtime.ts",
2997
- "line": 85,
3175
+ "line": 90,
2998
3176
  "character": 44
2999
3177
  },
3000
3178
  "name": "tsserverPath",
@@ -3002,7 +3180,7 @@
3002
3180
  "__schema": "KeywordTypeSchema",
3003
3181
  "location": {
3004
3182
  "filePath": "schema.main.runtime.ts",
3005
- "line": 85,
3183
+ "line": 90,
3006
3184
  "character": 59
3007
3185
  },
3008
3186
  "name": "string"
@@ -3014,7 +3192,7 @@
3014
3192
  "__schema": "ParameterSchema",
3015
3193
  "location": {
3016
3194
  "filePath": "schema.main.runtime.ts",
3017
- "line": 85,
3195
+ "line": 90,
3018
3196
  "character": 67
3019
3197
  },
3020
3198
  "name": "contextPath",
@@ -3022,7 +3200,7 @@
3022
3200
  "__schema": "KeywordTypeSchema",
3023
3201
  "location": {
3024
3202
  "filePath": "schema.main.runtime.ts",
3025
- "line": 85,
3203
+ "line": 90,
3026
3204
  "character": 81
3027
3205
  },
3028
3206
  "name": "string"
@@ -3035,7 +3213,7 @@
3035
3213
  "__schema": "TypeRefSchema",
3036
3214
  "location": {
3037
3215
  "filePath": "schema.main.runtime.ts",
3038
- "line": 85,
3216
+ "line": 90,
3039
3217
  "character": 3
3040
3218
  },
3041
3219
  "name": "SchemaExtractor"
@@ -3046,14 +3224,14 @@
3046
3224
  "__schema": "FunctionLikeSchema",
3047
3225
  "location": {
3048
3226
  "filePath": "schema.main.runtime.ts",
3049
- "line": 102,
3227
+ "line": 107,
3050
3228
  "character": 3
3051
3229
  },
3052
3230
  "doc": {
3053
3231
  "__schema": "DocSchema",
3054
3232
  "location": {
3055
3233
  "filePath": "schema.main.runtime.ts",
3056
- "line": 94,
3234
+ "line": 99,
3057
3235
  "character": 3
3058
3236
  },
3059
3237
  "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 */",
@@ -3063,7 +3241,7 @@
3063
3241
  "__schema": "PropertyLikeTagSchema",
3064
3242
  "location": {
3065
3243
  "filePath": "schema.main.runtime.ts",
3066
- "line": 96,
3244
+ "line": 101,
3067
3245
  "character": 6
3068
3246
  },
3069
3247
  "name": "component",
@@ -3074,7 +3252,7 @@
3074
3252
  "__schema": "PropertyLikeTagSchema",
3075
3253
  "location": {
3076
3254
  "filePath": "schema.main.runtime.ts",
3077
- "line": 97,
3255
+ "line": 102,
3078
3256
  "character": 6
3079
3257
  },
3080
3258
  "name": "shouldDisposeResourcesOnceDone",
@@ -3090,7 +3268,7 @@
3090
3268
  "__schema": "ParameterSchema",
3091
3269
  "location": {
3092
3270
  "filePath": "schema.main.runtime.ts",
3093
- "line": 103,
3271
+ "line": 108,
3094
3272
  "character": 5
3095
3273
  },
3096
3274
  "name": "component",
@@ -3098,7 +3276,7 @@
3098
3276
  "__schema": "TypeRefSchema",
3099
3277
  "location": {
3100
3278
  "filePath": "schema.main.runtime.ts",
3101
- "line": 103,
3279
+ "line": 108,
3102
3280
  "character": 16
3103
3281
  },
3104
3282
  "name": "Component"
@@ -3110,7 +3288,7 @@
3110
3288
  "__schema": "ParameterSchema",
3111
3289
  "location": {
3112
3290
  "filePath": "schema.main.runtime.ts",
3113
- "line": 104,
3291
+ "line": 109,
3114
3292
  "character": 5
3115
3293
  },
3116
3294
  "name": "shouldDisposeResourcesOnceDone",
@@ -3118,7 +3296,7 @@
3118
3296
  "__schema": "InferenceTypeSchema",
3119
3297
  "location": {
3120
3298
  "filePath": "schema.main.runtime.ts",
3121
- "line": 104,
3299
+ "line": 109,
3122
3300
  "character": 5
3123
3301
  },
3124
3302
  "type": "boolean"
@@ -3131,7 +3309,7 @@
3131
3309
  "__schema": "ParameterSchema",
3132
3310
  "location": {
3133
3311
  "filePath": "schema.main.runtime.ts",
3134
- "line": 105,
3312
+ "line": 110,
3135
3313
  "character": 5
3136
3314
  },
3137
3315
  "name": "alwaysRunExtractor",
@@ -3139,7 +3317,7 @@
3139
3317
  "__schema": "InferenceTypeSchema",
3140
3318
  "location": {
3141
3319
  "filePath": "schema.main.runtime.ts",
3142
- "line": 105,
3320
+ "line": 110,
3143
3321
  "character": 5
3144
3322
  },
3145
3323
  "type": "boolean"
@@ -3152,7 +3330,7 @@
3152
3330
  "__schema": "ParameterSchema",
3153
3331
  "location": {
3154
3332
  "filePath": "schema.main.runtime.ts",
3155
- "line": 106,
3333
+ "line": 111,
3156
3334
  "character": 5
3157
3335
  },
3158
3336
  "name": "tsserverPath",
@@ -3160,7 +3338,7 @@
3160
3338
  "__schema": "KeywordTypeSchema",
3161
3339
  "location": {
3162
3340
  "filePath": "schema.main.runtime.ts",
3163
- "line": 106,
3341
+ "line": 111,
3164
3342
  "character": 20
3165
3343
  },
3166
3344
  "name": "string"
@@ -3172,7 +3350,7 @@
3172
3350
  "__schema": "ParameterSchema",
3173
3351
  "location": {
3174
3352
  "filePath": "schema.main.runtime.ts",
3175
- "line": 107,
3353
+ "line": 112,
3176
3354
  "character": 5
3177
3355
  },
3178
3356
  "name": "contextPath",
@@ -3180,7 +3358,7 @@
3180
3358
  "__schema": "KeywordTypeSchema",
3181
3359
  "location": {
3182
3360
  "filePath": "schema.main.runtime.ts",
3183
- "line": 107,
3361
+ "line": 112,
3184
3362
  "character": 19
3185
3363
  },
3186
3364
  "name": "string"
@@ -3192,7 +3370,7 @@
3192
3370
  "__schema": "ParameterSchema",
3193
3371
  "location": {
3194
3372
  "filePath": "schema.main.runtime.ts",
3195
- "line": 108,
3373
+ "line": 113,
3196
3374
  "character": 5
3197
3375
  },
3198
3376
  "name": "skipInternals",
@@ -3200,7 +3378,7 @@
3200
3378
  "__schema": "KeywordTypeSchema",
3201
3379
  "location": {
3202
3380
  "filePath": "schema.main.runtime.ts",
3203
- "line": 108,
3381
+ "line": 113,
3204
3382
  "character": 21
3205
3383
  },
3206
3384
  "name": "boolean"
@@ -3213,7 +3391,7 @@
3213
3391
  "__schema": "TypeRefSchema",
3214
3392
  "location": {
3215
3393
  "filePath": "schema.main.runtime.ts",
3216
- "line": 109,
3394
+ "line": 114,
3217
3395
  "character": 6
3218
3396
  },
3219
3397
  "name": "Promise",
@@ -3222,7 +3400,7 @@
3222
3400
  "__schema": "TypeRefSchema",
3223
3401
  "location": {
3224
3402
  "filePath": "schema.main.runtime.ts",
3225
- "line": 109,
3403
+ "line": 114,
3226
3404
  "character": 14
3227
3405
  },
3228
3406
  "name": "APISchema"
@@ -3237,7 +3415,7 @@
3237
3415
  "__schema": "FunctionLikeSchema",
3238
3416
  "location": {
3239
3417
  "filePath": "schema.main.runtime.ts",
3240
- "line": 162,
3418
+ "line": 171,
3241
3419
  "character": 3
3242
3420
  },
3243
3421
  "signature": "(method) SchemaMain.getSchemaFromObject(obj: Record<string, any>): APISchema",
@@ -3247,7 +3425,7 @@
3247
3425
  "__schema": "ParameterSchema",
3248
3426
  "location": {
3249
3427
  "filePath": "schema.main.runtime.ts",
3250
- "line": 162,
3428
+ "line": 171,
3251
3429
  "character": 23
3252
3430
  },
3253
3431
  "name": "obj",
@@ -3255,7 +3433,7 @@
3255
3433
  "__schema": "TypeRefSchema",
3256
3434
  "location": {
3257
3435
  "filePath": "schema.main.runtime.ts",
3258
- "line": 162,
3436
+ "line": 171,
3259
3437
  "character": 28
3260
3438
  },
3261
3439
  "name": "Record",
@@ -3264,7 +3442,7 @@
3264
3442
  "__schema": "KeywordTypeSchema",
3265
3443
  "location": {
3266
3444
  "filePath": "schema.main.runtime.ts",
3267
- "line": 162,
3445
+ "line": 171,
3268
3446
  "character": 35
3269
3447
  },
3270
3448
  "name": "string"
@@ -3273,7 +3451,7 @@
3273
3451
  "__schema": "KeywordTypeSchema",
3274
3452
  "location": {
3275
3453
  "filePath": "schema.main.runtime.ts",
3276
- "line": 162,
3454
+ "line": 171,
3277
3455
  "character": 43
3278
3456
  },
3279
3457
  "name": "any"
@@ -3288,7 +3466,7 @@
3288
3466
  "__schema": "TypeRefSchema",
3289
3467
  "location": {
3290
3468
  "filePath": "schema.main.runtime.ts",
3291
- "line": 162,
3469
+ "line": 171,
3292
3470
  "character": 3
3293
3471
  },
3294
3472
  "name": "APISchema",
@@ -3304,14 +3482,14 @@
3304
3482
  "__schema": "FunctionLikeSchema",
3305
3483
  "location": {
3306
3484
  "filePath": "schema.main.runtime.ts",
3307
- "line": 169,
3485
+ "line": 178,
3308
3486
  "character": 3
3309
3487
  },
3310
3488
  "doc": {
3311
3489
  "__schema": "DocSchema",
3312
3490
  "location": {
3313
3491
  "filePath": "schema.main.runtime.ts",
3314
- "line": 166,
3492
+ "line": 175,
3315
3493
  "character": 3
3316
3494
  },
3317
3495
  "raw": "/**\n * register a new parser.\n */",
@@ -3324,7 +3502,7 @@
3324
3502
  "__schema": "ParameterSchema",
3325
3503
  "location": {
3326
3504
  "filePath": "schema.main.runtime.ts",
3327
- "line": 169,
3505
+ "line": 178,
3328
3506
  "character": 18
3329
3507
  },
3330
3508
  "name": "parser",
@@ -3332,7 +3510,7 @@
3332
3510
  "__schema": "TypeRefSchema",
3333
3511
  "location": {
3334
3512
  "filePath": "schema.main.runtime.ts",
3335
- "line": 169,
3513
+ "line": 178,
3336
3514
  "character": 26
3337
3515
  },
3338
3516
  "name": "Parser"
@@ -3345,18 +3523,157 @@
3345
3523
  "__schema": "TypeRefSchema",
3346
3524
  "location": {
3347
3525
  "filePath": "schema.main.runtime.ts",
3348
- "line": 169,
3526
+ "line": 178,
3349
3527
  "character": 3
3350
3528
  },
3351
3529
  "name": "SchemaMain"
3352
3530
  },
3353
3531
  "modifiers": []
3354
3532
  },
3533
+ {
3534
+ "__schema": "FunctionLikeSchema",
3535
+ "location": {
3536
+ "filePath": "schema.main.runtime.ts",
3537
+ "line": 183,
3538
+ "character": 3
3539
+ },
3540
+ "signature": "(method) SchemaMain.calcSchemaData(): Promise<{\n disabled?: boolean;\n}>",
3541
+ "name": "calcSchemaData",
3542
+ "params": [],
3543
+ "returnType": {
3544
+ "__schema": "TypeRefSchema",
3545
+ "location": {
3546
+ "filePath": "schema.main.runtime.ts",
3547
+ "line": 183,
3548
+ "character": 27
3549
+ },
3550
+ "name": "Promise",
3551
+ "typeArgs": [
3552
+ {
3553
+ "__schema": "TypeLiteralSchema",
3554
+ "location": {
3555
+ "filePath": "schema.main.runtime.ts",
3556
+ "line": 183,
3557
+ "character": 35
3558
+ },
3559
+ "members": [
3560
+ {
3561
+ "__schema": "VariableLikeSchema",
3562
+ "location": {
3563
+ "filePath": "schema.main.runtime.ts",
3564
+ "line": 183,
3565
+ "character": 37
3566
+ },
3567
+ "signature": "(property) disabled?: boolean | undefined",
3568
+ "name": "disabled",
3569
+ "type": {
3570
+ "__schema": "KeywordTypeSchema",
3571
+ "location": {
3572
+ "filePath": "schema.main.runtime.ts",
3573
+ "line": 183,
3574
+ "character": 48
3575
+ },
3576
+ "name": "boolean"
3577
+ },
3578
+ "isOptional": true
3579
+ }
3580
+ ]
3581
+ }
3582
+ ]
3583
+ },
3584
+ "modifiers": [
3585
+ "async"
3586
+ ]
3587
+ },
3588
+ {
3589
+ "__schema": "FunctionLikeSchema",
3590
+ "location": {
3591
+ "filePath": "schema.main.runtime.ts",
3592
+ "line": 189,
3593
+ "character": 3
3594
+ },
3595
+ "signature": "(method) SchemaMain.getSchemaData(component: Component): {\n [key: string]: any;\n} | undefined",
3596
+ "name": "getSchemaData",
3597
+ "params": [
3598
+ {
3599
+ "__schema": "ParameterSchema",
3600
+ "location": {
3601
+ "filePath": "schema.main.runtime.ts",
3602
+ "line": 189,
3603
+ "character": 17
3604
+ },
3605
+ "name": "component",
3606
+ "type": {
3607
+ "__schema": "TypeRefSchema",
3608
+ "location": {
3609
+ "filePath": "schema.main.runtime.ts",
3610
+ "line": 189,
3611
+ "character": 28
3612
+ },
3613
+ "name": "Component"
3614
+ },
3615
+ "isOptional": false,
3616
+ "isSpread": false
3617
+ }
3618
+ ],
3619
+ "returnType": {
3620
+ "__schema": "InferenceTypeSchema",
3621
+ "location": {
3622
+ "filePath": "schema.main.runtime.ts",
3623
+ "line": 189,
3624
+ "character": 3
3625
+ },
3626
+ "type": "{\n [key: string]: any;\n} | undefined"
3627
+ },
3628
+ "modifiers": []
3629
+ },
3630
+ {
3631
+ "__schema": "FunctionLikeSchema",
3632
+ "location": {
3633
+ "filePath": "schema.main.runtime.ts",
3634
+ "line": 193,
3635
+ "character": 3
3636
+ },
3637
+ "signature": "(method) SchemaMain.isSchemaTaskDisabled(component: Component): any",
3638
+ "name": "isSchemaTaskDisabled",
3639
+ "params": [
3640
+ {
3641
+ "__schema": "ParameterSchema",
3642
+ "location": {
3643
+ "filePath": "schema.main.runtime.ts",
3644
+ "line": 193,
3645
+ "character": 24
3646
+ },
3647
+ "name": "component",
3648
+ "type": {
3649
+ "__schema": "TypeRefSchema",
3650
+ "location": {
3651
+ "filePath": "schema.main.runtime.ts",
3652
+ "line": 193,
3653
+ "character": 35
3654
+ },
3655
+ "name": "Component"
3656
+ },
3657
+ "isOptional": false,
3658
+ "isSpread": false
3659
+ }
3660
+ ],
3661
+ "returnType": {
3662
+ "__schema": "InferenceTypeSchema",
3663
+ "location": {
3664
+ "filePath": "schema.main.runtime.ts",
3665
+ "line": 193,
3666
+ "character": 3
3667
+ },
3668
+ "type": "any"
3669
+ },
3670
+ "modifiers": []
3671
+ },
3355
3672
  {
3356
3673
  "__schema": "VariableLikeSchema",
3357
3674
  "location": {
3358
3675
  "filePath": "schema.main.runtime.ts",
3359
- "line": 174,
3676
+ "line": 197,
3360
3677
  "character": 3
3361
3678
  },
3362
3679
  "signature": "(property) SchemaMain.runtime: RuntimeDefinition",
@@ -3365,7 +3682,7 @@
3365
3682
  "__schema": "InferenceTypeSchema",
3366
3683
  "location": {
3367
3684
  "filePath": "schema.main.runtime.ts",
3368
- "line": 174,
3685
+ "line": 197,
3369
3686
  "character": 3
3370
3687
  },
3371
3688
  "type": "RuntimeDefinition"
@@ -3377,7 +3694,7 @@
3377
3694
  "__schema": "VariableLikeSchema",
3378
3695
  "location": {
3379
3696
  "filePath": "schema.main.runtime.ts",
3380
- "line": 175,
3697
+ "line": 198,
3381
3698
  "character": 3
3382
3699
  },
3383
3700
  "signature": "(property) SchemaMain.dependencies: Aspect[]",
@@ -3386,19 +3703,19 @@
3386
3703
  "__schema": "InferenceTypeSchema",
3387
3704
  "location": {
3388
3705
  "filePath": "schema.main.runtime.ts",
3389
- "line": 175,
3706
+ "line": 198,
3390
3707
  "character": 3
3391
3708
  },
3392
3709
  "type": "Aspect[]"
3393
3710
  },
3394
3711
  "isOptional": true,
3395
- "defaultValue": "[\n EnvsAspect,\n CLIAspect,\n ComponentAspect,\n GraphqlAspect,\n LoggerAspect,\n BuilderAspect,\n WorkspaceAspect,\n ]"
3712
+ "defaultValue": "[\n EnvsAspect,\n CLIAspect,\n ComponentAspect,\n GraphqlAspect,\n LoggerAspect,\n BuilderAspect,\n WorkspaceAspect,\n ScopeAspect,\n ]"
3396
3713
  },
3397
3714
  {
3398
3715
  "__schema": "VariableLikeSchema",
3399
3716
  "location": {
3400
3717
  "filePath": "schema.main.runtime.ts",
3401
- "line": 184,
3718
+ "line": 208,
3402
3719
  "character": 3
3403
3720
  },
3404
3721
  "signature": "(property) SchemaMain.slots: ((registerFn: () => string) => SlotRegistry<Parser>)[]",
@@ -3407,7 +3724,7 @@
3407
3724
  "__schema": "InferenceTypeSchema",
3408
3725
  "location": {
3409
3726
  "filePath": "schema.main.runtime.ts",
3410
- "line": 184,
3727
+ "line": 208,
3411
3728
  "character": 3
3412
3729
  },
3413
3730
  "type": "((registerFn: () => string) => SlotRegistry<Parser>)[]"
@@ -3419,54 +3736,54 @@
3419
3736
  "__schema": "VariableLikeSchema",
3420
3737
  "location": {
3421
3738
  "filePath": "schema.main.runtime.ts",
3422
- "line": 186,
3739
+ "line": 210,
3423
3740
  "character": 3
3424
3741
  },
3425
- "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n}",
3742
+ "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n disabled: boolean;\n}",
3426
3743
  "name": "defaultConfig",
3427
3744
  "type": {
3428
3745
  "__schema": "InferenceTypeSchema",
3429
3746
  "location": {
3430
3747
  "filePath": "schema.main.runtime.ts",
3431
- "line": 186,
3748
+ "line": 210,
3432
3749
  "character": 3
3433
3750
  },
3434
- "type": "{\n defaultParser: string;\n}"
3751
+ "type": "{\n defaultParser: string;\n disabled: boolean;\n}"
3435
3752
  },
3436
3753
  "isOptional": true,
3437
- "defaultValue": "{\n defaultParser: 'teambit.typescript/typescript',\n }"
3754
+ "defaultValue": "{\n defaultParser: 'teambit.typescript/typescript',\n disabled: false,\n }"
3438
3755
  },
3439
3756
  {
3440
3757
  "__schema": "FunctionLikeSchema",
3441
3758
  "location": {
3442
3759
  "filePath": "schema.main.runtime.ts",
3443
- "line": 190,
3760
+ "line": 215,
3444
3761
  "character": 3
3445
3762
  },
3446
- "signature": "(method) SchemaMain.provider([envs, cli, component, graphql, loggerMain, builder, workspace]: [\n EnvsMain,\n CLIMain,\n ComponentMain,\n GraphqlMain,\n LoggerMain,\n BuilderMain,\n Workspace\n], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>",
3763
+ "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>",
3447
3764
  "name": "provider",
3448
3765
  "params": [
3449
3766
  {
3450
3767
  "__schema": "ParameterSchema",
3451
3768
  "location": {
3452
3769
  "filePath": "schema.main.runtime.ts",
3453
- "line": 191,
3770
+ "line": 216,
3454
3771
  "character": 5
3455
3772
  },
3456
- "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace ]",
3773
+ "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace, scope ]",
3457
3774
  "type": {
3458
3775
  "__schema": "TupleTypeSchema",
3459
3776
  "location": {
3460
3777
  "filePath": "schema.main.runtime.ts",
3461
- "line": 191,
3462
- "character": 70
3778
+ "line": 216,
3779
+ "character": 77
3463
3780
  },
3464
3781
  "elements": [
3465
3782
  {
3466
3783
  "__schema": "TypeRefSchema",
3467
3784
  "location": {
3468
3785
  "filePath": "schema.main.runtime.ts",
3469
- "line": 192,
3786
+ "line": 217,
3470
3787
  "character": 7
3471
3788
  },
3472
3789
  "name": "EnvsMain"
@@ -3475,7 +3792,7 @@
3475
3792
  "__schema": "TypeRefSchema",
3476
3793
  "location": {
3477
3794
  "filePath": "schema.main.runtime.ts",
3478
- "line": 193,
3795
+ "line": 218,
3479
3796
  "character": 7
3480
3797
  },
3481
3798
  "name": "CLIMain"
@@ -3484,7 +3801,7 @@
3484
3801
  "__schema": "TypeRefSchema",
3485
3802
  "location": {
3486
3803
  "filePath": "schema.main.runtime.ts",
3487
- "line": 194,
3804
+ "line": 219,
3488
3805
  "character": 7
3489
3806
  },
3490
3807
  "name": "ComponentMain"
@@ -3493,7 +3810,7 @@
3493
3810
  "__schema": "TypeRefSchema",
3494
3811
  "location": {
3495
3812
  "filePath": "schema.main.runtime.ts",
3496
- "line": 195,
3813
+ "line": 220,
3497
3814
  "character": 7
3498
3815
  },
3499
3816
  "name": "GraphqlMain"
@@ -3502,7 +3819,7 @@
3502
3819
  "__schema": "TypeRefSchema",
3503
3820
  "location": {
3504
3821
  "filePath": "schema.main.runtime.ts",
3505
- "line": 196,
3822
+ "line": 221,
3506
3823
  "character": 7
3507
3824
  },
3508
3825
  "name": "LoggerMain"
@@ -3511,7 +3828,7 @@
3511
3828
  "__schema": "TypeRefSchema",
3512
3829
  "location": {
3513
3830
  "filePath": "schema.main.runtime.ts",
3514
- "line": 197,
3831
+ "line": 222,
3515
3832
  "character": 7
3516
3833
  },
3517
3834
  "name": "BuilderMain"
@@ -3520,10 +3837,19 @@
3520
3837
  "__schema": "TypeRefSchema",
3521
3838
  "location": {
3522
3839
  "filePath": "schema.main.runtime.ts",
3523
- "line": 198,
3840
+ "line": 223,
3524
3841
  "character": 7
3525
3842
  },
3526
3843
  "name": "Workspace"
3844
+ },
3845
+ {
3846
+ "__schema": "TypeRefSchema",
3847
+ "location": {
3848
+ "filePath": "schema.main.runtime.ts",
3849
+ "line": 224,
3850
+ "character": 7
3851
+ },
3852
+ "name": "ScopeMain"
3527
3853
  }
3528
3854
  ]
3529
3855
  },
@@ -3534,7 +3860,7 @@
3534
3860
  "__schema": "ParameterSchema",
3535
3861
  "location": {
3536
3862
  "filePath": "schema.main.runtime.ts",
3537
- "line": 200,
3863
+ "line": 226,
3538
3864
  "character": 5
3539
3865
  },
3540
3866
  "name": "config",
@@ -3542,7 +3868,7 @@
3542
3868
  "__schema": "TypeRefSchema",
3543
3869
  "location": {
3544
3870
  "filePath": "schema.main.runtime.ts",
3545
- "line": 200,
3871
+ "line": 226,
3546
3872
  "character": 13
3547
3873
  },
3548
3874
  "name": "SchemaConfig"
@@ -3554,7 +3880,7 @@
3554
3880
  "__schema": "ParameterSchema",
3555
3881
  "location": {
3556
3882
  "filePath": "schema.main.runtime.ts",
3557
- "line": 201,
3883
+ "line": 227,
3558
3884
  "character": 5
3559
3885
  },
3560
3886
  "name": "[ parserSlot ]",
@@ -3562,7 +3888,7 @@
3562
3888
  "__schema": "TupleTypeSchema",
3563
3889
  "location": {
3564
3890
  "filePath": "schema.main.runtime.ts",
3565
- "line": 201,
3891
+ "line": 227,
3566
3892
  "character": 19
3567
3893
  },
3568
3894
  "elements": [
@@ -3570,7 +3896,7 @@
3570
3896
  "__schema": "TypeRefSchema",
3571
3897
  "location": {
3572
3898
  "filePath": "schema.main.runtime.ts",
3573
- "line": 201,
3899
+ "line": 227,
3574
3900
  "character": 20
3575
3901
  },
3576
3902
  "name": "ParserSlot"
@@ -3585,7 +3911,7 @@
3585
3911
  "__schema": "InferenceTypeSchema",
3586
3912
  "location": {
3587
3913
  "filePath": "schema.main.runtime.ts",
3588
- "line": 190,
3914
+ "line": 215,
3589
3915
  "character": 3
3590
3916
  },
3591
3917
  "type": "Promise<SchemaMain>"
@@ -3603,7 +3929,7 @@
3603
3929
  "__schema": "UnImplementedSchema",
3604
3930
  "location": {
3605
3931
  "filePath": "schema.main.runtime.ts",
3606
- "line": 222,
3932
+ "line": 253,
3607
3933
  "character": 16
3608
3934
  },
3609
3935
  "name": "SchemaMain",
@@ -3615,7 +3941,7 @@
3615
3941
  "__schema": "UnImplementedSchema",
3616
3942
  "location": {
3617
3943
  "filePath": "schema.main.runtime.ts",
3618
- "line": 220,
3944
+ "line": 251,
3619
3945
  "character": 1
3620
3946
  },
3621
3947
  "name": "SchemaAspect.addRuntime(SchemaMain);",
@@ -3664,7 +3990,7 @@
3664
3990
  "componentId": {
3665
3991
  "scope": "teambit.semantics",
3666
3992
  "name": "schema",
3667
- "version": "1.0.160"
3993
+ "version": "1.0.162"
3668
3994
  },
3669
3995
  "taggedModuleExports": []
3670
3996
  }