@proteinjs/reflection-build 1.5.0 → 2.0.1
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.
- package/CHANGELOG.md +40 -0
- package/dist/modules/typescript-parser/declarations/ClassDeclaration.d.ts +1 -0
- package/dist/modules/typescript-parser/declarations/ClassDeclaration.js +1 -0
- package/dist/modules/typescript-parser/node-parser/class-parser.js +6 -0
- package/dist/src/BuildContract.d.ts +69 -0
- package/dist/src/BuildContract.js +393 -0
- package/dist/src/BuildContract.js.map +1 -0
- package/dist/src/ReflectionDoctor.d.ts +95 -0
- package/dist/src/ReflectionDoctor.js +588 -0
- package/dist/src/ReflectionDoctor.js.map +1 -0
- package/dist/src/build.d.ts +5 -1
- package/dist/src/build.js +13 -77
- package/dist/src/build.js.map +1 -1
- package/dist/src/codegen/writeGeneratedIndex.d.ts +18 -0
- package/dist/src/codegen/writeGeneratedIndex.js +58 -15
- package/dist/src/codegen/writeGeneratedIndex.js.map +1 -1
- package/dist/src/parser/createGraphBuilder.js +30 -5
- package/dist/src/parser/createGraphBuilder.js.map +1 -1
- package/dist/src/parser/types/createClassDeclaration.js +1 -4
- package/dist/src/parser/types/createClassDeclaration.js.map +1 -1
- package/dist/src/runBuild.js +12 -2
- package/dist/src/runBuild.js.map +1 -1
- package/dist/src/runDoctor.d.ts +2 -0
- package/dist/src/runDoctor.js +83 -0
- package/dist/src/runDoctor.js.map +1 -0
- package/dist/test/AbstractClassDeclaration.test.d.ts +1 -0
- package/dist/test/AbstractClassDeclaration.test.js +121 -0
- package/dist/test/AbstractClassDeclaration.test.js.map +1 -0
- package/dist/test/GraphEmitRelativePaths.test.d.ts +1 -0
- package/dist/test/GraphEmitRelativePaths.test.js +162 -0
- package/dist/test/GraphEmitRelativePaths.test.js.map +1 -0
- package/dist/test/ReflectionDoctor.test.d.ts +1 -0
- package/dist/test/ReflectionDoctor.test.js +316 -0
- package/dist/test/ReflectionDoctor.test.js.map +1 -0
- package/dist/test/TestSubpathContract.test.d.ts +1 -0
- package/dist/test/TestSubpathContract.test.js +260 -0
- package/dist/test/TestSubpathContract.test.js.map +1 -0
- package/dist/test/ValidateDontMutate.test.d.ts +1 -0
- package/dist/test/ValidateDontMutate.test.js +238 -0
- package/dist/test/ValidateDontMutate.test.js.map +1 -0
- package/dist/test/examples/source-repository/a/generated/index.js +1 -1
- package/dist/test/examples/source-repository/a/generated/index.js.map +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js.map +1 -1
- package/modules/typescript-parser/declarations/ClassDeclaration.d.ts +1 -0
- package/modules/typescript-parser/declarations/ClassDeclaration.js +1 -0
- package/modules/typescript-parser/node-parser/class-parser.js +6 -0
- package/package.json +6 -5
- package/src/BuildContract.ts +384 -0
- package/src/ReflectionDoctor.ts +589 -0
- package/src/build.ts +19 -56
- package/src/codegen/writeGeneratedIndex.ts +51 -13
- package/src/parser/createGraphBuilder.ts +9 -4
- package/src/parser/types/createClassDeclaration.ts +5 -5
- package/src/runBuild.ts +7 -1
- package/src/runDoctor.ts +34 -0
- package/test/AbstractClassDeclaration.test.ts +97 -0
- package/test/GraphEmitRelativePaths.test.ts +95 -0
- package/test/ReflectionDoctor.test.ts +193 -0
- package/test/TestSubpathContract.test.ts +148 -0
- package/test/ValidateDontMutate.test.ts +126 -0
- package/test/examples/source-repository/a/dist/BuildContract.d.ts +69 -0
- package/test/examples/source-repository/a/dist/BuildContract.js +393 -0
- package/test/examples/source-repository/a/dist/BuildContract.js.map +1 -0
- package/test/examples/source-repository/a/dist/build.d.ts +5 -1
- package/test/examples/source-repository/a/dist/build.js +13 -77
- package/test/examples/source-repository/a/dist/build.js.map +1 -1
- package/test/examples/source-repository/a/dist/codegen/writeGeneratedIndex.d.ts +18 -0
- package/test/examples/source-repository/a/dist/codegen/writeGeneratedIndex.js +58 -15
- package/test/examples/source-repository/a/dist/codegen/writeGeneratedIndex.js.map +1 -1
- package/test/examples/source-repository/a/dist/generated/index.js +1 -1
- package/test/examples/source-repository/a/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/a/dist/parser/createGraphBuilder.js +30 -5
- package/test/examples/source-repository/a/dist/parser/createGraphBuilder.js.map +1 -1
- package/test/examples/source-repository/a/dist/parser/types/createClassDeclaration.js +1 -4
- package/test/examples/source-repository/a/dist/parser/types/createClassDeclaration.js.map +1 -1
- package/test/examples/source-repository/a/dist/runBuild.js +12 -2
- package/test/examples/source-repository/a/dist/runBuild.js.map +1 -1
- package/test/examples/source-repository/a/generated/index.ts +1 -1
- package/test/examples/source-repository/b/dist/BuildContract.d.ts +69 -0
- package/test/examples/source-repository/b/dist/BuildContract.js +393 -0
- package/test/examples/source-repository/b/dist/BuildContract.js.map +1 -0
- package/test/examples/source-repository/b/dist/build.d.ts +5 -1
- package/test/examples/source-repository/b/dist/build.js +13 -77
- package/test/examples/source-repository/b/dist/build.js.map +1 -1
- package/test/examples/source-repository/b/dist/codegen/writeGeneratedIndex.d.ts +18 -0
- package/test/examples/source-repository/b/dist/codegen/writeGeneratedIndex.js +58 -15
- package/test/examples/source-repository/b/dist/codegen/writeGeneratedIndex.js.map +1 -1
- package/test/examples/source-repository/b/dist/generated/index.js +1 -1
- package/test/examples/source-repository/b/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/b/dist/parser/createGraphBuilder.js +30 -5
- package/test/examples/source-repository/b/dist/parser/createGraphBuilder.js.map +1 -1
- package/test/examples/source-repository/b/dist/parser/types/createClassDeclaration.js +1 -4
- package/test/examples/source-repository/b/dist/parser/types/createClassDeclaration.js.map +1 -1
- package/test/examples/source-repository/b/dist/runBuild.js +12 -2
- package/test/examples/source-repository/b/dist/runBuild.js.map +1 -1
- package/test/examples/source-repository/b/generated/index.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createGraphBuilder.js","sourceRoot":"","sources":["../../../../../../src/parser/createGraphBuilder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createGraphBuilder.js","sourceRoot":"","sources":["../../../../../../src/parser/createGraphBuilder.ts"],"names":[],"mappings":"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"}
|
|
@@ -46,14 +46,11 @@ function createClassDeclaration(parserClassDeclaration, packageNameFinder, fileP
|
|
|
46
46
|
return __generator(this, function (_5) {
|
|
47
47
|
switch (_5.label) {
|
|
48
48
|
case 0:
|
|
49
|
-
isAbstract =
|
|
49
|
+
isAbstract = parserClassDeclaration.isAbstract;
|
|
50
50
|
isStatic = false;
|
|
51
51
|
visibility = 'public';
|
|
52
52
|
for (_i = 0, _a = parserClassDeclaration.accessors; _i < _a.length; _i++) {
|
|
53
53
|
accessor = _a[_i];
|
|
54
|
-
if (accessor.isAbstract) {
|
|
55
|
-
isAbstract = true;
|
|
56
|
-
}
|
|
57
54
|
if (accessor.isStatic) {
|
|
58
55
|
isStatic = true;
|
|
59
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createClassDeclaration.js","sourceRoot":"","sources":["../../../../../../../src/parser/types/createClassDeclaration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA6G;AAE7G,mDAAkD;AAClD,+CAA8C;AAE9C,SAAsB,sBAAsB,CAC1C,sBAA8C,EAC9C,iBAAoC,EACpC,QAAgB;;;;;;
|
|
1
|
+
{"version":3,"file":"createClassDeclaration.js","sourceRoot":"","sources":["../../../../../../../src/parser/types/createClassDeclaration.ts"],"names":[],"mappings":"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"}
|
|
@@ -40,12 +40,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
var build_1 = require("./build");
|
|
41
41
|
(function () {
|
|
42
42
|
return __awaiter(this, void 0, void 0, function () {
|
|
43
|
+
var error_1;
|
|
43
44
|
return __generator(this, function (_a) {
|
|
44
45
|
switch (_a.label) {
|
|
45
|
-
case 0:
|
|
46
|
+
case 0:
|
|
47
|
+
_a.trys.push([0, 2, , 3]);
|
|
48
|
+
return [4 /*yield*/, (0, build_1.build)({ fix: process.argv.includes('--fix') })];
|
|
46
49
|
case 1:
|
|
47
50
|
_a.sent();
|
|
48
|
-
return [
|
|
51
|
+
return [3 /*break*/, 3];
|
|
52
|
+
case 2:
|
|
53
|
+
error_1 = _a.sent();
|
|
54
|
+
// Contract conflicts are a diagnosis for humans — print the message, not a stack trace.
|
|
55
|
+
console.error(error_1 instanceof Error ? error_1.message : error_1);
|
|
56
|
+
process.exit(1);
|
|
57
|
+
return [3 /*break*/, 3];
|
|
58
|
+
case 3: return [2 /*return*/];
|
|
49
59
|
}
|
|
50
60
|
});
|
|
51
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runBuild.js","sourceRoot":"","sources":["../../../../../src/runBuild.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,iCAAgC;AAEhC,CAAC
|
|
1
|
+
{"version":3,"file":"runBuild.js","sourceRoot":"","sources":["../../../../../src/runBuild.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,iCAAgC;AAEhC,CAAC;;;;;;;oBAEG,qBAAM,IAAA,aAAK,EAAC,EAAE,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,EAAA;;oBAApD,SAAoD,CAAC;;;;oBAErD,wFAAwF;oBACxF,OAAO,CAAC,KAAK,CAAC,OAAK,YAAY,KAAK,CAAC,CAAC,CAAC,OAAK,CAAC,OAAO,CAAC,CAAC,CAAC,OAAK,CAAC,CAAC;oBAC9D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;;;;;;CAEnB,CAAC,EAAE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import '@proteinjs/reflection-build-test-b';
|
|
|
5
5
|
/** Generate Source Graph */
|
|
6
6
|
|
|
7
7
|
const sourceGraph =
|
|
8
|
-
'{"options":{"directed":true,"multigraph":false,"compound":false},"nodes":[{"v":"@proteinjs/reflection-build-test-a/implementsLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsLoadableForeignType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-b/LoadableForeignType"},{"v":"@proteinjs/reflection-build-test-a/implementsNotLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsNotLoadableForeignType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsNotLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-b/NotLoadableForeignType"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignType","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection-build-test-a","name":"{ y: string }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ y: string }","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsExtendsLoadableForeignType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsExtendsLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection-build-test-a","name":"{ y: string }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ y: string }","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsNotLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsExtendsNotLoadableForeignType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsExtendsNotLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLoadableForeignInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/LoadableForeignInterface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsNotLoadableForeignInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLoadableForeignAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsNotLoadableForeignAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLoadableForeignInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalNotLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLocalNotLoadableInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalNotLoadableInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalNotLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalNotLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLoadableForeignAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"y","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsNotLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsNotLoadableForeignAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsNotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"y","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsLocalLoadableType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsLocalLoadableType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"{ a: string }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ a: string }","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableTypeWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsLocalLoadableTypeWithArgs","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsLocalLoadableTypeWithArgs","type":{"packageName":"","name":"LocalLoadableTypeWithArgs<LocalLoadableType>","filePath":null,"qualifiedName":"/LocalLoadableTypeWithArgs<LocalLoadableType>","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableTypeWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableType"],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableTypeWithArgs","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","typeParameters":["/T"],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"{ a: number }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ a: number }","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection-build-test-a","name":"{ b: number }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ b: number }","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsExtendsLocalLoadableType","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsExtendsLocalLoadableType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterfaceWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableInterfaceWithArgs","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterfaceWithArgs","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterfaceWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","properties":[],"methods":[],"typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableInterface"],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterfaceWithArgs","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":["/T"],"directParents":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterfaceWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableInterfaceWithArgs","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterfaceWithArgs","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterfaceWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","properties":[],"methods":[],"typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableInterface"],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClassWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableAbstractClassWithArgs","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClassWithArgs","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClassWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableInterface"],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClassWithArgs","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":["/T"],"directParentInterfaces":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLocalLoadableInterface","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLocalLoadableAbstractClass","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection/Loadable"},{"v":"@proteinjs/reflection-build-test-a/TypeFilter","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"TypeFilter","filePath":"/home/runner/work/reflection/reflection/packages/reflection-build/test/examples/source-repository/a/src/TypeFilter.ts","qualifiedName":"@proteinjs/reflection-build-test-a/TypeFilter","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"blocklist","type":{"packageName":"","name":"string[]","filePath":null,"qualifiedName":"/string[]","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"private"}],"methods":[{"name":"filterObject","returnType":{"packageName":"","name":"boolean","filePath":null,"qualifiedName":"/boolean","typeParameters":null,"directParents":null},"isAsync":false,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public","parameters":[{"name":"qualifiedName","type":{"packageName":"","name":"string","filePath":null,"qualifiedName":"/string","typeParameters":null,"directParents":null}}]}],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection","name":"SourceRepositoryFilter","filePath":null,"qualifiedName":"@proteinjs/reflection/SourceRepositoryFilter","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection/SourceRepositoryFilter"}],"edges":[{"v":"@proteinjs/reflection-build-test-a/implementsLoadableForeignType","w":"@proteinjs/reflection-build-test-b/LoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/implementsNotLoadableForeignType","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","w":"@proteinjs/reflection-build-test-b/LoadableForeignType","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLoadableForeignType","w":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsNotLoadableForeignType","w":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignInterface","w":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalNotLoadableInterface","w":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsNotLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableType","w":"@proteinjs/reflection-build-test-a/LocalLoadableType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableTypeWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","w":"@proteinjs/reflection-build-test-a/LocalLoadableType","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLocalLoadableType","w":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterface","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterfaceWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterfaceWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClass","w":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClassWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableInterface","w":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","w":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableAbstractClass","w":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableType","w":"@proteinjs/reflection/Loadable","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","w":"@proteinjs/reflection/Loadable","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","w":"@proteinjs/reflection/Loadable","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","w":"@proteinjs/reflection/Loadable","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","w":"@proteinjs/reflection/Loadable","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","w":"@proteinjs/reflection/Loadable","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/TypeFilter","w":"@proteinjs/reflection/SourceRepositoryFilter","value":"implements interface"}]}';
|
|
8
|
+
'{"options":{"directed":true,"multigraph":false,"compound":false},"nodes":[{"v":"@proteinjs/reflection-build-test-a/implementsLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsLoadableForeignType","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-b/LoadableForeignType"},{"v":"@proteinjs/reflection-build-test-a/implementsNotLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsNotLoadableForeignType","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsNotLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-b/NotLoadableForeignType"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignType","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignType","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection-build-test-a","name":"{ y: string }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ y: string }","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsExtendsLoadableForeignType","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsExtendsLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignType","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection-build-test-a","name":"{ y: string }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ y: string }","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsNotLoadableForeignType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsExtendsNotLoadableForeignType","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsExtendsNotLoadableForeignType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLoadableForeignInterface","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/LoadableForeignInterface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsNotLoadableForeignInterface","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLoadableForeignAbstractClass","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsNotLoadableForeignAbstractClass","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignInterface","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLoadableForeignInterface","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignInterface","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalNotLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLocalNotLoadableInterface","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalNotLoadableInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalNotLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalNotLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignAbstractClass","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","isAbstract":true,"isStatic":false,"visibility":"public","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"LoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLoadableForeignAbstractClass","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignAbstractClass","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","isAbstract":true,"isStatic":false,"visibility":"public","properties":[{"name":"y","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-b","name":"NotLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsNotLoadableForeignAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsNotLoadableForeignAbstractClass","filePath":"src/ExtendsForeignType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsNotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"y","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"z","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsNotLoadableForeignAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsLocalLoadableType","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsLocalLoadableType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":"src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"{ a: string }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ a: string }","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableTypeWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsLocalLoadableTypeWithArgs","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsLocalLoadableTypeWithArgs","type":{"packageName":"","name":"LocalLoadableTypeWithArgs<LocalLoadableType>","filePath":null,"qualifiedName":"/LocalLoadableTypeWithArgs<LocalLoadableType>","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableTypeWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableType"],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableTypeWithArgs","filePath":"src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","typeParameters":["/T"],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"{ a: number }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ a: number }","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableType","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableType","typeParameters":[],"directParents":null},{"packageName":"@proteinjs/reflection-build-test-a","name":"{ b: number }","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/{ b: number }","typeParameters":[],"directParents":null}],"sourceType":1}},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLocalLoadableType","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"implementsExtendsLocalLoadableType","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/implementsExtendsLocalLoadableType","type":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableType","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","typeParameters":[],"directParents":null}]},"isExported":true,"isConst":true,"sourceType":0}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableInterface","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterface","filePath":"src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterfaceWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableInterfaceWithArgs","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterfaceWithArgs","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterfaceWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","properties":[],"methods":[],"typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableInterface"],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterfaceWithArgs","filePath":"src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":["/T"],"directParents":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterfaceWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableInterfaceWithArgs","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterfaceWithArgs","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterfaceWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","properties":[],"methods":[],"typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableInterface"],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableAbstractClass","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClass","filePath":"src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","isAbstract":true,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClassWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsLocalLoadableAbstractClassWithArgs","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClassWithArgs","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClassWithArgs","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":["@proteinjs/reflection-build-test-a/LocalLoadableInterface"],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClassWithArgs","filePath":"src/LocalLoadableType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","isAbstract":true,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":["/T"],"directParentInterfaces":[{"packageName":"@proteinjs/reflection","name":"Loadable","filePath":null,"qualifiedName":"@proteinjs/reflection/Loadable","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableInterface","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParents":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"sourceType":3}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableInterface","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLocalLoadableInterface","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableInterface","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableInterface","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableAbstractClass","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","isAbstract":true,"isStatic":false,"visibility":"public","properties":[{"name":"b","type":{"packageName":"","name":"number","filePath":null,"qualifiedName":"/number","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"LocalLoadableAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableAbstractClass","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"ImplementsExtendsLocalLoadableAbstractClass","filePath":"src/ExtendsLocalType.ts","qualifiedName":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"a","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"},{"name":"b","type":null,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public"}],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[{"packageName":"@proteinjs/reflection-build-test-a","name":"ExtendsLocalLoadableAbstractClass","filePath":null,"qualifiedName":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","isAbstract":false,"isStatic":false,"visibility":"public","properties":[],"methods":[],"typeParameters":[],"directParentInterfaces":[],"directParentClasses":[]}],"sourceType":2}},{"v":"@proteinjs/reflection/Loadable"},{"v":"@proteinjs/reflection-build-test-a/TypeFilter","value":{"packageName":"@proteinjs/reflection-build-test-a","name":"TypeFilter","filePath":"src/TypeFilter.ts","qualifiedName":"@proteinjs/reflection-build-test-a/TypeFilter","isAbstract":false,"isStatic":false,"visibility":"public","properties":[{"name":"blocklist","type":{"packageName":"","name":"string[]","filePath":null,"qualifiedName":"/string[]","typeParameters":null,"directParents":null},"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"private"}],"methods":[{"name":"filterObject","returnType":{"packageName":"","name":"boolean","filePath":null,"qualifiedName":"/boolean","typeParameters":null,"directParents":null},"isAsync":false,"isOptional":false,"isAbstract":false,"isStatic":false,"visibility":"public","parameters":[{"name":"qualifiedName","type":{"packageName":"","name":"string","filePath":null,"qualifiedName":"/string","typeParameters":null,"directParents":null}}]}],"typeParameters":[],"directParentInterfaces":[{"packageName":"@proteinjs/reflection","name":"SourceRepositoryFilter","filePath":null,"qualifiedName":"@proteinjs/reflection/SourceRepositoryFilter","properties":[],"methods":[],"typeParameters":[],"directParents":[]}],"directParentClasses":[],"sourceType":2}},{"v":"@proteinjs/reflection/SourceRepositoryFilter"}],"edges":[{"v":"@proteinjs/reflection-build-test-a/implementsLoadableForeignType","w":"@proteinjs/reflection-build-test-b/LoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/implementsNotLoadableForeignType","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","w":"@proteinjs/reflection-build-test-b/LoadableForeignType","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLoadableForeignType","w":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignType","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsNotLoadableForeignType","w":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsNotLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/LoadableForeignInterface","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignInterface","w":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignInterface","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalNotLoadableInterface","w":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/LoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-a/ExtendsLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-b/NotLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsNotLoadableForeignAbstractClass","w":"@proteinjs/reflection-build-test-a/ExtendsNotLoadableForeignAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableType","w":"@proteinjs/reflection-build-test-a/LocalLoadableType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/implementsLocalLoadableTypeWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","w":"@proteinjs/reflection-build-test-a/LocalLoadableType","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/implementsExtendsLocalLoadableType","w":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableType","value":"has type"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterface","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableInterfaceWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterfaceWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClass","w":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsLocalLoadableAbstractClassWithArgs","w":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","w":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableInterface","w":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableInterface","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","w":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/ImplementsExtendsLocalLoadableAbstractClass","w":"@proteinjs/reflection-build-test-a/ExtendsLocalLoadableAbstractClass","value":"extends class"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableType","w":"@proteinjs/reflection/Loadable","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableTypeWithArgs","w":"@proteinjs/reflection/Loadable","value":"extends type"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterface","w":"@proteinjs/reflection/Loadable","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableInterfaceWithArgs","w":"@proteinjs/reflection/Loadable","value":"extends interface"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClass","w":"@proteinjs/reflection/Loadable","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/LocalLoadableAbstractClassWithArgs","w":"@proteinjs/reflection/Loadable","value":"implements interface"},{"v":"@proteinjs/reflection-build-test-a/TypeFilter","w":"@proteinjs/reflection/SourceRepositoryFilter","value":"implements interface"}]}';
|
|
9
9
|
|
|
10
10
|
/** Generate Source Links */
|
|
11
11
|
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export interface BuildContractOptions {
|
|
2
|
+
/** Root of the package being built (contains package.json) */
|
|
3
|
+
packageDir: string;
|
|
4
|
+
/** First REFLECTION_SOURCE_DIRS entry; 'src' for prod builds */
|
|
5
|
+
primaryRoot: string;
|
|
6
|
+
/** REFLECTION_DIST_DIR or 'dist' */
|
|
7
|
+
distDirRel: string;
|
|
8
|
+
/** Absolute path to the generated index .ts this invocation emits */
|
|
9
|
+
generatedIndexPath: string;
|
|
10
|
+
/** Write conflicting values to the contract instead of failing the build */
|
|
11
|
+
fix: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The package-config contract of a reflection build (task #104 §3.3, validate-don't-mutate).
|
|
15
|
+
*
|
|
16
|
+
* A build's artifact is only usable if the package's config points at it, so reflection-build
|
|
17
|
+
* owns that config as a contract instead of silently rewriting files on every build:
|
|
18
|
+
*
|
|
19
|
+
* - ABSENT config is completed in place (a fresh or copied package gets main/types, subpath
|
|
20
|
+
* mappings, stubs — the zero-ceremony workflow survives).
|
|
21
|
+
* - EXISTING config that conflicts with the contract fails the build with a friendly error
|
|
22
|
+
* (plain words, why it matters, the exact lines to paste, `--fix` offered first) and leaves
|
|
23
|
+
* every file untouched.
|
|
24
|
+
* - `reflection-build --fix` writes the contract over conflicting values; it is idempotent.
|
|
25
|
+
*
|
|
26
|
+
* Prod builds (primary root 'src') own main/types + the tsconfig include. Subpath builds
|
|
27
|
+
* (primary root e.g. 'test') own the complete subpath contract — root <root>.js/<root>.d.ts
|
|
28
|
+
* stubs, exports/typesVersions mappings, files[] entries, tsconfig excludes (the d51556f0
|
|
29
|
+
* class, generalized): consumers must resolve the subpath to built dist in every install
|
|
30
|
+
* shape and resolution mode, never to sources.
|
|
31
|
+
*/
|
|
32
|
+
export declare class BuildContract {
|
|
33
|
+
private readonly options;
|
|
34
|
+
constructor(options: BuildContractOptions);
|
|
35
|
+
apply(): Promise<void>;
|
|
36
|
+
private applyPackageJson;
|
|
37
|
+
/** Prod builds: main/types point at the built reflection artifact. */
|
|
38
|
+
private settleEntryPoints;
|
|
39
|
+
/** Subpath builds: exports map "." and "./<root>" to the built artifacts. */
|
|
40
|
+
private settleSubpathExports;
|
|
41
|
+
/** Subpath builds: typesVersions carries the subpath's types for node10 resolution. */
|
|
42
|
+
private settleTypesVersions;
|
|
43
|
+
/** Subpath builds: an existing files allowlist must keep shipping the root stubs. */
|
|
44
|
+
private settleFilesAllowlist;
|
|
45
|
+
/**
|
|
46
|
+
* Subpath builds: root stubs that win the node10/paths-mapped file lookup, so every install
|
|
47
|
+
* shape resolves the subpath to built dist — never to sources (the TS6059/ts-jest class).
|
|
48
|
+
*/
|
|
49
|
+
private applyStubs;
|
|
50
|
+
/**
|
|
51
|
+
* tsconfig: include the generated index; on subpath builds, exclude the root stubs from
|
|
52
|
+
* compilation. List membership only — nothing here can conflict.
|
|
53
|
+
*/
|
|
54
|
+
private applyTsconfig;
|
|
55
|
+
/**
|
|
56
|
+
* Settle one string field: absent → set; equal → ok; a dangling value (points at a file
|
|
57
|
+
* that does not exist — npm init's boilerplate `"main": "index.js"`, a stale copy) → set;
|
|
58
|
+
* a value that points at a real, different file is a deliberate setting → conflict.
|
|
59
|
+
*/
|
|
60
|
+
private settleString;
|
|
61
|
+
private formatConflicts;
|
|
62
|
+
private isProd;
|
|
63
|
+
private prodIndexJs;
|
|
64
|
+
private prodIndexDts;
|
|
65
|
+
private subpathIndexJs;
|
|
66
|
+
private subpathIndexDts;
|
|
67
|
+
private stubJsName;
|
|
68
|
+
private stubDtsName;
|
|
69
|
+
}
|