pmcf 3.0.0 → 3.1.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 (45) hide show
  1. package/package.json +3 -3
  2. package/src/base.mjs +9 -9
  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 +47 -6
  16. package/src/services/openldap.mjs +3 -3
  17. package/src/services/systemd-journal-upload.mjs +1 -1
  18. package/src/subnet.mjs +2 -2
  19. package/types/base.d.mts +8 -14
  20. package/types/cluster.d.mts +58 -95
  21. package/types/extra-source-service.d.mts +22 -37
  22. package/types/host.d.mts +32 -56
  23. package/types/location.d.mts +43 -70
  24. package/types/network-interfaces/ethernet.d.mts +56 -96
  25. package/types/network-interfaces/loopback.d.mts +54 -94
  26. package/types/network-interfaces/network-interface.d.mts +54 -94
  27. package/types/network-interfaces/wireguard.d.mts +54 -94
  28. package/types/network-interfaces/wlan.d.mts +82 -142
  29. package/types/network-support.d.mts +16 -27
  30. package/types/network.d.mts +31 -50
  31. package/types/owner.d.mts +21 -34
  32. package/types/root.d.mts +43 -70
  33. package/types/service.d.mts +44 -77
  34. package/types/services/bind.d.mts +59 -101
  35. package/types/services/chrony.d.mts +41 -71
  36. package/types/services/influxdb.d.mts +40 -70
  37. package/types/services/kea.d.mts +122 -71
  38. package/types/services/mosquitto.d.mts +40 -70
  39. package/types/services/openldap.d.mts +43 -76
  40. package/types/services/systemd-journal-remote.d.mts +40 -70
  41. package/types/services/systemd-journal-upload.d.mts +41 -72
  42. package/types/services/systemd-journal.d.mts +40 -70
  43. package/types/services/systemd-resolved.d.mts +40 -70
  44. package/types/services/systemd-timesyncd.d.mts +40 -70
  45. package/types/subnet.d.mts +2 -2
@@ -8,7 +8,7 @@ export namespace EthernetNetworkInterfaceTypeDefinition {
8
8
  namespace arpbridge {
9
9
  let type: string;
10
10
  let collection: boolean;
11
- let writeable: boolean;
11
+ let writable: boolean;
12
12
  }
13
13
  }
14
14
  }
@@ -26,14 +26,13 @@ export class EthernetNetworkInterface extends NetworkInterface {
26
26
  owner: {
27
27
  type: string;
28
28
  collection: boolean;
29
- writeable: boolean;
29
+ writable: boolean;
30
30
  };
31
31
  type: import("pacc").AttributeDefinition;
32
32
  name: {
33
33
  isKey: boolean;
34
- writeable: boolean;
35
- type: string;
36
34
  writable: boolean;
35
+ type: string;
37
36
  mandatory: boolean;
38
37
  collection: boolean;
39
38
  private?: boolean;
@@ -46,10 +45,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
46
45
  env?: string[] | string;
47
46
  };
48
47
  description: {
49
- writeable: boolean;
48
+ writable: boolean;
50
49
  type: string;
51
50
  isKey: boolean;
52
- writable: boolean;
53
51
  mandatory: boolean;
54
52
  collection: boolean;
55
53
  private?: boolean;
@@ -64,13 +62,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
64
62
  priority: {
65
63
  type: string;
66
64
  collection: boolean;
67
- writeable: boolean;
65
+ writable: boolean;
68
66
  };
69
67
  directory: {
70
- writeable: boolean;
68
+ writable: boolean;
71
69
  type: string;
72
70
  isKey: boolean;
73
- writable: boolean;
74
71
  mandatory: boolean;
75
72
  collection: boolean;
76
73
  private?: boolean;
@@ -83,10 +80,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
83
80
  env?: string[] | string;
84
81
  };
85
82
  packaging: {
86
- writeable: boolean;
83
+ writable: boolean;
87
84
  type: string;
88
85
  isKey: boolean;
89
- writable: boolean;
90
86
  mandatory: boolean;
91
87
  collection: boolean;
92
88
  private?: boolean;
@@ -99,11 +95,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
99
95
  env?: string[] | string;
100
96
  };
101
97
  disabled: {
102
- writeable: boolean;
98
+ writable: boolean;
103
99
  default: boolean;
104
100
  type: string;
105
101
  isKey: boolean;
106
- writable: boolean;
107
102
  mandatory: boolean;
108
103
  collection: boolean;
109
104
  private?: boolean;
@@ -116,10 +111,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
116
111
  };
117
112
  tags: {
118
113
  collection: boolean;
119
- writeable: boolean;
114
+ writable: boolean;
120
115
  type: string;
121
116
  isKey: boolean;
122
- writable: boolean;
123
117
  mandatory: boolean;
124
118
  private?: boolean;
125
119
  depends?: string;
@@ -138,13 +132,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
138
132
  services: {
139
133
  type: string;
140
134
  collection: boolean;
141
- writeable: boolean;
135
+ writable: boolean;
142
136
  };
143
137
  hostName: {
144
- writeable: boolean;
138
+ writable: boolean;
145
139
  type: string;
146
140
  isKey: boolean;
147
- writable: boolean;
148
141
  mandatory: boolean;
149
142
  collection: boolean;
150
143
  private?: boolean;
@@ -157,10 +150,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
157
150
  env?: string[] | string;
158
151
  };
159
152
  ipAddresses: {
160
- writeable: boolean;
153
+ writable: boolean;
161
154
  type: string;
162
155
  isKey: boolean;
163
- writable: boolean;
164
156
  mandatory: boolean;
165
157
  collection: boolean;
166
158
  private?: boolean;
@@ -173,10 +165,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
173
165
  env?: string[] | string;
174
166
  };
175
167
  hwaddr: {
176
- writeable: boolean;
168
+ writable: boolean;
177
169
  type: string;
178
170
  isKey: boolean;
179
- writable: boolean;
180
171
  mandatory: boolean;
181
172
  collection: boolean;
182
173
  private?: boolean;
@@ -191,13 +182,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
191
182
  network: {
192
183
  type: string;
193
184
  collection: boolean;
194
- writeable: boolean;
185
+ writable: boolean;
195
186
  };
196
187
  destination: {
197
- writeable: boolean;
188
+ writable: boolean;
198
189
  type: string;
199
190
  isKey: boolean;
200
- writable: boolean;
201
191
  mandatory: boolean;
202
192
  collection: boolean;
203
193
  private?: boolean;
@@ -211,10 +201,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
211
201
  };
212
202
  cidrAddresses: {
213
203
  collection: boolean;
214
- writeable: boolean;
204
+ writable: boolean;
215
205
  type: string;
216
206
  isKey: boolean;
217
- writable: boolean;
218
207
  mandatory: boolean;
219
208
  private?: boolean;
220
209
  depends?: string;
@@ -226,10 +215,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
226
215
  env?: string[] | string;
227
216
  };
228
217
  cidrAddress: {
229
- writeable: boolean;
218
+ writable: boolean;
230
219
  type: string;
231
220
  isKey: boolean;
232
- writable: boolean;
233
221
  mandatory: boolean;
234
222
  collection: boolean;
235
223
  private?: boolean;
@@ -243,10 +231,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
243
231
  };
244
232
  addresses: {
245
233
  collection: boolean;
246
- writeable: boolean;
234
+ writable: boolean;
247
235
  type: string;
248
236
  isKey: boolean;
249
- writable: boolean;
250
237
  mandatory: boolean;
251
238
  private?: boolean;
252
239
  depends?: string;
@@ -258,10 +245,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
258
245
  env?: string[] | string;
259
246
  };
260
247
  address: {
261
- writeable: boolean;
248
+ writable: boolean;
262
249
  type: string;
263
250
  isKey: boolean;
264
- writable: boolean;
265
251
  mandatory: boolean;
266
252
  collection: boolean;
267
253
  private?: boolean;
@@ -274,12 +260,11 @@ export class EthernetNetworkInterface extends NetworkInterface {
274
260
  env?: string[] | string;
275
261
  };
276
262
  scope: {
277
- writeable: boolean;
263
+ writable: boolean;
278
264
  values: string[];
279
265
  default: string;
280
266
  type: string;
281
267
  isKey: boolean;
282
- writable: boolean;
283
268
  mandatory: boolean;
284
269
  collection: boolean;
285
270
  private?: boolean;
@@ -291,11 +276,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
291
276
  env?: string[] | string;
292
277
  };
293
278
  class: {
294
- writeable: boolean;
279
+ writable: boolean;
295
280
  values: string[];
296
281
  type: string;
297
282
  isKey: boolean;
298
- writable: boolean;
299
283
  mandatory: boolean;
300
284
  collection: boolean;
301
285
  private?: boolean;
@@ -308,11 +292,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
308
292
  env?: string[] | string;
309
293
  };
310
294
  kind: {
311
- writeable: boolean;
295
+ writable: boolean;
312
296
  values: string[];
313
297
  type: string;
314
298
  isKey: boolean;
315
- writable: boolean;
316
299
  mandatory: boolean;
317
300
  collection: boolean;
318
301
  private?: boolean;
@@ -325,10 +308,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
325
308
  env?: string[] | string;
326
309
  };
327
310
  ssid: {
328
- writeable: boolean;
311
+ writable: boolean;
329
312
  type: string;
330
313
  isKey: boolean;
331
- writable: boolean;
332
314
  mandatory: boolean;
333
315
  collection: boolean;
334
316
  private?: boolean;
@@ -341,10 +323,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
341
323
  env?: string[] | string;
342
324
  };
343
325
  psk: {
344
- writeable: boolean;
326
+ writable: boolean;
345
327
  type: string;
346
328
  isKey: boolean;
347
- writable: boolean;
348
329
  mandatory: boolean;
349
330
  collection: boolean;
350
331
  private?: boolean;
@@ -359,25 +340,24 @@ export class EthernetNetworkInterface extends NetworkInterface {
359
340
  metric: {
360
341
  type: string;
361
342
  collection: boolean;
362
- writeable: boolean;
343
+ writable: boolean;
363
344
  default: number;
364
345
  };
365
346
  mtu: {
366
347
  type: string;
367
348
  collection: boolean;
368
- writeable: boolean;
349
+ writable: boolean;
369
350
  default: number;
370
351
  };
371
352
  gateway: {
372
353
  type: string;
373
354
  collection: boolean;
374
- writeable: boolean;
355
+ writable: boolean;
375
356
  };
376
357
  multicastDNS: {
377
- writeable: boolean;
358
+ writable: boolean;
378
359
  type: string;
379
360
  isKey: boolean;
380
- writable: boolean;
381
361
  mandatory: boolean;
382
362
  collection: boolean;
383
363
  private?: boolean;
@@ -403,14 +383,13 @@ export class EthernetNetworkInterface extends NetworkInterface {
403
383
  owner: {
404
384
  type: string;
405
385
  collection: boolean;
406
- writeable: boolean;
386
+ writable: boolean;
407
387
  };
408
388
  type: import("pacc").AttributeDefinition;
409
389
  name: {
410
390
  isKey: boolean;
411
- writeable: boolean;
412
- type: string;
413
391
  writable: boolean;
392
+ type: string;
414
393
  mandatory: boolean;
415
394
  collection: boolean;
416
395
  private?: boolean;
@@ -423,10 +402,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
423
402
  env?: string[] | string;
424
403
  };
425
404
  description: {
426
- writeable: boolean;
405
+ writable: boolean;
427
406
  type: string;
428
407
  isKey: boolean;
429
- writable: boolean;
430
408
  mandatory: boolean;
431
409
  collection: boolean;
432
410
  private?: boolean;
@@ -441,13 +419,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
441
419
  priority: {
442
420
  type: string;
443
421
  collection: boolean;
444
- writeable: boolean;
422
+ writable: boolean;
445
423
  };
446
424
  directory: {
447
- writeable: boolean;
425
+ writable: boolean;
448
426
  type: string;
449
427
  isKey: boolean;
450
- writable: boolean;
451
428
  mandatory: boolean;
452
429
  collection: boolean;
453
430
  private?: boolean;
@@ -460,10 +437,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
460
437
  env?: string[] | string;
461
438
  };
462
439
  packaging: {
463
- writeable: boolean;
440
+ writable: boolean;
464
441
  type: string;
465
442
  isKey: boolean;
466
- writable: boolean;
467
443
  mandatory: boolean;
468
444
  collection: boolean;
469
445
  private?: boolean;
@@ -476,11 +452,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
476
452
  env?: string[] | string;
477
453
  };
478
454
  disabled: {
479
- writeable: boolean;
455
+ writable: boolean;
480
456
  default: boolean;
481
457
  type: string;
482
458
  isKey: boolean;
483
- writable: boolean;
484
459
  mandatory: boolean;
485
460
  collection: boolean;
486
461
  private?: boolean;
@@ -493,10 +468,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
493
468
  };
494
469
  tags: {
495
470
  collection: boolean;
496
- writeable: boolean;
471
+ writable: boolean;
497
472
  type: string;
498
473
  isKey: boolean;
499
- writable: boolean;
500
474
  mandatory: boolean;
501
475
  private?: boolean;
502
476
  depends?: string;
@@ -515,13 +489,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
515
489
  services: {
516
490
  type: string;
517
491
  collection: boolean;
518
- writeable: boolean;
492
+ writable: boolean;
519
493
  };
520
494
  hostName: {
521
- writeable: boolean;
495
+ writable: boolean;
522
496
  type: string;
523
497
  isKey: boolean;
524
- writable: boolean;
525
498
  mandatory: boolean;
526
499
  collection: boolean;
527
500
  private?: boolean;
@@ -534,10 +507,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
534
507
  env?: string[] | string;
535
508
  };
536
509
  ipAddresses: {
537
- writeable: boolean;
510
+ writable: boolean;
538
511
  type: string;
539
512
  isKey: boolean;
540
- writable: boolean;
541
513
  mandatory: boolean;
542
514
  collection: boolean;
543
515
  private?: boolean;
@@ -550,10 +522,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
550
522
  env?: string[] | string;
551
523
  };
552
524
  hwaddr: {
553
- writeable: boolean;
525
+ writable: boolean;
554
526
  type: string;
555
527
  isKey: boolean;
556
- writable: boolean;
557
528
  mandatory: boolean;
558
529
  collection: boolean;
559
530
  private?: boolean;
@@ -568,13 +539,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
568
539
  network: {
569
540
  type: string;
570
541
  collection: boolean;
571
- writeable: boolean;
542
+ writable: boolean;
572
543
  };
573
544
  destination: {
574
- writeable: boolean;
545
+ writable: boolean;
575
546
  type: string;
576
547
  isKey: boolean;
577
- writable: boolean;
578
548
  mandatory: boolean;
579
549
  collection: boolean;
580
550
  private?: boolean;
@@ -588,10 +558,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
588
558
  };
589
559
  cidrAddresses: {
590
560
  collection: boolean;
591
- writeable: boolean;
561
+ writable: boolean;
592
562
  type: string;
593
563
  isKey: boolean;
594
- writable: boolean;
595
564
  mandatory: boolean;
596
565
  private?: boolean;
597
566
  depends?: string;
@@ -603,10 +572,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
603
572
  env?: string[] | string;
604
573
  };
605
574
  cidrAddress: {
606
- writeable: boolean;
575
+ writable: boolean;
607
576
  type: string;
608
577
  isKey: boolean;
609
- writable: boolean;
610
578
  mandatory: boolean;
611
579
  collection: boolean;
612
580
  private?: boolean;
@@ -620,10 +588,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
620
588
  };
621
589
  addresses: {
622
590
  collection: boolean;
623
- writeable: boolean;
591
+ writable: boolean;
624
592
  type: string;
625
593
  isKey: boolean;
626
- writable: boolean;
627
594
  mandatory: boolean;
628
595
  private?: boolean;
629
596
  depends?: string;
@@ -635,10 +602,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
635
602
  env?: string[] | string;
636
603
  };
637
604
  address: {
638
- writeable: boolean;
605
+ writable: boolean;
639
606
  type: string;
640
607
  isKey: boolean;
641
- writable: boolean;
642
608
  mandatory: boolean;
643
609
  collection: boolean;
644
610
  private?: boolean;
@@ -651,12 +617,11 @@ export class EthernetNetworkInterface extends NetworkInterface {
651
617
  env?: string[] | string;
652
618
  };
653
619
  scope: {
654
- writeable: boolean;
620
+ writable: boolean;
655
621
  values: string[];
656
622
  default: string;
657
623
  type: string;
658
624
  isKey: boolean;
659
- writable: boolean;
660
625
  mandatory: boolean;
661
626
  collection: boolean;
662
627
  private?: boolean;
@@ -668,11 +633,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
668
633
  env?: string[] | string;
669
634
  };
670
635
  class: {
671
- writeable: boolean;
636
+ writable: boolean;
672
637
  values: string[];
673
638
  type: string;
674
639
  isKey: boolean;
675
- writable: boolean;
676
640
  mandatory: boolean;
677
641
  collection: boolean;
678
642
  private?: boolean;
@@ -685,11 +649,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
685
649
  env?: string[] | string;
686
650
  };
687
651
  kind: {
688
- writeable: boolean;
652
+ writable: boolean;
689
653
  values: string[];
690
654
  type: string;
691
655
  isKey: boolean;
692
- writable: boolean;
693
656
  mandatory: boolean;
694
657
  collection: boolean;
695
658
  private?: boolean;
@@ -702,10 +665,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
702
665
  env?: string[] | string;
703
666
  };
704
667
  ssid: {
705
- writeable: boolean;
668
+ writable: boolean;
706
669
  type: string;
707
670
  isKey: boolean;
708
- writable: boolean;
709
671
  mandatory: boolean;
710
672
  collection: boolean;
711
673
  private?: boolean;
@@ -718,10 +680,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
718
680
  env?: string[] | string;
719
681
  };
720
682
  psk: {
721
- writeable: boolean;
683
+ writable: boolean;
722
684
  type: string;
723
685
  isKey: boolean;
724
- writable: boolean;
725
686
  mandatory: boolean;
726
687
  collection: boolean;
727
688
  private?: boolean;
@@ -736,25 +697,24 @@ export class EthernetNetworkInterface extends NetworkInterface {
736
697
  metric: {
737
698
  type: string;
738
699
  collection: boolean;
739
- writeable: boolean;
700
+ writable: boolean;
740
701
  default: number;
741
702
  };
742
703
  mtu: {
743
704
  type: string;
744
705
  collection: boolean;
745
- writeable: boolean;
706
+ writable: boolean;
746
707
  default: number;
747
708
  };
748
709
  gateway: {
749
710
  type: string;
750
711
  collection: boolean;
751
- writeable: boolean;
712
+ writable: boolean;
752
713
  };
753
714
  multicastDNS: {
754
- writeable: boolean;
715
+ writable: boolean;
755
716
  type: string;
756
717
  isKey: boolean;
757
- writable: boolean;
758
718
  mandatory: boolean;
759
719
  collection: boolean;
760
720
  private?: boolean;
@@ -773,7 +733,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
773
733
  arpbridge: {
774
734
  type: string;
775
735
  collection: boolean;
776
- writeable: boolean;
736
+ writable: boolean;
777
737
  };
778
738
  };
779
739
  };