testeranto 0.79.25 → 0.79.27
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/TaskMan1.Dockerfile +2 -1
- package/dist/common/Features.js +1 -34
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/Features.js +0 -32
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/Features.d.ts +0 -33
- package/dist/types/Types.d.ts +1 -1
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/Features.ts +0 -54
- package/src/Types.ts +0 -1
package/TaskMan1.Dockerfile
CHANGED
|
@@ -18,7 +18,8 @@ RUN yarn install
|
|
|
18
18
|
COPY ./src/ /usr/src/app/src
|
|
19
19
|
COPY ./subPackages/ /usr/src/app/subPackages
|
|
20
20
|
COPY ./testeranto.mts /usr/src/app/testeranto.mts
|
|
21
|
-
COPY ./features.test.mts /usr/src/app/features.test.mts
|
|
21
|
+
# COPY ./features.test.mts /usr/src/app/features.test.mts
|
|
22
|
+
COPY ./tsconfig.json /usr/src/app/tsconfig.json
|
|
22
23
|
|
|
23
24
|
RUN yarn testeranto-esbuild
|
|
24
25
|
# # COPY ./testeranto.json /usr/src/app/testeranto.json
|
package/dist/common/Features.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DirectedGraph = exports.
|
|
6
|
+
exports.DirectedGraph = exports.TesterantoGraphDirectedAcyclic = exports.TesterantoGraphDirected = exports.TesterantoGraphUndirected = exports.BaseFeature = void 0;
|
|
7
7
|
const graphology_umd_js_1 = __importDefault(require("graphology/dist/graphology.umd.js"));
|
|
8
8
|
const { DirectedGraph, UndirectedGraph } = graphology_umd_js_1.default;
|
|
9
9
|
exports.DirectedGraph = DirectedGraph;
|
|
@@ -48,37 +48,4 @@ class TesterantoGraphDirectedAcyclic {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
exports.TesterantoGraphDirectedAcyclic = TesterantoGraphDirectedAcyclic;
|
|
51
|
-
class TesterantoFeatures {
|
|
52
|
-
constructor(features, graphs) {
|
|
53
|
-
this.features = features;
|
|
54
|
-
this.graphs = graphs;
|
|
55
|
-
}
|
|
56
|
-
networks() {
|
|
57
|
-
return [
|
|
58
|
-
...this.graphs.undirected.values(),
|
|
59
|
-
...this.graphs.directed.values(),
|
|
60
|
-
...this.graphs.dags.values(),
|
|
61
|
-
];
|
|
62
|
-
}
|
|
63
|
-
toObj() {
|
|
64
|
-
return {
|
|
65
|
-
features: Object.entries(this.features).map(([name, feature]) => {
|
|
66
|
-
return Object.assign(Object.assign({}, feature), { inNetworks: this.networks()
|
|
67
|
-
.filter((network) => {
|
|
68
|
-
return network.graph.hasNode(feature.name);
|
|
69
|
-
})
|
|
70
|
-
.map((network) => {
|
|
71
|
-
return {
|
|
72
|
-
network: network.name,
|
|
73
|
-
neighbors: network.graph.neighbors(feature.name),
|
|
74
|
-
};
|
|
75
|
-
}) });
|
|
76
|
-
}),
|
|
77
|
-
networks: this.networks().map((network) => {
|
|
78
|
-
return Object.assign({}, network);
|
|
79
|
-
}),
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.TesterantoFeatures = TesterantoFeatures;
|
|
84
51
|
exports.default = {};
|