pmcf 3.4.0 → 3.4.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.
Files changed (40) hide show
  1. package/package.json +2 -2
  2. package/src/base.mjs +14 -7
  3. package/src/host.mjs +20 -15
  4. package/src/location.mjs +2 -2
  5. package/src/network-interfaces/network-interface.mjs +4 -4
  6. package/src/network-support.mjs +16 -10
  7. package/src/owner.mjs +11 -7
  8. package/src/service.mjs +11 -6
  9. package/src/services/bind.mjs +9 -9
  10. package/src/services/kea.mjs +9 -8
  11. package/src/services/openldap.mjs +4 -4
  12. package/src/services/systemd-journal-upload.mjs +2 -2
  13. package/src/subnet.mjs +3 -3
  14. package/types/base.d.mts +9 -9
  15. package/types/cluster.d.mts +92 -105
  16. package/types/extra-source-service.d.mts +34 -47
  17. package/types/host.d.mts +58 -71
  18. package/types/location.d.mts +76 -76
  19. package/types/network-interfaces/ethernet.d.mts +50 -50
  20. package/types/network-interfaces/loopback.d.mts +50 -50
  21. package/types/network-interfaces/network-interface.d.mts +50 -50
  22. package/types/network-interfaces/wireguard.d.mts +50 -50
  23. package/types/network-interfaces/wlan.d.mts +75 -75
  24. package/types/network-support.d.mts +16 -16
  25. package/types/network.d.mts +34 -34
  26. package/types/owner.d.mts +34 -34
  27. package/types/root.d.mts +76 -76
  28. package/types/service.d.mts +70 -108
  29. package/types/services/bind.d.mts +85 -110
  30. package/types/services/chrony.d.mts +68 -94
  31. package/types/services/influxdb.d.mts +68 -94
  32. package/types/services/kea.d.mts +71 -97
  33. package/types/services/mosquitto.d.mts +68 -94
  34. package/types/services/openldap.d.mts +68 -94
  35. package/types/services/systemd-journal-remote.d.mts +68 -94
  36. package/types/services/systemd-journal-upload.d.mts +68 -94
  37. package/types/services/systemd-journal.d.mts +68 -94
  38. package/types/services/systemd-resolved.d.mts +68 -94
  39. package/types/services/systemd-timesyncd.d.mts +68 -94
  40. package/types/subnet.d.mts +1 -1
@@ -16,9 +16,9 @@ export class Cluster extends Host {
16
16
  };
17
17
  type: import("pacc").AttributeDefinition;
18
18
  name: {
19
- isKey: boolean;
20
19
  writable: boolean;
21
20
  type: string;
21
+ isKey: boolean;
22
22
  mandatory: boolean;
23
23
  collection: boolean;
24
24
  private?: boolean;
@@ -100,18 +100,18 @@ export class Cluster extends Host {
100
100
  env?: string[] | string;
101
101
  };
102
102
  tags: {
103
- collection: boolean;
104
103
  writable: boolean;
104
+ collection: boolean;
105
105
  type: string;
106
106
  isKey: boolean;
107
107
  mandatory: boolean;
108
- private?: boolean;
109
- depends?: string;
110
- description?: string;
111
- default?: any;
112
- set?: Function;
113
- get?: Function;
114
- env?: string[] | string;
108
+ private: boolean;
109
+ depends: string;
110
+ description: string;
111
+ default: any;
112
+ set: Function;
113
+ get: Function;
114
+ env: string[] | string;
115
115
  };
116
116
  };
117
117
  };
@@ -158,9 +158,9 @@ export class Cluster extends Host {
158
158
  writable: boolean;
159
159
  };
160
160
  prefixLength: {
161
- writable: boolean;
162
161
  type: string;
163
162
  isKey: boolean;
163
+ writable: boolean;
164
164
  mandatory: boolean;
165
165
  collection: boolean;
166
166
  private?: boolean;
@@ -205,18 +205,18 @@ export class Cluster extends Host {
205
205
  env?: string[] | string;
206
206
  };
207
207
  domains: {
208
- collection: boolean;
209
208
  writable: boolean;
209
+ collection: boolean;
210
210
  type: string;
211
211
  isKey: boolean;
212
212
  mandatory: boolean;
213
- private?: boolean;
214
- depends?: string;
215
- description?: string;
216
- default?: any;
217
- set?: Function;
218
- get?: Function;
219
- env?: string[] | string;
213
+ private: boolean;
214
+ depends: string;
215
+ description: string;
216
+ default: any;
217
+ set: Function;
218
+ get: Function;
219
+ env: string[] | string;
220
220
  };
221
221
  timezone: {
222
222
  writable: boolean;
@@ -233,32 +233,32 @@ export class Cluster extends Host {
233
233
  env?: string[] | string;
234
234
  };
235
235
  architectures: {
236
- collection: boolean;
237
236
  writable: boolean;
237
+ collection: boolean;
238
238
  type: string;
239
239
  isKey: boolean;
240
240
  mandatory: boolean;
241
- private?: boolean;
242
- depends?: string;
243
- description?: string;
244
- default?: any;
245
- set?: Function;
246
- get?: Function;
247
- env?: string[] | string;
241
+ private: boolean;
242
+ depends: string;
243
+ description: string;
244
+ default: any;
245
+ set: Function;
246
+ get: Function;
247
+ env: string[] | string;
248
248
  };
249
249
  locales: {
250
- collection: boolean;
251
250
  writable: boolean;
251
+ collection: boolean;
252
252
  type: string;
253
253
  isKey: boolean;
254
254
  mandatory: boolean;
255
- private?: boolean;
256
- depends?: string;
257
- description?: string;
258
- default?: any;
259
- set?: Function;
260
- get?: Function;
261
- env?: string[] | string;
255
+ private: boolean;
256
+ depends: string;
257
+ description: string;
258
+ default: any;
259
+ set: Function;
260
+ get: Function;
261
+ env: string[] | string;
262
262
  };
263
263
  administratorEmail: {
264
264
  writable: boolean;
@@ -292,9 +292,9 @@ export class Cluster extends Host {
292
292
  };
293
293
  type: import("pacc").AttributeDefinition;
294
294
  name: {
295
- isKey: boolean;
296
295
  writable: boolean;
297
296
  type: string;
297
+ isKey: boolean;
298
298
  mandatory: boolean;
299
299
  collection: boolean;
300
300
  private?: boolean;
@@ -376,18 +376,18 @@ export class Cluster extends Host {
376
376
  env?: string[] | string;
377
377
  };
378
378
  tags: {
379
- collection: boolean;
380
379
  writable: boolean;
380
+ collection: boolean;
381
381
  type: string;
382
382
  isKey: boolean;
383
383
  mandatory: boolean;
384
- private?: boolean;
385
- depends?: string;
386
- description?: string;
387
- default?: any;
388
- set?: Function;
389
- get?: Function;
390
- env?: string[] | string;
384
+ private: boolean;
385
+ depends: string;
386
+ description: string;
387
+ default: any;
388
+ set: Function;
389
+ get: Function;
390
+ env: string[] | string;
391
391
  };
392
392
  };
393
393
  };
@@ -403,18 +403,18 @@ export class Cluster extends Host {
403
403
  writable: boolean;
404
404
  };
405
405
  aliases: {
406
- collection: boolean;
407
406
  writable: boolean;
407
+ collection: boolean;
408
408
  type: string;
409
409
  isKey: boolean;
410
410
  mandatory: boolean;
411
- private?: boolean;
412
- depends?: string;
413
- description?: string;
414
- default?: any;
415
- set?: Function;
416
- get?: Function;
417
- env?: string[] | string;
411
+ private: boolean;
412
+ depends: string;
413
+ description: string;
414
+ default: any;
415
+ set: Function;
416
+ get: Function;
417
+ env: string[] | string;
418
418
  };
419
419
  os: {
420
420
  writable: boolean;
@@ -561,66 +561,53 @@ export class Cluster extends Host {
561
561
  env?: string[] | string;
562
562
  };
563
563
  replaces: {
564
- collection: boolean;
565
564
  writable: boolean;
565
+ collection: boolean;
566
566
  type: string;
567
567
  isKey: boolean;
568
568
  mandatory: boolean;
569
- private?: boolean;
570
- depends?: string;
571
- description?: string;
572
- default?: any;
573
- set?: Function;
574
- get?: Function;
575
- env?: string[] | string;
569
+ private: boolean;
570
+ depends: string;
571
+ description: string;
572
+ default: any;
573
+ set: Function;
574
+ get: Function;
575
+ env: string[] | string;
576
576
  };
577
577
  depends: {
578
- collection: boolean;
579
578
  writable: boolean;
579
+ collection: boolean;
580
580
  type: string;
581
581
  isKey: boolean;
582
582
  mandatory: boolean;
583
- private?: boolean;
584
- depends?: string;
585
- description?: string;
586
- default?: any;
587
- set?: Function;
588
- get?: Function;
589
- env?: string[] | string;
583
+ private: boolean;
584
+ depends: string;
585
+ description: string;
586
+ default: any;
587
+ set: Function;
588
+ get: Function;
589
+ env: string[] | string;
590
590
  };
591
591
  provides: {
592
- collection: boolean;
593
592
  writable: boolean;
593
+ collection: boolean;
594
594
  type: string;
595
595
  isKey: boolean;
596
596
  mandatory: boolean;
597
- private?: boolean;
598
- depends?: string;
599
- description?: string;
600
- default?: any;
601
- set?: Function;
602
- get?: Function;
603
- env?: string[] | string;
597
+ private: boolean;
598
+ depends: string;
599
+ description: string;
600
+ default: any;
601
+ set: Function;
602
+ get: Function;
603
+ env: string[] | string;
604
604
  };
605
605
  extends: {
606
606
  type: string;
607
607
  collection: boolean;
608
608
  writable: boolean;
609
609
  };
610
- model: {
611
- collection: boolean;
612
- writable: boolean;
613
- type: string;
614
- isKey: boolean;
615
- mandatory: boolean;
616
- private?: boolean;
617
- depends?: string;
618
- description?: string;
619
- default?: any;
620
- set?: Function;
621
- get?: Function;
622
- env?: string[] | string;
623
- };
610
+ model: import("pacc").AttributeDefinition;
624
611
  isModel: import("pacc").AttributeDefinition;
625
612
  hostName: {
626
613
  writable: boolean;
@@ -637,18 +624,18 @@ export class Cluster extends Host {
637
624
  env?: string[] | string;
638
625
  };
639
626
  cidrAddresses: {
640
- collection: boolean;
641
627
  writable: boolean;
628
+ collection: boolean;
642
629
  type: string;
643
630
  isKey: boolean;
644
631
  mandatory: boolean;
645
- private?: boolean;
646
- depends?: string;
647
- description?: string;
648
- default?: any;
649
- set?: Function;
650
- get?: Function;
651
- env?: string[] | string;
632
+ private: boolean;
633
+ depends: string;
634
+ description: string;
635
+ default: any;
636
+ set: Function;
637
+ get: Function;
638
+ env: string[] | string;
652
639
  };
653
640
  cidrAddress: {
654
641
  writable: boolean;
@@ -665,18 +652,18 @@ export class Cluster extends Host {
665
652
  env?: string[] | string;
666
653
  };
667
654
  addresses: {
668
- collection: boolean;
669
655
  writable: boolean;
656
+ collection: boolean;
670
657
  type: string;
671
658
  isKey: boolean;
672
659
  mandatory: boolean;
673
- private?: boolean;
674
- depends?: string;
675
- description?: string;
676
- default?: any;
677
- set?: Function;
678
- get?: Function;
679
- env?: string[] | string;
660
+ private: boolean;
661
+ depends: string;
662
+ description: string;
663
+ default: any;
664
+ set: Function;
665
+ get: Function;
666
+ env: string[] | string;
680
667
  };
681
668
  address: {
682
669
  writable: boolean;
@@ -30,9 +30,9 @@ export class ExtraSourceService extends Service {
30
30
  };
31
31
  type: import("pacc").AttributeDefinition;
32
32
  name: {
33
- isKey: boolean;
34
33
  writable: boolean;
35
34
  type: string;
35
+ isKey: boolean;
36
36
  mandatory: boolean;
37
37
  collection: boolean;
38
38
  private?: boolean;
@@ -114,18 +114,18 @@ export class ExtraSourceService extends Service {
114
114
  env?: string[] | string;
115
115
  };
116
116
  tags: {
117
- collection: boolean;
118
117
  writable: boolean;
118
+ collection: boolean;
119
119
  type: string;
120
120
  isKey: boolean;
121
121
  mandatory: boolean;
122
- private?: boolean;
123
- depends?: string;
124
- description?: string;
125
- default?: any;
126
- set?: Function;
127
- get?: Function;
128
- env?: string[] | string;
122
+ private: boolean;
123
+ depends: string;
124
+ description: string;
125
+ default: any;
126
+ set: Function;
127
+ get: Function;
128
+ env: string[] | string;
129
129
  };
130
130
  };
131
131
  };
@@ -161,18 +161,18 @@ export class ExtraSourceService extends Service {
161
161
  env?: string[] | string;
162
162
  };
163
163
  systemd: {
164
- collection: boolean;
165
164
  writable: boolean;
165
+ collection: boolean;
166
166
  type: string;
167
167
  isKey: boolean;
168
168
  mandatory: boolean;
169
- private?: boolean;
170
- depends?: string;
171
- description?: string;
172
- default?: any;
173
- set?: Function;
174
- get?: Function;
175
- env?: string[] | string;
169
+ private: boolean;
170
+ depends: string;
171
+ description: string;
172
+ default: any;
173
+ set: Function;
174
+ get: Function;
175
+ env: string[] | string;
176
176
  };
177
177
  port: {
178
178
  writable: boolean;
@@ -217,20 +217,7 @@ export class ExtraSourceService extends Service {
217
217
  get?: Function;
218
218
  env?: string[] | string;
219
219
  };
220
- types: {
221
- collection: boolean;
222
- type: string;
223
- isKey: boolean;
224
- writable: boolean;
225
- mandatory: boolean;
226
- private?: boolean;
227
- depends?: string;
228
- description?: string;
229
- default?: any;
230
- set?: Function;
231
- get?: Function;
232
- env?: string[] | string;
233
- };
220
+ types: typeof import("pacc").string_collection_attribute;
234
221
  tls: import("pacc").AttributeDefinition;
235
222
  hostName: {
236
223
  writable: boolean;
@@ -247,18 +234,18 @@ export class ExtraSourceService extends Service {
247
234
  env?: string[] | string;
248
235
  };
249
236
  cidrAddresses: {
250
- collection: boolean;
251
237
  writable: boolean;
238
+ collection: boolean;
252
239
  type: string;
253
240
  isKey: boolean;
254
241
  mandatory: boolean;
255
- private?: boolean;
256
- depends?: string;
257
- description?: string;
258
- default?: any;
259
- set?: Function;
260
- get?: Function;
261
- env?: string[] | string;
242
+ private: boolean;
243
+ depends: string;
244
+ description: string;
245
+ default: any;
246
+ set: Function;
247
+ get: Function;
248
+ env: string[] | string;
262
249
  };
263
250
  cidrAddress: {
264
251
  writable: boolean;
@@ -275,18 +262,18 @@ export class ExtraSourceService extends Service {
275
262
  env?: string[] | string;
276
263
  };
277
264
  addresses: {
278
- collection: boolean;
279
265
  writable: boolean;
266
+ collection: boolean;
280
267
  type: string;
281
268
  isKey: boolean;
282
269
  mandatory: boolean;
283
- private?: boolean;
284
- depends?: string;
285
- description?: string;
286
- default?: any;
287
- set?: Function;
288
- get?: Function;
289
- env?: string[] | string;
270
+ private: boolean;
271
+ depends: string;
272
+ description: string;
273
+ default: any;
274
+ set: Function;
275
+ get: Function;
276
+ env: string[] | string;
290
277
  };
291
278
  address: {
292
279
  writable: boolean;
package/types/host.d.mts CHANGED
@@ -14,9 +14,9 @@ export class Host extends ServiceOwner {
14
14
  };
15
15
  type: import("pacc").AttributeDefinition;
16
16
  name: {
17
- isKey: boolean;
18
17
  writable: boolean;
19
18
  type: string;
19
+ isKey: boolean;
20
20
  mandatory: boolean;
21
21
  collection: boolean;
22
22
  private?: boolean;
@@ -98,18 +98,18 @@ export class Host extends ServiceOwner {
98
98
  env?: string[] | string;
99
99
  };
100
100
  tags: {
101
- collection: boolean;
102
101
  writable: boolean;
102
+ collection: boolean;
103
103
  type: string;
104
104
  isKey: boolean;
105
105
  mandatory: boolean;
106
- private?: boolean;
107
- depends?: string;
108
- description?: string;
109
- default?: any;
110
- set?: Function;
111
- get?: Function;
112
- env?: string[] | string;
106
+ private: boolean;
107
+ depends: string;
108
+ description: string;
109
+ default: any;
110
+ set: Function;
111
+ get: Function;
112
+ env: string[] | string;
113
113
  };
114
114
  };
115
115
  };
@@ -125,18 +125,18 @@ export class Host extends ServiceOwner {
125
125
  writable: boolean;
126
126
  };
127
127
  aliases: {
128
- collection: boolean;
129
128
  writable: boolean;
129
+ collection: boolean;
130
130
  type: string;
131
131
  isKey: boolean;
132
132
  mandatory: boolean;
133
- private?: boolean;
134
- depends?: string;
135
- description?: string;
136
- default?: any;
137
- set?: Function;
138
- get?: Function;
139
- env?: string[] | string;
133
+ private: boolean;
134
+ depends: string;
135
+ description: string;
136
+ default: any;
137
+ set: Function;
138
+ get: Function;
139
+ env: string[] | string;
140
140
  };
141
141
  os: {
142
142
  writable: boolean;
@@ -283,66 +283,53 @@ export class Host extends ServiceOwner {
283
283
  env?: string[] | string;
284
284
  };
285
285
  replaces: {
286
- collection: boolean;
287
286
  writable: boolean;
287
+ collection: boolean;
288
288
  type: string;
289
289
  isKey: boolean;
290
290
  mandatory: boolean;
291
- private?: boolean;
292
- depends?: string;
293
- description?: string;
294
- default?: any;
295
- set?: Function;
296
- get?: Function;
297
- env?: string[] | string;
291
+ private: boolean;
292
+ depends: string;
293
+ description: string;
294
+ default: any;
295
+ set: Function;
296
+ get: Function;
297
+ env: string[] | string;
298
298
  };
299
299
  depends: {
300
- collection: boolean;
301
300
  writable: boolean;
301
+ collection: boolean;
302
302
  type: string;
303
303
  isKey: boolean;
304
304
  mandatory: boolean;
305
- private?: boolean;
306
- depends?: string;
307
- description?: string;
308
- default?: any;
309
- set?: Function;
310
- get?: Function;
311
- env?: string[] | string;
305
+ private: boolean;
306
+ depends: string;
307
+ description: string;
308
+ default: any;
309
+ set: Function;
310
+ get: Function;
311
+ env: string[] | string;
312
312
  };
313
313
  provides: {
314
- collection: boolean;
315
314
  writable: boolean;
315
+ collection: boolean;
316
316
  type: string;
317
317
  isKey: boolean;
318
318
  mandatory: boolean;
319
- private?: boolean;
320
- depends?: string;
321
- description?: string;
322
- default?: any;
323
- set?: Function;
324
- get?: Function;
325
- env?: string[] | string;
319
+ private: boolean;
320
+ depends: string;
321
+ description: string;
322
+ default: any;
323
+ set: Function;
324
+ get: Function;
325
+ env: string[] | string;
326
326
  };
327
327
  extends: {
328
328
  type: string;
329
329
  collection: boolean;
330
330
  writable: boolean;
331
331
  };
332
- model: {
333
- collection: boolean;
334
- writable: boolean;
335
- type: string;
336
- isKey: boolean;
337
- mandatory: boolean;
338
- private?: boolean;
339
- depends?: string;
340
- description?: string;
341
- default?: any;
342
- set?: Function;
343
- get?: Function;
344
- env?: string[] | string;
345
- };
332
+ model: import("pacc").AttributeDefinition;
346
333
  isModel: import("pacc").AttributeDefinition;
347
334
  hostName: {
348
335
  writable: boolean;
@@ -359,18 +346,18 @@ export class Host extends ServiceOwner {
359
346
  env?: string[] | string;
360
347
  };
361
348
  cidrAddresses: {
362
- collection: boolean;
363
349
  writable: boolean;
350
+ collection: boolean;
364
351
  type: string;
365
352
  isKey: boolean;
366
353
  mandatory: boolean;
367
- private?: boolean;
368
- depends?: string;
369
- description?: string;
370
- default?: any;
371
- set?: Function;
372
- get?: Function;
373
- env?: string[] | string;
354
+ private: boolean;
355
+ depends: string;
356
+ description: string;
357
+ default: any;
358
+ set: Function;
359
+ get: Function;
360
+ env: string[] | string;
374
361
  };
375
362
  cidrAddress: {
376
363
  writable: boolean;
@@ -387,18 +374,18 @@ export class Host extends ServiceOwner {
387
374
  env?: string[] | string;
388
375
  };
389
376
  addresses: {
390
- collection: boolean;
391
377
  writable: boolean;
378
+ collection: boolean;
392
379
  type: string;
393
380
  isKey: boolean;
394
381
  mandatory: boolean;
395
- private?: boolean;
396
- depends?: string;
397
- description?: string;
398
- default?: any;
399
- set?: Function;
400
- get?: Function;
401
- env?: string[] | string;
382
+ private: boolean;
383
+ depends: string;
384
+ description: string;
385
+ default: any;
386
+ set: Function;
387
+ get: Function;
388
+ env: string[] | string;
402
389
  };
403
390
  address: {
404
391
  writable: boolean;