pmcf 3.2.0 → 3.3.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 (35) hide show
  1. package/package.json +2 -2
  2. package/src/base.mjs +2 -2
  3. package/src/cluster.mjs +3 -2
  4. package/src/host.mjs +4 -4
  5. package/src/network-support.mjs +3 -3
  6. package/src/service.mjs +5 -8
  7. package/src/services/bind.mjs +23 -25
  8. package/src/subnet.mjs +2 -2
  9. package/types/base.d.mts +10 -1
  10. package/types/cluster.d.mts +71 -12
  11. package/types/extra-source-service.d.mts +39 -17
  12. package/types/host.d.mts +31 -8
  13. package/types/location.d.mts +40 -4
  14. package/types/network-interfaces/ethernet.d.mts +60 -10
  15. package/types/network-interfaces/loopback.d.mts +60 -10
  16. package/types/network-interfaces/network-interface.d.mts +60 -10
  17. package/types/network-interfaces/wireguard.d.mts +60 -10
  18. package/types/network-interfaces/wlan.d.mts +90 -15
  19. package/types/network-support.d.mts +31 -23
  20. package/types/network.d.mts +40 -6
  21. package/types/owner.d.mts +20 -2
  22. package/types/root.d.mts +40 -4
  23. package/types/service.d.mts +89 -49
  24. package/types/services/bind.d.mts +86 -98
  25. package/types/services/chrony.d.mts +78 -34
  26. package/types/services/influxdb.d.mts +78 -34
  27. package/types/services/kea.d.mts +78 -34
  28. package/types/services/mosquitto.d.mts +78 -34
  29. package/types/services/openldap.d.mts +78 -34
  30. package/types/services/systemd-journal-remote.d.mts +78 -34
  31. package/types/services/systemd-journal-upload.d.mts +78 -34
  32. package/types/services/systemd-journal.d.mts +78 -34
  33. package/types/services/systemd-resolved.d.mts +78 -34
  34. package/types/services/systemd-timesyncd.d.mts +78 -34
  35. package/types/subnet.d.mts +10 -1
@@ -44,9 +44,18 @@ export class Location extends Owner {
44
44
  env?: string[] | string;
45
45
  };
46
46
  priority: {
47
+ writable: boolean;
47
48
  type: string;
49
+ isKey: boolean;
50
+ mandatory: boolean;
48
51
  collection: boolean;
49
- writable: boolean;
52
+ private?: boolean;
53
+ depends?: string;
54
+ description?: string;
55
+ default?: any;
56
+ set?: Function;
57
+ get?: Function;
58
+ env?: string[] | string;
50
59
  };
51
60
  directory: {
52
61
  writable: boolean;
@@ -149,9 +158,18 @@ export class Location extends Owner {
149
158
  writable: boolean;
150
159
  };
151
160
  prefixLength: {
161
+ writable: boolean;
152
162
  type: string;
163
+ isKey: boolean;
164
+ mandatory: boolean;
153
165
  collection: boolean;
154
- writable: boolean;
166
+ private?: boolean;
167
+ depends?: string;
168
+ description?: string;
169
+ default?: any;
170
+ set?: Function;
171
+ get?: Function;
172
+ env?: string[] | string;
155
173
  };
156
174
  };
157
175
  };
@@ -302,9 +320,18 @@ export class Location extends Owner {
302
320
  env?: string[] | string;
303
321
  };
304
322
  priority: {
323
+ writable: boolean;
305
324
  type: string;
325
+ isKey: boolean;
326
+ mandatory: boolean;
306
327
  collection: boolean;
307
- writable: boolean;
328
+ private?: boolean;
329
+ depends?: string;
330
+ description?: string;
331
+ default?: any;
332
+ set?: Function;
333
+ get?: Function;
334
+ env?: string[] | string;
308
335
  };
309
336
  directory: {
310
337
  writable: boolean;
@@ -407,9 +434,18 @@ export class Location extends Owner {
407
434
  writable: boolean;
408
435
  };
409
436
  prefixLength: {
437
+ writable: boolean;
410
438
  type: string;
439
+ isKey: boolean;
440
+ mandatory: boolean;
411
441
  collection: boolean;
412
- writable: boolean;
442
+ private?: boolean;
443
+ depends?: string;
444
+ description?: string;
445
+ default?: any;
446
+ set?: Function;
447
+ get?: Function;
448
+ env?: string[] | string;
413
449
  };
414
450
  };
415
451
  };
@@ -58,9 +58,18 @@ export class EthernetNetworkInterface extends NetworkInterface {
58
58
  env?: string[] | string;
59
59
  };
60
60
  priority: {
61
+ writable: boolean;
61
62
  type: string;
63
+ isKey: boolean;
64
+ mandatory: boolean;
62
65
  collection: boolean;
63
- writable: boolean;
66
+ private?: boolean;
67
+ depends?: string;
68
+ description?: string;
69
+ default?: any;
70
+ set?: Function;
71
+ get?: Function;
72
+ env?: string[] | string;
64
73
  };
65
74
  directory: {
66
75
  writable: boolean;
@@ -319,16 +328,32 @@ export class EthernetNetworkInterface extends NetworkInterface {
319
328
  env?: string[] | string;
320
329
  };
321
330
  metric: {
322
- type: string;
323
- collection: boolean;
324
331
  writable: boolean;
325
332
  default: number;
326
- };
327
- mtu: {
328
333
  type: string;
334
+ isKey: boolean;
335
+ mandatory: boolean;
329
336
  collection: boolean;
337
+ private?: boolean;
338
+ depends?: string;
339
+ description?: string;
340
+ set?: Function;
341
+ get?: Function;
342
+ env?: string[] | string;
343
+ };
344
+ mtu: {
330
345
  writable: boolean;
331
346
  default: number;
347
+ type: string;
348
+ isKey: boolean;
349
+ mandatory: boolean;
350
+ collection: boolean;
351
+ private?: boolean;
352
+ depends?: string;
353
+ description?: string;
354
+ set?: Function;
355
+ get?: Function;
356
+ env?: string[] | string;
332
357
  };
333
358
  gateway: {
334
359
  type: string;
@@ -395,9 +420,18 @@ export class EthernetNetworkInterface extends NetworkInterface {
395
420
  env?: string[] | string;
396
421
  };
397
422
  priority: {
423
+ writable: boolean;
398
424
  type: string;
425
+ isKey: boolean;
426
+ mandatory: boolean;
399
427
  collection: boolean;
400
- writable: boolean;
428
+ private?: boolean;
429
+ depends?: string;
430
+ description?: string;
431
+ default?: any;
432
+ set?: Function;
433
+ get?: Function;
434
+ env?: string[] | string;
401
435
  };
402
436
  directory: {
403
437
  writable: boolean;
@@ -656,16 +690,32 @@ export class EthernetNetworkInterface extends NetworkInterface {
656
690
  env?: string[] | string;
657
691
  };
658
692
  metric: {
659
- type: string;
660
- collection: boolean;
661
693
  writable: boolean;
662
694
  default: number;
663
- };
664
- mtu: {
665
695
  type: string;
696
+ isKey: boolean;
697
+ mandatory: boolean;
666
698
  collection: boolean;
699
+ private?: boolean;
700
+ depends?: string;
701
+ description?: string;
702
+ set?: Function;
703
+ get?: Function;
704
+ env?: string[] | string;
705
+ };
706
+ mtu: {
667
707
  writable: boolean;
668
708
  default: number;
709
+ type: string;
710
+ isKey: boolean;
711
+ mandatory: boolean;
712
+ collection: boolean;
713
+ private?: boolean;
714
+ depends?: string;
715
+ description?: string;
716
+ set?: Function;
717
+ get?: Function;
718
+ env?: string[] | string;
669
719
  };
670
720
  gateway: {
671
721
  type: string;
@@ -44,9 +44,18 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
44
44
  env?: string[] | string;
45
45
  };
46
46
  priority: {
47
+ writable: boolean;
47
48
  type: string;
49
+ isKey: boolean;
50
+ mandatory: boolean;
48
51
  collection: boolean;
49
- writable: boolean;
52
+ private?: boolean;
53
+ depends?: string;
54
+ description?: string;
55
+ default?: any;
56
+ set?: Function;
57
+ get?: Function;
58
+ env?: string[] | string;
50
59
  };
51
60
  directory: {
52
61
  writable: boolean;
@@ -305,16 +314,32 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
305
314
  env?: string[] | string;
306
315
  };
307
316
  metric: {
308
- type: string;
309
- collection: boolean;
310
317
  writable: boolean;
311
318
  default: number;
312
- };
313
- mtu: {
314
319
  type: string;
320
+ isKey: boolean;
321
+ mandatory: boolean;
315
322
  collection: boolean;
323
+ private?: boolean;
324
+ depends?: string;
325
+ description?: string;
326
+ set?: Function;
327
+ get?: Function;
328
+ env?: string[] | string;
329
+ };
330
+ mtu: {
316
331
  writable: boolean;
317
332
  default: number;
333
+ type: string;
334
+ isKey: boolean;
335
+ mandatory: boolean;
336
+ collection: boolean;
337
+ private?: boolean;
338
+ depends?: string;
339
+ description?: string;
340
+ set?: Function;
341
+ get?: Function;
342
+ env?: string[] | string;
318
343
  };
319
344
  gateway: {
320
345
  type: string;
@@ -381,9 +406,18 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
381
406
  env?: string[] | string;
382
407
  };
383
408
  priority: {
409
+ writable: boolean;
384
410
  type: string;
411
+ isKey: boolean;
412
+ mandatory: boolean;
385
413
  collection: boolean;
386
- writable: boolean;
414
+ private?: boolean;
415
+ depends?: string;
416
+ description?: string;
417
+ default?: any;
418
+ set?: Function;
419
+ get?: Function;
420
+ env?: string[] | string;
387
421
  };
388
422
  directory: {
389
423
  writable: boolean;
@@ -642,16 +676,32 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
642
676
  env?: string[] | string;
643
677
  };
644
678
  metric: {
645
- type: string;
646
- collection: boolean;
647
679
  writable: boolean;
648
680
  default: number;
649
- };
650
- mtu: {
651
681
  type: string;
682
+ isKey: boolean;
683
+ mandatory: boolean;
652
684
  collection: boolean;
685
+ private?: boolean;
686
+ depends?: string;
687
+ description?: string;
688
+ set?: Function;
689
+ get?: Function;
690
+ env?: string[] | string;
691
+ };
692
+ mtu: {
653
693
  writable: boolean;
654
694
  default: number;
695
+ type: string;
696
+ isKey: boolean;
697
+ mandatory: boolean;
698
+ collection: boolean;
699
+ private?: boolean;
700
+ depends?: string;
701
+ description?: string;
702
+ set?: Function;
703
+ get?: Function;
704
+ env?: string[] | string;
655
705
  };
656
706
  gateway: {
657
707
  type: string;
@@ -41,9 +41,18 @@ export namespace NetworkInterfaceTypeDefinition {
41
41
  env?: string[] | string;
42
42
  };
43
43
  priority: {
44
+ writable: boolean;
44
45
  type: string;
46
+ isKey: boolean;
47
+ mandatory: boolean;
45
48
  collection: boolean;
46
- writable: boolean;
49
+ private?: boolean;
50
+ depends?: string;
51
+ description?: string;
52
+ default?: any;
53
+ set?: Function;
54
+ get?: Function;
55
+ env?: string[] | string;
47
56
  };
48
57
  directory: {
49
58
  writable: boolean;
@@ -303,16 +312,32 @@ export namespace NetworkInterfaceTypeDefinition {
303
312
  env?: string[] | string;
304
313
  };
305
314
  metric: {
306
- type: string;
307
- collection: boolean;
308
315
  writable: boolean;
309
316
  default: number;
310
- };
311
- mtu: {
312
317
  type: string;
318
+ isKey: boolean;
319
+ mandatory: boolean;
313
320
  collection: boolean;
321
+ private?: boolean;
322
+ depends?: string;
323
+ description?: string;
324
+ set?: Function;
325
+ get?: Function;
326
+ env?: string[] | string;
327
+ };
328
+ mtu: {
314
329
  writable: boolean;
315
330
  default: number;
331
+ type: string;
332
+ isKey: boolean;
333
+ mandatory: boolean;
334
+ collection: boolean;
335
+ private?: boolean;
336
+ depends?: string;
337
+ description?: string;
338
+ set?: Function;
339
+ get?: Function;
340
+ env?: string[] | string;
316
341
  };
317
342
  gateway: {
318
343
  type: string;
@@ -379,9 +404,18 @@ export class NetworkInterface extends SkeletonNetworkInterface {
379
404
  env?: string[] | string;
380
405
  };
381
406
  priority: {
407
+ writable: boolean;
382
408
  type: string;
409
+ isKey: boolean;
410
+ mandatory: boolean;
383
411
  collection: boolean;
384
- writable: boolean;
412
+ private?: boolean;
413
+ depends?: string;
414
+ description?: string;
415
+ default?: any;
416
+ set?: Function;
417
+ get?: Function;
418
+ env?: string[] | string;
385
419
  };
386
420
  directory: {
387
421
  writable: boolean;
@@ -640,16 +674,32 @@ export class NetworkInterface extends SkeletonNetworkInterface {
640
674
  env?: string[] | string;
641
675
  };
642
676
  metric: {
643
- type: string;
644
- collection: boolean;
645
677
  writable: boolean;
646
678
  default: number;
647
- };
648
- mtu: {
649
679
  type: string;
680
+ isKey: boolean;
681
+ mandatory: boolean;
650
682
  collection: boolean;
683
+ private?: boolean;
684
+ depends?: string;
685
+ description?: string;
686
+ set?: Function;
687
+ get?: Function;
688
+ env?: string[] | string;
689
+ };
690
+ mtu: {
651
691
  writable: boolean;
652
692
  default: number;
693
+ type: string;
694
+ isKey: boolean;
695
+ mandatory: boolean;
696
+ collection: boolean;
697
+ private?: boolean;
698
+ depends?: string;
699
+ description?: string;
700
+ set?: Function;
701
+ get?: Function;
702
+ env?: string[] | string;
653
703
  };
654
704
  gateway: {
655
705
  type: string;
@@ -44,9 +44,18 @@ export class WireguardNetworkInterface extends SkeletonNetworkInterface {
44
44
  env?: string[] | string;
45
45
  };
46
46
  priority: {
47
+ writable: boolean;
47
48
  type: string;
49
+ isKey: boolean;
50
+ mandatory: boolean;
48
51
  collection: boolean;
49
- writable: boolean;
52
+ private?: boolean;
53
+ depends?: string;
54
+ description?: string;
55
+ default?: any;
56
+ set?: Function;
57
+ get?: Function;
58
+ env?: string[] | string;
50
59
  };
51
60
  directory: {
52
61
  writable: boolean;
@@ -305,16 +314,32 @@ export class WireguardNetworkInterface extends SkeletonNetworkInterface {
305
314
  env?: string[] | string;
306
315
  };
307
316
  metric: {
308
- type: string;
309
- collection: boolean;
310
317
  writable: boolean;
311
318
  default: number;
312
- };
313
- mtu: {
314
319
  type: string;
320
+ isKey: boolean;
321
+ mandatory: boolean;
315
322
  collection: boolean;
323
+ private?: boolean;
324
+ depends?: string;
325
+ description?: string;
326
+ set?: Function;
327
+ get?: Function;
328
+ env?: string[] | string;
329
+ };
330
+ mtu: {
316
331
  writable: boolean;
317
332
  default: number;
333
+ type: string;
334
+ isKey: boolean;
335
+ mandatory: boolean;
336
+ collection: boolean;
337
+ private?: boolean;
338
+ depends?: string;
339
+ description?: string;
340
+ set?: Function;
341
+ get?: Function;
342
+ env?: string[] | string;
318
343
  };
319
344
  gateway: {
320
345
  type: string;
@@ -381,9 +406,18 @@ export class WireguardNetworkInterface extends SkeletonNetworkInterface {
381
406
  env?: string[] | string;
382
407
  };
383
408
  priority: {
409
+ writable: boolean;
384
410
  type: string;
411
+ isKey: boolean;
412
+ mandatory: boolean;
385
413
  collection: boolean;
386
- writable: boolean;
414
+ private?: boolean;
415
+ depends?: string;
416
+ description?: string;
417
+ default?: any;
418
+ set?: Function;
419
+ get?: Function;
420
+ env?: string[] | string;
387
421
  };
388
422
  directory: {
389
423
  writable: boolean;
@@ -642,16 +676,32 @@ export class WireguardNetworkInterface extends SkeletonNetworkInterface {
642
676
  env?: string[] | string;
643
677
  };
644
678
  metric: {
645
- type: string;
646
- collection: boolean;
647
679
  writable: boolean;
648
680
  default: number;
649
- };
650
- mtu: {
651
681
  type: string;
682
+ isKey: boolean;
683
+ mandatory: boolean;
652
684
  collection: boolean;
685
+ private?: boolean;
686
+ depends?: string;
687
+ description?: string;
688
+ set?: Function;
689
+ get?: Function;
690
+ env?: string[] | string;
691
+ };
692
+ mtu: {
653
693
  writable: boolean;
654
694
  default: number;
695
+ type: string;
696
+ isKey: boolean;
697
+ mandatory: boolean;
698
+ collection: boolean;
699
+ private?: boolean;
700
+ depends?: string;
701
+ description?: string;
702
+ set?: Function;
703
+ get?: Function;
704
+ env?: string[] | string;
655
705
  };
656
706
  gateway: {
657
707
  type: string;