pmcf 3.2.0 → 3.2.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 (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 +2 -2
  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 +88 -35
  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
@@ -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;
@@ -44,9 +44,18 @@ export class WLANNetworkInterface extends EthernetNetworkInterface {
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 WLANNetworkInterface extends EthernetNetworkInterface {
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;
@@ -383,9 +408,18 @@ export class WLANNetworkInterface extends EthernetNetworkInterface {
383
408
  env?: string[] | string;
384
409
  };
385
410
  priority: {
411
+ writable: boolean;
386
412
  type: string;
413
+ isKey: boolean;
414
+ mandatory: boolean;
387
415
  collection: boolean;
388
- writable: boolean;
416
+ private?: boolean;
417
+ depends?: string;
418
+ description?: string;
419
+ default?: any;
420
+ set?: Function;
421
+ get?: Function;
422
+ env?: string[] | string;
389
423
  };
390
424
  directory: {
391
425
  writable: boolean;
@@ -644,16 +678,32 @@ export class WLANNetworkInterface extends EthernetNetworkInterface {
644
678
  env?: string[] | string;
645
679
  };
646
680
  metric: {
647
- type: string;
648
- collection: boolean;
649
681
  writable: boolean;
650
682
  default: number;
651
- };
652
- mtu: {
653
683
  type: string;
684
+ isKey: boolean;
685
+ mandatory: boolean;
654
686
  collection: boolean;
687
+ private?: boolean;
688
+ depends?: string;
689
+ description?: string;
690
+ set?: Function;
691
+ get?: Function;
692
+ env?: string[] | string;
693
+ };
694
+ mtu: {
655
695
  writable: boolean;
656
696
  default: number;
697
+ type: string;
698
+ isKey: boolean;
699
+ mandatory: boolean;
700
+ collection: boolean;
701
+ private?: boolean;
702
+ depends?: string;
703
+ description?: string;
704
+ set?: Function;
705
+ get?: Function;
706
+ env?: string[] | string;
657
707
  };
658
708
  gateway: {
659
709
  type: string;
@@ -720,9 +770,18 @@ export class WLANNetworkInterface extends EthernetNetworkInterface {
720
770
  env?: string[] | string;
721
771
  };
722
772
  priority: {
773
+ writable: boolean;
723
774
  type: string;
775
+ isKey: boolean;
776
+ mandatory: boolean;
724
777
  collection: boolean;
725
- writable: boolean;
778
+ private?: boolean;
779
+ depends?: string;
780
+ description?: string;
781
+ default?: any;
782
+ set?: Function;
783
+ get?: Function;
784
+ env?: string[] | string;
726
785
  };
727
786
  directory: {
728
787
  writable: boolean;
@@ -981,16 +1040,32 @@ export class WLANNetworkInterface extends EthernetNetworkInterface {
981
1040
  env?: string[] | string;
982
1041
  };
983
1042
  metric: {
984
- type: string;
985
- collection: boolean;
986
1043
  writable: boolean;
987
1044
  default: number;
988
- };
989
- mtu: {
990
1045
  type: string;
1046
+ isKey: boolean;
1047
+ mandatory: boolean;
991
1048
  collection: boolean;
1049
+ private?: boolean;
1050
+ depends?: string;
1051
+ description?: string;
1052
+ set?: Function;
1053
+ get?: Function;
1054
+ env?: string[] | string;
1055
+ };
1056
+ mtu: {
992
1057
  writable: boolean;
993
1058
  default: number;
1059
+ type: string;
1060
+ isKey: boolean;
1061
+ mandatory: boolean;
1062
+ collection: boolean;
1063
+ private?: boolean;
1064
+ depends?: string;
1065
+ description?: string;
1066
+ set?: Function;
1067
+ get?: Function;
1068
+ env?: string[] | string;
994
1069
  };
995
1070
  gateway: {
996
1071
  type: string;
@@ -73,30 +73,38 @@ export namespace networkProperties {
73
73
  get?: Function;
74
74
  env?: string[] | string;
75
75
  };
76
- export namespace metric {
77
- export let type: string;
78
- export let collection: boolean;
79
- export let writable: boolean;
80
- let _default: number;
81
- export { _default as default };
82
- }
83
- export namespace mtu {
84
- let type_1: string;
85
- export { type_1 as type };
86
- let collection_1: boolean;
87
- export { collection_1 as collection };
88
- let writable_1: boolean;
89
- export { writable_1 as writable };
90
- let _default_1: number;
91
- export { _default_1 as default };
92
- }
76
+ export let metric: {
77
+ writable: boolean;
78
+ default: number;
79
+ type: string;
80
+ isKey: boolean;
81
+ mandatory: boolean;
82
+ collection: boolean;
83
+ private?: boolean;
84
+ depends?: string;
85
+ description?: string;
86
+ set?: Function;
87
+ get?: Function;
88
+ env?: string[] | string;
89
+ };
90
+ export let mtu: {
91
+ writable: boolean;
92
+ default: number;
93
+ type: string;
94
+ isKey: boolean;
95
+ mandatory: boolean;
96
+ collection: boolean;
97
+ private?: boolean;
98
+ depends?: string;
99
+ description?: string;
100
+ set?: Function;
101
+ get?: Function;
102
+ env?: string[] | string;
103
+ };
93
104
  export namespace gateway {
94
- let type_2: string;
95
- export { type_2 as type };
96
- let collection_2: boolean;
97
- export { collection_2 as collection };
98
- let writable_2: boolean;
99
- export { writable_2 as writable };
105
+ let type: string;
106
+ let collection: boolean;
107
+ let writable: boolean;
100
108
  }
101
109
  export let multicastDNS: {
102
110
  writable: boolean;