pmcf 3.3.1 → 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 (41) hide show
  1. package/bin/pmcf-package +13 -0
  2. package/package.json +2 -2
  3. package/src/base.mjs +14 -7
  4. package/src/host.mjs +20 -15
  5. package/src/location.mjs +2 -2
  6. package/src/network-interfaces/network-interface.mjs +4 -4
  7. package/src/network-support.mjs +16 -10
  8. package/src/owner.mjs +11 -7
  9. package/src/service.mjs +11 -6
  10. package/src/services/bind.mjs +9 -9
  11. package/src/services/kea.mjs +9 -8
  12. package/src/services/openldap.mjs +4 -4
  13. package/src/services/systemd-journal-upload.mjs +2 -2
  14. package/src/subnet.mjs +3 -3
  15. package/types/base.d.mts +9 -9
  16. package/types/cluster.d.mts +92 -105
  17. package/types/extra-source-service.d.mts +34 -47
  18. package/types/host.d.mts +58 -71
  19. package/types/location.d.mts +76 -76
  20. package/types/network-interfaces/ethernet.d.mts +50 -50
  21. package/types/network-interfaces/loopback.d.mts +50 -50
  22. package/types/network-interfaces/network-interface.d.mts +50 -50
  23. package/types/network-interfaces/wireguard.d.mts +50 -50
  24. package/types/network-interfaces/wlan.d.mts +75 -75
  25. package/types/network-support.d.mts +16 -16
  26. package/types/network.d.mts +34 -34
  27. package/types/owner.d.mts +34 -34
  28. package/types/root.d.mts +76 -76
  29. package/types/service.d.mts +70 -108
  30. package/types/services/bind.d.mts +85 -110
  31. package/types/services/chrony.d.mts +68 -94
  32. package/types/services/influxdb.d.mts +68 -94
  33. package/types/services/kea.d.mts +71 -97
  34. package/types/services/mosquitto.d.mts +68 -94
  35. package/types/services/openldap.d.mts +68 -94
  36. package/types/services/systemd-journal-remote.d.mts +68 -94
  37. package/types/services/systemd-journal-upload.d.mts +68 -94
  38. package/types/services/systemd-journal.d.mts +68 -94
  39. package/types/services/systemd-resolved.d.mts +68 -94
  40. package/types/services/systemd-timesyncd.d.mts +68 -94
  41. package/types/subnet.d.mts +1 -1
@@ -16,9 +16,9 @@ export class ChronyService extends ExtraSourceService {
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 ChronyService extends ExtraSourceService {
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 ChronyService extends ExtraSourceService {
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 ChronyService extends ExtraSourceService {
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 ChronyService extends ExtraSourceService {
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 ChronyService extends ExtraSourceService {
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;
@@ -309,9 +296,9 @@ export class ChronyService extends ExtraSourceService {
309
296
  };
310
297
  type: import("pacc").AttributeDefinition;
311
298
  name: {
312
- isKey: boolean;
313
299
  writable: boolean;
314
300
  type: string;
301
+ isKey: boolean;
315
302
  mandatory: boolean;
316
303
  collection: boolean;
317
304
  private?: boolean;
@@ -393,18 +380,18 @@ export class ChronyService extends ExtraSourceService {
393
380
  env?: string[] | string;
394
381
  };
395
382
  tags: {
396
- collection: boolean;
397
383
  writable: boolean;
384
+ collection: boolean;
398
385
  type: string;
399
386
  isKey: boolean;
400
387
  mandatory: boolean;
401
- private?: boolean;
402
- depends?: string;
403
- description?: string;
404
- default?: any;
405
- set?: Function;
406
- get?: Function;
407
- env?: string[] | string;
388
+ private: boolean;
389
+ depends: string;
390
+ description: string;
391
+ default: any;
392
+ set: Function;
393
+ get: Function;
394
+ env: string[] | string;
408
395
  };
409
396
  };
410
397
  };
@@ -440,18 +427,18 @@ export class ChronyService extends ExtraSourceService {
440
427
  env?: string[] | string;
441
428
  };
442
429
  systemd: {
443
- collection: boolean;
444
430
  writable: boolean;
431
+ collection: boolean;
445
432
  type: string;
446
433
  isKey: boolean;
447
434
  mandatory: boolean;
448
- private?: boolean;
449
- depends?: string;
450
- description?: string;
451
- default?: any;
452
- set?: Function;
453
- get?: Function;
454
- env?: string[] | string;
435
+ private: boolean;
436
+ depends: string;
437
+ description: string;
438
+ default: any;
439
+ set: Function;
440
+ get: Function;
441
+ env: string[] | string;
455
442
  };
456
443
  port: {
457
444
  writable: boolean;
@@ -496,20 +483,7 @@ export class ChronyService extends ExtraSourceService {
496
483
  get?: Function;
497
484
  env?: string[] | string;
498
485
  };
499
- types: {
500
- collection: boolean;
501
- type: string;
502
- isKey: boolean;
503
- writable: boolean;
504
- mandatory: boolean;
505
- private?: boolean;
506
- depends?: string;
507
- description?: string;
508
- default?: any;
509
- set?: Function;
510
- get?: Function;
511
- env?: string[] | string;
512
- };
486
+ types: typeof import("pacc").string_collection_attribute;
513
487
  tls: import("pacc").AttributeDefinition;
514
488
  hostName: {
515
489
  writable: boolean;
@@ -526,18 +500,18 @@ export class ChronyService extends ExtraSourceService {
526
500
  env?: string[] | string;
527
501
  };
528
502
  cidrAddresses: {
529
- collection: boolean;
530
503
  writable: boolean;
504
+ collection: boolean;
531
505
  type: string;
532
506
  isKey: boolean;
533
507
  mandatory: boolean;
534
- private?: boolean;
535
- depends?: string;
536
- description?: string;
537
- default?: any;
538
- set?: Function;
539
- get?: Function;
540
- env?: string[] | string;
508
+ private: boolean;
509
+ depends: string;
510
+ description: string;
511
+ default: any;
512
+ set: Function;
513
+ get: Function;
514
+ env: string[] | string;
541
515
  };
542
516
  cidrAddress: {
543
517
  writable: boolean;
@@ -554,18 +528,18 @@ export class ChronyService extends ExtraSourceService {
554
528
  env?: string[] | string;
555
529
  };
556
530
  addresses: {
557
- collection: boolean;
558
531
  writable: boolean;
532
+ collection: boolean;
559
533
  type: string;
560
534
  isKey: boolean;
561
535
  mandatory: boolean;
562
- private?: boolean;
563
- depends?: string;
564
- description?: string;
565
- default?: any;
566
- set?: Function;
567
- get?: Function;
568
- env?: string[] | string;
536
+ private: boolean;
537
+ depends: string;
538
+ description: string;
539
+ default: any;
540
+ set: Function;
541
+ get: Function;
542
+ env: string[] | string;
569
543
  };
570
544
  address: {
571
545
  writable: boolean;
@@ -16,9 +16,9 @@ export class InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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 InfluxdbService 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;