pmcf 3.13.13 → 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.
Files changed (64) hide show
  1. package/package.json +7 -7
  2. package/src/base.mjs +13 -13
  3. package/src/cluster.mjs +2 -2
  4. package/src/extra-source-service.mjs +1 -2
  5. package/src/host.mjs +2 -2
  6. package/src/location.mjs +1 -2
  7. package/src/module.mjs +1 -2
  8. package/src/network-interfaces/ethernet.mjs +1 -2
  9. package/src/network-interfaces/loopback.mjs +1 -1
  10. package/src/network-interfaces/network-interface.mjs +3 -3
  11. package/src/network-interfaces/tun.mjs +1 -1
  12. package/src/network-interfaces/wireguard.mjs +1 -1
  13. package/src/network-interfaces/wlan.mjs +1 -2
  14. package/src/network-support.mjs +6 -4
  15. package/src/network.mjs +1 -2
  16. package/src/owner.mjs +2 -2
  17. package/src/root.mjs +1 -1
  18. package/src/service.mjs +2 -2
  19. package/src/services/bind.mjs +7 -6
  20. package/src/services/chrony.mjs +3 -1
  21. package/src/services/headscale.mjs +3 -1
  22. package/src/services/influxdb.mjs +3 -2
  23. package/src/services/kea.mjs +4 -2
  24. package/src/services/mosquitto.mjs +3 -2
  25. package/src/services/openldap.mjs +3 -2
  26. package/src/services/systemd-journal-remote.mjs +3 -2
  27. package/src/services/systemd-journal-upload.mjs +3 -3
  28. package/src/services/systemd-journal.mjs +1 -1
  29. package/src/services/systemd-resolved.mjs +2 -2
  30. package/src/services/systemd-timesyncd.mjs +1 -1
  31. package/src/services/tailscale.mjs +1 -1
  32. package/src/subnet.mjs +1 -2
  33. package/types/base.d.mts +30 -31
  34. package/types/cluster.d.mts +2 -64
  35. package/types/extra-source-service.d.mts +8 -194
  36. package/types/host.d.mts +2 -32
  37. package/types/location.d.mts +2 -64
  38. package/types/module.d.mts +1 -2
  39. package/types/network-interfaces/ethernet.d.mts +4 -128
  40. package/types/network-interfaces/loopback.d.mts +4 -128
  41. package/types/network-interfaces/network-interface.d.mts +6 -129
  42. package/types/network-interfaces/tun.d.mts +4 -128
  43. package/types/network-interfaces/wireguard.d.mts +4 -128
  44. package/types/network-interfaces/wlan.d.mts +6 -192
  45. package/types/network-support.d.mts +1 -1
  46. package/types/network.d.mts +2 -64
  47. package/types/owner.d.mts +1 -32
  48. package/types/root.d.mts +2 -64
  49. package/types/service.d.mts +4 -128
  50. package/types/services/bind.d.mts +14 -262
  51. package/types/services/chrony.d.mts +9 -257
  52. package/types/services/headscale.d.mts +5 -160
  53. package/types/services/influxdb.d.mts +5 -160
  54. package/types/services/kea.d.mts +5 -160
  55. package/types/services/mosquitto.d.mts +5 -160
  56. package/types/services/openldap.d.mts +5 -160
  57. package/types/services/systemd-journal-remote.d.mts +5 -160
  58. package/types/services/systemd-journal-upload.d.mts +5 -160
  59. package/types/services/systemd-journal.d.mts +5 -160
  60. package/types/services/systemd-resolved.d.mts +9 -257
  61. package/types/services/systemd-timesyncd.d.mts +9 -257
  62. package/types/services/tailscale.d.mts +5 -162
  63. package/src/types.mjs +0 -47
  64. package/types/types.d.mts +0 -5
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 get typeName(): string;
7
- static get typeDefinition(): {
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;
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);
@@ -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: {
@@ -203,7 +172,7 @@ export namespace ExtraSourceServiceTypeDefinition {
203
172
  })[];
204
173
  export namespace attributes {
205
174
  let source: {
206
- type: any;
175
+ type: string;
207
176
  collection: boolean;
208
177
  isKey: boolean;
209
178
  writable: boolean;
@@ -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: {
@@ -1032,7 +846,7 @@ export class ExtraSourceService extends Service {
1032
846
  })[];
1033
847
  attributes: {
1034
848
  source: {
1035
- type: any;
849
+ type: string;
1036
850
  collection: boolean;
1037
851
  isKey: boolean;
1038
852
  writable: boolean;
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";
@@ -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: {
@@ -8,13 +8,13 @@ export * from "./service-owner.mjs";
8
8
  export * from "./network.mjs";
9
9
  export * from "./network-address.mjs";
10
10
  export * from "./network-support.mjs";
11
+ export * from "./host.mjs";
11
12
  export * from "./network-interfaces/network-interface.mjs";
12
13
  export * from "./network-interfaces/loopback.mjs";
13
14
  export * from "./network-interfaces/ethernet.mjs";
14
15
  export * from "./network-interfaces/wlan.mjs";
15
16
  export * from "./network-interfaces/wireguard.mjs";
16
17
  export * from "./network-interfaces/tun.mjs";
17
- export * from "./host.mjs";
18
18
  export * from "./service-types.mjs";
19
19
  export * from "./service.mjs";
20
20
  export * from "./extra-source-service.mjs";
@@ -32,4 +32,3 @@ export * from "./services/systemd-journal-remote.mjs";
32
32
  export * from "./services/systemd-journal-upload.mjs";
33
33
  export * from "./services/systemd-timesyncd.mjs";
34
34
  export * from "./services/systemd-resolved.mjs";
35
- export * from "./types.mjs";