pmcf 3.4.0 → 3.4.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 (40) hide show
  1. package/package.json +2 -2
  2. package/src/base.mjs +14 -7
  3. package/src/host.mjs +20 -15
  4. package/src/location.mjs +2 -2
  5. package/src/network-interfaces/network-interface.mjs +4 -4
  6. package/src/network-support.mjs +16 -10
  7. package/src/owner.mjs +11 -7
  8. package/src/service.mjs +11 -6
  9. package/src/services/bind.mjs +9 -9
  10. package/src/services/kea.mjs +9 -8
  11. package/src/services/openldap.mjs +4 -4
  12. package/src/services/systemd-journal-upload.mjs +2 -2
  13. package/src/subnet.mjs +3 -3
  14. package/types/base.d.mts +9 -9
  15. package/types/cluster.d.mts +92 -105
  16. package/types/extra-source-service.d.mts +34 -47
  17. package/types/host.d.mts +58 -71
  18. package/types/location.d.mts +76 -76
  19. package/types/network-interfaces/ethernet.d.mts +50 -50
  20. package/types/network-interfaces/loopback.d.mts +50 -50
  21. package/types/network-interfaces/network-interface.d.mts +50 -50
  22. package/types/network-interfaces/wireguard.d.mts +50 -50
  23. package/types/network-interfaces/wlan.d.mts +75 -75
  24. package/types/network-support.d.mts +16 -16
  25. package/types/network.d.mts +34 -34
  26. package/types/owner.d.mts +34 -34
  27. package/types/root.d.mts +76 -76
  28. package/types/service.d.mts +70 -108
  29. package/types/services/bind.d.mts +85 -110
  30. package/types/services/chrony.d.mts +68 -94
  31. package/types/services/influxdb.d.mts +68 -94
  32. package/types/services/kea.d.mts +71 -97
  33. package/types/services/mosquitto.d.mts +68 -94
  34. package/types/services/openldap.d.mts +68 -94
  35. package/types/services/systemd-journal-remote.d.mts +68 -94
  36. package/types/services/systemd-journal-upload.d.mts +68 -94
  37. package/types/services/systemd-journal.d.mts +68 -94
  38. package/types/services/systemd-resolved.d.mts +68 -94
  39. package/types/services/systemd-timesyncd.d.mts +68 -94
  40. package/types/subnet.d.mts +1 -1
@@ -17,9 +17,9 @@ export class KeaService extends Service {
17
17
  };
18
18
  type: import("pacc").AttributeDefinition;
19
19
  name: {
20
- isKey: boolean;
21
20
  writable: boolean;
22
21
  type: string;
22
+ isKey: boolean;
23
23
  mandatory: boolean;
24
24
  collection: boolean;
25
25
  private?: boolean;
@@ -101,18 +101,18 @@ export class KeaService extends Service {
101
101
  env?: string[] | string;
102
102
  };
103
103
  tags: {
104
- collection: boolean;
105
104
  writable: boolean;
105
+ collection: boolean;
106
106
  type: string;
107
107
  isKey: boolean;
108
108
  mandatory: boolean;
109
- private?: boolean;
110
- depends?: string;
111
- description?: string;
112
- default?: any;
113
- set?: Function;
114
- get?: Function;
115
- env?: string[] | string;
109
+ private: boolean;
110
+ depends: string;
111
+ description: string;
112
+ default: any;
113
+ set: Function;
114
+ get: Function;
115
+ env: string[] | string;
116
116
  };
117
117
  };
118
118
  };
@@ -148,18 +148,18 @@ export class KeaService extends Service {
148
148
  env?: string[] | string;
149
149
  };
150
150
  systemd: {
151
- collection: boolean;
152
151
  writable: boolean;
152
+ collection: boolean;
153
153
  type: string;
154
154
  isKey: boolean;
155
155
  mandatory: boolean;
156
- private?: boolean;
157
- depends?: string;
158
- description?: string;
159
- default?: any;
160
- set?: Function;
161
- get?: Function;
162
- env?: string[] | string;
156
+ private: boolean;
157
+ depends: string;
158
+ description: string;
159
+ default: any;
160
+ set: Function;
161
+ get: Function;
162
+ env: string[] | string;
163
163
  };
164
164
  port: {
165
165
  writable: boolean;
@@ -204,20 +204,7 @@ export class KeaService extends Service {
204
204
  get?: Function;
205
205
  env?: string[] | string;
206
206
  };
207
- types: {
208
- collection: boolean;
209
- type: string;
210
- isKey: boolean;
211
- writable: boolean;
212
- mandatory: boolean;
213
- private?: boolean;
214
- depends?: string;
215
- description?: string;
216
- default?: any;
217
- set?: Function;
218
- get?: Function;
219
- env?: string[] | string;
220
- };
207
+ types: typeof import("pacc").string_collection_attribute;
221
208
  tls: import("pacc").AttributeDefinition;
222
209
  hostName: {
223
210
  writable: boolean;
@@ -234,18 +221,18 @@ export class KeaService extends Service {
234
221
  env?: string[] | string;
235
222
  };
236
223
  cidrAddresses: {
237
- collection: boolean;
238
224
  writable: boolean;
225
+ collection: boolean;
239
226
  type: string;
240
227
  isKey: boolean;
241
228
  mandatory: boolean;
242
- private?: boolean;
243
- depends?: string;
244
- description?: string;
245
- default?: any;
246
- set?: Function;
247
- get?: Function;
248
- env?: string[] | string;
229
+ private: boolean;
230
+ depends: string;
231
+ description: string;
232
+ default: any;
233
+ set: Function;
234
+ get: Function;
235
+ env: string[] | string;
249
236
  };
250
237
  cidrAddress: {
251
238
  writable: boolean;
@@ -262,18 +249,18 @@ export class KeaService extends Service {
262
249
  env?: string[] | string;
263
250
  };
264
251
  addresses: {
265
- collection: boolean;
266
252
  writable: boolean;
253
+ collection: boolean;
267
254
  type: string;
268
255
  isKey: boolean;
269
256
  mandatory: boolean;
270
- private?: boolean;
271
- depends?: string;
272
- description?: string;
273
- default?: any;
274
- set?: Function;
275
- get?: Function;
276
- env?: string[] | string;
257
+ private: boolean;
258
+ depends: string;
259
+ description: string;
260
+ default: any;
261
+ set: Function;
262
+ get: Function;
263
+ env: string[] | string;
277
264
  };
278
265
  address: {
279
266
  writable: boolean;
@@ -307,9 +294,9 @@ export class KeaService extends Service {
307
294
  };
308
295
  type: import("pacc").AttributeDefinition;
309
296
  name: {
310
- isKey: boolean;
311
297
  writable: boolean;
312
298
  type: string;
299
+ isKey: boolean;
313
300
  mandatory: boolean;
314
301
  collection: boolean;
315
302
  private?: boolean;
@@ -391,18 +378,18 @@ export class KeaService extends Service {
391
378
  env?: string[] | string;
392
379
  };
393
380
  tags: {
394
- collection: boolean;
395
381
  writable: boolean;
382
+ collection: boolean;
396
383
  type: string;
397
384
  isKey: boolean;
398
385
  mandatory: boolean;
399
- private?: boolean;
400
- depends?: string;
401
- description?: string;
402
- default?: any;
403
- set?: Function;
404
- get?: Function;
405
- env?: string[] | string;
386
+ private: boolean;
387
+ depends: string;
388
+ description: string;
389
+ default: any;
390
+ set: Function;
391
+ get: Function;
392
+ env: string[] | string;
406
393
  };
407
394
  };
408
395
  };
@@ -438,18 +425,18 @@ export class KeaService extends Service {
438
425
  env?: string[] | string;
439
426
  };
440
427
  systemd: {
441
- collection: boolean;
442
428
  writable: boolean;
429
+ collection: boolean;
443
430
  type: string;
444
431
  isKey: boolean;
445
432
  mandatory: boolean;
446
- private?: boolean;
447
- depends?: string;
448
- description?: string;
449
- default?: any;
450
- set?: Function;
451
- get?: Function;
452
- env?: string[] | string;
433
+ private: boolean;
434
+ depends: string;
435
+ description: string;
436
+ default: any;
437
+ set: Function;
438
+ get: Function;
439
+ env: string[] | string;
453
440
  };
454
441
  port: {
455
442
  writable: boolean;
@@ -494,20 +481,7 @@ export class KeaService extends Service {
494
481
  get?: Function;
495
482
  env?: string[] | string;
496
483
  };
497
- types: {
498
- collection: boolean;
499
- type: string;
500
- isKey: boolean;
501
- writable: boolean;
502
- mandatory: boolean;
503
- private?: boolean;
504
- depends?: string;
505
- description?: string;
506
- default?: any;
507
- set?: Function;
508
- get?: Function;
509
- env?: string[] | string;
510
- };
484
+ types: typeof import("pacc").string_collection_attribute;
511
485
  tls: import("pacc").AttributeDefinition;
512
486
  hostName: {
513
487
  writable: boolean;
@@ -524,18 +498,18 @@ export class KeaService extends Service {
524
498
  env?: string[] | string;
525
499
  };
526
500
  cidrAddresses: {
527
- collection: boolean;
528
501
  writable: boolean;
502
+ collection: boolean;
529
503
  type: string;
530
504
  isKey: boolean;
531
505
  mandatory: boolean;
532
- private?: boolean;
533
- depends?: string;
534
- description?: string;
535
- default?: any;
536
- set?: Function;
537
- get?: Function;
538
- env?: string[] | string;
506
+ private: boolean;
507
+ depends: string;
508
+ description: string;
509
+ default: any;
510
+ set: Function;
511
+ get: Function;
512
+ env: string[] | string;
539
513
  };
540
514
  cidrAddress: {
541
515
  writable: boolean;
@@ -552,18 +526,18 @@ export class KeaService extends Service {
552
526
  env?: string[] | string;
553
527
  };
554
528
  addresses: {
555
- collection: boolean;
556
529
  writable: boolean;
530
+ collection: boolean;
557
531
  type: string;
558
532
  isKey: boolean;
559
533
  mandatory: boolean;
560
- private?: boolean;
561
- depends?: string;
562
- description?: string;
563
- default?: any;
564
- set?: Function;
565
- get?: Function;
566
- env?: string[] | string;
534
+ private: boolean;
535
+ depends: string;
536
+ description: string;
537
+ default: any;
538
+ set: Function;
539
+ get: Function;
540
+ env: string[] | string;
567
541
  };
568
542
  address: {
569
543
  writable: boolean;
@@ -599,10 +573,10 @@ export class KeaService extends Service {
599
573
  env?: string[] | string;
600
574
  };
601
575
  "renew-timer": {
602
- type: string;
603
576
  writable: boolean;
604
577
  isCommonOption: boolean;
605
578
  default: number;
579
+ type: string;
606
580
  isKey: boolean;
607
581
  mandatory: boolean;
608
582
  collection: boolean;
@@ -614,10 +588,10 @@ export class KeaService extends Service {
614
588
  env?: string[] | string;
615
589
  };
616
590
  "rebind-timer": {
617
- type: string;
618
591
  writable: boolean;
619
592
  isCommonOption: boolean;
620
593
  default: number;
594
+ type: string;
621
595
  isKey: boolean;
622
596
  mandatory: boolean;
623
597
  collection: boolean;
@@ -629,11 +603,11 @@ export class KeaService extends Service {
629
603
  env?: string[] | string;
630
604
  };
631
605
  "valid-lifetime": {
632
- type: string;
633
606
  writable: boolean;
634
607
  mandatory: boolean;
635
608
  isCommonOption: boolean;
636
609
  default: number;
610
+ type: string;
637
611
  isKey: boolean;
638
612
  collection: boolean;
639
613
  private?: boolean;
@@ -16,9 +16,9 @@ export class MosquittoService extends Service {
16
16
  };
17
17
  type: import("pacc").AttributeDefinition;
18
18
  name: {
19
- isKey: boolean;
20
19
  writable: boolean;
21
20
  type: string;
21
+ isKey: boolean;
22
22
  mandatory: boolean;
23
23
  collection: boolean;
24
24
  private?: boolean;
@@ -100,18 +100,18 @@ export class MosquittoService extends Service {
100
100
  env?: string[] | string;
101
101
  };
102
102
  tags: {
103
- collection: boolean;
104
103
  writable: boolean;
104
+ collection: boolean;
105
105
  type: string;
106
106
  isKey: boolean;
107
107
  mandatory: boolean;
108
- private?: boolean;
109
- depends?: string;
110
- description?: string;
111
- default?: any;
112
- set?: Function;
113
- get?: Function;
114
- env?: string[] | string;
108
+ private: boolean;
109
+ depends: string;
110
+ description: string;
111
+ default: any;
112
+ set: Function;
113
+ get: Function;
114
+ env: string[] | string;
115
115
  };
116
116
  };
117
117
  };
@@ -147,18 +147,18 @@ export class MosquittoService extends Service {
147
147
  env?: string[] | string;
148
148
  };
149
149
  systemd: {
150
- collection: boolean;
151
150
  writable: boolean;
151
+ collection: boolean;
152
152
  type: string;
153
153
  isKey: boolean;
154
154
  mandatory: boolean;
155
- private?: boolean;
156
- depends?: string;
157
- description?: string;
158
- default?: any;
159
- set?: Function;
160
- get?: Function;
161
- env?: string[] | string;
155
+ private: boolean;
156
+ depends: string;
157
+ description: string;
158
+ default: any;
159
+ set: Function;
160
+ get: Function;
161
+ env: string[] | string;
162
162
  };
163
163
  port: {
164
164
  writable: boolean;
@@ -203,20 +203,7 @@ export class MosquittoService extends Service {
203
203
  get?: Function;
204
204
  env?: string[] | string;
205
205
  };
206
- types: {
207
- collection: boolean;
208
- type: string;
209
- isKey: boolean;
210
- writable: boolean;
211
- mandatory: boolean;
212
- private?: boolean;
213
- depends?: string;
214
- description?: string;
215
- default?: any;
216
- set?: Function;
217
- get?: Function;
218
- env?: string[] | string;
219
- };
206
+ types: typeof import("pacc").string_collection_attribute;
220
207
  tls: import("pacc").AttributeDefinition;
221
208
  hostName: {
222
209
  writable: boolean;
@@ -233,18 +220,18 @@ export class MosquittoService extends Service {
233
220
  env?: string[] | string;
234
221
  };
235
222
  cidrAddresses: {
236
- collection: boolean;
237
223
  writable: boolean;
224
+ collection: boolean;
238
225
  type: string;
239
226
  isKey: boolean;
240
227
  mandatory: boolean;
241
- private?: boolean;
242
- depends?: string;
243
- description?: string;
244
- default?: any;
245
- set?: Function;
246
- get?: Function;
247
- env?: string[] | string;
228
+ private: boolean;
229
+ depends: string;
230
+ description: string;
231
+ default: any;
232
+ set: Function;
233
+ get: Function;
234
+ env: string[] | string;
248
235
  };
249
236
  cidrAddress: {
250
237
  writable: boolean;
@@ -261,18 +248,18 @@ export class MosquittoService extends Service {
261
248
  env?: string[] | string;
262
249
  };
263
250
  addresses: {
264
- collection: boolean;
265
251
  writable: boolean;
252
+ collection: boolean;
266
253
  type: string;
267
254
  isKey: boolean;
268
255
  mandatory: boolean;
269
- private?: boolean;
270
- depends?: string;
271
- description?: string;
272
- default?: any;
273
- set?: Function;
274
- get?: Function;
275
- env?: string[] | string;
256
+ private: boolean;
257
+ depends: string;
258
+ description: string;
259
+ default: any;
260
+ set: Function;
261
+ get: Function;
262
+ env: string[] | string;
276
263
  };
277
264
  address: {
278
265
  writable: boolean;
@@ -306,9 +293,9 @@ export class MosquittoService extends Service {
306
293
  };
307
294
  type: import("pacc").AttributeDefinition;
308
295
  name: {
309
- isKey: boolean;
310
296
  writable: boolean;
311
297
  type: string;
298
+ isKey: boolean;
312
299
  mandatory: boolean;
313
300
  collection: boolean;
314
301
  private?: boolean;
@@ -390,18 +377,18 @@ export class MosquittoService extends Service {
390
377
  env?: string[] | string;
391
378
  };
392
379
  tags: {
393
- collection: boolean;
394
380
  writable: boolean;
381
+ collection: boolean;
395
382
  type: string;
396
383
  isKey: boolean;
397
384
  mandatory: boolean;
398
- private?: boolean;
399
- depends?: string;
400
- description?: string;
401
- default?: any;
402
- set?: Function;
403
- get?: Function;
404
- env?: string[] | string;
385
+ private: boolean;
386
+ depends: string;
387
+ description: string;
388
+ default: any;
389
+ set: Function;
390
+ get: Function;
391
+ env: string[] | string;
405
392
  };
406
393
  };
407
394
  };
@@ -437,18 +424,18 @@ export class MosquittoService extends Service {
437
424
  env?: string[] | string;
438
425
  };
439
426
  systemd: {
440
- collection: boolean;
441
427
  writable: boolean;
428
+ collection: boolean;
442
429
  type: string;
443
430
  isKey: boolean;
444
431
  mandatory: boolean;
445
- private?: boolean;
446
- depends?: string;
447
- description?: string;
448
- default?: any;
449
- set?: Function;
450
- get?: Function;
451
- env?: string[] | string;
432
+ private: boolean;
433
+ depends: string;
434
+ description: string;
435
+ default: any;
436
+ set: Function;
437
+ get: Function;
438
+ env: string[] | string;
452
439
  };
453
440
  port: {
454
441
  writable: boolean;
@@ -493,20 +480,7 @@ export class MosquittoService extends Service {
493
480
  get?: Function;
494
481
  env?: string[] | string;
495
482
  };
496
- types: {
497
- collection: boolean;
498
- type: string;
499
- isKey: boolean;
500
- writable: boolean;
501
- mandatory: boolean;
502
- private?: boolean;
503
- depends?: string;
504
- description?: string;
505
- default?: any;
506
- set?: Function;
507
- get?: Function;
508
- env?: string[] | string;
509
- };
483
+ types: typeof import("pacc").string_collection_attribute;
510
484
  tls: import("pacc").AttributeDefinition;
511
485
  hostName: {
512
486
  writable: boolean;
@@ -523,18 +497,18 @@ export class MosquittoService extends Service {
523
497
  env?: string[] | string;
524
498
  };
525
499
  cidrAddresses: {
526
- collection: boolean;
527
500
  writable: boolean;
501
+ collection: boolean;
528
502
  type: string;
529
503
  isKey: boolean;
530
504
  mandatory: boolean;
531
- private?: boolean;
532
- depends?: string;
533
- description?: string;
534
- default?: any;
535
- set?: Function;
536
- get?: Function;
537
- env?: string[] | string;
505
+ private: boolean;
506
+ depends: string;
507
+ description: string;
508
+ default: any;
509
+ set: Function;
510
+ get: Function;
511
+ env: string[] | string;
538
512
  };
539
513
  cidrAddress: {
540
514
  writable: boolean;
@@ -551,18 +525,18 @@ export class MosquittoService extends Service {
551
525
  env?: string[] | string;
552
526
  };
553
527
  addresses: {
554
- collection: boolean;
555
528
  writable: boolean;
529
+ collection: boolean;
556
530
  type: string;
557
531
  isKey: boolean;
558
532
  mandatory: boolean;
559
- private?: boolean;
560
- depends?: string;
561
- description?: string;
562
- default?: any;
563
- set?: Function;
564
- get?: Function;
565
- env?: string[] | string;
533
+ private: boolean;
534
+ depends: string;
535
+ description: string;
536
+ default: any;
537
+ set: Function;
538
+ get: Function;
539
+ env: string[] | string;
566
540
  };
567
541
  address: {
568
542
  writable: boolean;