pmcf 4.28.0 → 4.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.28.0",
3
+ "version": "4.28.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/cluster.mjs CHANGED
@@ -38,7 +38,6 @@ export class Cluster extends Host {
38
38
  checkInterval: { ...duration_attribute_writable, default: 60 }
39
39
  };
40
40
 
41
-
42
41
  static {
43
42
  addType(this);
44
43
  }
@@ -59,7 +58,6 @@ export class Cluster extends Host {
59
58
 
60
59
  set backups(value) {
61
60
  this._backups.push(value);
62
-
63
61
  value.cluster = this;
64
62
  }
65
63
 
package/src/endpoint.mjs CHANGED
@@ -5,7 +5,6 @@ class BaseEndpoint {
5
5
  static name = "endpoint";
6
6
  static priority = 1.1;
7
7
  static owners = [Service, "network_interface"];
8
- static specializations = {};
9
8
  static key = "type";
10
9
  attributes = endpointAttributes;
11
10
 
package/src/network.mjs CHANGED
@@ -6,21 +6,20 @@ import { networkAttributes } from "./network-support.mjs";
6
6
  export class Network extends Owner {
7
7
  static name = "network";
8
8
  static priority = 2;
9
- static owners = ["location", "owner", "root"];
9
+ static owners = ["location", Owner, "root"];
10
10
  static extends = Owner;
11
11
  static key = "name";
12
12
  static attributes = {
13
13
  ...networkAttributes,
14
14
  bridge: {
15
15
  ...default_attribute_writable,
16
- type: "network",
16
+ type: Network,
17
17
  collection: true,
18
18
  owner: false
19
19
  },
20
20
  gateway: { ...default_attribute_writable, type: "host", owner: false }
21
21
  };
22
22
 
23
-
24
23
  static {
25
24
  addType(this);
26
25
  }
package/src/owner.mjs CHANGED
@@ -18,7 +18,7 @@ const EMPTY = new Map();
18
18
  export class Owner extends Base {
19
19
  static name = "owner";
20
20
  static priority = 2;
21
- static owners = ["location", "owner", "root"];
21
+ static owners = ["location", Owner, "root"];
22
22
  static extends = Base;
23
23
  static key = "name";
24
24
  static attributes = {