pmcf 3.14.0 → 3.14.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 +5 -5
- package/src/base.mjs +10 -12
- package/src/services/bind.mjs +3 -4
- package/types/base.d.mts +30 -31
- package/types/cluster.d.mts +2 -64
- package/types/extra-source-service.d.mts +6 -192
- package/types/host.d.mts +2 -32
- package/types/location.d.mts +2 -64
- package/types/network-interfaces/ethernet.d.mts +4 -128
- package/types/network-interfaces/loopback.d.mts +4 -128
- package/types/network-interfaces/network-interface.d.mts +5 -128
- package/types/network-interfaces/tun.d.mts +4 -128
- package/types/network-interfaces/wireguard.d.mts +4 -128
- package/types/network-interfaces/wlan.d.mts +6 -192
- package/types/network.d.mts +2 -64
- package/types/owner.d.mts +1 -32
- package/types/root.d.mts +2 -64
- package/types/service.d.mts +4 -128
- package/types/services/bind.d.mts +8 -256
- package/types/services/chrony.d.mts +8 -256
- package/types/services/headscale.d.mts +5 -160
- package/types/services/influxdb.d.mts +5 -160
- package/types/services/kea.d.mts +5 -160
- package/types/services/mosquitto.d.mts +5 -160
- package/types/services/openldap.d.mts +5 -160
- package/types/services/systemd-journal-remote.d.mts +5 -160
- package/types/services/systemd-journal-upload.d.mts +5 -160
- package/types/services/systemd-journal.d.mts +5 -160
- package/types/services/systemd-resolved.d.mts +8 -256
- package/types/services/systemd-timesyncd.d.mts +8 -256
- package/types/services/tailscale.d.mts +5 -162
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
"lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"ip-utilties": "^1.4.
|
|
54
|
+
"ip-utilties": "^1.4.11",
|
|
55
55
|
"npm-pkgbuild": "^19.0.1",
|
|
56
56
|
"pacc": "^4.41.1",
|
|
57
57
|
"package-directory": "^8.1.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/node": "^24.10.
|
|
60
|
+
"@types/node": "^24.10.1",
|
|
61
61
|
"ava": "^6.4.1",
|
|
62
62
|
"c8": "^10.1.3",
|
|
63
63
|
"documentation": "^14.0.3",
|
|
64
|
-
"semantic-release": "^25.0.
|
|
64
|
+
"semantic-release": "^25.0.2",
|
|
65
65
|
"typescript": "^5.9.3"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
|
-
"node": ">=24.11.
|
|
68
|
+
"node": ">=24.11.1"
|
|
69
69
|
},
|
|
70
70
|
"repository": {
|
|
71
71
|
"type": "git",
|
package/src/base.mjs
CHANGED
|
@@ -18,10 +18,13 @@ import {
|
|
|
18
18
|
} from "pacc";
|
|
19
19
|
import { asArray } from "./utils.mjs";
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export class Base {
|
|
25
|
+
static name = "base";
|
|
26
|
+
static key = "name";
|
|
27
|
+
static attributes = {
|
|
25
28
|
owner: { ...default_attribute, type: "base" },
|
|
26
29
|
type: string_attribute,
|
|
27
30
|
name: name_attribute_writable,
|
|
@@ -31,13 +34,8 @@ const BaseTypeDefinition = {
|
|
|
31
34
|
packaging: string_attribute_writable,
|
|
32
35
|
disabled: boolean_attribute_writable,
|
|
33
36
|
tags: string_collection_attribute_writable
|
|
34
|
-
}
|
|
35
|
-
};
|
|
37
|
+
};
|
|
36
38
|
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class Base {
|
|
41
39
|
owner;
|
|
42
40
|
description;
|
|
43
41
|
name;
|
|
@@ -56,7 +54,7 @@ export class Base {
|
|
|
56
54
|
}
|
|
57
55
|
|
|
58
56
|
static get typeDefinition() {
|
|
59
|
-
return
|
|
57
|
+
return this;
|
|
60
58
|
}
|
|
61
59
|
|
|
62
60
|
static get typeFileName() {
|
|
@@ -75,7 +73,7 @@ export class Base {
|
|
|
75
73
|
this.name = data;
|
|
76
74
|
break;
|
|
77
75
|
case "object":
|
|
78
|
-
this.read(data,
|
|
76
|
+
this.read(data, this.constructor);
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
|
package/src/services/bind.mjs
CHANGED
|
@@ -57,7 +57,7 @@ const BindServiceTypeDefinition = {
|
|
|
57
57
|
writable: true
|
|
58
58
|
},*/
|
|
59
59
|
zones: {
|
|
60
|
-
type: networkAddressType+ "|location|owner",
|
|
60
|
+
type: networkAddressType + "|location|owner",
|
|
61
61
|
collection: true,
|
|
62
62
|
writable: true
|
|
63
63
|
},
|
|
@@ -331,7 +331,6 @@ export class BindService extends ExtraSourceService {
|
|
|
331
331
|
name: `named-zones-${name}-outfacing`,
|
|
332
332
|
description: `outfacing zone definitions for ${names}`,
|
|
333
333
|
access: "private",
|
|
334
|
-
replaces: [`named-zones-${name}-OUTFACING`],
|
|
335
334
|
hooks: {}
|
|
336
335
|
};
|
|
337
336
|
|
|
@@ -359,9 +358,9 @@ export class BindService extends ExtraSourceService {
|
|
|
359
358
|
addHook(
|
|
360
359
|
packageData.properties.hooks,
|
|
361
360
|
"post_upgrade",
|
|
362
|
-
`/usr/bin/named-hostname-
|
|
361
|
+
`/usr/bin/named-hostname-update ${outfacingZones
|
|
363
362
|
.map(zone => zone.id)
|
|
364
|
-
.join(" ")}
|
|
363
|
+
.join(" ")}`
|
|
365
364
|
);
|
|
366
365
|
|
|
367
366
|
await this.writeZones(packageData, configs);
|
package/types/base.d.mts
CHANGED
|
@@ -3,39 +3,38 @@ export function extractFrom(object: any, typeDefinition?: any): any;
|
|
|
3
3
|
*
|
|
4
4
|
*/
|
|
5
5
|
export class Base {
|
|
6
|
-
static
|
|
7
|
-
static
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
env?: string[] | string;
|
|
27
|
-
additionalValues?: object;
|
|
28
|
-
};
|
|
29
|
-
type: import("pacc").AttributeDefinition;
|
|
30
|
-
name: import("pacc").AttributeDefinition;
|
|
31
|
-
description: import("pacc").AttributeDefinition;
|
|
32
|
-
priority: import("pacc").AttributeDefinition;
|
|
33
|
-
directory: import("pacc").AttributeDefinition;
|
|
34
|
-
packaging: import("pacc").AttributeDefinition;
|
|
35
|
-
disabled: import("pacc").AttributeDefinition;
|
|
36
|
-
tags: import("pacc").AttributeDefinition;
|
|
6
|
+
static name: string;
|
|
7
|
+
static key: string;
|
|
8
|
+
static attributes: {
|
|
9
|
+
owner: {
|
|
10
|
+
type: string;
|
|
11
|
+
isKey: boolean;
|
|
12
|
+
writable: boolean;
|
|
13
|
+
mandatory: boolean;
|
|
14
|
+
collection: boolean;
|
|
15
|
+
private?: boolean;
|
|
16
|
+
depends?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
default?: any;
|
|
19
|
+
set?: Function;
|
|
20
|
+
get?: Function;
|
|
21
|
+
prepareValue?: Function;
|
|
22
|
+
values?: Set<any>;
|
|
23
|
+
externalName?: string;
|
|
24
|
+
env?: string[] | string;
|
|
25
|
+
additionalValues?: object;
|
|
37
26
|
};
|
|
27
|
+
type: import("pacc").AttributeDefinition;
|
|
28
|
+
name: import("pacc").AttributeDefinition;
|
|
29
|
+
description: import("pacc").AttributeDefinition;
|
|
30
|
+
priority: import("pacc").AttributeDefinition;
|
|
31
|
+
directory: import("pacc").AttributeDefinition;
|
|
32
|
+
packaging: import("pacc").AttributeDefinition;
|
|
33
|
+
disabled: import("pacc").AttributeDefinition;
|
|
34
|
+
tags: import("pacc").AttributeDefinition;
|
|
38
35
|
};
|
|
36
|
+
static get typeName(): string;
|
|
37
|
+
static get typeDefinition(): typeof Base;
|
|
39
38
|
static get typeFileName(): string;
|
|
40
39
|
static get fileNameGlob(): string;
|
|
41
40
|
constructor(owner: any, data: any);
|
package/types/cluster.d.mts
CHANGED
|
@@ -4,38 +4,7 @@ export class Cluster extends Host {
|
|
|
4
4
|
owners: (string | {
|
|
5
5
|
name: string;
|
|
6
6
|
owners: string[];
|
|
7
|
-
extends:
|
|
8
|
-
name: string;
|
|
9
|
-
key: string;
|
|
10
|
-
attributes: {
|
|
11
|
-
owner: {
|
|
12
|
-
type: string;
|
|
13
|
-
isKey: boolean;
|
|
14
|
-
writable: boolean;
|
|
15
|
-
mandatory: boolean;
|
|
16
|
-
collection: boolean;
|
|
17
|
-
private?: boolean;
|
|
18
|
-
depends?: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
default?: any;
|
|
21
|
-
set?: Function;
|
|
22
|
-
get?: Function;
|
|
23
|
-
prepareValue?: Function;
|
|
24
|
-
values?: Set<any>;
|
|
25
|
-
externalName?: string;
|
|
26
|
-
env?: string[] | string;
|
|
27
|
-
additionalValues?: object;
|
|
28
|
-
};
|
|
29
|
-
type: import("pacc").AttributeDefinition;
|
|
30
|
-
name: import("pacc").AttributeDefinition;
|
|
31
|
-
description: import("pacc").AttributeDefinition;
|
|
32
|
-
priority: import("pacc").AttributeDefinition;
|
|
33
|
-
directory: import("pacc").AttributeDefinition;
|
|
34
|
-
packaging: import("pacc").AttributeDefinition;
|
|
35
|
-
disabled: import("pacc").AttributeDefinition;
|
|
36
|
-
tags: import("pacc").AttributeDefinition;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
7
|
+
extends: typeof import("pmcf").Base;
|
|
39
8
|
key: string;
|
|
40
9
|
attributes: {
|
|
41
10
|
networks: {
|
|
@@ -167,38 +136,7 @@ export class Cluster extends Host {
|
|
|
167
136
|
extends: {
|
|
168
137
|
name: string;
|
|
169
138
|
owners: string[];
|
|
170
|
-
extends:
|
|
171
|
-
name: string;
|
|
172
|
-
key: string;
|
|
173
|
-
attributes: {
|
|
174
|
-
owner: {
|
|
175
|
-
type: string;
|
|
176
|
-
isKey: boolean;
|
|
177
|
-
writable: boolean;
|
|
178
|
-
mandatory: boolean;
|
|
179
|
-
collection: boolean;
|
|
180
|
-
private?: boolean;
|
|
181
|
-
depends?: string;
|
|
182
|
-
description?: string;
|
|
183
|
-
default?: any;
|
|
184
|
-
set?: Function;
|
|
185
|
-
get?: Function;
|
|
186
|
-
prepareValue?: Function;
|
|
187
|
-
values?: Set<any>;
|
|
188
|
-
externalName?: string;
|
|
189
|
-
env?: string[] | string;
|
|
190
|
-
additionalValues?: object;
|
|
191
|
-
};
|
|
192
|
-
type: import("pacc").AttributeDefinition;
|
|
193
|
-
name: import("pacc").AttributeDefinition;
|
|
194
|
-
description: import("pacc").AttributeDefinition;
|
|
195
|
-
priority: import("pacc").AttributeDefinition;
|
|
196
|
-
directory: import("pacc").AttributeDefinition;
|
|
197
|
-
packaging: import("pacc").AttributeDefinition;
|
|
198
|
-
disabled: import("pacc").AttributeDefinition;
|
|
199
|
-
tags: import("pacc").AttributeDefinition;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
139
|
+
extends: typeof import("pmcf").Base;
|
|
202
140
|
key: string;
|
|
203
141
|
attributes: {
|
|
204
142
|
networkInterfaces: {
|
|
@@ -5,38 +5,7 @@ export namespace ExtraSourceServiceTypeDefinition {
|
|
|
5
5
|
export let owners: (string | {
|
|
6
6
|
name: string;
|
|
7
7
|
owners: string[];
|
|
8
|
-
extends:
|
|
9
|
-
name: string;
|
|
10
|
-
key: string;
|
|
11
|
-
attributes: {
|
|
12
|
-
owner: {
|
|
13
|
-
type: string;
|
|
14
|
-
isKey: boolean;
|
|
15
|
-
writable: boolean;
|
|
16
|
-
mandatory: boolean;
|
|
17
|
-
collection: boolean;
|
|
18
|
-
private?: boolean;
|
|
19
|
-
depends?: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
default?: any;
|
|
22
|
-
set?: Function;
|
|
23
|
-
get?: Function;
|
|
24
|
-
prepareValue?: Function;
|
|
25
|
-
values?: Set<any>;
|
|
26
|
-
externalName?: string;
|
|
27
|
-
env?: string[] | string;
|
|
28
|
-
additionalValues?: object;
|
|
29
|
-
};
|
|
30
|
-
type: import("pacc").AttributeDefinition;
|
|
31
|
-
name: import("pacc").AttributeDefinition;
|
|
32
|
-
description: import("pacc").AttributeDefinition;
|
|
33
|
-
priority: import("pacc").AttributeDefinition;
|
|
34
|
-
directory: import("pacc").AttributeDefinition;
|
|
35
|
-
packaging: import("pacc").AttributeDefinition;
|
|
36
|
-
disabled: import("pacc").AttributeDefinition;
|
|
37
|
-
tags: import("pacc").AttributeDefinition;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
8
|
+
extends: typeof import("pmcf").Base;
|
|
40
9
|
key: string;
|
|
41
10
|
attributes: {
|
|
42
11
|
networkInterfaces: {
|
|
@@ -230,38 +199,7 @@ export class ExtraSourceService extends Service {
|
|
|
230
199
|
owners: (string | {
|
|
231
200
|
name: string;
|
|
232
201
|
owners: string[];
|
|
233
|
-
extends:
|
|
234
|
-
name: string;
|
|
235
|
-
key: string;
|
|
236
|
-
attributes: {
|
|
237
|
-
owner: {
|
|
238
|
-
type: string;
|
|
239
|
-
isKey: boolean;
|
|
240
|
-
writable: boolean;
|
|
241
|
-
mandatory: boolean;
|
|
242
|
-
collection: boolean;
|
|
243
|
-
private?: boolean;
|
|
244
|
-
depends?: string;
|
|
245
|
-
description?: string;
|
|
246
|
-
default?: any;
|
|
247
|
-
set?: Function;
|
|
248
|
-
get?: Function;
|
|
249
|
-
prepareValue?: Function;
|
|
250
|
-
values?: Set<any>;
|
|
251
|
-
externalName?: string;
|
|
252
|
-
env?: string[] | string;
|
|
253
|
-
additionalValues?: object;
|
|
254
|
-
};
|
|
255
|
-
type: import("pacc").AttributeDefinition;
|
|
256
|
-
name: import("pacc").AttributeDefinition;
|
|
257
|
-
description: import("pacc").AttributeDefinition;
|
|
258
|
-
priority: import("pacc").AttributeDefinition;
|
|
259
|
-
directory: import("pacc").AttributeDefinition;
|
|
260
|
-
packaging: import("pacc").AttributeDefinition;
|
|
261
|
-
disabled: import("pacc").AttributeDefinition;
|
|
262
|
-
tags: import("pacc").AttributeDefinition;
|
|
263
|
-
};
|
|
264
|
-
};
|
|
202
|
+
extends: typeof import("pmcf").Base;
|
|
265
203
|
key: string;
|
|
266
204
|
attributes: {
|
|
267
205
|
networkInterfaces: {
|
|
@@ -426,38 +364,7 @@ export class ExtraSourceService extends Service {
|
|
|
426
364
|
address: import("pacc").AttributeDefinition;
|
|
427
365
|
};
|
|
428
366
|
})[];
|
|
429
|
-
extends:
|
|
430
|
-
name: string;
|
|
431
|
-
key: string;
|
|
432
|
-
attributes: {
|
|
433
|
-
owner: {
|
|
434
|
-
type: string;
|
|
435
|
-
isKey: boolean;
|
|
436
|
-
writable: boolean;
|
|
437
|
-
mandatory: boolean;
|
|
438
|
-
collection: boolean;
|
|
439
|
-
private?: boolean;
|
|
440
|
-
depends?: string;
|
|
441
|
-
description?: string;
|
|
442
|
-
default?: any;
|
|
443
|
-
set?: Function;
|
|
444
|
-
get?: Function;
|
|
445
|
-
prepareValue?: Function;
|
|
446
|
-
values?: Set<any>;
|
|
447
|
-
externalName?: string;
|
|
448
|
-
env?: string[] | string;
|
|
449
|
-
additionalValues?: object;
|
|
450
|
-
};
|
|
451
|
-
type: import("pacc").AttributeDefinition;
|
|
452
|
-
name: import("pacc").AttributeDefinition;
|
|
453
|
-
description: import("pacc").AttributeDefinition;
|
|
454
|
-
priority: import("pacc").AttributeDefinition;
|
|
455
|
-
directory: import("pacc").AttributeDefinition;
|
|
456
|
-
packaging: import("pacc").AttributeDefinition;
|
|
457
|
-
disabled: import("pacc").AttributeDefinition;
|
|
458
|
-
tags: import("pacc").AttributeDefinition;
|
|
459
|
-
};
|
|
460
|
-
};
|
|
367
|
+
extends: typeof import("pmcf").Base;
|
|
461
368
|
specializations: {};
|
|
462
369
|
factoryFor(owner: any, value: any): any;
|
|
463
370
|
key: string;
|
|
@@ -533,38 +440,7 @@ export class ExtraSourceService extends Service {
|
|
|
533
440
|
owners: (string | {
|
|
534
441
|
name: string;
|
|
535
442
|
owners: string[];
|
|
536
|
-
extends:
|
|
537
|
-
name: string;
|
|
538
|
-
key: string;
|
|
539
|
-
attributes: {
|
|
540
|
-
owner: {
|
|
541
|
-
type: string;
|
|
542
|
-
isKey: boolean;
|
|
543
|
-
writable: boolean;
|
|
544
|
-
mandatory: boolean;
|
|
545
|
-
collection: boolean;
|
|
546
|
-
private?: boolean;
|
|
547
|
-
depends?: string;
|
|
548
|
-
description?: string;
|
|
549
|
-
default?: any;
|
|
550
|
-
set?: Function;
|
|
551
|
-
get?: Function;
|
|
552
|
-
prepareValue?: Function;
|
|
553
|
-
values?: Set<any>;
|
|
554
|
-
externalName?: string;
|
|
555
|
-
env?: string[] | string;
|
|
556
|
-
additionalValues?: object;
|
|
557
|
-
};
|
|
558
|
-
type: import("pacc").AttributeDefinition;
|
|
559
|
-
name: import("pacc").AttributeDefinition;
|
|
560
|
-
description: import("pacc").AttributeDefinition;
|
|
561
|
-
priority: import("pacc").AttributeDefinition;
|
|
562
|
-
directory: import("pacc").AttributeDefinition;
|
|
563
|
-
packaging: import("pacc").AttributeDefinition;
|
|
564
|
-
disabled: import("pacc").AttributeDefinition;
|
|
565
|
-
tags: import("pacc").AttributeDefinition;
|
|
566
|
-
};
|
|
567
|
-
};
|
|
443
|
+
extends: typeof import("pmcf").Base;
|
|
568
444
|
key: string;
|
|
569
445
|
attributes: {
|
|
570
446
|
networkInterfaces: {
|
|
@@ -729,38 +605,7 @@ export class ExtraSourceService extends Service {
|
|
|
729
605
|
address: import("pacc").AttributeDefinition;
|
|
730
606
|
};
|
|
731
607
|
})[];
|
|
732
|
-
extends:
|
|
733
|
-
name: string;
|
|
734
|
-
key: string;
|
|
735
|
-
attributes: {
|
|
736
|
-
owner: {
|
|
737
|
-
type: string;
|
|
738
|
-
isKey: boolean;
|
|
739
|
-
writable: boolean;
|
|
740
|
-
mandatory: boolean;
|
|
741
|
-
collection: 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;
|
|
753
|
-
};
|
|
754
|
-
type: import("pacc").AttributeDefinition;
|
|
755
|
-
name: import("pacc").AttributeDefinition;
|
|
756
|
-
description: import("pacc").AttributeDefinition;
|
|
757
|
-
priority: import("pacc").AttributeDefinition;
|
|
758
|
-
directory: import("pacc").AttributeDefinition;
|
|
759
|
-
packaging: import("pacc").AttributeDefinition;
|
|
760
|
-
disabled: import("pacc").AttributeDefinition;
|
|
761
|
-
tags: import("pacc").AttributeDefinition;
|
|
762
|
-
};
|
|
763
|
-
};
|
|
608
|
+
extends: typeof import("pmcf").Base;
|
|
764
609
|
specializations: {};
|
|
765
610
|
factoryFor(owner: any, value: any): any;
|
|
766
611
|
key: string;
|
|
@@ -834,38 +679,7 @@ export class ExtraSourceService extends Service {
|
|
|
834
679
|
owners: (string | {
|
|
835
680
|
name: string;
|
|
836
681
|
owners: string[];
|
|
837
|
-
extends:
|
|
838
|
-
name: string;
|
|
839
|
-
key: string;
|
|
840
|
-
attributes: {
|
|
841
|
-
owner: {
|
|
842
|
-
type: string;
|
|
843
|
-
isKey: boolean;
|
|
844
|
-
writable: boolean;
|
|
845
|
-
mandatory: boolean;
|
|
846
|
-
collection: boolean;
|
|
847
|
-
private?: boolean;
|
|
848
|
-
depends?: string;
|
|
849
|
-
description?: string;
|
|
850
|
-
default?: any;
|
|
851
|
-
set?: Function;
|
|
852
|
-
get?: Function;
|
|
853
|
-
prepareValue?: Function;
|
|
854
|
-
values?: Set<any>;
|
|
855
|
-
externalName?: string;
|
|
856
|
-
env?: string[] | string;
|
|
857
|
-
additionalValues?: object;
|
|
858
|
-
};
|
|
859
|
-
type: import("pacc").AttributeDefinition;
|
|
860
|
-
name: import("pacc").AttributeDefinition;
|
|
861
|
-
description: import("pacc").AttributeDefinition;
|
|
862
|
-
priority: import("pacc").AttributeDefinition;
|
|
863
|
-
directory: import("pacc").AttributeDefinition;
|
|
864
|
-
packaging: import("pacc").AttributeDefinition;
|
|
865
|
-
disabled: import("pacc").AttributeDefinition;
|
|
866
|
-
tags: import("pacc").AttributeDefinition;
|
|
867
|
-
};
|
|
868
|
-
};
|
|
682
|
+
extends: typeof import("pmcf").Base;
|
|
869
683
|
key: string;
|
|
870
684
|
attributes: {
|
|
871
685
|
networkInterfaces: {
|
package/types/host.d.mts
CHANGED
|
@@ -2,38 +2,7 @@ export class Host extends ServiceOwner {
|
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
4
|
owners: string[];
|
|
5
|
-
extends:
|
|
6
|
-
name: string;
|
|
7
|
-
key: string;
|
|
8
|
-
attributes: {
|
|
9
|
-
owner: {
|
|
10
|
-
type: string;
|
|
11
|
-
isKey: boolean;
|
|
12
|
-
writable: boolean;
|
|
13
|
-
mandatory: boolean;
|
|
14
|
-
collection: boolean;
|
|
15
|
-
private?: boolean;
|
|
16
|
-
depends?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
default?: any;
|
|
19
|
-
set?: Function;
|
|
20
|
-
get?: Function;
|
|
21
|
-
prepareValue?: Function;
|
|
22
|
-
values?: Set<any>;
|
|
23
|
-
externalName?: string;
|
|
24
|
-
env?: string[] | string;
|
|
25
|
-
additionalValues?: object;
|
|
26
|
-
};
|
|
27
|
-
type: import("pacc").AttributeDefinition;
|
|
28
|
-
name: import("pacc").AttributeDefinition;
|
|
29
|
-
description: import("pacc").AttributeDefinition;
|
|
30
|
-
priority: import("pacc").AttributeDefinition;
|
|
31
|
-
directory: import("pacc").AttributeDefinition;
|
|
32
|
-
packaging: import("pacc").AttributeDefinition;
|
|
33
|
-
disabled: import("pacc").AttributeDefinition;
|
|
34
|
-
tags: import("pacc").AttributeDefinition;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
5
|
+
extends: typeof Base;
|
|
37
6
|
key: string;
|
|
38
7
|
attributes: {
|
|
39
8
|
networkInterfaces: {
|
|
@@ -282,3 +251,4 @@ export class Host extends ServiceOwner {
|
|
|
282
251
|
}
|
|
283
252
|
import { ServiceOwner } from "pmcf";
|
|
284
253
|
import { FileContentProvider } from "npm-pkgbuild";
|
|
254
|
+
import { Base } from "pmcf";
|
package/types/location.d.mts
CHANGED
|
@@ -4,38 +4,7 @@ export class Location extends Owner {
|
|
|
4
4
|
owners: (string | {
|
|
5
5
|
name: string;
|
|
6
6
|
owners: string[];
|
|
7
|
-
extends:
|
|
8
|
-
name: string;
|
|
9
|
-
key: string;
|
|
10
|
-
attributes: {
|
|
11
|
-
owner: {
|
|
12
|
-
type: string;
|
|
13
|
-
isKey: boolean;
|
|
14
|
-
writable: boolean;
|
|
15
|
-
mandatory: boolean;
|
|
16
|
-
collection: boolean;
|
|
17
|
-
private?: boolean;
|
|
18
|
-
depends?: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
default?: any;
|
|
21
|
-
set?: Function;
|
|
22
|
-
get?: Function;
|
|
23
|
-
prepareValue?: Function;
|
|
24
|
-
values?: Set<any>;
|
|
25
|
-
externalName?: string;
|
|
26
|
-
env?: string[] | string;
|
|
27
|
-
additionalValues?: object;
|
|
28
|
-
};
|
|
29
|
-
type: import("pacc").AttributeDefinition;
|
|
30
|
-
name: import("pacc").AttributeDefinition;
|
|
31
|
-
description: import("pacc").AttributeDefinition;
|
|
32
|
-
priority: import("pacc").AttributeDefinition;
|
|
33
|
-
directory: import("pacc").AttributeDefinition;
|
|
34
|
-
packaging: import("pacc").AttributeDefinition;
|
|
35
|
-
disabled: import("pacc").AttributeDefinition;
|
|
36
|
-
tags: import("pacc").AttributeDefinition;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
7
|
+
extends: typeof import("pmcf").Base;
|
|
39
8
|
key: string;
|
|
40
9
|
attributes: {
|
|
41
10
|
networks: {
|
|
@@ -167,38 +136,7 @@ export class Location extends Owner {
|
|
|
167
136
|
extends: {
|
|
168
137
|
name: string;
|
|
169
138
|
owners: string[];
|
|
170
|
-
extends:
|
|
171
|
-
name: string;
|
|
172
|
-
key: string;
|
|
173
|
-
attributes: {
|
|
174
|
-
owner: {
|
|
175
|
-
type: string;
|
|
176
|
-
isKey: boolean;
|
|
177
|
-
writable: boolean;
|
|
178
|
-
mandatory: boolean;
|
|
179
|
-
collection: boolean;
|
|
180
|
-
private?: boolean;
|
|
181
|
-
depends?: string;
|
|
182
|
-
description?: string;
|
|
183
|
-
default?: any;
|
|
184
|
-
set?: Function;
|
|
185
|
-
get?: Function;
|
|
186
|
-
prepareValue?: Function;
|
|
187
|
-
values?: Set<any>;
|
|
188
|
-
externalName?: string;
|
|
189
|
-
env?: string[] | string;
|
|
190
|
-
additionalValues?: object;
|
|
191
|
-
};
|
|
192
|
-
type: import("pacc").AttributeDefinition;
|
|
193
|
-
name: import("pacc").AttributeDefinition;
|
|
194
|
-
description: import("pacc").AttributeDefinition;
|
|
195
|
-
priority: import("pacc").AttributeDefinition;
|
|
196
|
-
directory: import("pacc").AttributeDefinition;
|
|
197
|
-
packaging: import("pacc").AttributeDefinition;
|
|
198
|
-
disabled: import("pacc").AttributeDefinition;
|
|
199
|
-
tags: import("pacc").AttributeDefinition;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
139
|
+
extends: typeof import("pmcf").Base;
|
|
202
140
|
key: string;
|
|
203
141
|
attributes: {
|
|
204
142
|
networks: {
|