pmcf 3.11.2 → 3.11.4

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 (37) hide show
  1. package/package.json +2 -2
  2. package/src/base.mjs +4 -3
  3. package/src/cluster.mjs +22 -5
  4. package/src/extra-source-service.mjs +6 -1
  5. package/src/host.mjs +10 -6
  6. package/src/network-interfaces/ethernet.mjs +6 -1
  7. package/src/network-interfaces/network-interface.mjs +15 -8
  8. package/src/owner.mjs +12 -3
  9. package/src/services/bind.mjs +19 -4
  10. package/src/services/chrony.mjs +1 -1
  11. package/types/base.d.mts +4 -8
  12. package/types/cluster.d.mts +125 -16
  13. package/types/extra-source-service.d.mts +164 -38
  14. package/types/host.d.mts +43 -8
  15. package/types/location.d.mts +86 -16
  16. package/types/network-interfaces/ethernet.d.mts +137 -99
  17. package/types/network-interfaces/loopback.d.mts +106 -94
  18. package/types/network-interfaces/network-interface.d.mts +106 -94
  19. package/types/network-interfaces/tun.d.mts +106 -94
  20. package/types/network-interfaces/wireguard.d.mts +106 -94
  21. package/types/network-interfaces/wlan.d.mts +172 -141
  22. package/types/network.d.mts +86 -16
  23. package/types/owner.d.mts +43 -8
  24. package/types/root.d.mts +86 -16
  25. package/types/service.d.mts +94 -32
  26. package/types/services/bind.d.mts +232 -48
  27. package/types/services/chrony.d.mts +193 -48
  28. package/types/services/headscale.d.mts +193 -48
  29. package/types/services/influxdb.d.mts +137 -40
  30. package/types/services/kea.d.mts +137 -40
  31. package/types/services/mosquitto.d.mts +137 -40
  32. package/types/services/openldap.d.mts +137 -40
  33. package/types/services/systemd-journal-remote.d.mts +137 -40
  34. package/types/services/systemd-journal-upload.d.mts +137 -40
  35. package/types/services/systemd-journal.d.mts +137 -40
  36. package/types/services/systemd-resolved.d.mts +193 -48
  37. package/types/services/systemd-timesyncd.d.mts +193 -48
@@ -10,15 +10,8 @@ export namespace ExtraSourceServiceTypeDefinition {
10
10
  attributes: {
11
11
  owner: {
12
12
  type: string;
13
- collection: boolean;
14
- writable: boolean;
15
- };
16
- type: import("pacc").AttributeDefinition;
17
- name: import("pacc").AttributeDefinition;
18
- description: {
19
- writable: boolean;
20
- type: object;
21
13
  isKey: boolean;
14
+ writable: boolean;
22
15
  mandatory: boolean;
23
16
  collection: boolean;
24
17
  private?: boolean;
@@ -33,6 +26,9 @@ export namespace ExtraSourceServiceTypeDefinition {
33
26
  env?: string[] | string;
34
27
  additionalValues?: object;
35
28
  };
29
+ type: import("pacc").AttributeDefinition;
30
+ name: import("pacc").AttributeDefinition;
31
+ description: import("pacc").AttributeDefinition;
36
32
  priority: import("pacc").AttributeDefinition;
37
33
  directory: import("pacc").AttributeDefinition;
38
34
  packaging: import("pacc").AttributeDefinition;
@@ -45,12 +41,38 @@ export namespace ExtraSourceServiceTypeDefinition {
45
41
  networkInterfaces: {
46
42
  type: string;
47
43
  collection: boolean;
44
+ isKey: boolean;
48
45
  writable: boolean;
46
+ mandatory: boolean;
47
+ private?: boolean;
48
+ depends?: string;
49
+ description?: string;
50
+ default?: any;
51
+ set?: Function;
52
+ get?: Function;
53
+ prepareValue?: Function;
54
+ values?: Set<any>;
55
+ externalName?: string;
56
+ env?: string[] | string;
57
+ additionalValues?: object;
49
58
  };
50
59
  services: {
51
60
  type: string;
52
61
  collection: boolean;
62
+ isKey: boolean;
53
63
  writable: boolean;
64
+ mandatory: boolean;
65
+ private?: boolean;
66
+ depends?: string;
67
+ description?: string;
68
+ default?: any;
69
+ set?: Function;
70
+ get?: Function;
71
+ prepareValue?: Function;
72
+ values?: Set<any>;
73
+ externalName?: string;
74
+ env?: string[] | string;
75
+ additionalValues?: object;
54
76
  };
55
77
  aliases: import("pacc").AttributeDefinition;
56
78
  os: {
@@ -137,7 +159,20 @@ export namespace ExtraSourceServiceTypeDefinition {
137
159
  extends: {
138
160
  type: string;
139
161
  collection: boolean;
162
+ isKey: boolean;
140
163
  writable: boolean;
164
+ mandatory: boolean;
165
+ private?: boolean;
166
+ depends?: string;
167
+ description?: string;
168
+ default?: any;
169
+ set?: Function;
170
+ get?: Function;
171
+ prepareValue?: Function;
172
+ values?: Set<any>;
173
+ externalName?: string;
174
+ env?: string[] | string;
175
+ additionalValues?: object;
141
176
  };
142
177
  model: import("pacc").AttributeDefinition;
143
178
  isModel: import("pacc").AttributeDefinition;
@@ -168,11 +203,24 @@ export namespace ExtraSourceServiceTypeDefinition {
168
203
  export { ServiceTypeDefinition as extends };
169
204
  export let priority: number;
170
205
  export namespace attributes {
171
- namespace source {
172
- export { networkAddressType as type };
173
- export let collection: boolean;
174
- export let writable: boolean;
175
- }
206
+ let source: {
207
+ type: any;
208
+ collection: boolean;
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
+ prepareValue?: Function;
219
+ values?: Set<any>;
220
+ externalName?: string;
221
+ env?: string[] | string;
222
+ additionalValues?: object;
223
+ };
176
224
  }
177
225
  }
178
226
  export class ExtraSourceService extends Service {
@@ -188,15 +236,8 @@ export class ExtraSourceService extends Service {
188
236
  attributes: {
189
237
  owner: {
190
238
  type: string;
191
- collection: boolean;
192
- writable: boolean;
193
- };
194
- type: import("pacc").AttributeDefinition;
195
- name: import("pacc").AttributeDefinition;
196
- description: {
197
- writable: boolean;
198
- type: object;
199
239
  isKey: boolean;
240
+ writable: boolean;
200
241
  mandatory: boolean;
201
242
  collection: boolean;
202
243
  private?: boolean;
@@ -211,6 +252,9 @@ export class ExtraSourceService extends Service {
211
252
  env?: string[] | string;
212
253
  additionalValues?: object;
213
254
  };
255
+ type: import("pacc").AttributeDefinition;
256
+ name: import("pacc").AttributeDefinition;
257
+ description: import("pacc").AttributeDefinition;
214
258
  priority: import("pacc").AttributeDefinition;
215
259
  directory: import("pacc").AttributeDefinition;
216
260
  packaging: import("pacc").AttributeDefinition;
@@ -223,12 +267,38 @@ export class ExtraSourceService extends Service {
223
267
  networkInterfaces: {
224
268
  type: string;
225
269
  collection: boolean;
270
+ isKey: boolean;
226
271
  writable: boolean;
272
+ mandatory: boolean;
273
+ private?: boolean;
274
+ depends?: string;
275
+ description?: string;
276
+ default?: any;
277
+ set?: Function;
278
+ get?: Function;
279
+ prepareValue?: Function;
280
+ values?: Set<any>;
281
+ externalName?: string;
282
+ env?: string[] | string;
283
+ additionalValues?: object;
227
284
  };
228
285
  services: {
229
286
  type: string;
230
287
  collection: boolean;
288
+ isKey: boolean;
231
289
  writable: boolean;
290
+ mandatory: boolean;
291
+ private?: boolean;
292
+ depends?: string;
293
+ description?: string;
294
+ default?: any;
295
+ set?: Function;
296
+ get?: Function;
297
+ prepareValue?: Function;
298
+ values?: Set<any>;
299
+ externalName?: string;
300
+ env?: string[] | string;
301
+ additionalValues?: object;
232
302
  };
233
303
  aliases: import("pacc").AttributeDefinition;
234
304
  os: {
@@ -315,7 +385,20 @@ export class ExtraSourceService extends Service {
315
385
  extends: {
316
386
  type: string;
317
387
  collection: boolean;
388
+ isKey: boolean;
318
389
  writable: boolean;
390
+ mandatory: boolean;
391
+ private?: boolean;
392
+ depends?: string;
393
+ description?: string;
394
+ default?: any;
395
+ set?: Function;
396
+ get?: Function;
397
+ prepareValue?: Function;
398
+ values?: Set<any>;
399
+ externalName?: string;
400
+ env?: string[] | string;
401
+ additionalValues?: object;
319
402
  };
320
403
  model: import("pacc").AttributeDefinition;
321
404
  isModel: import("pacc").AttributeDefinition;
@@ -355,15 +438,8 @@ export class ExtraSourceService extends Service {
355
438
  attributes: {
356
439
  owner: {
357
440
  type: string;
358
- collection: boolean;
359
- writable: boolean;
360
- };
361
- type: import("pacc").AttributeDefinition;
362
- name: import("pacc").AttributeDefinition;
363
- description: {
364
- writable: boolean;
365
- type: object;
366
441
  isKey: boolean;
442
+ writable: boolean;
367
443
  mandatory: boolean;
368
444
  collection: boolean;
369
445
  private?: boolean;
@@ -378,6 +454,9 @@ export class ExtraSourceService extends Service {
378
454
  env?: string[] | string;
379
455
  additionalValues?: object;
380
456
  };
457
+ type: import("pacc").AttributeDefinition;
458
+ name: import("pacc").AttributeDefinition;
459
+ description: import("pacc").AttributeDefinition;
381
460
  priority: import("pacc").AttributeDefinition;
382
461
  directory: import("pacc").AttributeDefinition;
383
462
  packaging: import("pacc").AttributeDefinition;
@@ -390,12 +469,38 @@ export class ExtraSourceService extends Service {
390
469
  networkInterfaces: {
391
470
  type: string;
392
471
  collection: boolean;
472
+ isKey: boolean;
393
473
  writable: boolean;
474
+ mandatory: boolean;
475
+ private?: boolean;
476
+ depends?: string;
477
+ description?: string;
478
+ default?: any;
479
+ set?: Function;
480
+ get?: Function;
481
+ prepareValue?: Function;
482
+ values?: Set<any>;
483
+ externalName?: string;
484
+ env?: string[] | string;
485
+ additionalValues?: object;
394
486
  };
395
487
  services: {
396
488
  type: string;
397
489
  collection: boolean;
490
+ isKey: boolean;
398
491
  writable: boolean;
492
+ mandatory: boolean;
493
+ private?: boolean;
494
+ depends?: string;
495
+ description?: string;
496
+ default?: any;
497
+ set?: Function;
498
+ get?: Function;
499
+ prepareValue?: Function;
500
+ values?: Set<any>;
501
+ externalName?: string;
502
+ env?: string[] | string;
503
+ additionalValues?: object;
399
504
  };
400
505
  aliases: import("pacc").AttributeDefinition;
401
506
  os: {
@@ -482,7 +587,20 @@ export class ExtraSourceService extends Service {
482
587
  extends: {
483
588
  type: string;
484
589
  collection: boolean;
590
+ isKey: boolean;
485
591
  writable: boolean;
592
+ mandatory: boolean;
593
+ private?: boolean;
594
+ depends?: string;
595
+ description?: string;
596
+ default?: any;
597
+ set?: Function;
598
+ get?: Function;
599
+ prepareValue?: Function;
600
+ values?: Set<any>;
601
+ externalName?: string;
602
+ env?: string[] | string;
603
+ additionalValues?: object;
486
604
  };
487
605
  model: import("pacc").AttributeDefinition;
488
606
  isModel: import("pacc").AttributeDefinition;
@@ -517,15 +635,8 @@ export class ExtraSourceService extends Service {
517
635
  attributes: {
518
636
  owner: {
519
637
  type: string;
520
- collection: boolean;
521
- writable: boolean;
522
- };
523
- type: import("pacc").AttributeDefinition;
524
- name: import("pacc").AttributeDefinition;
525
- description: {
526
- writable: boolean;
527
- type: object;
528
638
  isKey: boolean;
639
+ writable: boolean;
529
640
  mandatory: boolean;
530
641
  collection: boolean;
531
642
  private?: boolean;
@@ -540,6 +651,9 @@ export class ExtraSourceService extends Service {
540
651
  env?: string[] | string;
541
652
  additionalValues?: object;
542
653
  };
654
+ type: import("pacc").AttributeDefinition;
655
+ name: import("pacc").AttributeDefinition;
656
+ description: import("pacc").AttributeDefinition;
543
657
  priority: import("pacc").AttributeDefinition;
544
658
  directory: import("pacc").AttributeDefinition;
545
659
  packaging: import("pacc").AttributeDefinition;
@@ -622,7 +736,20 @@ export class ExtraSourceService extends Service {
622
736
  source: {
623
737
  type: any;
624
738
  collection: boolean;
739
+ isKey: boolean;
625
740
  writable: boolean;
741
+ mandatory: boolean;
742
+ private?: boolean;
743
+ depends?: string;
744
+ description?: string;
745
+ default?: any;
746
+ set?: Function;
747
+ get?: Function;
748
+ prepareValue?: Function;
749
+ values?: Set<any>;
750
+ externalName?: string;
751
+ env?: string[] | string;
752
+ additionalValues?: object;
626
753
  };
627
754
  };
628
755
  };
@@ -632,5 +759,4 @@ export class ExtraSourceService extends Service {
632
759
  get source(): any[];
633
760
  }
634
761
  import { ServiceTypeDefinition } from "./service.mjs";
635
- import { networkAddressType } from "pmcf";
636
762
  import { Service } from "./service.mjs";
package/types/host.d.mts CHANGED
@@ -9,15 +9,8 @@ export class Host extends ServiceOwner {
9
9
  attributes: {
10
10
  owner: {
11
11
  type: string;
12
- collection: boolean;
13
- writable: boolean;
14
- };
15
- type: import("pacc").AttributeDefinition;
16
- name: import("pacc").AttributeDefinition;
17
- description: {
18
- writable: boolean;
19
- type: object;
20
12
  isKey: boolean;
13
+ writable: boolean;
21
14
  mandatory: boolean;
22
15
  collection: boolean;
23
16
  private?: boolean;
@@ -32,6 +25,9 @@ export class Host extends ServiceOwner {
32
25
  env?: string[] | string;
33
26
  additionalValues?: object;
34
27
  };
28
+ type: import("pacc").AttributeDefinition;
29
+ name: import("pacc").AttributeDefinition;
30
+ description: import("pacc").AttributeDefinition;
35
31
  priority: import("pacc").AttributeDefinition;
36
32
  directory: import("pacc").AttributeDefinition;
37
33
  packaging: import("pacc").AttributeDefinition;
@@ -44,12 +40,38 @@ export class Host extends ServiceOwner {
44
40
  networkInterfaces: {
45
41
  type: string;
46
42
  collection: boolean;
43
+ isKey: boolean;
47
44
  writable: boolean;
45
+ mandatory: boolean;
46
+ private?: boolean;
47
+ depends?: string;
48
+ description?: string;
49
+ default?: any;
50
+ set?: Function;
51
+ get?: Function;
52
+ prepareValue?: Function;
53
+ values?: Set<any>;
54
+ externalName?: string;
55
+ env?: string[] | string;
56
+ additionalValues?: object;
48
57
  };
49
58
  services: {
50
59
  type: string;
51
60
  collection: boolean;
61
+ isKey: boolean;
52
62
  writable: boolean;
63
+ mandatory: boolean;
64
+ private?: boolean;
65
+ depends?: string;
66
+ description?: string;
67
+ default?: any;
68
+ set?: Function;
69
+ get?: Function;
70
+ prepareValue?: Function;
71
+ values?: Set<any>;
72
+ externalName?: string;
73
+ env?: string[] | string;
74
+ additionalValues?: object;
53
75
  };
54
76
  aliases: import("pacc").AttributeDefinition;
55
77
  os: {
@@ -136,7 +158,20 @@ export class Host extends ServiceOwner {
136
158
  extends: {
137
159
  type: string;
138
160
  collection: boolean;
161
+ isKey: boolean;
139
162
  writable: boolean;
163
+ mandatory: boolean;
164
+ private?: boolean;
165
+ depends?: string;
166
+ description?: string;
167
+ default?: any;
168
+ set?: Function;
169
+ get?: Function;
170
+ prepareValue?: Function;
171
+ values?: Set<any>;
172
+ externalName?: string;
173
+ env?: string[] | string;
174
+ additionalValues?: object;
140
175
  };
141
176
  model: import("pacc").AttributeDefinition;
142
177
  isModel: import("pacc").AttributeDefinition;
@@ -11,15 +11,8 @@ export class Location extends Owner {
11
11
  attributes: {
12
12
  owner: {
13
13
  type: string;
14
- collection: boolean;
15
- writable: boolean;
16
- };
17
- type: import("pacc").AttributeDefinition;
18
- name: import("pacc").AttributeDefinition;
19
- description: {
20
- writable: boolean;
21
- type: object;
22
14
  isKey: boolean;
15
+ writable: boolean;
23
16
  mandatory: boolean;
24
17
  collection: boolean;
25
18
  private?: boolean;
@@ -34,6 +27,9 @@ export class Location extends Owner {
34
27
  env?: string[] | string;
35
28
  additionalValues?: object;
36
29
  };
30
+ type: import("pacc").AttributeDefinition;
31
+ name: import("pacc").AttributeDefinition;
32
+ description: import("pacc").AttributeDefinition;
37
33
  priority: import("pacc").AttributeDefinition;
38
34
  directory: import("pacc").AttributeDefinition;
39
35
  packaging: import("pacc").AttributeDefinition;
@@ -64,12 +60,38 @@ export class Location extends Owner {
64
60
  hosts: {
65
61
  type: string;
66
62
  collection: boolean;
63
+ isKey: boolean;
67
64
  writable: boolean;
65
+ mandatory: boolean;
66
+ private?: boolean;
67
+ depends?: string;
68
+ description?: string;
69
+ default?: any;
70
+ set?: Function;
71
+ get?: Function;
72
+ prepareValue?: Function;
73
+ values?: Set<any>;
74
+ externalName?: string;
75
+ env?: string[] | string;
76
+ additionalValues?: object;
68
77
  };
69
78
  clusters: {
70
79
  type: string;
71
80
  collection: boolean;
81
+ isKey: boolean;
72
82
  writable: boolean;
83
+ mandatory: boolean;
84
+ private?: boolean;
85
+ depends?: string;
86
+ description?: string;
87
+ default?: any;
88
+ set?: Function;
89
+ get?: Function;
90
+ prepareValue?: Function;
91
+ values?: Set<any>;
92
+ externalName?: string;
93
+ env?: string[] | string;
94
+ additionalValues?: object;
73
95
  };
74
96
  subnets: {
75
97
  type: {
@@ -103,7 +125,20 @@ export class Location extends Owner {
103
125
  };
104
126
  };
105
127
  collection: boolean;
128
+ isKey: boolean;
106
129
  writable: boolean;
130
+ mandatory: boolean;
131
+ private?: boolean;
132
+ depends?: string;
133
+ description?: string;
134
+ default?: any;
135
+ set?: Function;
136
+ get?: Function;
137
+ prepareValue?: Function;
138
+ values?: Set<any>;
139
+ externalName?: string;
140
+ env?: string[] | string;
141
+ additionalValues?: object;
107
142
  };
108
143
  country: import("pacc").AttributeDefinition;
109
144
  domain: import("pacc").AttributeDefinition;
@@ -142,15 +177,8 @@ export class Location extends Owner {
142
177
  attributes: {
143
178
  owner: {
144
179
  type: string;
145
- collection: boolean;
146
- writable: boolean;
147
- };
148
- type: import("pacc").AttributeDefinition;
149
- name: import("pacc").AttributeDefinition;
150
- description: {
151
- writable: boolean;
152
- type: object;
153
180
  isKey: boolean;
181
+ writable: boolean;
154
182
  mandatory: boolean;
155
183
  collection: boolean;
156
184
  private?: boolean;
@@ -165,6 +193,9 @@ export class Location extends Owner {
165
193
  env?: string[] | string;
166
194
  additionalValues?: object;
167
195
  };
196
+ type: import("pacc").AttributeDefinition;
197
+ name: import("pacc").AttributeDefinition;
198
+ description: import("pacc").AttributeDefinition;
168
199
  priority: import("pacc").AttributeDefinition;
169
200
  directory: import("pacc").AttributeDefinition;
170
201
  packaging: import("pacc").AttributeDefinition;
@@ -195,12 +226,38 @@ export class Location extends Owner {
195
226
  hosts: {
196
227
  type: string;
197
228
  collection: boolean;
229
+ isKey: boolean;
198
230
  writable: boolean;
231
+ mandatory: boolean;
232
+ private?: boolean;
233
+ depends?: string;
234
+ description?: string;
235
+ default?: any;
236
+ set?: Function;
237
+ get?: Function;
238
+ prepareValue?: Function;
239
+ values?: Set<any>;
240
+ externalName?: string;
241
+ env?: string[] | string;
242
+ additionalValues?: object;
199
243
  };
200
244
  clusters: {
201
245
  type: string;
202
246
  collection: boolean;
247
+ isKey: boolean;
203
248
  writable: boolean;
249
+ mandatory: boolean;
250
+ private?: boolean;
251
+ depends?: string;
252
+ description?: string;
253
+ default?: any;
254
+ set?: Function;
255
+ get?: Function;
256
+ prepareValue?: Function;
257
+ values?: Set<any>;
258
+ externalName?: string;
259
+ env?: string[] | string;
260
+ additionalValues?: object;
204
261
  };
205
262
  subnets: {
206
263
  type: {
@@ -234,7 +291,20 @@ export class Location extends Owner {
234
291
  };
235
292
  };
236
293
  collection: boolean;
294
+ isKey: boolean;
237
295
  writable: boolean;
296
+ mandatory: boolean;
297
+ private?: boolean;
298
+ depends?: string;
299
+ description?: string;
300
+ default?: any;
301
+ set?: Function;
302
+ get?: Function;
303
+ prepareValue?: Function;
304
+ values?: Set<any>;
305
+ externalName?: string;
306
+ env?: string[] | string;
307
+ additionalValues?: object;
238
308
  };
239
309
  country: import("pacc").AttributeDefinition;
240
310
  domain: import("pacc").AttributeDefinition;