pmcf 4.19.1 → 4.20.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 (82) hide show
  1. package/README.md +93 -72
  2. package/bin/pmcf-diagram +1 -1
  3. package/package.json +19 -19
  4. package/src/base.mjs +24 -237
  5. package/src/cli.mjs +4 -4
  6. package/src/cluster.mjs +15 -13
  7. package/src/extra-source-service.mjs +7 -10
  8. package/src/host.mjs +30 -44
  9. package/src/initialization-context.mjs +324 -0
  10. package/src/location.mjs +4 -14
  11. package/src/module.mjs +1 -0
  12. package/src/network-interfaces/ethernet.mjs +3 -5
  13. package/src/network-interfaces/loopback.mjs +2 -4
  14. package/src/network-interfaces/network-interface.mjs +3 -5
  15. package/src/network-interfaces/skeleton.mjs +9 -3
  16. package/src/network-interfaces/tun.mjs +2 -4
  17. package/src/network-interfaces/wireguard.mjs +3 -5
  18. package/src/network-interfaces/wlan.mjs +4 -7
  19. package/src/network.mjs +10 -8
  20. package/src/owner.mjs +8 -32
  21. package/src/root.mjs +4 -73
  22. package/src/service-owner.mjs +19 -18
  23. package/src/service.mjs +13 -18
  24. package/src/services/alpm.mjs +4 -9
  25. package/src/services/bind.mjs +424 -388
  26. package/src/services/chrony.mjs +3 -5
  27. package/src/services/headscale.mjs +2 -4
  28. package/src/services/influxdb.mjs +2 -4
  29. package/src/services/kea.mjs +6 -10
  30. package/src/services/mosquitto.mjs +2 -4
  31. package/src/services/openldap.mjs +2 -4
  32. package/src/services/postfix.mjs +2 -4
  33. package/src/services/systemd-journal-remote.mjs +2 -4
  34. package/src/services/systemd-journal-upload.mjs +9 -10
  35. package/src/services/systemd-journald.mjs +2 -4
  36. package/src/services/systemd-resolved.mjs +42 -42
  37. package/src/services/systemd-timesyncd.mjs +9 -13
  38. package/src/services/tailscale.mjs +5 -2
  39. package/src/subnet.mjs +9 -5
  40. package/types/base.d.mts +0 -179
  41. package/types/cli.d.mts +0 -10
  42. package/types/cluster.d.mts +0 -507
  43. package/types/dns-utils.d.mts +0 -14
  44. package/types/endpoint.d.mts +0 -79
  45. package/types/extra-source-service.d.mts +0 -1033
  46. package/types/hooks.d.mts +0 -2
  47. package/types/host-utils.d.mts +0 -1
  48. package/types/host.d.mts +0 -285
  49. package/types/location.d.mts +0 -379
  50. package/types/module.d.mts +0 -36
  51. package/types/network-address.d.mts +0 -41
  52. package/types/network-interfaces/ethernet.d.mts +0 -1189
  53. package/types/network-interfaces/loopback.d.mts +0 -1140
  54. package/types/network-interfaces/network-interface.d.mts +0 -1158
  55. package/types/network-interfaces/skeleton.d.mts +0 -30
  56. package/types/network-interfaces/tun.d.mts +0 -1131
  57. package/types/network-interfaces/wireguard.d.mts +0 -1131
  58. package/types/network-interfaces/wlan.d.mts +0 -1734
  59. package/types/network-support.d.mts +0 -193
  60. package/types/network.d.mts +0 -702
  61. package/types/owner.d.mts +0 -235
  62. package/types/root.d.mts +0 -10
  63. package/types/service-owner.d.mts +0 -14
  64. package/types/service-types.d.mts +0 -246
  65. package/types/service.d.mts +0 -689
  66. package/types/services/alpm.d.mts +0 -805
  67. package/types/services/bind.d.mts +0 -1574
  68. package/types/services/chrony.d.mts +0 -1310
  69. package/types/services/headscale.d.mts +0 -801
  70. package/types/services/influxdb.d.mts +0 -812
  71. package/types/services/kea.d.mts +0 -945
  72. package/types/services/mosquitto.d.mts +0 -876
  73. package/types/services/openldap.d.mts +0 -793
  74. package/types/services/postfix.d.mts +0 -784
  75. package/types/services/systemd-journal-remote.d.mts +0 -1030
  76. package/types/services/systemd-journal-upload.d.mts +0 -932
  77. package/types/services/systemd-journald.d.mts +0 -1317
  78. package/types/services/systemd-resolved.d.mts +0 -1644
  79. package/types/services/systemd-timesyncd.d.mts +0 -1459
  80. package/types/services/tailscale.d.mts +0 -781
  81. package/types/subnet.d.mts +0 -57
  82. package/types/utils.d.mts +0 -37
@@ -1,193 +0,0 @@
1
- export const networkAddressType: "network|host|network_interface";
2
- export const networks_attribute: {
3
- type: string;
4
- collection: boolean;
5
- isKey: boolean;
6
- writable: boolean;
7
- mandatory: boolean;
8
- constructor?: Function;
9
- private?: boolean;
10
- credential?: boolean;
11
- persistent?: boolean;
12
- depends?: string;
13
- description?: string;
14
- default?: any;
15
- set?: Function;
16
- get?: Function;
17
- toInternal?: Function;
18
- toExternal?: Function;
19
- values?: Set<any>;
20
- externalName?: string;
21
- env?: string[] | string;
22
- additionalValues?: object;
23
- };
24
- export namespace networkAttributes {
25
- export let scope: {
26
- values: string[];
27
- type: object;
28
- isKey: boolean;
29
- writable: boolean;
30
- mandatory: boolean;
31
- collection: boolean;
32
- constructor?: Function;
33
- private?: boolean;
34
- credential?: boolean;
35
- persistent?: boolean;
36
- depends?: string;
37
- description?: string;
38
- default?: any;
39
- set?: Function;
40
- get?: Function;
41
- toInternal?: Function;
42
- toExternal?: Function;
43
- externalName?: string;
44
- env?: string[] | string;
45
- additionalValues?: object;
46
- };
47
- let _class: {
48
- values: string[];
49
- type: object;
50
- isKey: boolean;
51
- writable: boolean;
52
- mandatory: boolean;
53
- collection: boolean;
54
- constructor?: Function;
55
- private?: boolean;
56
- credential?: boolean;
57
- persistent?: boolean;
58
- depends?: string;
59
- description?: string;
60
- default?: any;
61
- set?: Function;
62
- get?: Function;
63
- toInternal?: Function;
64
- toExternal?: Function;
65
- externalName?: string;
66
- env?: string[] | string;
67
- additionalValues?: object;
68
- };
69
- export { _class as class };
70
- export let kind: {
71
- values: string[];
72
- type: object;
73
- isKey: boolean;
74
- writable: boolean;
75
- mandatory: boolean;
76
- collection: boolean;
77
- constructor?: Function;
78
- private?: boolean;
79
- credential?: boolean;
80
- persistent?: boolean;
81
- depends?: string;
82
- description?: string;
83
- default?: any;
84
- set?: Function;
85
- get?: Function;
86
- toInternal?: Function;
87
- toExternal?: Function;
88
- externalName?: string;
89
- env?: string[] | string;
90
- additionalValues?: object;
91
- };
92
- export { string_attribute_writable as ssid };
93
- export { string_attribute_writable as psk };
94
- export { string_attribute_writable as secretName };
95
- export let metric: {
96
- type: object;
97
- isKey: boolean;
98
- writable: boolean;
99
- mandatory: boolean;
100
- collection: boolean;
101
- constructor?: Function;
102
- private?: boolean;
103
- credential?: boolean;
104
- persistent?: boolean;
105
- depends?: string;
106
- description?: string;
107
- default?: any;
108
- set?: Function;
109
- get?: Function;
110
- toInternal?: Function;
111
- toExternal?: Function;
112
- values?: Set<any>;
113
- externalName?: string;
114
- env?: string[] | string;
115
- additionalValues?: object;
116
- };
117
- export let mtu: {
118
- default: number;
119
- type: object;
120
- isKey: boolean;
121
- writable: boolean;
122
- mandatory: boolean;
123
- collection: boolean;
124
- constructor?: Function;
125
- private?: boolean;
126
- credential?: boolean;
127
- persistent?: boolean;
128
- depends?: string;
129
- description?: string;
130
- set?: Function;
131
- get?: Function;
132
- toInternal?: Function;
133
- toExternal?: Function;
134
- values?: Set<any>;
135
- externalName?: string;
136
- env?: string[] | string;
137
- additionalValues?: object;
138
- };
139
- export let gateway: {
140
- type: string;
141
- isKey: boolean;
142
- writable: boolean;
143
- mandatory: boolean;
144
- collection: boolean;
145
- constructor?: Function;
146
- private?: boolean;
147
- credential?: boolean;
148
- persistent?: boolean;
149
- depends?: string;
150
- description?: string;
151
- default?: any;
152
- set?: Function;
153
- get?: Function;
154
- toInternal?: Function;
155
- toExternal?: Function;
156
- values?: Set<any>;
157
- externalName?: string;
158
- env?: string[] | string;
159
- additionalValues?: object;
160
- };
161
- export { boolean_attribute_writable as multicastDNS };
162
- }
163
- export namespace networkAddressAttributes {
164
- export let hostName: {
165
- writable: boolean;
166
- type: object;
167
- isKey: boolean;
168
- mandatory: boolean;
169
- collection: boolean;
170
- constructor?: Function;
171
- private?: boolean;
172
- credential?: boolean;
173
- persistent?: boolean;
174
- depends?: string;
175
- description?: string;
176
- default?: any;
177
- set?: Function;
178
- get?: Function;
179
- toInternal?: Function;
180
- toExternal?: Function;
181
- values?: Set<any>;
182
- externalName?: string;
183
- env?: string[] | string;
184
- additionalValues?: object;
185
- };
186
- export { string_collection_attribute_writable as cidrAddresses };
187
- export { string_attribute_writable as cidrAddress };
188
- export { string_collection_attribute_writable as addresses };
189
- export { string_attribute_writable as address };
190
- }
191
- import { string_attribute_writable } from "pacc";
192
- import { boolean_attribute_writable } from "pacc";
193
- import { string_collection_attribute_writable } from "pacc";