pmcf 1.69.0 → 1.69.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": "1.69.0",
3
+ "version": "1.69.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/dns.mjs CHANGED
@@ -31,7 +31,7 @@ const DNSServiceTypeDefinition = {
31
31
  expire: { type: "string", collection: false, writeable: true },
32
32
  minimum: { type: "string", collection: false, writeable: true },
33
33
  forwardsTo: { type: "network", collection: true, writeable: true },
34
- trusts: { type: "network", collection: true, writeable: true },
34
+ trusted: { type: "network", collection: true, writeable: true },
35
35
  allowedUpdates: { type: "string", collection: true, writeable: true }
36
36
  }
37
37
  };
@@ -46,7 +46,7 @@ export class DNSService extends Base {
46
46
  hasLinkLocalAdresses = true;
47
47
  notify = true;
48
48
  #forwardsTo = [];
49
- #trusts = [];
49
+ #trusted = [];
50
50
 
51
51
  refresh = 36000;
52
52
  retry = 72000;
@@ -75,12 +75,12 @@ export class DNSService extends Base {
75
75
  return [this.refresh, this.retry, this.expire, this.minimum];
76
76
  }
77
77
 
78
- set trusts(value) {
79
- this.#trusts.push(value);
78
+ set trusted(value) {
79
+ this.#trusted.push(value);
80
80
  }
81
81
 
82
- get trusts() {
83
- return this.#trusts;
82
+ get trusted() {
83
+ return this.#trusted;
84
84
  }
85
85
 
86
86
  set forwardsTo(value) {
@@ -159,7 +159,7 @@ export class DNSService extends Base {
159
159
 
160
160
  const category = [
161
161
  "acl trusted {",
162
- ...Array.from(subnets(this.trusts)).map(subnet => ` ${subnet.name};`),
162
+ ...Array.from(subnets(this.trusted)).map(subnet => ` ${subnet.name};`),
163
163
  "};"
164
164
  ];
165
165
 
@@ -142,7 +142,7 @@ export class Cluster extends Host {
142
142
  collection: boolean;
143
143
  writeable: boolean;
144
144
  };
145
- trusts: {
145
+ trusted: {
146
146
  type: string;
147
147
  collection: boolean;
148
148
  writeable: boolean;
@@ -331,7 +331,7 @@ export class Cluster extends Host {
331
331
  collection: boolean;
332
332
  writeable: boolean;
333
333
  };
334
- trusts: {
334
+ trusted: {
335
335
  type: string;
336
336
  collection: boolean;
337
337
  writeable: boolean;
package/types/dns.d.mts CHANGED
@@ -56,7 +56,7 @@ export class DNSService extends Base {
56
56
  collection: boolean;
57
57
  writeable: boolean;
58
58
  };
59
- trusts: {
59
+ trusted: {
60
60
  type: string;
61
61
  collection: boolean;
62
62
  writeable: boolean;
@@ -79,8 +79,8 @@ export class DNSService extends Base {
79
79
  expire: number;
80
80
  minimum: number;
81
81
  get soaUpdates(): number[];
82
- set trusts(value: any[]);
83
- get trusts(): any[];
82
+ set trusted(value: any[]);
83
+ get trusted(): any[];
84
84
  set forwardsTo(value: any[]);
85
85
  get forwardsTo(): any[];
86
86
  get forwardsToAdresses(): any[];
@@ -142,7 +142,7 @@ export class Location extends Owner {
142
142
  collection: boolean;
143
143
  writeable: boolean;
144
144
  };
145
- trusts: {
145
+ trusted: {
146
146
  type: string;
147
147
  collection: boolean;
148
148
  writeable: boolean;
@@ -331,7 +331,7 @@ export class Location extends Owner {
331
331
  collection: boolean;
332
332
  writeable: boolean;
333
333
  };
334
- trusts: {
334
+ trusted: {
335
335
  type: string;
336
336
  collection: boolean;
337
337
  writeable: boolean;
@@ -144,7 +144,7 @@ export class Network extends Owner {
144
144
  collection: boolean;
145
145
  writeable: boolean;
146
146
  };
147
- trusts: {
147
+ trusted: {
148
148
  type: string;
149
149
  collection: boolean;
150
150
  writeable: boolean;
package/types/owner.d.mts CHANGED
@@ -140,7 +140,7 @@ export class Owner extends Base {
140
140
  collection: boolean;
141
141
  writeable: boolean;
142
142
  };
143
- trusts: {
143
+ trusted: {
144
144
  type: string;
145
145
  collection: boolean;
146
146
  writeable: boolean;
package/types/root.d.mts CHANGED
@@ -146,7 +146,7 @@ export class Root extends Location {
146
146
  collection: boolean;
147
147
  writeable: boolean;
148
148
  };
149
- trusts: {
149
+ trusted: {
150
150
  type: string;
151
151
  collection: boolean;
152
152
  writeable: boolean;
@@ -335,7 +335,7 @@ export class Root extends Location {
335
335
  collection: boolean;
336
336
  writeable: boolean;
337
337
  };
338
- trusts: {
338
+ trusted: {
339
339
  type: string;
340
340
  collection: boolean;
341
341
  writeable: boolean;