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 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;
@@ -46,9 +46,18 @@ export class Network extends Owner {
46
46
  env?: string[] | string;
47
47
  };
48
48
  priority: {
49
+ writable: boolean;
49
50
  type: string;
51
+ isKey: boolean;
52
+ mandatory: boolean;
50
53
  collection: boolean;
51
- writable: boolean;
54
+ private?: boolean;
55
+ depends?: string;
56
+ description?: string;
57
+ default?: any;
58
+ set?: Function;
59
+ get?: Function;
60
+ env?: string[] | string;
52
61
  };
53
62
  directory: {
54
63
  writable: boolean;
@@ -151,9 +160,18 @@ export class Network extends Owner {
151
160
  writable: boolean;
152
161
  };
153
162
  prefixLength: {
163
+ writable: boolean;
154
164
  type: string;
165
+ isKey: boolean;
166
+ mandatory: boolean;
155
167
  collection: boolean;
156
- writable: boolean;
168
+ private?: boolean;
169
+ depends?: string;
170
+ description?: string;
171
+ default?: any;
172
+ set?: Function;
173
+ get?: Function;
174
+ env?: string[] | string;
157
175
  };
158
176
  };
159
177
  };
@@ -345,16 +363,32 @@ export class Network extends Owner {
345
363
  env?: string[] | string;
346
364
  };
347
365
  metric: {
348
- type: string;
349
- collection: boolean;
350
366
  writable: boolean;
351
367
  default: number;
352
- };
353
- mtu: {
354
368
  type: string;
369
+ isKey: boolean;
370
+ mandatory: boolean;
355
371
  collection: boolean;
372
+ private?: boolean;
373
+ depends?: string;
374
+ description?: string;
375
+ set?: Function;
376
+ get?: Function;
377
+ env?: string[] | string;
378
+ };
379
+ mtu: {
356
380
  writable: boolean;
357
381
  default: number;
382
+ type: string;
383
+ isKey: boolean;
384
+ mandatory: boolean;
385
+ collection: boolean;
386
+ private?: boolean;
387
+ depends?: string;
388
+ description?: string;
389
+ set?: Function;
390
+ get?: Function;
391
+ env?: string[] | string;
358
392
  };
359
393
  multicastDNS: {
360
394
  writable: boolean;
package/types/owner.d.mts CHANGED
@@ -42,9 +42,18 @@ export class Owner extends Base {
42
42
  env?: string[] | string;
43
43
  };
44
44
  priority: {
45
+ writable: boolean;
45
46
  type: string;
47
+ isKey: boolean;
48
+ mandatory: boolean;
46
49
  collection: boolean;
47
- writable: boolean;
50
+ private?: boolean;
51
+ depends?: string;
52
+ description?: string;
53
+ default?: any;
54
+ set?: Function;
55
+ get?: Function;
56
+ env?: string[] | string;
48
57
  };
49
58
  directory: {
50
59
  writable: boolean;
@@ -147,9 +156,18 @@ export class Owner extends Base {
147
156
  writable: boolean;
148
157
  };
149
158
  prefixLength: {
159
+ writable: boolean;
150
160
  type: string;
161
+ isKey: boolean;
162
+ mandatory: boolean;
151
163
  collection: boolean;
152
- writable: boolean;
164
+ private?: boolean;
165
+ depends?: string;
166
+ description?: string;
167
+ default?: any;
168
+ set?: Function;
169
+ get?: Function;
170
+ env?: string[] | string;
153
171
  };
154
172
  };
155
173
  };
package/types/root.d.mts CHANGED
@@ -48,9 +48,18 @@ export class Root extends Location {
48
48
  env?: string[] | string;
49
49
  };
50
50
  priority: {
51
+ writable: boolean;
51
52
  type: string;
53
+ isKey: boolean;
54
+ mandatory: boolean;
52
55
  collection: boolean;
53
- writable: boolean;
56
+ private?: boolean;
57
+ depends?: string;
58
+ description?: string;
59
+ default?: any;
60
+ set?: Function;
61
+ get?: Function;
62
+ env?: string[] | string;
54
63
  };
55
64
  directory: {
56
65
  writable: boolean;
@@ -153,9 +162,18 @@ export class Root extends Location {
153
162
  writable: boolean;
154
163
  };
155
164
  prefixLength: {
165
+ writable: boolean;
156
166
  type: string;
167
+ isKey: boolean;
168
+ mandatory: boolean;
157
169
  collection: boolean;
158
- writable: boolean;
170
+ private?: boolean;
171
+ depends?: string;
172
+ description?: string;
173
+ default?: any;
174
+ set?: Function;
175
+ get?: Function;
176
+ env?: string[] | string;
159
177
  };
160
178
  };
161
179
  };
@@ -306,9 +324,18 @@ export class Root extends Location {
306
324
  env?: string[] | string;
307
325
  };
308
326
  priority: {
327
+ writable: boolean;
309
328
  type: string;
329
+ isKey: boolean;
330
+ mandatory: boolean;
310
331
  collection: boolean;
311
- writable: boolean;
332
+ private?: boolean;
333
+ depends?: string;
334
+ description?: string;
335
+ default?: any;
336
+ set?: Function;
337
+ get?: Function;
338
+ env?: string[] | string;
312
339
  };
313
340
  directory: {
314
341
  writable: boolean;
@@ -411,9 +438,18 @@ export class Root extends Location {
411
438
  writable: boolean;
412
439
  };
413
440
  prefixLength: {
441
+ writable: boolean;
414
442
  type: string;
443
+ isKey: boolean;
444
+ mandatory: boolean;
415
445
  collection: boolean;
416
- writable: boolean;
446
+ private?: boolean;
447
+ depends?: string;
448
+ description?: string;
449
+ default?: any;
450
+ set?: Function;
451
+ get?: Function;
452
+ env?: string[] | string;
417
453
  };
418
454
  };
419
455
  };