pmcf 3.3.1 → 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 (41) hide show
  1. package/bin/pmcf-package +13 -0
  2. package/package.json +2 -2
  3. package/src/base.mjs +14 -7
  4. package/src/host.mjs +20 -15
  5. package/src/location.mjs +2 -2
  6. package/src/network-interfaces/network-interface.mjs +4 -4
  7. package/src/network-support.mjs +16 -10
  8. package/src/owner.mjs +11 -7
  9. package/src/service.mjs +11 -6
  10. package/src/services/bind.mjs +9 -9
  11. package/src/services/kea.mjs +9 -8
  12. package/src/services/openldap.mjs +4 -4
  13. package/src/services/systemd-journal-upload.mjs +2 -2
  14. package/src/subnet.mjs +3 -3
  15. package/types/base.d.mts +9 -9
  16. package/types/cluster.d.mts +92 -105
  17. package/types/extra-source-service.d.mts +34 -47
  18. package/types/host.d.mts +58 -71
  19. package/types/location.d.mts +76 -76
  20. package/types/network-interfaces/ethernet.d.mts +50 -50
  21. package/types/network-interfaces/loopback.d.mts +50 -50
  22. package/types/network-interfaces/network-interface.d.mts +50 -50
  23. package/types/network-interfaces/wireguard.d.mts +50 -50
  24. package/types/network-interfaces/wlan.d.mts +75 -75
  25. package/types/network-support.d.mts +16 -16
  26. package/types/network.d.mts +34 -34
  27. package/types/owner.d.mts +34 -34
  28. package/types/root.d.mts +76 -76
  29. package/types/service.d.mts +70 -108
  30. package/types/services/bind.d.mts +85 -110
  31. package/types/services/chrony.d.mts +68 -94
  32. package/types/services/influxdb.d.mts +68 -94
  33. package/types/services/kea.d.mts +71 -97
  34. package/types/services/mosquitto.d.mts +68 -94
  35. package/types/services/openldap.d.mts +68 -94
  36. package/types/services/systemd-journal-remote.d.mts +68 -94
  37. package/types/services/systemd-journal-upload.d.mts +68 -94
  38. package/types/services/systemd-journal.d.mts +68 -94
  39. package/types/services/systemd-resolved.d.mts +68 -94
  40. package/types/services/systemd-timesyncd.d.mts +68 -94
  41. package/types/subnet.d.mts +1 -1
@@ -16,9 +16,9 @@ export class Location extends Owner {
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 Location extends Owner {
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 Location extends Owner {
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 Location extends Owner {
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 Location extends Owner {
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 Location extends Owner {
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 Location extends Owner {
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
  };
@@ -434,9 +434,9 @@ export class Location extends Owner {
434
434
  writable: boolean;
435
435
  };
436
436
  prefixLength: {
437
- writable: boolean;
438
437
  type: string;
439
438
  isKey: boolean;
439
+ writable: boolean;
440
440
  mandatory: boolean;
441
441
  collection: boolean;
442
442
  private?: boolean;
@@ -481,18 +481,18 @@ export class Location extends Owner {
481
481
  env?: string[] | string;
482
482
  };
483
483
  domains: {
484
- collection: boolean;
485
484
  writable: boolean;
485
+ collection: boolean;
486
486
  type: string;
487
487
  isKey: boolean;
488
488
  mandatory: boolean;
489
- private?: boolean;
490
- depends?: string;
491
- description?: string;
492
- default?: any;
493
- set?: Function;
494
- get?: Function;
495
- env?: string[] | string;
489
+ private: boolean;
490
+ depends: string;
491
+ description: string;
492
+ default: any;
493
+ set: Function;
494
+ get: Function;
495
+ env: string[] | string;
496
496
  };
497
497
  timezone: {
498
498
  writable: boolean;
@@ -509,32 +509,32 @@ export class Location extends Owner {
509
509
  env?: string[] | string;
510
510
  };
511
511
  architectures: {
512
- collection: boolean;
513
512
  writable: boolean;
513
+ collection: boolean;
514
514
  type: string;
515
515
  isKey: boolean;
516
516
  mandatory: boolean;
517
- private?: boolean;
518
- depends?: string;
519
- description?: string;
520
- default?: any;
521
- set?: Function;
522
- get?: Function;
523
- env?: string[] | string;
517
+ private: boolean;
518
+ depends: string;
519
+ description: string;
520
+ default: any;
521
+ set: Function;
522
+ get: Function;
523
+ env: string[] | string;
524
524
  };
525
525
  locales: {
526
- collection: boolean;
527
526
  writable: boolean;
527
+ collection: boolean;
528
528
  type: string;
529
529
  isKey: boolean;
530
530
  mandatory: boolean;
531
- private?: boolean;
532
- depends?: string;
533
- description?: string;
534
- default?: any;
535
- set?: Function;
536
- get?: Function;
537
- env?: string[] | string;
531
+ private: boolean;
532
+ depends: string;
533
+ description: string;
534
+ default: any;
535
+ set: Function;
536
+ get: Function;
537
+ env: string[] | string;
538
538
  };
539
539
  administratorEmail: {
540
540
  writable: boolean;
@@ -554,18 +554,18 @@ export class Location extends Owner {
554
554
  };
555
555
  properties: {
556
556
  locales: {
557
- collection: boolean;
558
557
  writable: boolean;
558
+ collection: boolean;
559
559
  type: string;
560
560
  isKey: boolean;
561
561
  mandatory: boolean;
562
- private?: boolean;
563
- depends?: string;
564
- description?: string;
565
- default?: any;
566
- set?: Function;
567
- get?: Function;
568
- env?: string[] | string;
562
+ private: boolean;
563
+ depends: string;
564
+ description: string;
565
+ default: any;
566
+ set: Function;
567
+ get: Function;
568
+ env: string[] | string;
569
569
  };
570
570
  };
571
571
  };
@@ -30,9 +30,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
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 EthernetNetworkInterface extends NetworkInterface {
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
  };
@@ -199,18 +199,18 @@ export class EthernetNetworkInterface extends NetworkInterface {
199
199
  env?: string[] | string;
200
200
  };
201
201
  cidrAddresses: {
202
- collection: boolean;
203
202
  writable: boolean;
203
+ collection: boolean;
204
204
  type: string;
205
205
  isKey: boolean;
206
206
  mandatory: boolean;
207
- private?: boolean;
208
- depends?: string;
209
- description?: string;
210
- default?: any;
211
- set?: Function;
212
- get?: Function;
213
- env?: string[] | string;
207
+ private: boolean;
208
+ depends: string;
209
+ description: string;
210
+ default: any;
211
+ set: Function;
212
+ get: Function;
213
+ env: string[] | string;
214
214
  };
215
215
  cidrAddress: {
216
216
  writable: boolean;
@@ -227,18 +227,18 @@ export class EthernetNetworkInterface extends NetworkInterface {
227
227
  env?: string[] | string;
228
228
  };
229
229
  addresses: {
230
- collection: boolean;
231
230
  writable: boolean;
231
+ collection: boolean;
232
232
  type: string;
233
233
  isKey: boolean;
234
234
  mandatory: boolean;
235
- private?: boolean;
236
- depends?: string;
237
- description?: string;
238
- default?: any;
239
- set?: Function;
240
- get?: Function;
241
- env?: string[] | string;
235
+ private: boolean;
236
+ depends: string;
237
+ description: string;
238
+ default: any;
239
+ set: Function;
240
+ get: Function;
241
+ env: string[] | string;
242
242
  };
243
243
  address: {
244
244
  writable: boolean;
@@ -392,9 +392,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
392
392
  };
393
393
  type: import("pacc").AttributeDefinition;
394
394
  name: {
395
- isKey: boolean;
396
395
  writable: boolean;
397
396
  type: string;
397
+ isKey: boolean;
398
398
  mandatory: boolean;
399
399
  collection: boolean;
400
400
  private?: boolean;
@@ -476,18 +476,18 @@ export class EthernetNetworkInterface extends NetworkInterface {
476
476
  env?: string[] | string;
477
477
  };
478
478
  tags: {
479
- collection: boolean;
480
479
  writable: boolean;
480
+ collection: boolean;
481
481
  type: string;
482
482
  isKey: boolean;
483
483
  mandatory: boolean;
484
- private?: boolean;
485
- depends?: string;
486
- description?: string;
487
- default?: any;
488
- set?: Function;
489
- get?: Function;
490
- env?: string[] | string;
484
+ private: boolean;
485
+ depends: string;
486
+ description: string;
487
+ default: any;
488
+ set: Function;
489
+ get: Function;
490
+ env: string[] | string;
491
491
  };
492
492
  };
493
493
  };
@@ -561,18 +561,18 @@ export class EthernetNetworkInterface extends NetworkInterface {
561
561
  env?: string[] | string;
562
562
  };
563
563
  cidrAddresses: {
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
  cidrAddress: {
578
578
  writable: boolean;
@@ -589,18 +589,18 @@ export class EthernetNetworkInterface extends NetworkInterface {
589
589
  env?: string[] | string;
590
590
  };
591
591
  addresses: {
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
  address: {
606
606
  writable: boolean;
@@ -16,9 +16,9 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
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 LoopbackNetworkInterface extends SkeletonNetworkInterface {
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
  };
@@ -185,18 +185,18 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
185
185
  env?: string[] | string;
186
186
  };
187
187
  cidrAddresses: {
188
- collection: boolean;
189
188
  writable: boolean;
189
+ collection: boolean;
190
190
  type: string;
191
191
  isKey: boolean;
192
192
  mandatory: boolean;
193
- private?: boolean;
194
- depends?: string;
195
- description?: string;
196
- default?: any;
197
- set?: Function;
198
- get?: Function;
199
- env?: string[] | string;
193
+ private: boolean;
194
+ depends: string;
195
+ description: string;
196
+ default: any;
197
+ set: Function;
198
+ get: Function;
199
+ env: string[] | string;
200
200
  };
201
201
  cidrAddress: {
202
202
  writable: boolean;
@@ -213,18 +213,18 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
213
213
  env?: string[] | string;
214
214
  };
215
215
  addresses: {
216
- collection: boolean;
217
216
  writable: boolean;
217
+ collection: boolean;
218
218
  type: string;
219
219
  isKey: boolean;
220
220
  mandatory: boolean;
221
- private?: boolean;
222
- depends?: string;
223
- description?: string;
224
- default?: any;
225
- set?: Function;
226
- get?: Function;
227
- env?: string[] | string;
221
+ private: boolean;
222
+ depends: string;
223
+ description: string;
224
+ default: any;
225
+ set: Function;
226
+ get: Function;
227
+ env: string[] | string;
228
228
  };
229
229
  address: {
230
230
  writable: boolean;
@@ -378,9 +378,9 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
378
378
  };
379
379
  type: import("pacc").AttributeDefinition;
380
380
  name: {
381
- isKey: boolean;
382
381
  writable: boolean;
383
382
  type: string;
383
+ isKey: boolean;
384
384
  mandatory: boolean;
385
385
  collection: boolean;
386
386
  private?: boolean;
@@ -462,18 +462,18 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
462
462
  env?: string[] | string;
463
463
  };
464
464
  tags: {
465
- collection: boolean;
466
465
  writable: boolean;
466
+ collection: boolean;
467
467
  type: string;
468
468
  isKey: boolean;
469
469
  mandatory: boolean;
470
- private?: boolean;
471
- depends?: string;
472
- description?: string;
473
- default?: any;
474
- set?: Function;
475
- get?: Function;
476
- env?: string[] | string;
470
+ private: boolean;
471
+ depends: string;
472
+ description: string;
473
+ default: any;
474
+ set: Function;
475
+ get: Function;
476
+ env: string[] | string;
477
477
  };
478
478
  };
479
479
  };
@@ -547,18 +547,18 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
547
547
  env?: string[] | string;
548
548
  };
549
549
  cidrAddresses: {
550
- collection: boolean;
551
550
  writable: boolean;
551
+ collection: boolean;
552
552
  type: string;
553
553
  isKey: boolean;
554
554
  mandatory: boolean;
555
- private?: boolean;
556
- depends?: string;
557
- description?: string;
558
- default?: any;
559
- set?: Function;
560
- get?: Function;
561
- env?: string[] | string;
555
+ private: boolean;
556
+ depends: string;
557
+ description: string;
558
+ default: any;
559
+ set: Function;
560
+ get: Function;
561
+ env: string[] | string;
562
562
  };
563
563
  cidrAddress: {
564
564
  writable: boolean;
@@ -575,18 +575,18 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
575
575
  env?: string[] | string;
576
576
  };
577
577
  addresses: {
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
  address: {
592
592
  writable: boolean;