pmcf 1.30.0 → 1.30.2

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 CHANGED
@@ -16,6 +16,10 @@
16
16
 
17
17
  # API
18
18
 
19
+ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->
20
+
21
+ ## Table of Contents
22
+
19
23
  # install
20
24
 
21
25
  With [npm](http://npmjs.org) do:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.30.0",
3
+ "version": "1.30.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,7 +40,7 @@
40
40
  "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target es2024 --lib esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "pacc": "^3.1.9"
43
+ "pacc": "^3.2.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^22.12.0",
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
- /*return Object.fromEntries(
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;