pmcf 4.28.1 → 4.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.28.1",
3
+ "version": "4.28.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -2,7 +2,6 @@ import { default_attribute_writable, addType } from "pacc";
2
2
  import { Service } from "./service.mjs";
3
3
  import { networkAddressType } from "pmcf";
4
4
 
5
-
6
5
  export class ExtraSourceService extends Service {
7
6
  static name = "extra-source-service";
8
7
  static extends = Service;
@@ -16,7 +15,6 @@ export class ExtraSourceService extends Service {
16
15
  }
17
16
  };
18
17
 
19
-
20
18
  static {
21
19
  addType(this);
22
20
  }
@@ -6,7 +6,7 @@ import {
6
6
  hostname_attribute,
7
7
  addType
8
8
  } from "pacc";
9
- import { Base, cidrAddresses } from "pmcf";
9
+ import { Host, cidrAddresses } from "pmcf";
10
10
  import {
11
11
  networkAttributes,
12
12
  networkAddressAttributes
@@ -18,8 +18,7 @@ import { yesno } from "../utils.mjs";
18
18
 
19
19
  export class NetworkInterface extends SkeletonNetworkInterface {
20
20
  static name = "network_interface";
21
- static owners = ["host"];
22
- static extends = Base;
21
+ static owners = [Host];
23
22
  static specializations = {};
24
23
  static factoryFor(owner, value) {
25
24
  let st = this.specializations[value.kind];
package/src/owner.mjs CHANGED
@@ -19,7 +19,6 @@ export class Owner extends Base {
19
19
  static name = "owner";
20
20
  static priority = 2;
21
21
  static owners = ["location", Owner, "root"];
22
- static extends = Base;
23
22
  static key = "name";
24
23
  static attributes = {
25
24
  networks: networks_attribute,
@@ -5,7 +5,6 @@ export class ServiceOwner extends Base {
5
5
  static name = "service-owner";
6
6
  static priority = 1.9;
7
7
  static owners = ["owner", "network", "root"];
8
- static extends = Base;
9
8
  static key = "name";
10
9
  static attributes = {
11
10
  services: {
package/src/service.mjs CHANGED
@@ -44,7 +44,6 @@ export class Service extends Base {
44
44
  static name = "service";
45
45
  static priority = 1.1;
46
46
  static owners = [Host, "cluster", "network_interface"];
47
- static extends = Base;
48
47
  static specializations = {};
49
48
  static factoryFor(owner, value) {
50
49
  const type = value.type ?? value.name;
@@ -9,7 +9,6 @@ import { addServiceType, Base } from "pmcf";
9
9
  import { Service } from "../service.mjs";
10
10
 
11
11
  class alpm_repository extends Base {
12
- static extends = Base;
13
12
  static key = "name";
14
13
  static attributes = {
15
14
  name: name_attribute_writable,