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/package.json
CHANGED
package/src/Features.ts
CHANGED
|
@@ -54,60 +54,6 @@ export class TesterantoGraphDirectedAcyclic implements TesterantoGraph {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
export class TesterantoFeatures {
|
|
58
|
-
features: Record<string, BaseFeature>;
|
|
59
|
-
graphs: {
|
|
60
|
-
undirected: TesterantoGraphUndirected[];
|
|
61
|
-
directed: TesterantoGraphDirected[];
|
|
62
|
-
dags: TesterantoGraphDirectedAcyclic[];
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
constructor(
|
|
66
|
-
features: Record<string, BaseFeature>,
|
|
67
|
-
graphs: {
|
|
68
|
-
undirected: TesterantoGraphUndirected[];
|
|
69
|
-
directed: TesterantoGraphDirected[];
|
|
70
|
-
dags: TesterantoGraphDirectedAcyclic[];
|
|
71
|
-
}
|
|
72
|
-
) {
|
|
73
|
-
this.features = features;
|
|
74
|
-
this.graphs = graphs;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
networks() {
|
|
78
|
-
return [
|
|
79
|
-
...this.graphs.undirected.values(),
|
|
80
|
-
...this.graphs.directed.values(),
|
|
81
|
-
...this.graphs.dags.values(),
|
|
82
|
-
];
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
toObj() {
|
|
86
|
-
return {
|
|
87
|
-
features: Object.entries(this.features).map(([name, feature]) => {
|
|
88
|
-
return {
|
|
89
|
-
...feature,
|
|
90
|
-
inNetworks: this.networks()
|
|
91
|
-
.filter((network) => {
|
|
92
|
-
return network.graph.hasNode(feature.name);
|
|
93
|
-
})
|
|
94
|
-
.map((network) => {
|
|
95
|
-
return {
|
|
96
|
-
network: network.name,
|
|
97
|
-
neighbors: network.graph.neighbors(feature.name),
|
|
98
|
-
};
|
|
99
|
-
}),
|
|
100
|
-
};
|
|
101
|
-
}),
|
|
102
|
-
networks: this.networks().map((network) => {
|
|
103
|
-
return {
|
|
104
|
-
...network,
|
|
105
|
-
};
|
|
106
|
-
}),
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
57
|
export type IT_FeatureNetwork = {
|
|
112
58
|
name: string;
|
|
113
59
|
// graph: DirectedGraph
|
package/src/Types.ts
CHANGED