pmcf 2.74.4 → 3.1.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 (46) hide show
  1. package/package.json +3 -3
  2. package/src/base.mjs +14 -16
  3. package/src/cluster.mjs +5 -5
  4. package/src/extra-source-service.mjs +1 -1
  5. package/src/host.mjs +19 -19
  6. package/src/location.mjs +1 -1
  7. package/src/network-interfaces/ethernet.mjs +1 -1
  8. package/src/network-interfaces/network-interface.mjs +6 -6
  9. package/src/network-support.mjs +14 -14
  10. package/src/network.mjs +2 -2
  11. package/src/owner.mjs +11 -11
  12. package/src/service.mjs +7 -7
  13. package/src/services/bind.mjs +18 -18
  14. package/src/services/chrony.mjs +0 -1
  15. package/src/services/kea.mjs +46 -6
  16. package/src/services/openldap.mjs +3 -3
  17. package/src/services/systemd-journal-upload.mjs +1 -1
  18. package/src/subnet.mjs +3 -3
  19. package/src/types.mjs +1 -1
  20. package/types/base.d.mts +29 -19
  21. package/types/cluster.d.mts +101 -107
  22. package/types/extra-source-service.d.mts +43 -42
  23. package/types/host.d.mts +53 -61
  24. package/types/location.d.mts +87 -84
  25. package/types/network-interfaces/ethernet.d.mts +98 -106
  26. package/types/network-interfaces/loopback.d.mts +96 -104
  27. package/types/network-interfaces/network-interface.d.mts +96 -104
  28. package/types/network-interfaces/wireguard.d.mts +96 -104
  29. package/types/network-interfaces/wlan.d.mts +145 -157
  30. package/types/network-support.d.mts +16 -27
  31. package/types/network.d.mts +53 -57
  32. package/types/owner.d.mts +43 -41
  33. package/types/root.d.mts +87 -84
  34. package/types/service.d.mts +86 -87
  35. package/types/services/bind.d.mts +101 -111
  36. package/types/services/chrony.d.mts +83 -81
  37. package/types/services/influxdb.d.mts +82 -80
  38. package/types/services/kea.d.mts +164 -81
  39. package/types/services/mosquitto.d.mts +82 -80
  40. package/types/services/openldap.d.mts +85 -86
  41. package/types/services/systemd-journal-remote.d.mts +82 -80
  42. package/types/services/systemd-journal-upload.d.mts +83 -82
  43. package/types/services/systemd-journal.d.mts +82 -80
  44. package/types/services/systemd-resolved.d.mts +82 -80
  45. package/types/services/systemd-timesyncd.d.mts +82 -80
  46. package/types/subnet.d.mts +3 -4
@@ -12,24 +12,28 @@ export class BindService extends ExtraSourceService {
12
12
  owner: {
13
13
  type: string;
14
14
  collection: boolean;
15
- writeable: boolean;
16
- };
17
- type: {
18
- type: string;
19
- collection: boolean;
20
- writeable: boolean;
15
+ writable: boolean;
21
16
  };
17
+ type: import("pacc").AttributeDefinition;
22
18
  name: {
19
+ isKey: boolean;
20
+ writable: boolean;
23
21
  type: string;
22
+ mandatory: boolean;
24
23
  collection: boolean;
25
- identifier: boolean;
26
- writeable: boolean;
24
+ private?: boolean;
25
+ depends?: string;
26
+ additionalAttributes: string[];
27
+ description?: string;
28
+ default?: any;
29
+ set?: Function;
30
+ get?: Function;
31
+ env?: string[] | string;
27
32
  };
28
33
  description: {
29
- writeable: boolean;
34
+ writable: boolean;
30
35
  type: string;
31
36
  isKey: boolean;
32
- writable: boolean;
33
37
  mandatory: boolean;
34
38
  collection: boolean;
35
39
  private?: boolean;
@@ -44,13 +48,12 @@ export class BindService extends ExtraSourceService {
44
48
  priority: {
45
49
  type: string;
46
50
  collection: boolean;
47
- writeable: boolean;
51
+ writable: boolean;
48
52
  };
49
53
  directory: {
50
- writeable: boolean;
54
+ writable: boolean;
51
55
  type: string;
52
56
  isKey: boolean;
53
- writable: boolean;
54
57
  mandatory: boolean;
55
58
  collection: boolean;
56
59
  private?: boolean;
@@ -63,10 +66,9 @@ export class BindService extends ExtraSourceService {
63
66
  env?: string[] | string;
64
67
  };
65
68
  packaging: {
66
- writeable: boolean;
69
+ writable: boolean;
67
70
  type: string;
68
71
  isKey: boolean;
69
- writable: boolean;
70
72
  mandatory: boolean;
71
73
  collection: boolean;
72
74
  private?: boolean;
@@ -79,17 +81,25 @@ export class BindService extends ExtraSourceService {
79
81
  env?: string[] | string;
80
82
  };
81
83
  disabled: {
84
+ writable: boolean;
85
+ default: boolean;
82
86
  type: string;
87
+ isKey: boolean;
88
+ mandatory: boolean;
83
89
  collection: boolean;
84
- writeable: boolean;
85
- default: boolean;
90
+ private?: boolean;
91
+ depends?: string;
92
+ additionalAttributes: string[];
93
+ description?: string;
94
+ set?: Function;
95
+ get?: Function;
96
+ env?: string[] | string;
86
97
  };
87
98
  tags: {
88
99
  collection: boolean;
89
- writeable: boolean;
100
+ writable: boolean;
90
101
  type: string;
91
102
  isKey: boolean;
92
- writable: boolean;
93
103
  mandatory: boolean;
94
104
  private?: boolean;
95
105
  depends?: string;
@@ -106,10 +116,9 @@ export class BindService extends ExtraSourceService {
106
116
  factoryFor(owner: any, value: any): any;
107
117
  properties: {
108
118
  alias: {
109
- writeable: boolean;
119
+ writable: boolean;
110
120
  type: string;
111
121
  isKey: boolean;
112
- writable: boolean;
113
122
  mandatory: boolean;
114
123
  collection: boolean;
115
124
  private?: boolean;
@@ -124,25 +133,24 @@ export class BindService extends ExtraSourceService {
124
133
  weight: {
125
134
  type: string;
126
135
  collection: boolean;
127
- writeable: boolean;
136
+ writable: boolean;
128
137
  default: number;
129
138
  };
130
139
  systemd: {
131
140
  type: string;
132
141
  collection: boolean;
133
- writeable: boolean;
142
+ writable: boolean;
134
143
  };
135
144
  port: {
136
145
  type: string;
137
146
  collection: boolean;
138
- writeable: boolean;
147
+ writable: boolean;
139
148
  };
140
149
  protocol: {
141
- writeable: boolean;
150
+ writable: boolean;
142
151
  values: string[];
143
152
  type: string;
144
153
  isKey: boolean;
145
- writable: boolean;
146
154
  mandatory: boolean;
147
155
  collection: boolean;
148
156
  private?: boolean;
@@ -155,10 +163,9 @@ export class BindService extends ExtraSourceService {
155
163
  env?: string[] | string;
156
164
  };
157
165
  type: {
158
- writeable: boolean;
166
+ writable: boolean;
159
167
  type: string;
160
168
  isKey: boolean;
161
- writable: boolean;
162
169
  mandatory: boolean;
163
170
  collection: boolean;
164
171
  private?: boolean;
@@ -186,10 +193,9 @@ export class BindService extends ExtraSourceService {
186
193
  env?: string[] | string;
187
194
  };
188
195
  tls: {
189
- writeable: boolean;
196
+ writable: boolean;
190
197
  type: string;
191
198
  isKey: boolean;
192
- writable: boolean;
193
199
  mandatory: boolean;
194
200
  collection: boolean;
195
201
  private?: boolean;
@@ -202,10 +208,9 @@ export class BindService extends ExtraSourceService {
202
208
  env?: string[] | string;
203
209
  };
204
210
  hostName: {
205
- writeable: boolean;
211
+ writable: boolean;
206
212
  type: string;
207
213
  isKey: boolean;
208
- writable: boolean;
209
214
  mandatory: boolean;
210
215
  collection: boolean;
211
216
  private?: boolean;
@@ -219,10 +224,9 @@ export class BindService extends ExtraSourceService {
219
224
  };
220
225
  cidrAddresses: {
221
226
  collection: boolean;
222
- writeable: boolean;
227
+ writable: boolean;
223
228
  type: string;
224
229
  isKey: boolean;
225
- writable: boolean;
226
230
  mandatory: boolean;
227
231
  private?: boolean;
228
232
  depends?: string;
@@ -234,10 +238,9 @@ export class BindService extends ExtraSourceService {
234
238
  env?: string[] | string;
235
239
  };
236
240
  cidrAddress: {
237
- writeable: boolean;
241
+ writable: boolean;
238
242
  type: string;
239
243
  isKey: boolean;
240
- writable: boolean;
241
244
  mandatory: boolean;
242
245
  collection: boolean;
243
246
  private?: boolean;
@@ -251,10 +254,9 @@ export class BindService extends ExtraSourceService {
251
254
  };
252
255
  addresses: {
253
256
  collection: boolean;
254
- writeable: boolean;
257
+ writable: boolean;
255
258
  type: string;
256
259
  isKey: boolean;
257
- writable: boolean;
258
260
  mandatory: boolean;
259
261
  private?: boolean;
260
262
  depends?: string;
@@ -266,10 +268,9 @@ export class BindService extends ExtraSourceService {
266
268
  env?: string[] | string;
267
269
  };
268
270
  address: {
269
- writeable: boolean;
271
+ writable: boolean;
270
272
  type: string;
271
273
  isKey: boolean;
272
- writable: boolean;
273
274
  mandatory: boolean;
274
275
  collection: boolean;
275
276
  private?: boolean;
@@ -298,24 +299,28 @@ export class BindService extends ExtraSourceService {
298
299
  owner: {
299
300
  type: string;
300
301
  collection: boolean;
301
- writeable: boolean;
302
- };
303
- type: {
304
- type: string;
305
- collection: boolean;
306
- writeable: boolean;
302
+ writable: boolean;
307
303
  };
304
+ type: import("pacc").AttributeDefinition;
308
305
  name: {
306
+ isKey: boolean;
307
+ writable: boolean;
309
308
  type: string;
309
+ mandatory: boolean;
310
310
  collection: boolean;
311
- identifier: boolean;
312
- writeable: boolean;
311
+ private?: boolean;
312
+ depends?: string;
313
+ additionalAttributes: string[];
314
+ description?: string;
315
+ default?: any;
316
+ set?: Function;
317
+ get?: Function;
318
+ env?: string[] | string;
313
319
  };
314
320
  description: {
315
- writeable: boolean;
321
+ writable: boolean;
316
322
  type: string;
317
323
  isKey: boolean;
318
- writable: boolean;
319
324
  mandatory: boolean;
320
325
  collection: boolean;
321
326
  private?: boolean;
@@ -330,13 +335,12 @@ export class BindService extends ExtraSourceService {
330
335
  priority: {
331
336
  type: string;
332
337
  collection: boolean;
333
- writeable: boolean;
338
+ writable: boolean;
334
339
  };
335
340
  directory: {
336
- writeable: boolean;
341
+ writable: boolean;
337
342
  type: string;
338
343
  isKey: boolean;
339
- writable: boolean;
340
344
  mandatory: boolean;
341
345
  collection: boolean;
342
346
  private?: boolean;
@@ -349,10 +353,9 @@ export class BindService extends ExtraSourceService {
349
353
  env?: string[] | string;
350
354
  };
351
355
  packaging: {
352
- writeable: boolean;
356
+ writable: boolean;
353
357
  type: string;
354
358
  isKey: boolean;
355
- writable: boolean;
356
359
  mandatory: boolean;
357
360
  collection: boolean;
358
361
  private?: boolean;
@@ -365,17 +368,25 @@ export class BindService extends ExtraSourceService {
365
368
  env?: string[] | string;
366
369
  };
367
370
  disabled: {
371
+ writable: boolean;
372
+ default: boolean;
368
373
  type: string;
374
+ isKey: boolean;
375
+ mandatory: boolean;
369
376
  collection: boolean;
370
- writeable: boolean;
371
- default: boolean;
377
+ private?: boolean;
378
+ depends?: string;
379
+ additionalAttributes: string[];
380
+ description?: string;
381
+ set?: Function;
382
+ get?: Function;
383
+ env?: string[] | string;
372
384
  };
373
385
  tags: {
374
386
  collection: boolean;
375
- writeable: boolean;
387
+ writable: boolean;
376
388
  type: string;
377
389
  isKey: boolean;
378
- writable: boolean;
379
390
  mandatory: boolean;
380
391
  private?: boolean;
381
392
  depends?: string;
@@ -392,10 +403,9 @@ export class BindService extends ExtraSourceService {
392
403
  factoryFor(owner: any, value: any): any;
393
404
  properties: {
394
405
  alias: {
395
- writeable: boolean;
406
+ writable: boolean;
396
407
  type: string;
397
408
  isKey: boolean;
398
- writable: boolean;
399
409
  mandatory: boolean;
400
410
  collection: boolean;
401
411
  private?: boolean;
@@ -410,25 +420,24 @@ export class BindService extends ExtraSourceService {
410
420
  weight: {
411
421
  type: string;
412
422
  collection: boolean;
413
- writeable: boolean;
423
+ writable: boolean;
414
424
  default: number;
415
425
  };
416
426
  systemd: {
417
427
  type: string;
418
428
  collection: boolean;
419
- writeable: boolean;
429
+ writable: boolean;
420
430
  };
421
431
  port: {
422
432
  type: string;
423
433
  collection: boolean;
424
- writeable: boolean;
434
+ writable: boolean;
425
435
  };
426
436
  protocol: {
427
- writeable: boolean;
437
+ writable: boolean;
428
438
  values: string[];
429
439
  type: string;
430
440
  isKey: boolean;
431
- writable: boolean;
432
441
  mandatory: boolean;
433
442
  collection: boolean;
434
443
  private?: boolean;
@@ -441,10 +450,9 @@ export class BindService extends ExtraSourceService {
441
450
  env?: string[] | string;
442
451
  };
443
452
  type: {
444
- writeable: boolean;
453
+ writable: boolean;
445
454
  type: string;
446
455
  isKey: boolean;
447
- writable: boolean;
448
456
  mandatory: boolean;
449
457
  collection: boolean;
450
458
  private?: boolean;
@@ -472,10 +480,9 @@ export class BindService extends ExtraSourceService {
472
480
  env?: string[] | string;
473
481
  };
474
482
  tls: {
475
- writeable: boolean;
483
+ writable: boolean;
476
484
  type: string;
477
485
  isKey: boolean;
478
- writable: boolean;
479
486
  mandatory: boolean;
480
487
  collection: boolean;
481
488
  private?: boolean;
@@ -488,10 +495,9 @@ export class BindService extends ExtraSourceService {
488
495
  env?: string[] | string;
489
496
  };
490
497
  hostName: {
491
- writeable: boolean;
498
+ writable: boolean;
492
499
  type: string;
493
500
  isKey: boolean;
494
- writable: boolean;
495
501
  mandatory: boolean;
496
502
  collection: boolean;
497
503
  private?: boolean;
@@ -505,10 +511,9 @@ export class BindService extends ExtraSourceService {
505
511
  };
506
512
  cidrAddresses: {
507
513
  collection: boolean;
508
- writeable: boolean;
514
+ writable: boolean;
509
515
  type: string;
510
516
  isKey: boolean;
511
- writable: boolean;
512
517
  mandatory: boolean;
513
518
  private?: boolean;
514
519
  depends?: string;
@@ -520,10 +525,9 @@ export class BindService extends ExtraSourceService {
520
525
  env?: string[] | string;
521
526
  };
522
527
  cidrAddress: {
523
- writeable: boolean;
528
+ writable: boolean;
524
529
  type: string;
525
530
  isKey: boolean;
526
- writable: boolean;
527
531
  mandatory: boolean;
528
532
  collection: boolean;
529
533
  private?: boolean;
@@ -537,10 +541,9 @@ export class BindService extends ExtraSourceService {
537
541
  };
538
542
  addresses: {
539
543
  collection: boolean;
540
- writeable: boolean;
544
+ writable: boolean;
541
545
  type: string;
542
546
  isKey: boolean;
543
- writable: boolean;
544
547
  mandatory: boolean;
545
548
  private?: boolean;
546
549
  depends?: string;
@@ -552,10 +555,9 @@ export class BindService extends ExtraSourceService {
552
555
  env?: string[] | string;
553
556
  };
554
557
  address: {
555
- writeable: boolean;
558
+ writable: boolean;
556
559
  type: string;
557
560
  isKey: boolean;
558
- writable: boolean;
559
561
  mandatory: boolean;
560
562
  collection: boolean;
561
563
  private?: boolean;
@@ -574,7 +576,7 @@ export class BindService extends ExtraSourceService {
574
576
  source: {
575
577
  type: string;
576
578
  collection: boolean;
577
- writeable: boolean;
579
+ writable: boolean;
578
580
  };
579
581
  };
580
582
  };
@@ -583,28 +585,27 @@ export class BindService extends ExtraSourceService {
583
585
  addresses: {
584
586
  type: string[];
585
587
  collection: boolean;
586
- writeable: boolean;
588
+ writable: boolean;
587
589
  };
588
590
  trusted: {
589
591
  type: string[];
590
592
  collection: boolean;
591
- writeable: boolean;
593
+ writable: boolean;
592
594
  };
593
595
  protected: {
594
596
  type: string[];
595
597
  collection: boolean;
596
- writeable: boolean;
598
+ writable: boolean;
597
599
  };
598
600
  internal: {
599
601
  type: string[];
600
602
  collection: boolean;
601
- writeable: boolean;
603
+ writable: boolean;
602
604
  };
603
605
  hasSVRRecords: {
604
- writeable: boolean;
606
+ writable: boolean;
605
607
  type: string;
606
608
  isKey: boolean;
607
- writable: boolean;
608
609
  mandatory: boolean;
609
610
  collection: boolean;
610
611
  private?: boolean;
@@ -617,10 +618,9 @@ export class BindService extends ExtraSourceService {
617
618
  env?: string[] | string;
618
619
  };
619
620
  hasCatalog: {
620
- writeable: boolean;
621
+ writable: boolean;
621
622
  type: string;
622
623
  isKey: boolean;
623
- writable: boolean;
624
624
  mandatory: boolean;
625
625
  collection: boolean;
626
626
  private?: boolean;
@@ -633,10 +633,9 @@ export class BindService extends ExtraSourceService {
633
633
  env?: string[] | string;
634
634
  };
635
635
  hasLinkLocalAdresses: {
636
- writeable: boolean;
636
+ writable: boolean;
637
637
  type: string;
638
638
  isKey: boolean;
639
- writable: boolean;
640
639
  mandatory: boolean;
641
640
  collection: boolean;
642
641
  private?: boolean;
@@ -649,11 +648,10 @@ export class BindService extends ExtraSourceService {
649
648
  env?: string[] | string;
650
649
  };
651
650
  hasLocationRecord: {
652
- writeable: boolean;
651
+ writable: boolean;
653
652
  default: boolean;
654
653
  type: string;
655
654
  isKey: boolean;
656
- writable: boolean;
657
655
  mandatory: boolean;
658
656
  collection: boolean;
659
657
  private?: boolean;
@@ -666,10 +664,9 @@ export class BindService extends ExtraSourceService {
666
664
  };
667
665
  excludeInterfaceKinds: {
668
666
  collection: boolean;
669
- writeable: boolean;
667
+ writable: boolean;
670
668
  type: string;
671
669
  isKey: boolean;
672
- writable: boolean;
673
670
  mandatory: boolean;
674
671
  private?: boolean;
675
672
  depends?: string;
@@ -683,14 +680,13 @@ export class BindService extends ExtraSourceService {
683
680
  exclude: {
684
681
  type: string[];
685
682
  collection: boolean;
686
- writeable: boolean;
683
+ writable: boolean;
687
684
  };
688
685
  notify: {
689
- writeable: boolean;
686
+ writable: boolean;
690
687
  default: boolean;
691
688
  type: string;
692
689
  isKey: boolean;
693
- writable: boolean;
694
690
  mandatory: boolean;
695
691
  collection: boolean;
696
692
  private?: boolean;
@@ -702,10 +698,9 @@ export class BindService extends ExtraSourceService {
702
698
  env?: string[] | string;
703
699
  };
704
700
  recordTTL: {
705
- writeable: boolean;
701
+ writable: boolean;
706
702
  type: string;
707
703
  isKey: boolean;
708
- writable: boolean;
709
704
  mandatory: boolean;
710
705
  collection: boolean;
711
706
  private?: boolean;
@@ -720,13 +715,12 @@ export class BindService extends ExtraSourceService {
720
715
  serial: {
721
716
  type: string;
722
717
  collection: boolean;
723
- writeable: boolean;
718
+ writable: boolean;
724
719
  };
725
720
  refresh: {
726
- writeable: boolean;
721
+ writable: boolean;
727
722
  type: string;
728
723
  isKey: boolean;
729
- writable: boolean;
730
724
  mandatory: boolean;
731
725
  collection: boolean;
732
726
  private?: boolean;
@@ -739,10 +733,9 @@ export class BindService extends ExtraSourceService {
739
733
  env?: string[] | string;
740
734
  };
741
735
  retry: {
742
- writeable: boolean;
736
+ writable: boolean;
743
737
  type: string;
744
738
  isKey: boolean;
745
- writable: boolean;
746
739
  mandatory: boolean;
747
740
  collection: boolean;
748
741
  private?: boolean;
@@ -755,10 +748,9 @@ export class BindService extends ExtraSourceService {
755
748
  env?: string[] | string;
756
749
  };
757
750
  expire: {
758
- writeable: boolean;
751
+ writable: boolean;
759
752
  type: string;
760
753
  isKey: boolean;
761
- writable: boolean;
762
754
  mandatory: boolean;
763
755
  collection: boolean;
764
756
  private?: boolean;
@@ -771,10 +763,9 @@ export class BindService extends ExtraSourceService {
771
763
  env?: string[] | string;
772
764
  };
773
765
  minimum: {
774
- writeable: boolean;
766
+ writable: boolean;
775
767
  type: string;
776
768
  isKey: boolean;
777
- writable: boolean;
778
769
  mandatory: boolean;
779
770
  collection: boolean;
780
771
  private?: boolean;
@@ -788,10 +779,9 @@ export class BindService extends ExtraSourceService {
788
779
  };
789
780
  allowedUpdates: {
790
781
  collection: boolean;
791
- writeable: boolean;
782
+ writable: boolean;
792
783
  type: string;
793
784
  isKey: boolean;
794
- writable: boolean;
795
785
  mandatory: boolean;
796
786
  private?: boolean;
797
787
  depends?: string;