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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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 InfluxdbService extends Service {
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;
@@ -295,24 +296,28 @@ export class InfluxdbService extends Service {
295
296
  owner: {
296
297
  type: string;
297
298
  collection: boolean;
298
- writeable: boolean;
299
- };
300
- type: {
301
- type: string;
302
- collection: boolean;
303
- writeable: boolean;
299
+ writable: boolean;
304
300
  };
301
+ type: import("pacc").AttributeDefinition;
305
302
  name: {
303
+ isKey: boolean;
304
+ writable: boolean;
306
305
  type: string;
306
+ mandatory: boolean;
307
307
  collection: boolean;
308
- identifier: boolean;
309
- writeable: boolean;
308
+ private?: boolean;
309
+ depends?: string;
310
+ additionalAttributes: string[];
311
+ description?: string;
312
+ default?: any;
313
+ set?: Function;
314
+ get?: Function;
315
+ env?: string[] | string;
310
316
  };
311
317
  description: {
312
- writeable: boolean;
318
+ writable: boolean;
313
319
  type: string;
314
320
  isKey: boolean;
315
- writable: boolean;
316
321
  mandatory: boolean;
317
322
  collection: boolean;
318
323
  private?: boolean;
@@ -327,13 +332,12 @@ export class InfluxdbService extends Service {
327
332
  priority: {
328
333
  type: string;
329
334
  collection: boolean;
330
- writeable: boolean;
335
+ writable: boolean;
331
336
  };
332
337
  directory: {
333
- writeable: boolean;
338
+ writable: boolean;
334
339
  type: string;
335
340
  isKey: boolean;
336
- writable: boolean;
337
341
  mandatory: boolean;
338
342
  collection: boolean;
339
343
  private?: boolean;
@@ -346,10 +350,9 @@ export class InfluxdbService extends Service {
346
350
  env?: string[] | string;
347
351
  };
348
352
  packaging: {
349
- writeable: boolean;
353
+ writable: boolean;
350
354
  type: string;
351
355
  isKey: boolean;
352
- writable: boolean;
353
356
  mandatory: boolean;
354
357
  collection: boolean;
355
358
  private?: boolean;
@@ -362,17 +365,25 @@ export class InfluxdbService extends Service {
362
365
  env?: string[] | string;
363
366
  };
364
367
  disabled: {
368
+ writable: boolean;
369
+ default: boolean;
365
370
  type: string;
371
+ isKey: boolean;
372
+ mandatory: boolean;
366
373
  collection: boolean;
367
- writeable: boolean;
368
- default: boolean;
374
+ private?: boolean;
375
+ depends?: string;
376
+ additionalAttributes: string[];
377
+ description?: string;
378
+ set?: Function;
379
+ get?: Function;
380
+ env?: string[] | string;
369
381
  };
370
382
  tags: {
371
383
  collection: boolean;
372
- writeable: boolean;
384
+ writable: boolean;
373
385
  type: string;
374
386
  isKey: boolean;
375
- writable: boolean;
376
387
  mandatory: boolean;
377
388
  private?: boolean;
378
389
  depends?: string;
@@ -389,10 +400,9 @@ export class InfluxdbService extends Service {
389
400
  factoryFor(owner: any, value: any): any;
390
401
  properties: {
391
402
  alias: {
392
- writeable: boolean;
403
+ writable: boolean;
393
404
  type: string;
394
405
  isKey: boolean;
395
- writable: boolean;
396
406
  mandatory: boolean;
397
407
  collection: boolean;
398
408
  private?: boolean;
@@ -407,25 +417,24 @@ export class InfluxdbService extends Service {
407
417
  weight: {
408
418
  type: string;
409
419
  collection: boolean;
410
- writeable: boolean;
420
+ writable: boolean;
411
421
  default: number;
412
422
  };
413
423
  systemd: {
414
424
  type: string;
415
425
  collection: boolean;
416
- writeable: boolean;
426
+ writable: boolean;
417
427
  };
418
428
  port: {
419
429
  type: string;
420
430
  collection: boolean;
421
- writeable: boolean;
431
+ writable: boolean;
422
432
  };
423
433
  protocol: {
424
- writeable: boolean;
434
+ writable: boolean;
425
435
  values: string[];
426
436
  type: string;
427
437
  isKey: boolean;
428
- writable: boolean;
429
438
  mandatory: boolean;
430
439
  collection: boolean;
431
440
  private?: boolean;
@@ -438,10 +447,9 @@ export class InfluxdbService extends Service {
438
447
  env?: string[] | string;
439
448
  };
440
449
  type: {
441
- writeable: boolean;
450
+ writable: boolean;
442
451
  type: string;
443
452
  isKey: boolean;
444
- writable: boolean;
445
453
  mandatory: boolean;
446
454
  collection: boolean;
447
455
  private?: boolean;
@@ -469,10 +477,9 @@ export class InfluxdbService extends Service {
469
477
  env?: string[] | string;
470
478
  };
471
479
  tls: {
472
- writeable: boolean;
480
+ writable: boolean;
473
481
  type: string;
474
482
  isKey: boolean;
475
- writable: boolean;
476
483
  mandatory: boolean;
477
484
  collection: boolean;
478
485
  private?: boolean;
@@ -485,10 +492,9 @@ export class InfluxdbService extends Service {
485
492
  env?: string[] | string;
486
493
  };
487
494
  hostName: {
488
- writeable: boolean;
495
+ writable: boolean;
489
496
  type: string;
490
497
  isKey: boolean;
491
- writable: boolean;
492
498
  mandatory: boolean;
493
499
  collection: boolean;
494
500
  private?: boolean;
@@ -502,10 +508,9 @@ export class InfluxdbService extends Service {
502
508
  };
503
509
  cidrAddresses: {
504
510
  collection: boolean;
505
- writeable: boolean;
511
+ writable: boolean;
506
512
  type: string;
507
513
  isKey: boolean;
508
- writable: boolean;
509
514
  mandatory: boolean;
510
515
  private?: boolean;
511
516
  depends?: string;
@@ -517,10 +522,9 @@ export class InfluxdbService extends Service {
517
522
  env?: string[] | string;
518
523
  };
519
524
  cidrAddress: {
520
- writeable: boolean;
525
+ writable: boolean;
521
526
  type: string;
522
527
  isKey: boolean;
523
- writable: boolean;
524
528
  mandatory: boolean;
525
529
  collection: boolean;
526
530
  private?: boolean;
@@ -534,10 +538,9 @@ export class InfluxdbService extends Service {
534
538
  };
535
539
  addresses: {
536
540
  collection: boolean;
537
- writeable: boolean;
541
+ writable: boolean;
538
542
  type: string;
539
543
  isKey: boolean;
540
- writable: boolean;
541
544
  mandatory: boolean;
542
545
  private?: boolean;
543
546
  depends?: string;
@@ -549,10 +552,9 @@ export class InfluxdbService extends Service {
549
552
  env?: string[] | string;
550
553
  };
551
554
  address: {
552
- writeable: boolean;
555
+ writable: boolean;
553
556
  type: string;
554
557
  isKey: boolean;
555
- writable: boolean;
556
558
  mandatory: boolean;
557
559
  collection: boolean;
558
560
  private?: boolean;