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 Location extends Owner {
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 Location extends Owner {
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 Location extends Owner {
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 Location extends Owner {
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,17 +116,17 @@ export class Location extends Owner {
106
116
  networks: {
107
117
  type: string;
108
118
  collection: boolean;
109
- writeable: boolean;
119
+ writable: boolean;
110
120
  };
111
121
  hosts: {
112
122
  type: string;
113
123
  collection: boolean;
114
- writeable: boolean;
124
+ writable: boolean;
115
125
  };
116
126
  clusters: {
117
127
  type: string;
118
128
  collection: boolean;
119
- writeable: boolean;
129
+ writable: boolean;
120
130
  };
121
131
  subnets: {
122
132
  type: {
@@ -126,9 +136,8 @@ export class Location extends Owner {
126
136
  constructWithIdentifierOnly: boolean;
127
137
  properties: {
128
138
  address: {
129
- identifier: boolean;
130
- type: string;
131
139
  isKey: boolean;
140
+ type: string;
132
141
  writable: boolean;
133
142
  mandatory: boolean;
134
143
  collection: boolean;
@@ -144,23 +153,22 @@ export class Location extends Owner {
144
153
  networks: {
145
154
  type: string;
146
155
  collection: boolean;
147
- writeable: boolean;
156
+ writable: boolean;
148
157
  };
149
158
  prefixLength: {
150
159
  type: string;
151
160
  collection: boolean;
152
- writeable: boolean;
161
+ writable: boolean;
153
162
  };
154
163
  };
155
164
  };
156
165
  collection: boolean;
157
- writeable: boolean;
166
+ writable: boolean;
158
167
  };
159
168
  country: {
160
- writeable: boolean;
169
+ writable: boolean;
161
170
  type: string;
162
171
  isKey: boolean;
163
- writable: boolean;
164
172
  mandatory: boolean;
165
173
  collection: boolean;
166
174
  private?: boolean;
@@ -173,10 +181,9 @@ export class Location extends Owner {
173
181
  env?: string[] | string;
174
182
  };
175
183
  domain: {
176
- writeable: boolean;
184
+ writable: boolean;
177
185
  type: string;
178
186
  isKey: boolean;
179
- writable: boolean;
180
187
  mandatory: boolean;
181
188
  collection: boolean;
182
189
  private?: boolean;
@@ -190,10 +197,9 @@ export class Location extends Owner {
190
197
  };
191
198
  domains: {
192
199
  collection: boolean;
193
- writeable: boolean;
200
+ writable: boolean;
194
201
  type: string;
195
202
  isKey: boolean;
196
- writable: boolean;
197
203
  mandatory: boolean;
198
204
  private?: boolean;
199
205
  depends?: string;
@@ -205,10 +211,9 @@ export class Location extends Owner {
205
211
  env?: string[] | string;
206
212
  };
207
213
  timezone: {
208
- writeable: boolean;
214
+ writable: boolean;
209
215
  type: string;
210
216
  isKey: boolean;
211
- writable: boolean;
212
217
  mandatory: boolean;
213
218
  collection: boolean;
214
219
  private?: boolean;
@@ -222,10 +227,9 @@ export class Location extends Owner {
222
227
  };
223
228
  architectures: {
224
229
  collection: boolean;
225
- writeable: boolean;
230
+ writable: boolean;
226
231
  type: string;
227
232
  isKey: boolean;
228
- writable: boolean;
229
233
  mandatory: boolean;
230
234
  private?: boolean;
231
235
  depends?: string;
@@ -238,10 +242,9 @@ export class Location extends Owner {
238
242
  };
239
243
  locales: {
240
244
  collection: boolean;
241
- writeable: boolean;
245
+ writable: boolean;
242
246
  type: string;
243
247
  isKey: boolean;
244
- writable: boolean;
245
248
  mandatory: boolean;
246
249
  private?: boolean;
247
250
  depends?: string;
@@ -253,10 +256,9 @@ export class Location extends Owner {
253
256
  env?: string[] | string;
254
257
  };
255
258
  administratorEmail: {
256
- writeable: boolean;
259
+ writable: boolean;
257
260
  type: string;
258
261
  isKey: boolean;
259
- writable: boolean;
260
262
  mandatory: boolean;
261
263
  collection: boolean;
262
264
  private?: boolean;
@@ -282,24 +284,28 @@ export class Location extends Owner {
282
284
  owner: {
283
285
  type: string;
284
286
  collection: boolean;
285
- writeable: boolean;
286
- };
287
- type: {
288
- type: string;
289
- collection: boolean;
290
- writeable: boolean;
287
+ writable: boolean;
291
288
  };
289
+ type: import("pacc").AttributeDefinition;
292
290
  name: {
291
+ isKey: boolean;
292
+ writable: boolean;
293
293
  type: string;
294
+ mandatory: boolean;
294
295
  collection: boolean;
295
- identifier: boolean;
296
- writeable: boolean;
296
+ private?: boolean;
297
+ depends?: string;
298
+ additionalAttributes: string[];
299
+ description?: string;
300
+ default?: any;
301
+ set?: Function;
302
+ get?: Function;
303
+ env?: string[] | string;
297
304
  };
298
305
  description: {
299
- writeable: boolean;
306
+ writable: boolean;
300
307
  type: string;
301
308
  isKey: boolean;
302
- writable: boolean;
303
309
  mandatory: boolean;
304
310
  collection: boolean;
305
311
  private?: boolean;
@@ -314,13 +320,12 @@ export class Location extends Owner {
314
320
  priority: {
315
321
  type: string;
316
322
  collection: boolean;
317
- writeable: boolean;
323
+ writable: boolean;
318
324
  };
319
325
  directory: {
320
- writeable: boolean;
326
+ writable: boolean;
321
327
  type: string;
322
328
  isKey: boolean;
323
- writable: boolean;
324
329
  mandatory: boolean;
325
330
  collection: boolean;
326
331
  private?: boolean;
@@ -333,10 +338,9 @@ export class Location extends Owner {
333
338
  env?: string[] | string;
334
339
  };
335
340
  packaging: {
336
- writeable: boolean;
341
+ writable: boolean;
337
342
  type: string;
338
343
  isKey: boolean;
339
- writable: boolean;
340
344
  mandatory: boolean;
341
345
  collection: boolean;
342
346
  private?: boolean;
@@ -349,17 +353,25 @@ export class Location extends Owner {
349
353
  env?: string[] | string;
350
354
  };
351
355
  disabled: {
356
+ writable: boolean;
357
+ default: boolean;
352
358
  type: string;
359
+ isKey: boolean;
360
+ mandatory: boolean;
353
361
  collection: boolean;
354
- writeable: boolean;
355
- default: boolean;
362
+ private?: boolean;
363
+ depends?: string;
364
+ additionalAttributes: string[];
365
+ description?: string;
366
+ set?: Function;
367
+ get?: Function;
368
+ env?: string[] | string;
356
369
  };
357
370
  tags: {
358
371
  collection: boolean;
359
- writeable: boolean;
372
+ writable: boolean;
360
373
  type: string;
361
374
  isKey: boolean;
362
- writable: boolean;
363
375
  mandatory: boolean;
364
376
  private?: boolean;
365
377
  depends?: string;
@@ -376,17 +388,17 @@ export class Location extends Owner {
376
388
  networks: {
377
389
  type: string;
378
390
  collection: boolean;
379
- writeable: boolean;
391
+ writable: boolean;
380
392
  };
381
393
  hosts: {
382
394
  type: string;
383
395
  collection: boolean;
384
- writeable: boolean;
396
+ writable: boolean;
385
397
  };
386
398
  clusters: {
387
399
  type: string;
388
400
  collection: boolean;
389
- writeable: boolean;
401
+ writable: boolean;
390
402
  };
391
403
  subnets: {
392
404
  type: {
@@ -396,9 +408,8 @@ export class Location extends Owner {
396
408
  constructWithIdentifierOnly: boolean;
397
409
  properties: {
398
410
  address: {
399
- identifier: boolean;
400
- type: string;
401
411
  isKey: boolean;
412
+ type: string;
402
413
  writable: boolean;
403
414
  mandatory: boolean;
404
415
  collection: boolean;
@@ -414,23 +425,22 @@ export class Location extends Owner {
414
425
  networks: {
415
426
  type: string;
416
427
  collection: boolean;
417
- writeable: boolean;
428
+ writable: boolean;
418
429
  };
419
430
  prefixLength: {
420
431
  type: string;
421
432
  collection: boolean;
422
- writeable: boolean;
433
+ writable: boolean;
423
434
  };
424
435
  };
425
436
  };
426
437
  collection: boolean;
427
- writeable: boolean;
438
+ writable: boolean;
428
439
  };
429
440
  country: {
430
- writeable: boolean;
441
+ writable: boolean;
431
442
  type: string;
432
443
  isKey: boolean;
433
- writable: boolean;
434
444
  mandatory: boolean;
435
445
  collection: boolean;
436
446
  private?: boolean;
@@ -443,10 +453,9 @@ export class Location extends Owner {
443
453
  env?: string[] | string;
444
454
  };
445
455
  domain: {
446
- writeable: boolean;
456
+ writable: boolean;
447
457
  type: string;
448
458
  isKey: boolean;
449
- writable: boolean;
450
459
  mandatory: boolean;
451
460
  collection: boolean;
452
461
  private?: boolean;
@@ -460,10 +469,9 @@ export class Location extends Owner {
460
469
  };
461
470
  domains: {
462
471
  collection: boolean;
463
- writeable: boolean;
472
+ writable: boolean;
464
473
  type: string;
465
474
  isKey: boolean;
466
- writable: boolean;
467
475
  mandatory: boolean;
468
476
  private?: boolean;
469
477
  depends?: string;
@@ -475,10 +483,9 @@ export class Location extends Owner {
475
483
  env?: string[] | string;
476
484
  };
477
485
  timezone: {
478
- writeable: boolean;
486
+ writable: boolean;
479
487
  type: string;
480
488
  isKey: boolean;
481
- writable: boolean;
482
489
  mandatory: boolean;
483
490
  collection: boolean;
484
491
  private?: boolean;
@@ -492,10 +499,9 @@ export class Location extends Owner {
492
499
  };
493
500
  architectures: {
494
501
  collection: boolean;
495
- writeable: boolean;
502
+ writable: boolean;
496
503
  type: string;
497
504
  isKey: boolean;
498
- writable: boolean;
499
505
  mandatory: boolean;
500
506
  private?: boolean;
501
507
  depends?: string;
@@ -508,10 +514,9 @@ export class Location extends Owner {
508
514
  };
509
515
  locales: {
510
516
  collection: boolean;
511
- writeable: boolean;
517
+ writable: boolean;
512
518
  type: string;
513
519
  isKey: boolean;
514
- writable: boolean;
515
520
  mandatory: boolean;
516
521
  private?: boolean;
517
522
  depends?: string;
@@ -523,10 +528,9 @@ export class Location extends Owner {
523
528
  env?: string[] | string;
524
529
  };
525
530
  administratorEmail: {
526
- writeable: boolean;
531
+ writable: boolean;
527
532
  type: string;
528
533
  isKey: boolean;
529
- writable: boolean;
530
534
  mandatory: boolean;
531
535
  collection: boolean;
532
536
  private?: boolean;
@@ -543,10 +547,9 @@ export class Location extends Owner {
543
547
  properties: {
544
548
  locales: {
545
549
  collection: boolean;
546
- writeable: boolean;
550
+ writable: boolean;
547
551
  type: string;
548
552
  isKey: boolean;
549
- writable: boolean;
550
553
  mandatory: boolean;
551
554
  private?: boolean;
552
555
  depends?: string;