pmcf 3.10.15 → 3.10.17

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 (41) hide show
  1. package/package.json +2 -2
  2. package/src/base.mjs +1 -1
  3. package/src/cluster.mjs +2 -3
  4. package/src/host.mjs +10 -10
  5. package/src/location.mjs +2 -2
  6. package/src/network-support.mjs +6 -6
  7. package/src/owner.mjs +6 -6
  8. package/src/service.mjs +3 -3
  9. package/src/services/bind.mjs +5 -7
  10. package/src/services/openldap.mjs +4 -13
  11. package/src/services/systemd-journal-upload.mjs +1 -1
  12. package/src/subnet.mjs +4 -7
  13. package/types/base.d.mts +1 -14
  14. package/types/cluster.d.mts +27 -378
  15. package/types/extra-source-service.d.mts +8 -112
  16. package/types/host.d.mts +15 -210
  17. package/types/location.d.mts +21 -294
  18. package/types/network-interfaces/ethernet.d.mts +14 -196
  19. package/types/network-interfaces/loopback.d.mts +14 -196
  20. package/types/network-interfaces/network-interface.d.mts +14 -196
  21. package/types/network-interfaces/tun.d.mts +14 -196
  22. package/types/network-interfaces/wireguard.d.mts +14 -196
  23. package/types/network-interfaces/wlan.d.mts +21 -294
  24. package/types/network-support.d.mts +8 -85
  25. package/types/network.d.mts +12 -168
  26. package/types/owner.d.mts +10 -140
  27. package/types/root.d.mts +21 -294
  28. package/types/service.d.mts +20 -252
  29. package/types/services/bind.d.mts +20 -280
  30. package/types/services/chrony.d.mts +16 -224
  31. package/types/services/headscale.d.mts +16 -224
  32. package/types/services/influxdb.d.mts +16 -224
  33. package/types/services/kea.d.mts +16 -224
  34. package/types/services/mosquitto.d.mts +16 -224
  35. package/types/services/openldap.d.mts +19 -266
  36. package/types/services/systemd-journal-remote.d.mts +16 -224
  37. package/types/services/systemd-journal-upload.d.mts +17 -238
  38. package/types/services/systemd-journal.d.mts +16 -224
  39. package/types/services/systemd-resolved.d.mts +16 -224
  40. package/types/services/systemd-timesyncd.d.mts +16 -224
  41. package/types/subnet.d.mts +3 -42
@@ -17,20 +17,7 @@ export function serviceEndpoints(sources: any, options?: {
17
17
  join?: string;
18
18
  }): string | any;
19
19
  export namespace endpointAttributes {
20
- export let port: {
21
- type: string;
22
- isKey: boolean;
23
- writable: 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
- env?: string[] | string;
33
- };
20
+ export { number_attribute_writable as port };
34
21
  export let protocol: {
35
22
  values: string[];
36
23
  type: string;
@@ -46,20 +33,7 @@ export namespace endpointAttributes {
46
33
  get?: Function;
47
34
  env?: string[] | string;
48
35
  };
49
- export let type: {
50
- type: string;
51
- isKey: boolean;
52
- writable: boolean;
53
- mandatory: boolean;
54
- collection: boolean;
55
- private?: boolean;
56
- depends?: string;
57
- description?: string;
58
- default?: any;
59
- set?: Function;
60
- get?: Function;
61
- env?: string[] | string;
62
- };
36
+ export { string_attribute_writable as type };
63
37
  export { string_collection_attribute as types };
64
38
  export { boolean_attribute_false as tls };
65
39
  }
@@ -103,20 +77,7 @@ export namespace ServiceTypeDefinition {
103
77
  env?: string[] | string;
104
78
  };
105
79
  priority: import("pacc").AttributeDefinition;
106
- directory: {
107
- writable: boolean;
108
- type: string;
109
- isKey: boolean;
110
- mandatory: boolean;
111
- collection: boolean;
112
- private?: boolean;
113
- depends?: string;
114
- description?: string;
115
- default?: any;
116
- set?: Function;
117
- get?: Function;
118
- env?: string[] | string;
119
- };
80
+ directory: import("pacc").AttributeDefinition;
120
81
  packaging: import("pacc").AttributeDefinition;
121
82
  disabled: import("pacc").AttributeDefinition;
122
83
  tags: import("pacc").AttributeDefinition;
@@ -127,20 +88,7 @@ export namespace ServiceTypeDefinition {
127
88
  export { specializations_1 as specializations };
128
89
  export function factoryFor(owner: any, value: any): any;
129
90
  export let attributes: {
130
- alias: {
131
- type: string;
132
- isKey: boolean;
133
- writable: boolean;
134
- mandatory: boolean;
135
- collection: boolean;
136
- private?: boolean;
137
- depends?: string;
138
- description?: string;
139
- default?: any;
140
- set?: Function;
141
- get?: Function;
142
- env?: string[] | string;
143
- };
91
+ alias: import("pacc").AttributeDefinition;
144
92
  weight: {
145
93
  type: string;
146
94
  isKey: boolean;
@@ -156,20 +104,7 @@ export namespace ServiceTypeDefinition {
156
104
  env?: string[] | string;
157
105
  };
158
106
  systemd: import("pacc").AttributeDefinition;
159
- port: {
160
- type: string;
161
- isKey: boolean;
162
- writable: boolean;
163
- mandatory: boolean;
164
- collection: boolean;
165
- private?: boolean;
166
- depends?: string;
167
- description?: string;
168
- default?: any;
169
- set?: Function;
170
- get?: Function;
171
- env?: string[] | string;
172
- };
107
+ port: import("pacc").AttributeDefinition;
173
108
  protocol: {
174
109
  values: string[];
175
110
  type: string;
@@ -185,20 +120,7 @@ export namespace ServiceTypeDefinition {
185
120
  get?: Function;
186
121
  env?: string[] | string;
187
122
  };
188
- type: {
189
- type: string;
190
- isKey: boolean;
191
- writable: boolean;
192
- mandatory: boolean;
193
- collection: boolean;
194
- private?: boolean;
195
- depends?: string;
196
- description?: string;
197
- default?: any;
198
- set?: Function;
199
- get?: Function;
200
- env?: string[] | string;
201
- };
123
+ type: import("pacc").AttributeDefinition;
202
124
  types: typeof string_collection_attribute;
203
125
  tls: import("pacc").AttributeDefinition;
204
126
  hostName: {
@@ -215,62 +137,10 @@ export namespace ServiceTypeDefinition {
215
137
  get?: Function;
216
138
  env?: string[] | string;
217
139
  };
218
- cidrAddresses: {
219
- type: string;
220
- isKey: boolean;
221
- writable: boolean;
222
- mandatory: boolean;
223
- collection: boolean;
224
- private?: boolean;
225
- depends?: string;
226
- description?: string;
227
- default?: any;
228
- set?: Function;
229
- get?: Function;
230
- env?: string[] | string;
231
- };
232
- cidrAddress: {
233
- type: string;
234
- isKey: boolean;
235
- writable: boolean;
236
- mandatory: boolean;
237
- collection: boolean;
238
- private?: boolean;
239
- depends?: string;
240
- description?: string;
241
- default?: any;
242
- set?: Function;
243
- get?: Function;
244
- env?: string[] | string;
245
- };
246
- addresses: {
247
- type: string;
248
- isKey: boolean;
249
- writable: boolean;
250
- mandatory: boolean;
251
- collection: boolean;
252
- private?: boolean;
253
- depends?: string;
254
- description?: string;
255
- default?: any;
256
- set?: Function;
257
- get?: Function;
258
- env?: string[] | string;
259
- };
260
- address: {
261
- type: string;
262
- isKey: boolean;
263
- writable: boolean;
264
- mandatory: boolean;
265
- collection: boolean;
266
- private?: boolean;
267
- depends?: string;
268
- description?: string;
269
- default?: any;
270
- set?: Function;
271
- get?: Function;
272
- env?: string[] | string;
273
- };
140
+ cidrAddresses: import("pacc").AttributeDefinition;
141
+ cidrAddress: import("pacc").AttributeDefinition;
142
+ addresses: import("pacc").AttributeDefinition;
143
+ address: import("pacc").AttributeDefinition;
274
144
  };
275
145
  }
276
146
  export class Service extends Base {
@@ -304,20 +174,7 @@ export class Service extends Base {
304
174
  env?: string[] | string;
305
175
  };
306
176
  priority: import("pacc").AttributeDefinition;
307
- directory: {
308
- writable: boolean;
309
- type: string;
310
- isKey: boolean;
311
- mandatory: boolean;
312
- collection: boolean;
313
- private?: boolean;
314
- depends?: string;
315
- description?: string;
316
- default?: any;
317
- set?: Function;
318
- get?: Function;
319
- env?: string[] | string;
320
- };
177
+ directory: import("pacc").AttributeDefinition;
321
178
  packaging: import("pacc").AttributeDefinition;
322
179
  disabled: import("pacc").AttributeDefinition;
323
180
  tags: import("pacc").AttributeDefinition;
@@ -326,20 +183,7 @@ export class Service extends Base {
326
183
  specializations: {};
327
184
  factoryFor(owner: any, value: any): any;
328
185
  attributes: {
329
- alias: {
330
- type: string;
331
- isKey: boolean;
332
- writable: boolean;
333
- mandatory: boolean;
334
- collection: boolean;
335
- private?: boolean;
336
- depends?: string;
337
- description?: string;
338
- default?: any;
339
- set?: Function;
340
- get?: Function;
341
- env?: string[] | string;
342
- };
186
+ alias: import("pacc").AttributeDefinition;
343
187
  weight: {
344
188
  type: string;
345
189
  isKey: boolean;
@@ -355,20 +199,7 @@ export class Service extends Base {
355
199
  env?: string[] | string;
356
200
  };
357
201
  systemd: import("pacc").AttributeDefinition;
358
- port: {
359
- type: string;
360
- isKey: boolean;
361
- writable: boolean;
362
- mandatory: boolean;
363
- collection: boolean;
364
- private?: boolean;
365
- depends?: string;
366
- description?: string;
367
- default?: any;
368
- set?: Function;
369
- get?: Function;
370
- env?: string[] | string;
371
- };
202
+ port: import("pacc").AttributeDefinition;
372
203
  protocol: {
373
204
  values: string[];
374
205
  type: string;
@@ -384,20 +215,7 @@ export class Service extends Base {
384
215
  get?: Function;
385
216
  env?: string[] | string;
386
217
  };
387
- type: {
388
- type: string;
389
- isKey: boolean;
390
- writable: boolean;
391
- mandatory: boolean;
392
- collection: boolean;
393
- private?: boolean;
394
- depends?: string;
395
- description?: string;
396
- default?: any;
397
- set?: Function;
398
- get?: Function;
399
- env?: string[] | string;
400
- };
218
+ type: import("pacc").AttributeDefinition;
401
219
  types: typeof string_collection_attribute;
402
220
  tls: import("pacc").AttributeDefinition;
403
221
  hostName: {
@@ -414,62 +232,10 @@ export class Service extends Base {
414
232
  get?: Function;
415
233
  env?: string[] | string;
416
234
  };
417
- cidrAddresses: {
418
- type: string;
419
- isKey: boolean;
420
- writable: boolean;
421
- mandatory: boolean;
422
- collection: boolean;
423
- private?: boolean;
424
- depends?: string;
425
- description?: string;
426
- default?: any;
427
- set?: Function;
428
- get?: Function;
429
- env?: string[] | string;
430
- };
431
- cidrAddress: {
432
- type: string;
433
- isKey: boolean;
434
- writable: boolean;
435
- mandatory: boolean;
436
- collection: boolean;
437
- private?: boolean;
438
- depends?: string;
439
- description?: string;
440
- default?: any;
441
- set?: Function;
442
- get?: Function;
443
- env?: string[] | string;
444
- };
445
- addresses: {
446
- type: string;
447
- isKey: boolean;
448
- writable: boolean;
449
- mandatory: boolean;
450
- collection: boolean;
451
- private?: boolean;
452
- depends?: string;
453
- description?: string;
454
- default?: any;
455
- set?: Function;
456
- get?: Function;
457
- env?: string[] | string;
458
- };
459
- address: {
460
- type: string;
461
- isKey: boolean;
462
- writable: boolean;
463
- mandatory: boolean;
464
- collection: boolean;
465
- private?: boolean;
466
- depends?: string;
467
- description?: string;
468
- default?: any;
469
- set?: Function;
470
- get?: Function;
471
- env?: string[] | string;
472
- };
235
+ cidrAddresses: import("pacc").AttributeDefinition;
236
+ cidrAddress: import("pacc").AttributeDefinition;
237
+ addresses: import("pacc").AttributeDefinition;
238
+ address: import("pacc").AttributeDefinition;
473
239
  };
474
240
  };
475
241
  _alias: any;
@@ -513,6 +279,8 @@ export class Service extends Base {
513
279
  }
514
280
  export function sortAscendingByPriority(a: any, b: any): number;
515
281
  export function sortDescendingByPriority(a: any, b: any): number;
282
+ import { number_attribute_writable } from "pacc";
283
+ import { string_attribute_writable } from "pacc";
516
284
  import { string_collection_attribute } from "pacc";
517
285
  import { boolean_attribute_false } from "pacc";
518
286
  import { Base } from "pmcf";