pmcf 1.30.0 → 1.30.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/README.md +4 -0
- package/package.json +1 -1
- package/src/base.mjs +2 -2
- package/src/model.mjs +1 -1
- package/types/model.d.mts +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/src/base.mjs
CHANGED
|
@@ -9,7 +9,7 @@ export class Base {
|
|
|
9
9
|
static get typeName() {
|
|
10
10
|
return "base";
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
static get pluralTypeName() {
|
|
14
14
|
return this.typeName + "s";
|
|
15
15
|
}
|
|
@@ -112,7 +112,7 @@ export class Base {
|
|
|
112
112
|
return new Set([...object].map(e => this.expand(e)));
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
/*return Object.fromEntries(
|
|
116
116
|
Object.entries(object).map(([k, v]) => [k, this.expand(v)])
|
|
117
117
|
);*/
|
|
118
118
|
}
|
package/src/model.mjs
CHANGED
|
@@ -534,5 +534,5 @@ export class NetworkInterface extends Base {
|
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
-
const _types = [Location, Network, Subnet, Host, Cluster, Service, DNSService];
|
|
537
|
+
const _types = [Location, Network, Subnet, Host, Cluster, Service, DNSService, NetworkInterface];
|
|
538
538
|
const _typesByName = Object.fromEntries(_types.map(t => [t.typeName, t]));
|
package/types/model.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export class Root extends Owner {
|
|
2
2
|
static get types(): {
|
|
3
|
-
[k: string]: typeof DNSService | typeof Subnet | typeof Cluster | typeof Service | typeof Host;
|
|
3
|
+
[k: string]: typeof DNSService | typeof Subnet | typeof Cluster | typeof Service | typeof Host | typeof NetworkInterface;
|
|
4
4
|
};
|
|
5
5
|
constructor(directory: any);
|
|
6
6
|
get fullName(): string;
|