pmcf 3.2.0 → 3.2.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.
- package/package.json +2 -2
- package/src/base.mjs +2 -2
- package/src/cluster.mjs +3 -2
- package/src/host.mjs +4 -4
- package/src/network-support.mjs +3 -3
- package/src/service.mjs +5 -8
- package/src/services/bind.mjs +2 -2
- package/src/subnet.mjs +2 -2
- package/types/base.d.mts +10 -1
- package/types/cluster.d.mts +71 -12
- package/types/extra-source-service.d.mts +39 -17
- package/types/host.d.mts +31 -8
- package/types/location.d.mts +40 -4
- package/types/network-interfaces/ethernet.d.mts +60 -10
- package/types/network-interfaces/loopback.d.mts +60 -10
- package/types/network-interfaces/network-interface.d.mts +60 -10
- package/types/network-interfaces/wireguard.d.mts +60 -10
- package/types/network-interfaces/wlan.d.mts +90 -15
- package/types/network-support.d.mts +31 -23
- package/types/network.d.mts +40 -6
- package/types/owner.d.mts +20 -2
- package/types/root.d.mts +40 -4
- package/types/service.d.mts +89 -49
- package/types/services/bind.d.mts +88 -35
- package/types/services/chrony.d.mts +78 -34
- package/types/services/influxdb.d.mts +78 -34
- package/types/services/kea.d.mts +78 -34
- package/types/services/mosquitto.d.mts +78 -34
- package/types/services/openldap.d.mts +78 -34
- package/types/services/systemd-journal-remote.d.mts +78 -34
- package/types/services/systemd-journal-upload.d.mts +78 -34
- package/types/services/systemd-journal.d.mts +78 -34
- package/types/services/systemd-resolved.d.mts +78 -34
- package/types/services/systemd-timesyncd.d.mts +78 -34
- package/types/subnet.d.mts +10 -1
package/types/network.d.mts
CHANGED
|
@@ -46,9 +46,18 @@ export class Network extends Owner {
|
|
|
46
46
|
env?: string[] | string;
|
|
47
47
|
};
|
|
48
48
|
priority: {
|
|
49
|
+
writable: boolean;
|
|
49
50
|
type: string;
|
|
51
|
+
isKey: boolean;
|
|
52
|
+
mandatory: boolean;
|
|
50
53
|
collection: boolean;
|
|
51
|
-
|
|
54
|
+
private?: boolean;
|
|
55
|
+
depends?: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
default?: any;
|
|
58
|
+
set?: Function;
|
|
59
|
+
get?: Function;
|
|
60
|
+
env?: string[] | string;
|
|
52
61
|
};
|
|
53
62
|
directory: {
|
|
54
63
|
writable: boolean;
|
|
@@ -151,9 +160,18 @@ export class Network extends Owner {
|
|
|
151
160
|
writable: boolean;
|
|
152
161
|
};
|
|
153
162
|
prefixLength: {
|
|
163
|
+
writable: boolean;
|
|
154
164
|
type: string;
|
|
165
|
+
isKey: boolean;
|
|
166
|
+
mandatory: boolean;
|
|
155
167
|
collection: boolean;
|
|
156
|
-
|
|
168
|
+
private?: boolean;
|
|
169
|
+
depends?: string;
|
|
170
|
+
description?: string;
|
|
171
|
+
default?: any;
|
|
172
|
+
set?: Function;
|
|
173
|
+
get?: Function;
|
|
174
|
+
env?: string[] | string;
|
|
157
175
|
};
|
|
158
176
|
};
|
|
159
177
|
};
|
|
@@ -345,16 +363,32 @@ export class Network extends Owner {
|
|
|
345
363
|
env?: string[] | string;
|
|
346
364
|
};
|
|
347
365
|
metric: {
|
|
348
|
-
type: string;
|
|
349
|
-
collection: boolean;
|
|
350
366
|
writable: boolean;
|
|
351
367
|
default: number;
|
|
352
|
-
};
|
|
353
|
-
mtu: {
|
|
354
368
|
type: string;
|
|
369
|
+
isKey: boolean;
|
|
370
|
+
mandatory: boolean;
|
|
355
371
|
collection: boolean;
|
|
372
|
+
private?: boolean;
|
|
373
|
+
depends?: string;
|
|
374
|
+
description?: string;
|
|
375
|
+
set?: Function;
|
|
376
|
+
get?: Function;
|
|
377
|
+
env?: string[] | string;
|
|
378
|
+
};
|
|
379
|
+
mtu: {
|
|
356
380
|
writable: boolean;
|
|
357
381
|
default: number;
|
|
382
|
+
type: string;
|
|
383
|
+
isKey: boolean;
|
|
384
|
+
mandatory: boolean;
|
|
385
|
+
collection: boolean;
|
|
386
|
+
private?: boolean;
|
|
387
|
+
depends?: string;
|
|
388
|
+
description?: string;
|
|
389
|
+
set?: Function;
|
|
390
|
+
get?: Function;
|
|
391
|
+
env?: string[] | string;
|
|
358
392
|
};
|
|
359
393
|
multicastDNS: {
|
|
360
394
|
writable: boolean;
|
package/types/owner.d.mts
CHANGED
|
@@ -42,9 +42,18 @@ export class Owner extends Base {
|
|
|
42
42
|
env?: string[] | string;
|
|
43
43
|
};
|
|
44
44
|
priority: {
|
|
45
|
+
writable: boolean;
|
|
45
46
|
type: string;
|
|
47
|
+
isKey: boolean;
|
|
48
|
+
mandatory: boolean;
|
|
46
49
|
collection: boolean;
|
|
47
|
-
|
|
50
|
+
private?: boolean;
|
|
51
|
+
depends?: string;
|
|
52
|
+
description?: string;
|
|
53
|
+
default?: any;
|
|
54
|
+
set?: Function;
|
|
55
|
+
get?: Function;
|
|
56
|
+
env?: string[] | string;
|
|
48
57
|
};
|
|
49
58
|
directory: {
|
|
50
59
|
writable: boolean;
|
|
@@ -147,9 +156,18 @@ export class Owner extends Base {
|
|
|
147
156
|
writable: boolean;
|
|
148
157
|
};
|
|
149
158
|
prefixLength: {
|
|
159
|
+
writable: boolean;
|
|
150
160
|
type: string;
|
|
161
|
+
isKey: boolean;
|
|
162
|
+
mandatory: boolean;
|
|
151
163
|
collection: boolean;
|
|
152
|
-
|
|
164
|
+
private?: boolean;
|
|
165
|
+
depends?: string;
|
|
166
|
+
description?: string;
|
|
167
|
+
default?: any;
|
|
168
|
+
set?: Function;
|
|
169
|
+
get?: Function;
|
|
170
|
+
env?: string[] | string;
|
|
153
171
|
};
|
|
154
172
|
};
|
|
155
173
|
};
|
package/types/root.d.mts
CHANGED
|
@@ -48,9 +48,18 @@ export class Root extends Location {
|
|
|
48
48
|
env?: string[] | string;
|
|
49
49
|
};
|
|
50
50
|
priority: {
|
|
51
|
+
writable: boolean;
|
|
51
52
|
type: string;
|
|
53
|
+
isKey: boolean;
|
|
54
|
+
mandatory: boolean;
|
|
52
55
|
collection: boolean;
|
|
53
|
-
|
|
56
|
+
private?: boolean;
|
|
57
|
+
depends?: string;
|
|
58
|
+
description?: string;
|
|
59
|
+
default?: any;
|
|
60
|
+
set?: Function;
|
|
61
|
+
get?: Function;
|
|
62
|
+
env?: string[] | string;
|
|
54
63
|
};
|
|
55
64
|
directory: {
|
|
56
65
|
writable: boolean;
|
|
@@ -153,9 +162,18 @@ export class Root extends Location {
|
|
|
153
162
|
writable: boolean;
|
|
154
163
|
};
|
|
155
164
|
prefixLength: {
|
|
165
|
+
writable: boolean;
|
|
156
166
|
type: string;
|
|
167
|
+
isKey: boolean;
|
|
168
|
+
mandatory: boolean;
|
|
157
169
|
collection: boolean;
|
|
158
|
-
|
|
170
|
+
private?: boolean;
|
|
171
|
+
depends?: string;
|
|
172
|
+
description?: string;
|
|
173
|
+
default?: any;
|
|
174
|
+
set?: Function;
|
|
175
|
+
get?: Function;
|
|
176
|
+
env?: string[] | string;
|
|
159
177
|
};
|
|
160
178
|
};
|
|
161
179
|
};
|
|
@@ -306,9 +324,18 @@ export class Root extends Location {
|
|
|
306
324
|
env?: string[] | string;
|
|
307
325
|
};
|
|
308
326
|
priority: {
|
|
327
|
+
writable: boolean;
|
|
309
328
|
type: string;
|
|
329
|
+
isKey: boolean;
|
|
330
|
+
mandatory: boolean;
|
|
310
331
|
collection: boolean;
|
|
311
|
-
|
|
332
|
+
private?: boolean;
|
|
333
|
+
depends?: string;
|
|
334
|
+
description?: string;
|
|
335
|
+
default?: any;
|
|
336
|
+
set?: Function;
|
|
337
|
+
get?: Function;
|
|
338
|
+
env?: string[] | string;
|
|
312
339
|
};
|
|
313
340
|
directory: {
|
|
314
341
|
writable: boolean;
|
|
@@ -411,9 +438,18 @@ export class Root extends Location {
|
|
|
411
438
|
writable: boolean;
|
|
412
439
|
};
|
|
413
440
|
prefixLength: {
|
|
441
|
+
writable: boolean;
|
|
414
442
|
type: string;
|
|
443
|
+
isKey: boolean;
|
|
444
|
+
mandatory: boolean;
|
|
415
445
|
collection: boolean;
|
|
416
|
-
|
|
446
|
+
private?: boolean;
|
|
447
|
+
depends?: string;
|
|
448
|
+
description?: string;
|
|
449
|
+
default?: any;
|
|
450
|
+
set?: Function;
|
|
451
|
+
get?: Function;
|
|
452
|
+
env?: string[] | string;
|
|
417
453
|
};
|
|
418
454
|
};
|
|
419
455
|
};
|
package/types/service.d.mts
CHANGED
|
@@ -17,14 +17,8 @@ export function serviceEndpoints(sources: any, options?: {
|
|
|
17
17
|
join?: string;
|
|
18
18
|
}): string | any;
|
|
19
19
|
export namespace endpointProperties {
|
|
20
|
-
export
|
|
21
|
-
let type: string;
|
|
22
|
-
let collection: boolean;
|
|
23
|
-
let writable: boolean;
|
|
24
|
-
}
|
|
25
|
-
export let protocol: {
|
|
20
|
+
export let port: {
|
|
26
21
|
writable: boolean;
|
|
27
|
-
values: string[];
|
|
28
22
|
type: string;
|
|
29
23
|
isKey: boolean;
|
|
30
24
|
mandatory: boolean;
|
|
@@ -37,8 +31,9 @@ export namespace endpointProperties {
|
|
|
37
31
|
get?: Function;
|
|
38
32
|
env?: string[] | string;
|
|
39
33
|
};
|
|
40
|
-
let
|
|
34
|
+
export let protocol: {
|
|
41
35
|
writable: boolean;
|
|
36
|
+
values: string[];
|
|
42
37
|
type: string;
|
|
43
38
|
isKey: boolean;
|
|
44
39
|
mandatory: boolean;
|
|
@@ -51,13 +46,12 @@ export namespace endpointProperties {
|
|
|
51
46
|
get?: Function;
|
|
52
47
|
env?: string[] | string;
|
|
53
48
|
};
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
collection: boolean;
|
|
49
|
+
export let type: {
|
|
50
|
+
writable: boolean;
|
|
57
51
|
type: string;
|
|
58
52
|
isKey: boolean;
|
|
59
|
-
writable: boolean;
|
|
60
53
|
mandatory: boolean;
|
|
54
|
+
collection: boolean;
|
|
61
55
|
private?: boolean;
|
|
62
56
|
depends?: string;
|
|
63
57
|
description?: string;
|
|
@@ -66,12 +60,12 @@ export namespace endpointProperties {
|
|
|
66
60
|
get?: Function;
|
|
67
61
|
env?: string[] | string;
|
|
68
62
|
};
|
|
69
|
-
export let
|
|
70
|
-
|
|
63
|
+
export let types: {
|
|
64
|
+
collection: boolean;
|
|
71
65
|
type: string;
|
|
72
66
|
isKey: boolean;
|
|
67
|
+
writable: boolean;
|
|
73
68
|
mandatory: boolean;
|
|
74
|
-
collection: boolean;
|
|
75
69
|
private?: boolean;
|
|
76
70
|
depends?: string;
|
|
77
71
|
description?: string;
|
|
@@ -80,6 +74,7 @@ export namespace endpointProperties {
|
|
|
80
74
|
get?: Function;
|
|
81
75
|
env?: string[] | string;
|
|
82
76
|
};
|
|
77
|
+
export { boolean_attribute_false as tls };
|
|
83
78
|
}
|
|
84
79
|
export namespace EndpointTypeDefinition {
|
|
85
80
|
export let name: string;
|
|
@@ -134,9 +129,18 @@ export namespace ServiceTypeDefinition {
|
|
|
134
129
|
env?: string[] | string;
|
|
135
130
|
};
|
|
136
131
|
priority: {
|
|
132
|
+
writable: boolean;
|
|
137
133
|
type: string;
|
|
134
|
+
isKey: boolean;
|
|
135
|
+
mandatory: boolean;
|
|
138
136
|
collection: boolean;
|
|
139
|
-
|
|
137
|
+
private?: boolean;
|
|
138
|
+
depends?: string;
|
|
139
|
+
description?: string;
|
|
140
|
+
default?: any;
|
|
141
|
+
set?: Function;
|
|
142
|
+
get?: Function;
|
|
143
|
+
env?: string[] | string;
|
|
140
144
|
};
|
|
141
145
|
directory: {
|
|
142
146
|
writable: boolean;
|
|
@@ -216,24 +220,35 @@ export namespace ServiceTypeDefinition {
|
|
|
216
220
|
env?: string[] | string;
|
|
217
221
|
};
|
|
218
222
|
weight: {
|
|
219
|
-
type: string;
|
|
220
|
-
collection: boolean;
|
|
221
223
|
writable: boolean;
|
|
222
224
|
default: number;
|
|
223
|
-
};
|
|
224
|
-
systemd: {
|
|
225
225
|
type: string;
|
|
226
|
+
isKey: boolean;
|
|
227
|
+
mandatory: boolean;
|
|
226
228
|
collection: boolean;
|
|
227
|
-
|
|
229
|
+
private?: boolean;
|
|
230
|
+
depends?: string;
|
|
231
|
+
description?: string;
|
|
232
|
+
set?: Function;
|
|
233
|
+
get?: Function;
|
|
234
|
+
env?: string[] | string;
|
|
228
235
|
};
|
|
229
|
-
|
|
230
|
-
type: string;
|
|
236
|
+
systemd: {
|
|
231
237
|
collection: boolean;
|
|
232
238
|
writable: boolean;
|
|
239
|
+
type: string;
|
|
240
|
+
isKey: boolean;
|
|
241
|
+
mandatory: boolean;
|
|
242
|
+
private?: boolean;
|
|
243
|
+
depends?: string;
|
|
244
|
+
description?: string;
|
|
245
|
+
default?: any;
|
|
246
|
+
set?: Function;
|
|
247
|
+
get?: Function;
|
|
248
|
+
env?: string[] | string;
|
|
233
249
|
};
|
|
234
|
-
|
|
250
|
+
port: {
|
|
235
251
|
writable: boolean;
|
|
236
|
-
values: string[];
|
|
237
252
|
type: string;
|
|
238
253
|
isKey: boolean;
|
|
239
254
|
mandatory: boolean;
|
|
@@ -246,8 +261,9 @@ export namespace ServiceTypeDefinition {
|
|
|
246
261
|
get?: Function;
|
|
247
262
|
env?: string[] | string;
|
|
248
263
|
};
|
|
249
|
-
|
|
264
|
+
protocol: {
|
|
250
265
|
writable: boolean;
|
|
266
|
+
values: string[];
|
|
251
267
|
type: string;
|
|
252
268
|
isKey: boolean;
|
|
253
269
|
mandatory: boolean;
|
|
@@ -260,12 +276,12 @@ export namespace ServiceTypeDefinition {
|
|
|
260
276
|
get?: Function;
|
|
261
277
|
env?: string[] | string;
|
|
262
278
|
};
|
|
263
|
-
|
|
264
|
-
|
|
279
|
+
type: {
|
|
280
|
+
writable: boolean;
|
|
265
281
|
type: string;
|
|
266
282
|
isKey: boolean;
|
|
267
|
-
writable: boolean;
|
|
268
283
|
mandatory: boolean;
|
|
284
|
+
collection: boolean;
|
|
269
285
|
private?: boolean;
|
|
270
286
|
depends?: string;
|
|
271
287
|
description?: string;
|
|
@@ -274,12 +290,12 @@ export namespace ServiceTypeDefinition {
|
|
|
274
290
|
get?: Function;
|
|
275
291
|
env?: string[] | string;
|
|
276
292
|
};
|
|
277
|
-
|
|
278
|
-
|
|
293
|
+
types: {
|
|
294
|
+
collection: boolean;
|
|
279
295
|
type: string;
|
|
280
296
|
isKey: boolean;
|
|
297
|
+
writable: boolean;
|
|
281
298
|
mandatory: boolean;
|
|
282
|
-
collection: boolean;
|
|
283
299
|
private?: boolean;
|
|
284
300
|
depends?: string;
|
|
285
301
|
description?: string;
|
|
@@ -288,6 +304,7 @@ export namespace ServiceTypeDefinition {
|
|
|
288
304
|
get?: Function;
|
|
289
305
|
env?: string[] | string;
|
|
290
306
|
};
|
|
307
|
+
tls: import("pacc").AttributeDefinition;
|
|
291
308
|
hostName: {
|
|
292
309
|
writable: boolean;
|
|
293
310
|
type: string;
|
|
@@ -404,9 +421,18 @@ export class Service extends Base {
|
|
|
404
421
|
env?: string[] | string;
|
|
405
422
|
};
|
|
406
423
|
priority: {
|
|
424
|
+
writable: boolean;
|
|
407
425
|
type: string;
|
|
426
|
+
isKey: boolean;
|
|
427
|
+
mandatory: boolean;
|
|
408
428
|
collection: boolean;
|
|
409
|
-
|
|
429
|
+
private?: boolean;
|
|
430
|
+
depends?: string;
|
|
431
|
+
description?: string;
|
|
432
|
+
default?: any;
|
|
433
|
+
set?: Function;
|
|
434
|
+
get?: Function;
|
|
435
|
+
env?: string[] | string;
|
|
410
436
|
};
|
|
411
437
|
directory: {
|
|
412
438
|
writable: boolean;
|
|
@@ -484,24 +510,35 @@ export class Service extends Base {
|
|
|
484
510
|
env?: string[] | string;
|
|
485
511
|
};
|
|
486
512
|
weight: {
|
|
487
|
-
type: string;
|
|
488
|
-
collection: boolean;
|
|
489
513
|
writable: boolean;
|
|
490
514
|
default: number;
|
|
491
|
-
};
|
|
492
|
-
systemd: {
|
|
493
515
|
type: string;
|
|
516
|
+
isKey: boolean;
|
|
517
|
+
mandatory: boolean;
|
|
494
518
|
collection: boolean;
|
|
495
|
-
|
|
519
|
+
private?: boolean;
|
|
520
|
+
depends?: string;
|
|
521
|
+
description?: string;
|
|
522
|
+
set?: Function;
|
|
523
|
+
get?: Function;
|
|
524
|
+
env?: string[] | string;
|
|
496
525
|
};
|
|
497
|
-
|
|
498
|
-
type: string;
|
|
526
|
+
systemd: {
|
|
499
527
|
collection: boolean;
|
|
500
528
|
writable: boolean;
|
|
529
|
+
type: string;
|
|
530
|
+
isKey: boolean;
|
|
531
|
+
mandatory: boolean;
|
|
532
|
+
private?: boolean;
|
|
533
|
+
depends?: string;
|
|
534
|
+
description?: string;
|
|
535
|
+
default?: any;
|
|
536
|
+
set?: Function;
|
|
537
|
+
get?: Function;
|
|
538
|
+
env?: string[] | string;
|
|
501
539
|
};
|
|
502
|
-
|
|
540
|
+
port: {
|
|
503
541
|
writable: boolean;
|
|
504
|
-
values: string[];
|
|
505
542
|
type: string;
|
|
506
543
|
isKey: boolean;
|
|
507
544
|
mandatory: boolean;
|
|
@@ -514,8 +551,9 @@ export class Service extends Base {
|
|
|
514
551
|
get?: Function;
|
|
515
552
|
env?: string[] | string;
|
|
516
553
|
};
|
|
517
|
-
|
|
554
|
+
protocol: {
|
|
518
555
|
writable: boolean;
|
|
556
|
+
values: string[];
|
|
519
557
|
type: string;
|
|
520
558
|
isKey: boolean;
|
|
521
559
|
mandatory: boolean;
|
|
@@ -528,12 +566,12 @@ export class Service extends Base {
|
|
|
528
566
|
get?: Function;
|
|
529
567
|
env?: string[] | string;
|
|
530
568
|
};
|
|
531
|
-
|
|
532
|
-
|
|
569
|
+
type: {
|
|
570
|
+
writable: boolean;
|
|
533
571
|
type: string;
|
|
534
572
|
isKey: boolean;
|
|
535
|
-
writable: boolean;
|
|
536
573
|
mandatory: boolean;
|
|
574
|
+
collection: boolean;
|
|
537
575
|
private?: boolean;
|
|
538
576
|
depends?: string;
|
|
539
577
|
description?: string;
|
|
@@ -542,12 +580,12 @@ export class Service extends Base {
|
|
|
542
580
|
get?: Function;
|
|
543
581
|
env?: string[] | string;
|
|
544
582
|
};
|
|
545
|
-
|
|
546
|
-
|
|
583
|
+
types: {
|
|
584
|
+
collection: boolean;
|
|
547
585
|
type: string;
|
|
548
586
|
isKey: boolean;
|
|
587
|
+
writable: boolean;
|
|
549
588
|
mandatory: boolean;
|
|
550
|
-
collection: boolean;
|
|
551
589
|
private?: boolean;
|
|
552
590
|
depends?: string;
|
|
553
591
|
description?: string;
|
|
@@ -556,6 +594,7 @@ export class Service extends Base {
|
|
|
556
594
|
get?: Function;
|
|
557
595
|
env?: string[] | string;
|
|
558
596
|
};
|
|
597
|
+
tls: import("pacc").AttributeDefinition;
|
|
559
598
|
hostName: {
|
|
560
599
|
writable: boolean;
|
|
561
600
|
type: string;
|
|
@@ -669,6 +708,7 @@ export class Service extends Base {
|
|
|
669
708
|
}
|
|
670
709
|
export function sortAscendingByPriority(a: any, b: any): number;
|
|
671
710
|
export function sortDescendingByPriority(a: any, b: any): number;
|
|
711
|
+
import { boolean_attribute_false } from "pacc";
|
|
672
712
|
import { Base } from "pmcf";
|
|
673
713
|
import { Host } from "pmcf";
|
|
674
714
|
import { UnixEndpoint } from "pmcf";
|