pmcf 2.74.4 → 3.1.0

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.
Files changed (46) hide show
  1. package/package.json +3 -3
  2. package/src/base.mjs +14 -16
  3. package/src/cluster.mjs +5 -5
  4. package/src/extra-source-service.mjs +1 -1
  5. package/src/host.mjs +19 -19
  6. package/src/location.mjs +1 -1
  7. package/src/network-interfaces/ethernet.mjs +1 -1
  8. package/src/network-interfaces/network-interface.mjs +6 -6
  9. package/src/network-support.mjs +14 -14
  10. package/src/network.mjs +2 -2
  11. package/src/owner.mjs +11 -11
  12. package/src/service.mjs +7 -7
  13. package/src/services/bind.mjs +18 -18
  14. package/src/services/chrony.mjs +0 -1
  15. package/src/services/kea.mjs +46 -6
  16. package/src/services/openldap.mjs +3 -3
  17. package/src/services/systemd-journal-upload.mjs +1 -1
  18. package/src/subnet.mjs +3 -3
  19. package/src/types.mjs +1 -1
  20. package/types/base.d.mts +29 -19
  21. package/types/cluster.d.mts +101 -107
  22. package/types/extra-source-service.d.mts +43 -42
  23. package/types/host.d.mts +53 -61
  24. package/types/location.d.mts +87 -84
  25. package/types/network-interfaces/ethernet.d.mts +98 -106
  26. package/types/network-interfaces/loopback.d.mts +96 -104
  27. package/types/network-interfaces/network-interface.d.mts +96 -104
  28. package/types/network-interfaces/wireguard.d.mts +96 -104
  29. package/types/network-interfaces/wlan.d.mts +145 -157
  30. package/types/network-support.d.mts +16 -27
  31. package/types/network.d.mts +53 -57
  32. package/types/owner.d.mts +43 -41
  33. package/types/root.d.mts +87 -84
  34. package/types/service.d.mts +86 -87
  35. package/types/services/bind.d.mts +101 -111
  36. package/types/services/chrony.d.mts +83 -81
  37. package/types/services/influxdb.d.mts +82 -80
  38. package/types/services/kea.d.mts +164 -81
  39. package/types/services/mosquitto.d.mts +82 -80
  40. package/types/services/openldap.d.mts +85 -86
  41. package/types/services/systemd-journal-remote.d.mts +82 -80
  42. package/types/services/systemd-journal-upload.d.mts +83 -82
  43. package/types/services/systemd-journal.d.mts +82 -80
  44. package/types/services/systemd-resolved.d.mts +82 -80
  45. package/types/services/systemd-timesyncd.d.mts +82 -80
  46. package/types/subnet.d.mts +3 -4
@@ -1,11 +1,10 @@
1
1
  export namespace networkProperties {
2
2
  export let scope: {
3
- writeable: boolean;
3
+ writable: boolean;
4
4
  values: string[];
5
5
  default: string;
6
6
  type: string;
7
7
  isKey: boolean;
8
- writable: boolean;
9
8
  mandatory: boolean;
10
9
  collection: boolean;
11
10
  private?: boolean;
@@ -17,11 +16,10 @@ export namespace networkProperties {
17
16
  env?: string[] | string;
18
17
  };
19
18
  let _class: {
20
- writeable: boolean;
19
+ writable: boolean;
21
20
  values: string[];
22
21
  type: string;
23
22
  isKey: boolean;
24
- writable: boolean;
25
23
  mandatory: boolean;
26
24
  collection: boolean;
27
25
  private?: boolean;
@@ -35,11 +33,10 @@ export namespace networkProperties {
35
33
  };
36
34
  export { _class as class };
37
35
  export let kind: {
38
- writeable: boolean;
36
+ writable: boolean;
39
37
  values: string[];
40
38
  type: string;
41
39
  isKey: boolean;
42
- writable: boolean;
43
40
  mandatory: boolean;
44
41
  collection: boolean;
45
42
  private?: boolean;
@@ -52,10 +49,9 @@ export namespace networkProperties {
52
49
  env?: string[] | string;
53
50
  };
54
51
  export let ssid: {
55
- writeable: boolean;
52
+ writable: boolean;
56
53
  type: string;
57
54
  isKey: boolean;
58
- writable: boolean;
59
55
  mandatory: boolean;
60
56
  collection: boolean;
61
57
  private?: boolean;
@@ -68,10 +64,9 @@ export namespace networkProperties {
68
64
  env?: string[] | string;
69
65
  };
70
66
  export let psk: {
71
- writeable: boolean;
67
+ writable: boolean;
72
68
  type: string;
73
69
  isKey: boolean;
74
- writable: boolean;
75
70
  mandatory: boolean;
76
71
  collection: boolean;
77
72
  private?: boolean;
@@ -86,7 +81,7 @@ export namespace networkProperties {
86
81
  export namespace metric {
87
82
  export let type: string;
88
83
  export let collection: boolean;
89
- export let writeable: boolean;
84
+ export let writable: boolean;
90
85
  let _default: number;
91
86
  export { _default as default };
92
87
  }
@@ -95,8 +90,8 @@ export namespace networkProperties {
95
90
  export { type_1 as type };
96
91
  let collection_1: boolean;
97
92
  export { collection_1 as collection };
98
- let writeable_1: boolean;
99
- export { writeable_1 as writeable };
93
+ let writable_1: boolean;
94
+ export { writable_1 as writable };
100
95
  let _default_1: number;
101
96
  export { _default_1 as default };
102
97
  }
@@ -105,14 +100,13 @@ export namespace networkProperties {
105
100
  export { type_2 as type };
106
101
  let collection_2: boolean;
107
102
  export { collection_2 as collection };
108
- let writeable_2: boolean;
109
- export { writeable_2 as writeable };
103
+ let writable_2: boolean;
104
+ export { writable_2 as writable };
110
105
  }
111
106
  export let multicastDNS: {
112
- writeable: boolean;
107
+ writable: boolean;
113
108
  type: string;
114
109
  isKey: boolean;
115
- writable: boolean;
116
110
  mandatory: boolean;
117
111
  collection: boolean;
118
112
  private?: boolean;
@@ -127,10 +121,9 @@ export namespace networkProperties {
127
121
  }
128
122
  export namespace networkAddressProperties {
129
123
  let hostName: {
130
- writeable: boolean;
124
+ writable: boolean;
131
125
  type: string;
132
126
  isKey: boolean;
133
- writable: boolean;
134
127
  mandatory: boolean;
135
128
  collection: boolean;
136
129
  private?: boolean;
@@ -144,10 +137,9 @@ export namespace networkAddressProperties {
144
137
  };
145
138
  let cidrAddresses: {
146
139
  collection: boolean;
147
- writeable: boolean;
140
+ writable: boolean;
148
141
  type: string;
149
142
  isKey: boolean;
150
- writable: boolean;
151
143
  mandatory: boolean;
152
144
  private?: boolean;
153
145
  depends?: string;
@@ -159,10 +151,9 @@ export namespace networkAddressProperties {
159
151
  env?: string[] | string;
160
152
  };
161
153
  let cidrAddress: {
162
- writeable: boolean;
154
+ writable: boolean;
163
155
  type: string;
164
156
  isKey: boolean;
165
- writable: boolean;
166
157
  mandatory: boolean;
167
158
  collection: boolean;
168
159
  private?: boolean;
@@ -176,10 +167,9 @@ export namespace networkAddressProperties {
176
167
  };
177
168
  let addresses: {
178
169
  collection: boolean;
179
- writeable: boolean;
170
+ writable: boolean;
180
171
  type: string;
181
172
  isKey: boolean;
182
- writable: boolean;
183
173
  mandatory: boolean;
184
174
  private?: boolean;
185
175
  depends?: string;
@@ -191,10 +181,9 @@ export namespace networkAddressProperties {
191
181
  env?: string[] | string;
192
182
  };
193
183
  let address: {
194
- writeable: boolean;
184
+ writable: boolean;
195
185
  type: string;
196
186
  isKey: boolean;
197
- writable: boolean;
198
187
  mandatory: boolean;
199
188
  collection: boolean;
200
189
  private?: boolean;
@@ -14,24 +14,28 @@ export class Network extends Owner {
14
14
  owner: {
15
15
  type: string;
16
16
  collection: boolean;
17
- writeable: boolean;
18
- };
19
- type: {
20
- type: string;
21
- collection: boolean;
22
- writeable: boolean;
17
+ writable: boolean;
23
18
  };
19
+ type: import("pacc").AttributeDefinition;
24
20
  name: {
21
+ isKey: boolean;
22
+ writable: boolean;
25
23
  type: string;
24
+ mandatory: boolean;
26
25
  collection: boolean;
27
- identifier: boolean;
28
- writeable: boolean;
26
+ private?: boolean;
27
+ depends?: string;
28
+ additionalAttributes: string[];
29
+ description?: string;
30
+ default?: any;
31
+ set?: Function;
32
+ get?: Function;
33
+ env?: string[] | string;
29
34
  };
30
35
  description: {
31
- writeable: boolean;
36
+ writable: boolean;
32
37
  type: string;
33
38
  isKey: boolean;
34
- writable: boolean;
35
39
  mandatory: boolean;
36
40
  collection: boolean;
37
41
  private?: boolean;
@@ -46,13 +50,12 @@ export class Network extends Owner {
46
50
  priority: {
47
51
  type: string;
48
52
  collection: boolean;
49
- writeable: boolean;
53
+ writable: boolean;
50
54
  };
51
55
  directory: {
52
- writeable: boolean;
56
+ writable: boolean;
53
57
  type: string;
54
58
  isKey: boolean;
55
- writable: boolean;
56
59
  mandatory: boolean;
57
60
  collection: boolean;
58
61
  private?: boolean;
@@ -65,10 +68,9 @@ export class Network extends Owner {
65
68
  env?: string[] | string;
66
69
  };
67
70
  packaging: {
68
- writeable: boolean;
71
+ writable: boolean;
69
72
  type: string;
70
73
  isKey: boolean;
71
- writable: boolean;
72
74
  mandatory: boolean;
73
75
  collection: boolean;
74
76
  private?: boolean;
@@ -81,17 +83,25 @@ export class Network extends Owner {
81
83
  env?: string[] | string;
82
84
  };
83
85
  disabled: {
86
+ writable: boolean;
87
+ default: boolean;
84
88
  type: string;
89
+ isKey: boolean;
90
+ mandatory: boolean;
85
91
  collection: boolean;
86
- writeable: boolean;
87
- default: boolean;
92
+ private?: boolean;
93
+ depends?: string;
94
+ additionalAttributes: string[];
95
+ description?: string;
96
+ set?: Function;
97
+ get?: Function;
98
+ env?: string[] | string;
88
99
  };
89
100
  tags: {
90
101
  collection: boolean;
91
- writeable: boolean;
102
+ writable: boolean;
92
103
  type: string;
93
104
  isKey: boolean;
94
- writable: boolean;
95
105
  mandatory: boolean;
96
106
  private?: boolean;
97
107
  depends?: string;
@@ -108,17 +118,17 @@ export class Network extends Owner {
108
118
  networks: {
109
119
  type: string;
110
120
  collection: boolean;
111
- writeable: boolean;
121
+ writable: boolean;
112
122
  };
113
123
  hosts: {
114
124
  type: string;
115
125
  collection: boolean;
116
- writeable: boolean;
126
+ writable: boolean;
117
127
  };
118
128
  clusters: {
119
129
  type: string;
120
130
  collection: boolean;
121
- writeable: boolean;
131
+ writable: boolean;
122
132
  };
123
133
  subnets: {
124
134
  type: {
@@ -128,9 +138,8 @@ export class Network extends Owner {
128
138
  constructWithIdentifierOnly: boolean;
129
139
  properties: {
130
140
  address: {
131
- identifier: boolean;
132
- type: string;
133
141
  isKey: boolean;
142
+ type: string;
134
143
  writable: boolean;
135
144
  mandatory: boolean;
136
145
  collection: boolean;
@@ -146,23 +155,22 @@ export class Network extends Owner {
146
155
  networks: {
147
156
  type: string;
148
157
  collection: boolean;
149
- writeable: boolean;
158
+ writable: boolean;
150
159
  };
151
160
  prefixLength: {
152
161
  type: string;
153
162
  collection: boolean;
154
- writeable: boolean;
163
+ writable: boolean;
155
164
  };
156
165
  };
157
166
  };
158
167
  collection: boolean;
159
- writeable: boolean;
168
+ writable: boolean;
160
169
  };
161
170
  country: {
162
- writeable: boolean;
171
+ writable: boolean;
163
172
  type: string;
164
173
  isKey: boolean;
165
- writable: boolean;
166
174
  mandatory: boolean;
167
175
  collection: boolean;
168
176
  private?: boolean;
@@ -175,10 +183,9 @@ export class Network extends Owner {
175
183
  env?: string[] | string;
176
184
  };
177
185
  domain: {
178
- writeable: boolean;
186
+ writable: boolean;
179
187
  type: string;
180
188
  isKey: boolean;
181
- writable: boolean;
182
189
  mandatory: boolean;
183
190
  collection: boolean;
184
191
  private?: boolean;
@@ -192,10 +199,9 @@ export class Network extends Owner {
192
199
  };
193
200
  domains: {
194
201
  collection: boolean;
195
- writeable: boolean;
202
+ writable: boolean;
196
203
  type: string;
197
204
  isKey: boolean;
198
- writable: boolean;
199
205
  mandatory: boolean;
200
206
  private?: boolean;
201
207
  depends?: string;
@@ -207,10 +213,9 @@ export class Network extends Owner {
207
213
  env?: string[] | string;
208
214
  };
209
215
  timezone: {
210
- writeable: boolean;
216
+ writable: boolean;
211
217
  type: string;
212
218
  isKey: boolean;
213
- writable: boolean;
214
219
  mandatory: boolean;
215
220
  collection: boolean;
216
221
  private?: boolean;
@@ -224,10 +229,9 @@ export class Network extends Owner {
224
229
  };
225
230
  architectures: {
226
231
  collection: boolean;
227
- writeable: boolean;
232
+ writable: boolean;
228
233
  type: string;
229
234
  isKey: boolean;
230
- writable: boolean;
231
235
  mandatory: boolean;
232
236
  private?: boolean;
233
237
  depends?: string;
@@ -240,10 +244,9 @@ export class Network extends Owner {
240
244
  };
241
245
  locales: {
242
246
  collection: boolean;
243
- writeable: boolean;
247
+ writable: boolean;
244
248
  type: string;
245
249
  isKey: boolean;
246
- writable: boolean;
247
250
  mandatory: boolean;
248
251
  private?: boolean;
249
252
  depends?: string;
@@ -255,10 +258,9 @@ export class Network extends Owner {
255
258
  env?: string[] | string;
256
259
  };
257
260
  administratorEmail: {
258
- writeable: boolean;
261
+ writable: boolean;
259
262
  type: string;
260
263
  isKey: boolean;
261
- writable: boolean;
262
264
  mandatory: boolean;
263
265
  collection: boolean;
264
266
  private?: boolean;
@@ -276,20 +278,19 @@ export class Network extends Owner {
276
278
  bridge: {
277
279
  type: string;
278
280
  collection: boolean;
279
- writeable: boolean;
281
+ writable: boolean;
280
282
  };
281
283
  gateway: {
282
284
  type: string;
283
285
  collection: boolean;
284
- writeable: boolean;
286
+ writable: boolean;
285
287
  };
286
288
  scope: {
287
- writeable: boolean;
289
+ writable: boolean;
288
290
  values: string[];
289
291
  default: string;
290
292
  type: string;
291
293
  isKey: boolean;
292
- writable: boolean;
293
294
  mandatory: boolean;
294
295
  collection: boolean;
295
296
  private?: boolean;
@@ -301,11 +302,10 @@ export class Network extends Owner {
301
302
  env?: string[] | string;
302
303
  };
303
304
  class: {
304
- writeable: boolean;
305
+ writable: boolean;
305
306
  values: string[];
306
307
  type: string;
307
308
  isKey: boolean;
308
- writable: boolean;
309
309
  mandatory: boolean;
310
310
  collection: boolean;
311
311
  private?: boolean;
@@ -318,11 +318,10 @@ export class Network extends Owner {
318
318
  env?: string[] | string;
319
319
  };
320
320
  kind: {
321
- writeable: boolean;
321
+ writable: boolean;
322
322
  values: string[];
323
323
  type: string;
324
324
  isKey: boolean;
325
- writable: boolean;
326
325
  mandatory: boolean;
327
326
  collection: boolean;
328
327
  private?: boolean;
@@ -335,10 +334,9 @@ export class Network extends Owner {
335
334
  env?: string[] | string;
336
335
  };
337
336
  ssid: {
338
- writeable: boolean;
337
+ writable: boolean;
339
338
  type: string;
340
339
  isKey: boolean;
341
- writable: boolean;
342
340
  mandatory: boolean;
343
341
  collection: boolean;
344
342
  private?: boolean;
@@ -351,10 +349,9 @@ export class Network extends Owner {
351
349
  env?: string[] | string;
352
350
  };
353
351
  psk: {
354
- writeable: boolean;
352
+ writable: boolean;
355
353
  type: string;
356
354
  isKey: boolean;
357
- writable: boolean;
358
355
  mandatory: boolean;
359
356
  collection: boolean;
360
357
  private?: boolean;
@@ -369,20 +366,19 @@ export class Network extends Owner {
369
366
  metric: {
370
367
  type: string;
371
368
  collection: boolean;
372
- writeable: boolean;
369
+ writable: boolean;
373
370
  default: number;
374
371
  };
375
372
  mtu: {
376
373
  type: string;
377
374
  collection: boolean;
378
- writeable: boolean;
375
+ writable: boolean;
379
376
  default: number;
380
377
  };
381
378
  multicastDNS: {
382
- writeable: boolean;
379
+ writable: boolean;
383
380
  type: string;
384
381
  isKey: boolean;
385
- writable: boolean;
386
382
  mandatory: boolean;
387
383
  collection: boolean;
388
384
  private?: boolean;