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
@@ -13,24 +13,28 @@ export class KeaService extends Service {
13
13
  owner: {
14
14
  type: string;
15
15
  collection: boolean;
16
- writeable: boolean;
17
- };
18
- type: {
19
- type: string;
20
- collection: boolean;
21
- writeable: boolean;
16
+ writable: boolean;
22
17
  };
18
+ type: import("pacc").AttributeDefinition;
23
19
  name: {
20
+ isKey: boolean;
21
+ writable: boolean;
24
22
  type: string;
23
+ mandatory: boolean;
25
24
  collection: boolean;
26
- identifier: boolean;
27
- writeable: boolean;
25
+ private?: boolean;
26
+ depends?: string;
27
+ additionalAttributes: string[];
28
+ description?: string;
29
+ default?: any;
30
+ set?: Function;
31
+ get?: Function;
32
+ env?: string[] | string;
28
33
  };
29
34
  description: {
30
- writeable: boolean;
35
+ writable: boolean;
31
36
  type: string;
32
37
  isKey: boolean;
33
- writable: boolean;
34
38
  mandatory: boolean;
35
39
  collection: boolean;
36
40
  private?: boolean;
@@ -45,13 +49,12 @@ export class KeaService extends Service {
45
49
  priority: {
46
50
  type: string;
47
51
  collection: boolean;
48
- writeable: boolean;
52
+ writable: boolean;
49
53
  };
50
54
  directory: {
51
- writeable: boolean;
55
+ writable: boolean;
52
56
  type: string;
53
57
  isKey: boolean;
54
- writable: boolean;
55
58
  mandatory: boolean;
56
59
  collection: boolean;
57
60
  private?: boolean;
@@ -64,10 +67,9 @@ export class KeaService extends Service {
64
67
  env?: string[] | string;
65
68
  };
66
69
  packaging: {
67
- writeable: boolean;
70
+ writable: boolean;
68
71
  type: string;
69
72
  isKey: boolean;
70
- writable: boolean;
71
73
  mandatory: boolean;
72
74
  collection: boolean;
73
75
  private?: boolean;
@@ -80,17 +82,25 @@ export class KeaService extends Service {
80
82
  env?: string[] | string;
81
83
  };
82
84
  disabled: {
85
+ writable: boolean;
86
+ default: boolean;
83
87
  type: string;
88
+ isKey: boolean;
89
+ mandatory: boolean;
84
90
  collection: boolean;
85
- writeable: boolean;
86
- default: boolean;
91
+ private?: boolean;
92
+ depends?: string;
93
+ additionalAttributes: string[];
94
+ description?: string;
95
+ set?: Function;
96
+ get?: Function;
97
+ env?: string[] | string;
87
98
  };
88
99
  tags: {
89
100
  collection: boolean;
90
- writeable: boolean;
101
+ writable: boolean;
91
102
  type: string;
92
103
  isKey: boolean;
93
- writable: boolean;
94
104
  mandatory: boolean;
95
105
  private?: boolean;
96
106
  depends?: string;
@@ -107,10 +117,9 @@ export class KeaService extends Service {
107
117
  factoryFor(owner: any, value: any): any;
108
118
  properties: {
109
119
  alias: {
110
- writeable: boolean;
120
+ writable: boolean;
111
121
  type: string;
112
122
  isKey: boolean;
113
- writable: boolean;
114
123
  mandatory: boolean;
115
124
  collection: boolean;
116
125
  private?: boolean;
@@ -125,25 +134,24 @@ export class KeaService extends Service {
125
134
  weight: {
126
135
  type: string;
127
136
  collection: boolean;
128
- writeable: boolean;
137
+ writable: boolean;
129
138
  default: number;
130
139
  };
131
140
  systemd: {
132
141
  type: string;
133
142
  collection: boolean;
134
- writeable: boolean;
143
+ writable: boolean;
135
144
  };
136
145
  port: {
137
146
  type: string;
138
147
  collection: boolean;
139
- writeable: boolean;
148
+ writable: boolean;
140
149
  };
141
150
  protocol: {
142
- writeable: boolean;
151
+ writable: boolean;
143
152
  values: string[];
144
153
  type: string;
145
154
  isKey: boolean;
146
- writable: boolean;
147
155
  mandatory: boolean;
148
156
  collection: boolean;
149
157
  private?: boolean;
@@ -156,10 +164,9 @@ export class KeaService extends Service {
156
164
  env?: string[] | string;
157
165
  };
158
166
  type: {
159
- writeable: boolean;
167
+ writable: boolean;
160
168
  type: string;
161
169
  isKey: boolean;
162
- writable: boolean;
163
170
  mandatory: boolean;
164
171
  collection: boolean;
165
172
  private?: boolean;
@@ -187,10 +194,9 @@ export class KeaService extends Service {
187
194
  env?: string[] | string;
188
195
  };
189
196
  tls: {
190
- writeable: boolean;
197
+ writable: boolean;
191
198
  type: string;
192
199
  isKey: boolean;
193
- writable: boolean;
194
200
  mandatory: boolean;
195
201
  collection: boolean;
196
202
  private?: boolean;
@@ -203,10 +209,9 @@ export class KeaService extends Service {
203
209
  env?: string[] | string;
204
210
  };
205
211
  hostName: {
206
- writeable: boolean;
212
+ writable: boolean;
207
213
  type: string;
208
214
  isKey: boolean;
209
- writable: boolean;
210
215
  mandatory: boolean;
211
216
  collection: boolean;
212
217
  private?: boolean;
@@ -220,10 +225,9 @@ export class KeaService extends Service {
220
225
  };
221
226
  cidrAddresses: {
222
227
  collection: boolean;
223
- writeable: boolean;
228
+ writable: boolean;
224
229
  type: string;
225
230
  isKey: boolean;
226
- writable: boolean;
227
231
  mandatory: boolean;
228
232
  private?: boolean;
229
233
  depends?: string;
@@ -235,10 +239,9 @@ export class KeaService extends Service {
235
239
  env?: string[] | string;
236
240
  };
237
241
  cidrAddress: {
238
- writeable: boolean;
242
+ writable: boolean;
239
243
  type: string;
240
244
  isKey: boolean;
241
- writable: boolean;
242
245
  mandatory: boolean;
243
246
  collection: boolean;
244
247
  private?: boolean;
@@ -252,10 +255,9 @@ export class KeaService extends Service {
252
255
  };
253
256
  addresses: {
254
257
  collection: boolean;
255
- writeable: boolean;
258
+ writable: boolean;
256
259
  type: string;
257
260
  isKey: boolean;
258
- writable: boolean;
259
261
  mandatory: boolean;
260
262
  private?: boolean;
261
263
  depends?: string;
@@ -267,10 +269,9 @@ export class KeaService extends Service {
267
269
  env?: string[] | string;
268
270
  };
269
271
  address: {
270
- writeable: boolean;
272
+ writable: boolean;
271
273
  type: string;
272
274
  isKey: boolean;
273
- writable: boolean;
274
275
  mandatory: boolean;
275
276
  collection: boolean;
276
277
  private?: boolean;
@@ -296,24 +297,28 @@ export class KeaService extends Service {
296
297
  owner: {
297
298
  type: string;
298
299
  collection: boolean;
299
- writeable: boolean;
300
- };
301
- type: {
302
- type: string;
303
- collection: boolean;
304
- writeable: boolean;
300
+ writable: boolean;
305
301
  };
302
+ type: import("pacc").AttributeDefinition;
306
303
  name: {
304
+ isKey: boolean;
305
+ writable: boolean;
307
306
  type: string;
307
+ mandatory: boolean;
308
308
  collection: boolean;
309
- identifier: boolean;
310
- writeable: boolean;
309
+ private?: boolean;
310
+ depends?: string;
311
+ additionalAttributes: string[];
312
+ description?: string;
313
+ default?: any;
314
+ set?: Function;
315
+ get?: Function;
316
+ env?: string[] | string;
311
317
  };
312
318
  description: {
313
- writeable: boolean;
319
+ writable: boolean;
314
320
  type: string;
315
321
  isKey: boolean;
316
- writable: boolean;
317
322
  mandatory: boolean;
318
323
  collection: boolean;
319
324
  private?: boolean;
@@ -328,13 +333,12 @@ export class KeaService extends Service {
328
333
  priority: {
329
334
  type: string;
330
335
  collection: boolean;
331
- writeable: boolean;
336
+ writable: boolean;
332
337
  };
333
338
  directory: {
334
- writeable: boolean;
339
+ writable: boolean;
335
340
  type: string;
336
341
  isKey: boolean;
337
- writable: boolean;
338
342
  mandatory: boolean;
339
343
  collection: boolean;
340
344
  private?: boolean;
@@ -347,10 +351,9 @@ export class KeaService extends Service {
347
351
  env?: string[] | string;
348
352
  };
349
353
  packaging: {
350
- writeable: boolean;
354
+ writable: boolean;
351
355
  type: string;
352
356
  isKey: boolean;
353
- writable: boolean;
354
357
  mandatory: boolean;
355
358
  collection: boolean;
356
359
  private?: boolean;
@@ -363,17 +366,25 @@ export class KeaService extends Service {
363
366
  env?: string[] | string;
364
367
  };
365
368
  disabled: {
369
+ writable: boolean;
370
+ default: boolean;
366
371
  type: string;
372
+ isKey: boolean;
373
+ mandatory: boolean;
367
374
  collection: boolean;
368
- writeable: boolean;
369
- default: boolean;
375
+ private?: boolean;
376
+ depends?: string;
377
+ additionalAttributes: string[];
378
+ description?: string;
379
+ set?: Function;
380
+ get?: Function;
381
+ env?: string[] | string;
370
382
  };
371
383
  tags: {
372
384
  collection: boolean;
373
- writeable: boolean;
385
+ writable: boolean;
374
386
  type: string;
375
387
  isKey: boolean;
376
- writable: boolean;
377
388
  mandatory: boolean;
378
389
  private?: boolean;
379
390
  depends?: string;
@@ -390,10 +401,9 @@ export class KeaService extends Service {
390
401
  factoryFor(owner: any, value: any): any;
391
402
  properties: {
392
403
  alias: {
393
- writeable: boolean;
404
+ writable: boolean;
394
405
  type: string;
395
406
  isKey: boolean;
396
- writable: boolean;
397
407
  mandatory: boolean;
398
408
  collection: boolean;
399
409
  private?: boolean;
@@ -408,25 +418,24 @@ export class KeaService extends Service {
408
418
  weight: {
409
419
  type: string;
410
420
  collection: boolean;
411
- writeable: boolean;
421
+ writable: boolean;
412
422
  default: number;
413
423
  };
414
424
  systemd: {
415
425
  type: string;
416
426
  collection: boolean;
417
- writeable: boolean;
427
+ writable: boolean;
418
428
  };
419
429
  port: {
420
430
  type: string;
421
431
  collection: boolean;
422
- writeable: boolean;
432
+ writable: boolean;
423
433
  };
424
434
  protocol: {
425
- writeable: boolean;
435
+ writable: boolean;
426
436
  values: string[];
427
437
  type: string;
428
438
  isKey: boolean;
429
- writable: boolean;
430
439
  mandatory: boolean;
431
440
  collection: boolean;
432
441
  private?: boolean;
@@ -439,10 +448,9 @@ export class KeaService extends Service {
439
448
  env?: string[] | string;
440
449
  };
441
450
  type: {
442
- writeable: boolean;
451
+ writable: boolean;
443
452
  type: string;
444
453
  isKey: boolean;
445
- writable: boolean;
446
454
  mandatory: boolean;
447
455
  collection: boolean;
448
456
  private?: boolean;
@@ -470,10 +478,9 @@ export class KeaService extends Service {
470
478
  env?: string[] | string;
471
479
  };
472
480
  tls: {
473
- writeable: boolean;
481
+ writable: boolean;
474
482
  type: string;
475
483
  isKey: boolean;
476
- writable: boolean;
477
484
  mandatory: boolean;
478
485
  collection: boolean;
479
486
  private?: boolean;
@@ -486,10 +493,9 @@ export class KeaService extends Service {
486
493
  env?: string[] | string;
487
494
  };
488
495
  hostName: {
489
- writeable: boolean;
496
+ writable: boolean;
490
497
  type: string;
491
498
  isKey: boolean;
492
- writable: boolean;
493
499
  mandatory: boolean;
494
500
  collection: boolean;
495
501
  private?: boolean;
@@ -503,10 +509,9 @@ export class KeaService extends Service {
503
509
  };
504
510
  cidrAddresses: {
505
511
  collection: boolean;
506
- writeable: boolean;
512
+ writable: boolean;
507
513
  type: string;
508
514
  isKey: boolean;
509
- writable: boolean;
510
515
  mandatory: boolean;
511
516
  private?: boolean;
512
517
  depends?: string;
@@ -518,10 +523,9 @@ export class KeaService extends Service {
518
523
  env?: string[] | string;
519
524
  };
520
525
  cidrAddress: {
521
- writeable: boolean;
526
+ writable: boolean;
522
527
  type: string;
523
528
  isKey: boolean;
524
- writable: boolean;
525
529
  mandatory: boolean;
526
530
  collection: boolean;
527
531
  private?: boolean;
@@ -535,10 +539,9 @@ export class KeaService extends Service {
535
539
  };
536
540
  addresses: {
537
541
  collection: boolean;
538
- writeable: boolean;
542
+ writable: boolean;
539
543
  type: string;
540
544
  isKey: boolean;
541
- writable: boolean;
542
545
  mandatory: boolean;
543
546
  private?: boolean;
544
547
  depends?: string;
@@ -550,10 +553,9 @@ export class KeaService extends Service {
550
553
  env?: string[] | string;
551
554
  };
552
555
  address: {
553
- writeable: boolean;
556
+ writable: boolean;
554
557
  type: string;
555
558
  isKey: boolean;
556
- writable: boolean;
557
559
  mandatory: boolean;
558
560
  collection: boolean;
559
561
  private?: boolean;
@@ -568,7 +570,88 @@ export class KeaService extends Service {
568
570
  };
569
571
  };
570
572
  priority: number;
571
- properties: {};
573
+ properties: {
574
+ "ddns-send-updates": {
575
+ isCommonOption: boolean;
576
+ type: string;
577
+ isKey: boolean;
578
+ writable: boolean;
579
+ mandatory: boolean;
580
+ collection: boolean;
581
+ private?: boolean;
582
+ depends?: string;
583
+ additionalAttributes: string[];
584
+ description?: string;
585
+ default?: any;
586
+ set?: Function;
587
+ get?: Function;
588
+ env?: string[] | string;
589
+ };
590
+ "renew-timer": {
591
+ type: string;
592
+ writable: boolean;
593
+ isCommonOption: boolean;
594
+ default: number;
595
+ isKey: boolean;
596
+ mandatory: boolean;
597
+ collection: boolean;
598
+ private?: boolean;
599
+ depends?: string;
600
+ additionalAttributes: string[];
601
+ description?: string;
602
+ set?: Function;
603
+ get?: Function;
604
+ env?: string[] | string;
605
+ };
606
+ "rebind-timer": {
607
+ type: string;
608
+ writable: boolean;
609
+ isCommonOption: boolean;
610
+ default: number;
611
+ isKey: boolean;
612
+ mandatory: boolean;
613
+ collection: boolean;
614
+ private?: boolean;
615
+ depends?: string;
616
+ additionalAttributes: string[];
617
+ description?: string;
618
+ set?: Function;
619
+ get?: Function;
620
+ env?: string[] | string;
621
+ };
622
+ "valid-lifetime": {
623
+ type: string;
624
+ writable: boolean;
625
+ isCommonOption: boolean;
626
+ default: number;
627
+ isKey: boolean;
628
+ mandatory: boolean;
629
+ collection: boolean;
630
+ private?: boolean;
631
+ depends?: string;
632
+ additionalAttributes: string[];
633
+ description?: string;
634
+ set?: Function;
635
+ get?: Function;
636
+ env?: string[] | string;
637
+ };
638
+ "ddns-conflict-resolution-mode": {
639
+ writable: boolean;
640
+ isCommonOption: boolean;
641
+ type: string;
642
+ isKey: boolean;
643
+ mandatory: boolean;
644
+ collection: boolean;
645
+ private?: boolean;
646
+ depends?: string;
647
+ additionalAttributes: string[];
648
+ description?: string;
649
+ default?: any;
650
+ set?: Function;
651
+ get?: Function;
652
+ env?: string[] | string;
653
+ };
654
+ };
572
655
  service: {
573
656
  extends: string[];
574
657
  services: {