pmcf 3.10.26 → 3.11.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 (64) hide show
  1. package/bin/pmcf-info +2 -1
  2. package/package.json +5 -5
  3. package/src/base.mjs +32 -29
  4. package/src/cluster.mjs +3 -2
  5. package/src/host.mjs +3 -5
  6. package/src/location.mjs +1 -0
  7. package/src/network-interfaces/ethernet.mjs +1 -0
  8. package/src/network-interfaces/loopback.mjs +4 -6
  9. package/src/network-interfaces/network-interface.mjs +11 -2
  10. package/src/network-interfaces/tun.mjs +1 -1
  11. package/src/network-interfaces/wireguard.mjs +1 -1
  12. package/src/network-interfaces/wlan.mjs +1 -0
  13. package/src/network-support.mjs +8 -3
  14. package/src/network.mjs +2 -1
  15. package/src/owner.mjs +3 -1
  16. package/src/root.mjs +1 -3
  17. package/src/service-owner.mjs +11 -3
  18. package/src/service.mjs +4 -2
  19. package/src/services/bind.mjs +6 -3
  20. package/src/services/chrony.mjs +4 -6
  21. package/src/services/headscale.mjs +1 -1
  22. package/src/services/influxdb.mjs +1 -0
  23. package/src/services/kea.mjs +14 -12
  24. package/src/services/mosquitto.mjs +1 -0
  25. package/src/services/openldap.mjs +1 -0
  26. package/src/services/systemd-journal-remote.mjs +1 -1
  27. package/src/services/systemd-journal-upload.mjs +1 -0
  28. package/src/services/systemd-journal.mjs +2 -2
  29. package/src/services/systemd-resolved.mjs +8 -6
  30. package/src/services/systemd-timesyncd.mjs +7 -7
  31. package/src/subnet.mjs +3 -1
  32. package/src/types.mjs +16 -38
  33. package/types/base.d.mts +5 -3
  34. package/types/cluster.d.mts +56 -10
  35. package/types/extra-source-service.d.mts +510 -9
  36. package/types/host.d.mts +20 -7
  37. package/types/location.d.mts +71 -6
  38. package/types/network-interfaces/ethernet.d.mts +630 -26
  39. package/types/network-interfaces/loopback.d.mts +629 -27
  40. package/types/network-interfaces/network-interface.d.mts +628 -26
  41. package/types/network-interfaces/tun.d.mts +629 -27
  42. package/types/network-interfaces/wireguard.d.mts +629 -27
  43. package/types/network-interfaces/wlan.d.mts +947 -40
  44. package/types/network-support.d.mts +54 -11
  45. package/types/network.d.mts +324 -8
  46. package/types/owner.d.mts +35 -3
  47. package/types/root.d.mts +71 -8
  48. package/types/service-owner.d.mts +1 -0
  49. package/types/service.d.mts +363 -13
  50. package/types/services/bind.d.mts +706 -23
  51. package/types/services/chrony.d.mts +689 -15
  52. package/types/services/headscale.d.mts +689 -15
  53. package/types/services/influxdb.d.mts +527 -14
  54. package/types/services/kea.d.mts +539 -18
  55. package/types/services/mosquitto.d.mts +530 -15
  56. package/types/services/openldap.d.mts +524 -13
  57. package/types/services/systemd-journal-remote.d.mts +524 -14
  58. package/types/services/systemd-journal-upload.d.mts +524 -13
  59. package/types/services/systemd-journal.d.mts +524 -14
  60. package/types/services/systemd-resolved.d.mts +689 -15
  61. package/types/services/systemd-timesyncd.d.mts +763 -90
  62. package/types/subnet.d.mts +14 -0
  63. package/src/filter.mjs +0 -91
  64. package/types/filter.d.mts +0 -1
@@ -1,8 +1,26 @@
1
- export const networkAddressType: string[];
1
+ export const networkAddressType: any;
2
+ export const networks_attribute: {
3
+ type: string;
4
+ collection: boolean;
5
+ isKey: boolean;
6
+ writable: boolean;
7
+ mandatory: boolean;
8
+ private?: boolean;
9
+ depends?: string;
10
+ description?: string;
11
+ default?: any;
12
+ set?: Function;
13
+ get?: Function;
14
+ prepareValue?: Function;
15
+ values?: Set<any>;
16
+ externalName?: string;
17
+ env?: string[] | string;
18
+ additionalValues?: object;
19
+ };
2
20
  export namespace networkAttributes {
3
21
  export let scope: {
4
22
  values: string[];
5
- type: string;
23
+ type: object;
6
24
  isKey: boolean;
7
25
  writable: boolean;
8
26
  mandatory: boolean;
@@ -13,12 +31,14 @@ export namespace networkAttributes {
13
31
  default?: any;
14
32
  set?: Function;
15
33
  get?: Function;
34
+ prepareValue?: Function;
16
35
  externalName?: string;
17
36
  env?: string[] | string;
37
+ additionalValues?: object;
18
38
  };
19
39
  let _class: {
20
40
  values: string[];
21
- type: string;
41
+ type: object;
22
42
  isKey: boolean;
23
43
  writable: boolean;
24
44
  mandatory: boolean;
@@ -29,13 +49,15 @@ export namespace networkAttributes {
29
49
  default?: any;
30
50
  set?: Function;
31
51
  get?: Function;
52
+ prepareValue?: Function;
32
53
  externalName?: string;
33
54
  env?: string[] | string;
55
+ additionalValues?: object;
34
56
  };
35
57
  export { _class as class };
36
58
  export let kind: {
37
59
  values: string[];
38
- type: string;
60
+ type: object;
39
61
  isKey: boolean;
40
62
  writable: boolean;
41
63
  mandatory: boolean;
@@ -46,14 +68,16 @@ export namespace networkAttributes {
46
68
  default?: any;
47
69
  set?: Function;
48
70
  get?: Function;
71
+ prepareValue?: Function;
49
72
  externalName?: string;
50
73
  env?: string[] | string;
74
+ additionalValues?: object;
51
75
  };
52
76
  export { string_attribute_writable as ssid };
53
77
  export { string_attribute_writable as psk };
54
78
  export { string_attribute_writable as secretName };
55
79
  export let metric: {
56
- type: string;
80
+ type: object;
57
81
  isKey: boolean;
58
82
  writable: boolean;
59
83
  mandatory: boolean;
@@ -64,12 +88,31 @@ export namespace networkAttributes {
64
88
  default?: any;
65
89
  set?: Function;
66
90
  get?: Function;
91
+ prepareValue?: Function;
67
92
  values?: Set<any>;
68
93
  externalName?: string;
69
94
  env?: string[] | string;
95
+ additionalValues?: object;
70
96
  };
71
97
  export let mtu: {
72
98
  default: number;
99
+ type: object;
100
+ isKey: boolean;
101
+ writable: boolean;
102
+ mandatory: boolean;
103
+ collection: boolean;
104
+ private?: boolean;
105
+ depends?: string;
106
+ description?: string;
107
+ set?: Function;
108
+ get?: Function;
109
+ prepareValue?: Function;
110
+ values?: Set<any>;
111
+ externalName?: string;
112
+ env?: string[] | string;
113
+ additionalValues?: object;
114
+ };
115
+ export let gateway: {
73
116
  type: string;
74
117
  isKey: boolean;
75
118
  writable: boolean;
@@ -78,23 +121,21 @@ export namespace networkAttributes {
78
121
  private?: boolean;
79
122
  depends?: string;
80
123
  description?: string;
124
+ default?: any;
81
125
  set?: Function;
82
126
  get?: Function;
127
+ prepareValue?: Function;
83
128
  values?: Set<any>;
84
129
  externalName?: string;
85
130
  env?: string[] | string;
131
+ additionalValues?: object;
86
132
  };
87
- export namespace gateway {
88
- let type: string;
89
- let collection: boolean;
90
- let writable: boolean;
91
- }
92
133
  export { boolean_attribute_writable as multicastDNS };
93
134
  }
94
135
  export namespace networkAddressAttributes {
95
136
  export let hostName: {
96
137
  writable: boolean;
97
- type: string;
138
+ type: object;
98
139
  isKey: boolean;
99
140
  mandatory: boolean;
100
141
  collection: boolean;
@@ -104,9 +145,11 @@ export namespace networkAddressAttributes {
104
145
  default?: any;
105
146
  set?: Function;
106
147
  get?: Function;
148
+ prepareValue?: Function;
107
149
  values?: Set<any>;
108
150
  externalName?: string;
109
151
  env?: string[] | string;
152
+ additionalValues?: object;
110
153
  };
111
154
  export { string_collection_attribute_writable as cidrAddresses };
112
155
  export { string_attribute_writable as cidrAddress };
@@ -1,3 +1,272 @@
1
+ export namespace NetworkTypeDefinition {
2
+ export let name: string;
3
+ export let owners: string[];
4
+ export let priority: number;
5
+ let _extends: {
6
+ name: string;
7
+ owners: string[];
8
+ priority: number;
9
+ extends: {
10
+ name: string;
11
+ key: string;
12
+ attributes: {
13
+ owner: {
14
+ type: string;
15
+ collection: boolean;
16
+ writable: boolean;
17
+ };
18
+ type: import("pacc").AttributeDefinition;
19
+ name: import("pacc").AttributeDefinition;
20
+ description: {
21
+ writable: boolean;
22
+ type: object;
23
+ isKey: boolean;
24
+ mandatory: boolean;
25
+ collection: boolean;
26
+ private?: boolean;
27
+ depends?: string;
28
+ description?: string;
29
+ default?: any;
30
+ set?: Function;
31
+ get?: Function;
32
+ prepareValue?: Function;
33
+ values?: Set<any>;
34
+ externalName?: string;
35
+ env?: string[] | string;
36
+ additionalValues?: object;
37
+ };
38
+ priority: import("pacc").AttributeDefinition;
39
+ directory: import("pacc").AttributeDefinition;
40
+ packaging: import("pacc").AttributeDefinition;
41
+ disabled: import("pacc").AttributeDefinition;
42
+ tags: import("pacc").AttributeDefinition;
43
+ };
44
+ };
45
+ key: string;
46
+ attributes: {
47
+ networks: {
48
+ type: string;
49
+ collection: boolean;
50
+ isKey: boolean;
51
+ writable: boolean;
52
+ mandatory: boolean;
53
+ private?: boolean;
54
+ depends?: string;
55
+ description?: string;
56
+ default?: any;
57
+ set?: Function;
58
+ get?: Function;
59
+ prepareValue?: Function;
60
+ values?: Set<any>;
61
+ externalName?: string;
62
+ env?: string[] | string;
63
+ additionalValues?: object;
64
+ };
65
+ hosts: {
66
+ type: string;
67
+ collection: boolean;
68
+ writable: boolean;
69
+ };
70
+ clusters: {
71
+ type: string;
72
+ collection: boolean;
73
+ writable: boolean;
74
+ };
75
+ subnets: {
76
+ type: {
77
+ name: string;
78
+ owners: string[];
79
+ priority: number;
80
+ constructWithIdentifierOnly: boolean;
81
+ key: string;
82
+ attributes: {
83
+ address: import("pacc").AttributeDefinition;
84
+ networks: {
85
+ type: string;
86
+ collection: boolean;
87
+ isKey: boolean;
88
+ writable: boolean;
89
+ mandatory: boolean;
90
+ private?: boolean;
91
+ depends?: string;
92
+ description?: string;
93
+ default?: any;
94
+ set?: Function;
95
+ get?: Function;
96
+ prepareValue?: Function;
97
+ values?: Set<any>;
98
+ externalName?: string;
99
+ env?: string[] | string;
100
+ additionalValues?: object;
101
+ };
102
+ prefixLength: import("pacc").AttributeDefinition;
103
+ family: import("pacc").AttributeDefinition;
104
+ };
105
+ };
106
+ collection: boolean;
107
+ writable: boolean;
108
+ };
109
+ country: import("pacc").AttributeDefinition;
110
+ domain: import("pacc").AttributeDefinition;
111
+ domains: import("pacc").AttributeDefinition;
112
+ timezone: import("pacc").AttributeDefinition;
113
+ architectures: import("pacc").AttributeDefinition;
114
+ locales: import("pacc").AttributeDefinition;
115
+ administratorEmail: {
116
+ writable: boolean;
117
+ type: object;
118
+ isKey: boolean;
119
+ mandatory: boolean;
120
+ collection: boolean;
121
+ private?: boolean;
122
+ depends?: string;
123
+ description?: string;
124
+ default?: any;
125
+ set?: Function;
126
+ get?: Function;
127
+ prepareValue?: Function;
128
+ values?: Set<any>;
129
+ externalName?: string;
130
+ env?: string[] | string;
131
+ additionalValues?: object;
132
+ };
133
+ };
134
+ };
135
+ export { _extends as extends };
136
+ export let key: string;
137
+ export let attributes: {
138
+ bridge: {
139
+ type: string;
140
+ collection: boolean;
141
+ isKey: boolean;
142
+ writable: boolean;
143
+ mandatory: boolean;
144
+ private?: boolean;
145
+ depends?: string;
146
+ description?: string;
147
+ default?: any;
148
+ set?: Function;
149
+ get?: Function;
150
+ prepareValue?: Function;
151
+ values?: Set<any>;
152
+ externalName?: string;
153
+ env?: string[] | string;
154
+ additionalValues?: object;
155
+ };
156
+ gateway: {
157
+ type: string;
158
+ isKey: boolean;
159
+ writable: boolean;
160
+ mandatory: boolean;
161
+ collection: boolean;
162
+ private?: boolean;
163
+ depends?: string;
164
+ description?: string;
165
+ default?: any;
166
+ set?: Function;
167
+ get?: Function;
168
+ prepareValue?: Function;
169
+ values?: Set<any>;
170
+ externalName?: string;
171
+ env?: string[] | string;
172
+ additionalValues?: object;
173
+ };
174
+ scope: {
175
+ values: string[];
176
+ type: object;
177
+ isKey: boolean;
178
+ writable: boolean;
179
+ mandatory: boolean;
180
+ collection: boolean;
181
+ private?: boolean;
182
+ depends?: string;
183
+ description?: string;
184
+ default?: any;
185
+ set?: Function;
186
+ get?: Function;
187
+ prepareValue?: Function;
188
+ externalName?: string;
189
+ env?: string[] | string;
190
+ additionalValues?: object;
191
+ };
192
+ class: {
193
+ values: string[];
194
+ type: object;
195
+ isKey: boolean;
196
+ writable: boolean;
197
+ mandatory: boolean;
198
+ collection: boolean;
199
+ private?: boolean;
200
+ depends?: string;
201
+ description?: string;
202
+ default?: any;
203
+ set?: Function;
204
+ get?: Function;
205
+ prepareValue?: Function;
206
+ externalName?: string;
207
+ env?: string[] | string;
208
+ additionalValues?: object;
209
+ };
210
+ kind: {
211
+ values: string[];
212
+ type: object;
213
+ isKey: boolean;
214
+ writable: boolean;
215
+ mandatory: boolean;
216
+ collection: boolean;
217
+ private?: boolean;
218
+ depends?: string;
219
+ description?: string;
220
+ default?: any;
221
+ set?: Function;
222
+ get?: Function;
223
+ prepareValue?: Function;
224
+ externalName?: string;
225
+ env?: string[] | string;
226
+ additionalValues?: object;
227
+ };
228
+ ssid: import("pacc").AttributeDefinition;
229
+ psk: import("pacc").AttributeDefinition;
230
+ secretName: import("pacc").AttributeDefinition;
231
+ metric: {
232
+ type: object;
233
+ isKey: boolean;
234
+ writable: boolean;
235
+ mandatory: boolean;
236
+ collection: boolean;
237
+ private?: boolean;
238
+ depends?: string;
239
+ description?: string;
240
+ default?: any;
241
+ set?: Function;
242
+ get?: Function;
243
+ prepareValue?: Function;
244
+ values?: Set<any>;
245
+ externalName?: string;
246
+ env?: string[] | string;
247
+ additionalValues?: object;
248
+ };
249
+ mtu: {
250
+ default: number;
251
+ type: object;
252
+ isKey: boolean;
253
+ writable: boolean;
254
+ mandatory: boolean;
255
+ collection: boolean;
256
+ private?: boolean;
257
+ depends?: string;
258
+ description?: string;
259
+ set?: Function;
260
+ get?: Function;
261
+ prepareValue?: Function;
262
+ values?: Set<any>;
263
+ externalName?: string;
264
+ env?: string[] | string;
265
+ additionalValues?: object;
266
+ };
267
+ multicastDNS: import("pacc").AttributeDefinition;
268
+ };
269
+ }
1
270
  export class Network extends Owner {
2
271
  static get typeDefinition(): {
3
272
  name: string;
@@ -9,7 +278,7 @@ export class Network extends Owner {
9
278
  priority: number;
10
279
  extends: {
11
280
  name: string;
12
- owners: any[];
281
+ key: string;
13
282
  attributes: {
14
283
  owner: {
15
284
  type: string;
@@ -20,7 +289,7 @@ export class Network extends Owner {
20
289
  name: import("pacc").AttributeDefinition;
21
290
  description: {
22
291
  writable: boolean;
23
- type: string;
292
+ type: object;
24
293
  isKey: boolean;
25
294
  mandatory: boolean;
26
295
  collection: boolean;
@@ -30,9 +299,11 @@ export class Network extends Owner {
30
299
  default?: any;
31
300
  set?: Function;
32
301
  get?: Function;
302
+ prepareValue?: Function;
33
303
  values?: Set<any>;
34
304
  externalName?: string;
35
305
  env?: string[] | string;
306
+ additionalValues?: object;
36
307
  };
37
308
  priority: import("pacc").AttributeDefinition;
38
309
  directory: import("pacc").AttributeDefinition;
@@ -41,11 +312,25 @@ export class Network extends Owner {
41
312
  tags: import("pacc").AttributeDefinition;
42
313
  };
43
314
  };
315
+ key: string;
44
316
  attributes: {
45
317
  networks: {
46
318
  type: string;
47
319
  collection: boolean;
320
+ isKey: boolean;
48
321
  writable: boolean;
322
+ mandatory: boolean;
323
+ private?: boolean;
324
+ depends?: string;
325
+ description?: string;
326
+ default?: any;
327
+ set?: Function;
328
+ get?: Function;
329
+ prepareValue?: Function;
330
+ values?: Set<any>;
331
+ externalName?: string;
332
+ env?: string[] | string;
333
+ additionalValues?: object;
49
334
  };
50
335
  hosts: {
51
336
  type: string;
@@ -63,12 +348,26 @@ export class Network extends Owner {
63
348
  owners: string[];
64
349
  priority: number;
65
350
  constructWithIdentifierOnly: boolean;
351
+ key: string;
66
352
  attributes: {
67
353
  address: import("pacc").AttributeDefinition;
68
354
  networks: {
69
355
  type: string;
70
356
  collection: boolean;
357
+ isKey: boolean;
71
358
  writable: boolean;
359
+ mandatory: boolean;
360
+ private?: boolean;
361
+ depends?: string;
362
+ description?: string;
363
+ default?: any;
364
+ set?: Function;
365
+ get?: Function;
366
+ prepareValue?: Function;
367
+ values?: Set<any>;
368
+ externalName?: string;
369
+ env?: string[] | string;
370
+ additionalValues?: object;
72
371
  };
73
372
  prefixLength: import("pacc").AttributeDefinition;
74
373
  family: import("pacc").AttributeDefinition;
@@ -85,7 +384,7 @@ export class Network extends Owner {
85
384
  locales: import("pacc").AttributeDefinition;
86
385
  administratorEmail: {
87
386
  writable: boolean;
88
- type: string;
387
+ type: object;
89
388
  isKey: boolean;
90
389
  mandatory: boolean;
91
390
  collection: boolean;
@@ -95,12 +394,15 @@ export class Network extends Owner {
95
394
  default?: any;
96
395
  set?: Function;
97
396
  get?: Function;
397
+ prepareValue?: Function;
98
398
  values?: Set<any>;
99
399
  externalName?: string;
100
400
  env?: string[] | string;
401
+ additionalValues?: object;
101
402
  };
102
403
  };
103
404
  };
405
+ key: string;
104
406
  attributes: {
105
407
  bridge: {
106
408
  type: string;
@@ -114,9 +416,11 @@ export class Network extends Owner {
114
416
  default?: any;
115
417
  set?: Function;
116
418
  get?: Function;
419
+ prepareValue?: Function;
117
420
  values?: Set<any>;
118
421
  externalName?: string;
119
422
  env?: string[] | string;
423
+ additionalValues?: object;
120
424
  };
121
425
  gateway: {
122
426
  type: string;
@@ -130,13 +434,15 @@ export class Network extends Owner {
130
434
  default?: any;
131
435
  set?: Function;
132
436
  get?: Function;
437
+ prepareValue?: Function;
133
438
  values?: Set<any>;
134
439
  externalName?: string;
135
440
  env?: string[] | string;
441
+ additionalValues?: object;
136
442
  };
137
443
  scope: {
138
444
  values: string[];
139
- type: string;
445
+ type: object;
140
446
  isKey: boolean;
141
447
  writable: boolean;
142
448
  mandatory: boolean;
@@ -147,12 +453,14 @@ export class Network extends Owner {
147
453
  default?: any;
148
454
  set?: Function;
149
455
  get?: Function;
456
+ prepareValue?: Function;
150
457
  externalName?: string;
151
458
  env?: string[] | string;
459
+ additionalValues?: object;
152
460
  };
153
461
  class: {
154
462
  values: string[];
155
- type: string;
463
+ type: object;
156
464
  isKey: boolean;
157
465
  writable: boolean;
158
466
  mandatory: boolean;
@@ -163,12 +471,14 @@ export class Network extends Owner {
163
471
  default?: any;
164
472
  set?: Function;
165
473
  get?: Function;
474
+ prepareValue?: Function;
166
475
  externalName?: string;
167
476
  env?: string[] | string;
477
+ additionalValues?: object;
168
478
  };
169
479
  kind: {
170
480
  values: string[];
171
- type: string;
481
+ type: object;
172
482
  isKey: boolean;
173
483
  writable: boolean;
174
484
  mandatory: boolean;
@@ -179,14 +489,16 @@ export class Network extends Owner {
179
489
  default?: any;
180
490
  set?: Function;
181
491
  get?: Function;
492
+ prepareValue?: Function;
182
493
  externalName?: string;
183
494
  env?: string[] | string;
495
+ additionalValues?: object;
184
496
  };
185
497
  ssid: import("pacc").AttributeDefinition;
186
498
  psk: import("pacc").AttributeDefinition;
187
499
  secretName: import("pacc").AttributeDefinition;
188
500
  metric: {
189
- type: string;
501
+ type: object;
190
502
  isKey: boolean;
191
503
  writable: boolean;
192
504
  mandatory: boolean;
@@ -197,13 +509,15 @@ export class Network extends Owner {
197
509
  default?: any;
198
510
  set?: Function;
199
511
  get?: Function;
512
+ prepareValue?: Function;
200
513
  values?: Set<any>;
201
514
  externalName?: string;
202
515
  env?: string[] | string;
516
+ additionalValues?: object;
203
517
  };
204
518
  mtu: {
205
519
  default: number;
206
- type: string;
520
+ type: object;
207
521
  isKey: boolean;
208
522
  writable: boolean;
209
523
  mandatory: boolean;
@@ -213,9 +527,11 @@ export class Network extends Owner {
213
527
  description?: string;
214
528
  set?: Function;
215
529
  get?: Function;
530
+ prepareValue?: Function;
216
531
  values?: Set<any>;
217
532
  externalName?: string;
218
533
  env?: string[] | string;
534
+ additionalValues?: object;
219
535
  };
220
536
  multicastDNS: import("pacc").AttributeDefinition;
221
537
  };