pmcf 3.20.0 → 3.20.2

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/README.md +33 -10
  2. package/package.json +2 -2
  3. package/src/services/systemd-journal-upload.mjs +12 -4
  4. package/src/services/systemd-journal.mjs +11 -1
  5. package/src/services/systemd-resolved.mjs +34 -6
  6. package/types/base.d.mts +2 -1
  7. package/types/cluster.d.mts +36 -18
  8. package/types/extra-source-service.d.mts +80 -40
  9. package/types/host.d.mts +16 -8
  10. package/types/location.d.mts +28 -14
  11. package/types/network-interfaces/ethernet.d.mts +96 -48
  12. package/types/network-interfaces/loopback.d.mts +92 -46
  13. package/types/network-interfaces/network-interface.d.mts +92 -46
  14. package/types/network-interfaces/tun.d.mts +92 -46
  15. package/types/network-interfaces/wireguard.d.mts +92 -46
  16. package/types/network-interfaces/wlan.d.mts +142 -71
  17. package/types/network-support.d.mts +16 -8
  18. package/types/network.d.mts +56 -28
  19. package/types/owner.d.mts +14 -7
  20. package/types/service.d.mts +46 -23
  21. package/types/services/bind.d.mts +114 -57
  22. package/types/services/chrony.d.mts +100 -50
  23. package/types/services/headscale.d.mts +60 -30
  24. package/types/services/influxdb.d.mts +62 -31
  25. package/types/services/kea.d.mts +70 -35
  26. package/types/services/mosquitto.d.mts +64 -32
  27. package/types/services/openldap.d.mts +60 -30
  28. package/types/services/systemd-journal-remote.d.mts +80 -40
  29. package/types/services/systemd-journal-upload.d.mts +70 -35
  30. package/types/services/systemd-journal.d.mts +106 -53
  31. package/types/services/systemd-resolved.d.mts +117 -60
  32. package/types/services/systemd-timesyncd.d.mts +100 -50
  33. package/types/services/tailscale.d.mts +60 -30
  34. package/types/subnet.d.mts +2 -1
  35. package/types/utils.d.mts +1 -1
@@ -21,7 +21,8 @@ export namespace NetworkInterfaceTypeDefinition {
21
21
  default?: any;
22
22
  set?: Function;
23
23
  get?: Function;
24
- prepareValue?: Function;
24
+ toInternal?: Function;
25
+ toExternal?: Function;
25
26
  values?: Set<any>;
26
27
  externalName?: string;
27
28
  env?: string[] | string;
@@ -41,7 +42,8 @@ export namespace NetworkInterfaceTypeDefinition {
41
42
  default?: any;
42
43
  set?: Function;
43
44
  get?: Function;
44
- prepareValue?: Function;
45
+ toInternal?: Function;
46
+ toExternal?: Function;
45
47
  values?: Set<any>;
46
48
  externalName?: string;
47
49
  env?: string[] | string;
@@ -73,7 +75,8 @@ export namespace NetworkInterfaceTypeDefinition {
73
75
  default?: any;
74
76
  set?: Function;
75
77
  get?: Function;
76
- prepareValue?: Function;
78
+ toInternal?: Function;
79
+ toExternal?: Function;
77
80
  values?: Set<any>;
78
81
  externalName?: string;
79
82
  env?: string[] | string;
@@ -93,7 +96,8 @@ export namespace NetworkInterfaceTypeDefinition {
93
96
  default?: any;
94
97
  set?: Function;
95
98
  get?: Function;
96
- prepareValue?: Function;
99
+ toInternal?: Function;
100
+ toExternal?: Function;
97
101
  values?: Set<any>;
98
102
  externalName?: string;
99
103
  env?: string[] | string;
@@ -113,7 +117,8 @@ export namespace NetworkInterfaceTypeDefinition {
113
117
  default?: any;
114
118
  set?: Function;
115
119
  get?: Function;
116
- prepareValue?: Function;
120
+ toInternal?: Function;
121
+ toExternal?: Function;
117
122
  values?: Set<any>;
118
123
  externalName?: string;
119
124
  env?: string[] | string;
@@ -141,7 +146,8 @@ export namespace NetworkInterfaceTypeDefinition {
141
146
  default?: any;
142
147
  set?: Function;
143
148
  get?: Function;
144
- prepareValue?: Function;
149
+ toInternal?: Function;
150
+ toExternal?: Function;
145
151
  values?: Set<any>;
146
152
  externalName?: string;
147
153
  env?: string[] | string;
@@ -163,7 +169,8 @@ export namespace NetworkInterfaceTypeDefinition {
163
169
  default?: any;
164
170
  set?: Function;
165
171
  get?: Function;
166
- prepareValue?: Function;
172
+ toInternal?: Function;
173
+ toExternal?: Function;
167
174
  values?: Set<any>;
168
175
  externalName?: string;
169
176
  env?: string[] | string;
@@ -189,7 +196,8 @@ export namespace NetworkInterfaceTypeDefinition {
189
196
  default?: any;
190
197
  set?: Function;
191
198
  get?: Function;
192
- prepareValue?: Function;
199
+ toInternal?: Function;
200
+ toExternal?: Function;
193
201
  values?: Set<any>;
194
202
  externalName?: string;
195
203
  env?: string[] | string;
@@ -209,7 +217,8 @@ export namespace NetworkInterfaceTypeDefinition {
209
217
  default?: any;
210
218
  set?: Function;
211
219
  get?: Function;
212
- prepareValue?: Function;
220
+ toInternal?: Function;
221
+ toExternal?: Function;
213
222
  values?: Set<any>;
214
223
  externalName?: string;
215
224
  env?: string[] | string;
@@ -233,7 +242,8 @@ export namespace NetworkInterfaceTypeDefinition {
233
242
  default?: any;
234
243
  set?: Function;
235
244
  get?: Function;
236
- prepareValue?: Function;
245
+ toInternal?: Function;
246
+ toExternal?: Function;
237
247
  values?: Set<any>;
238
248
  externalName?: string;
239
249
  env?: string[] | string;
@@ -253,7 +263,8 @@ export namespace NetworkInterfaceTypeDefinition {
253
263
  default?: any;
254
264
  set?: Function;
255
265
  get?: Function;
256
- prepareValue?: Function;
266
+ toInternal?: Function;
267
+ toExternal?: Function;
257
268
  values?: Set<any>;
258
269
  externalName?: string;
259
270
  env?: string[] | string;
@@ -274,7 +285,8 @@ export namespace NetworkInterfaceTypeDefinition {
274
285
  default?: any;
275
286
  set?: Function;
276
287
  get?: Function;
277
- prepareValue?: Function;
288
+ toInternal?: Function;
289
+ toExternal?: Function;
278
290
  externalName?: string;
279
291
  env?: string[] | string;
280
292
  additionalValues?: object;
@@ -294,7 +306,8 @@ export namespace NetworkInterfaceTypeDefinition {
294
306
  default?: any;
295
307
  set?: Function;
296
308
  get?: Function;
297
- prepareValue?: Function;
309
+ toInternal?: Function;
310
+ toExternal?: Function;
298
311
  externalName?: string;
299
312
  env?: string[] | string;
300
313
  additionalValues?: object;
@@ -314,7 +327,8 @@ export namespace NetworkInterfaceTypeDefinition {
314
327
  default?: any;
315
328
  set?: Function;
316
329
  get?: Function;
317
- prepareValue?: Function;
330
+ toInternal?: Function;
331
+ toExternal?: Function;
318
332
  externalName?: string;
319
333
  env?: string[] | string;
320
334
  additionalValues?: object;
@@ -336,7 +350,8 @@ export namespace NetworkInterfaceTypeDefinition {
336
350
  default?: any;
337
351
  set?: Function;
338
352
  get?: Function;
339
- prepareValue?: Function;
353
+ toInternal?: Function;
354
+ toExternal?: Function;
340
355
  values?: Set<any>;
341
356
  externalName?: string;
342
357
  env?: string[] | string;
@@ -356,7 +371,8 @@ export namespace NetworkInterfaceTypeDefinition {
356
371
  description?: string;
357
372
  set?: Function;
358
373
  get?: Function;
359
- prepareValue?: Function;
374
+ toInternal?: Function;
375
+ toExternal?: Function;
360
376
  values?: Set<any>;
361
377
  externalName?: string;
362
378
  env?: string[] | string;
@@ -377,7 +393,8 @@ export namespace NetworkInterfaceTypeDefinition {
377
393
  default?: any;
378
394
  set?: Function;
379
395
  get?: Function;
380
- prepareValue?: Function;
396
+ toInternal?: Function;
397
+ toExternal?: Function;
381
398
  values?: Set<any>;
382
399
  externalName?: string;
383
400
  env?: string[] | string;
@@ -403,7 +420,8 @@ export namespace NetworkInterfaceTypeDefinition {
403
420
  default?: any;
404
421
  set?: Function;
405
422
  get?: Function;
406
- prepareValue?: Function;
423
+ toInternal?: Function;
424
+ toExternal?: Function;
407
425
  externalName?: string;
408
426
  env?: string[] | string;
409
427
  additionalValues?: object;
@@ -423,7 +441,8 @@ export namespace NetworkInterfaceTypeDefinition {
423
441
  default?: any;
424
442
  set?: Function;
425
443
  get?: Function;
426
- prepareValue?: Function;
444
+ toInternal?: Function;
445
+ toExternal?: Function;
427
446
  externalName?: string;
428
447
  env?: string[] | string;
429
448
  additionalValues?: object;
@@ -443,7 +462,8 @@ export namespace NetworkInterfaceTypeDefinition {
443
462
  default?: any;
444
463
  set?: Function;
445
464
  get?: Function;
446
- prepareValue?: Function;
465
+ toInternal?: Function;
466
+ toExternal?: Function;
447
467
  externalName?: string;
448
468
  env?: string[] | string;
449
469
  additionalValues?: object;
@@ -465,7 +485,8 @@ export namespace NetworkInterfaceTypeDefinition {
465
485
  default?: any;
466
486
  set?: Function;
467
487
  get?: Function;
468
- prepareValue?: Function;
488
+ toInternal?: Function;
489
+ toExternal?: Function;
469
490
  values?: Set<any>;
470
491
  externalName?: string;
471
492
  env?: string[] | string;
@@ -485,7 +506,8 @@ export namespace NetworkInterfaceTypeDefinition {
485
506
  description?: string;
486
507
  set?: Function;
487
508
  get?: Function;
488
- prepareValue?: Function;
509
+ toInternal?: Function;
510
+ toExternal?: Function;
489
511
  values?: Set<any>;
490
512
  externalName?: string;
491
513
  env?: string[] | string;
@@ -505,7 +527,8 @@ export namespace NetworkInterfaceTypeDefinition {
505
527
  default?: any;
506
528
  set?: Function;
507
529
  get?: Function;
508
- prepareValue?: Function;
530
+ toInternal?: Function;
531
+ toExternal?: Function;
509
532
  values?: Set<any>;
510
533
  externalName?: string;
511
534
  env?: string[] | string;
@@ -537,7 +560,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
537
560
  default?: any;
538
561
  set?: Function;
539
562
  get?: Function;
540
- prepareValue?: Function;
563
+ toInternal?: Function;
564
+ toExternal?: Function;
541
565
  values?: Set<any>;
542
566
  externalName?: string;
543
567
  env?: string[] | string;
@@ -557,7 +581,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
557
581
  default?: any;
558
582
  set?: Function;
559
583
  get?: Function;
560
- prepareValue?: Function;
584
+ toInternal?: Function;
585
+ toExternal?: Function;
561
586
  values?: Set<any>;
562
587
  externalName?: string;
563
588
  env?: string[] | string;
@@ -589,7 +614,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
589
614
  default?: any;
590
615
  set?: Function;
591
616
  get?: Function;
592
- prepareValue?: Function;
617
+ toInternal?: Function;
618
+ toExternal?: Function;
593
619
  values?: Set<any>;
594
620
  externalName?: string;
595
621
  env?: string[] | string;
@@ -609,7 +635,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
609
635
  default?: any;
610
636
  set?: Function;
611
637
  get?: Function;
612
- prepareValue?: Function;
638
+ toInternal?: Function;
639
+ toExternal?: Function;
613
640
  values?: Set<any>;
614
641
  externalName?: string;
615
642
  env?: string[] | string;
@@ -629,7 +656,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
629
656
  default?: any;
630
657
  set?: Function;
631
658
  get?: Function;
632
- prepareValue?: Function;
659
+ toInternal?: Function;
660
+ toExternal?: Function;
633
661
  values?: Set<any>;
634
662
  externalName?: string;
635
663
  env?: string[] | string;
@@ -657,7 +685,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
657
685
  default?: any;
658
686
  set?: Function;
659
687
  get?: Function;
660
- prepareValue?: Function;
688
+ toInternal?: Function;
689
+ toExternal?: Function;
661
690
  values?: Set<any>;
662
691
  externalName?: string;
663
692
  env?: string[] | string;
@@ -679,7 +708,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
679
708
  default?: any;
680
709
  set?: Function;
681
710
  get?: Function;
682
- prepareValue?: Function;
711
+ toInternal?: Function;
712
+ toExternal?: Function;
683
713
  values?: Set<any>;
684
714
  externalName?: string;
685
715
  env?: string[] | string;
@@ -705,7 +735,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
705
735
  default?: any;
706
736
  set?: Function;
707
737
  get?: Function;
708
- prepareValue?: Function;
738
+ toInternal?: Function;
739
+ toExternal?: Function;
709
740
  values?: Set<any>;
710
741
  externalName?: string;
711
742
  env?: string[] | string;
@@ -725,7 +756,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
725
756
  default?: any;
726
757
  set?: Function;
727
758
  get?: Function;
728
- prepareValue?: Function;
759
+ toInternal?: Function;
760
+ toExternal?: Function;
729
761
  values?: Set<any>;
730
762
  externalName?: string;
731
763
  env?: string[] | string;
@@ -749,7 +781,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
749
781
  default?: any;
750
782
  set?: Function;
751
783
  get?: Function;
752
- prepareValue?: Function;
784
+ toInternal?: Function;
785
+ toExternal?: Function;
753
786
  values?: Set<any>;
754
787
  externalName?: string;
755
788
  env?: string[] | string;
@@ -769,7 +802,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
769
802
  default?: any;
770
803
  set?: Function;
771
804
  get?: Function;
772
- prepareValue?: Function;
805
+ toInternal?: Function;
806
+ toExternal?: Function;
773
807
  values?: Set<any>;
774
808
  externalName?: string;
775
809
  env?: string[] | string;
@@ -790,7 +824,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
790
824
  default?: any;
791
825
  set?: Function;
792
826
  get?: Function;
793
- prepareValue?: Function;
827
+ toInternal?: Function;
828
+ toExternal?: Function;
794
829
  externalName?: string;
795
830
  env?: string[] | string;
796
831
  additionalValues?: object;
@@ -810,7 +845,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
810
845
  default?: any;
811
846
  set?: Function;
812
847
  get?: Function;
813
- prepareValue?: Function;
848
+ toInternal?: Function;
849
+ toExternal?: Function;
814
850
  externalName?: string;
815
851
  env?: string[] | string;
816
852
  additionalValues?: object;
@@ -830,7 +866,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
830
866
  default?: any;
831
867
  set?: Function;
832
868
  get?: Function;
833
- prepareValue?: Function;
869
+ toInternal?: Function;
870
+ toExternal?: Function;
834
871
  externalName?: string;
835
872
  env?: string[] | string;
836
873
  additionalValues?: object;
@@ -852,7 +889,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
852
889
  default?: any;
853
890
  set?: Function;
854
891
  get?: Function;
855
- prepareValue?: Function;
892
+ toInternal?: Function;
893
+ toExternal?: Function;
856
894
  values?: Set<any>;
857
895
  externalName?: string;
858
896
  env?: string[] | string;
@@ -872,7 +910,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
872
910
  description?: string;
873
911
  set?: Function;
874
912
  get?: Function;
875
- prepareValue?: Function;
913
+ toInternal?: Function;
914
+ toExternal?: Function;
876
915
  values?: Set<any>;
877
916
  externalName?: string;
878
917
  env?: string[] | string;
@@ -893,7 +932,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
893
932
  default?: any;
894
933
  set?: Function;
895
934
  get?: Function;
896
- prepareValue?: Function;
935
+ toInternal?: Function;
936
+ toExternal?: Function;
897
937
  values?: Set<any>;
898
938
  externalName?: string;
899
939
  env?: string[] | string;
@@ -919,7 +959,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
919
959
  default?: any;
920
960
  set?: Function;
921
961
  get?: Function;
922
- prepareValue?: Function;
962
+ toInternal?: Function;
963
+ toExternal?: Function;
923
964
  externalName?: string;
924
965
  env?: string[] | string;
925
966
  additionalValues?: object;
@@ -939,7 +980,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
939
980
  default?: any;
940
981
  set?: Function;
941
982
  get?: Function;
942
- prepareValue?: Function;
983
+ toInternal?: Function;
984
+ toExternal?: Function;
943
985
  externalName?: string;
944
986
  env?: string[] | string;
945
987
  additionalValues?: object;
@@ -959,7 +1001,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
959
1001
  default?: any;
960
1002
  set?: Function;
961
1003
  get?: Function;
962
- prepareValue?: Function;
1004
+ toInternal?: Function;
1005
+ toExternal?: Function;
963
1006
  externalName?: string;
964
1007
  env?: string[] | string;
965
1008
  additionalValues?: object;
@@ -981,7 +1024,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
981
1024
  default?: any;
982
1025
  set?: Function;
983
1026
  get?: Function;
984
- prepareValue?: Function;
1027
+ toInternal?: Function;
1028
+ toExternal?: Function;
985
1029
  values?: Set<any>;
986
1030
  externalName?: string;
987
1031
  env?: string[] | string;
@@ -1001,7 +1045,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
1001
1045
  description?: string;
1002
1046
  set?: Function;
1003
1047
  get?: Function;
1004
- prepareValue?: Function;
1048
+ toInternal?: Function;
1049
+ toExternal?: Function;
1005
1050
  values?: Set<any>;
1006
1051
  externalName?: string;
1007
1052
  env?: string[] | string;
@@ -1021,7 +1066,8 @@ export class NetworkInterface extends SkeletonNetworkInterface {
1021
1066
  default?: any;
1022
1067
  set?: Function;
1023
1068
  get?: Function;
1024
- prepareValue?: Function;
1069
+ toInternal?: Function;
1070
+ toExternal?: Function;
1025
1071
  values?: Set<any>;
1026
1072
  externalName?: string;
1027
1073
  env?: string[] | string;