pmcf 2.73.12 → 2.74.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.73.12",
3
+ "version": "2.74.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "ip-utilties": "^1.4.7",
54
54
  "npm-pkgbuild": "^18.2.12",
55
- "pacc": "^3.11.1",
55
+ "pacc": "^3.12.0",
56
56
  "package-directory": "^8.1.0"
57
57
  },
58
58
  "devDependencies": {
package/src/base.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { join } from "node:path";
2
2
  import { allOutputs } from "npm-pkgbuild";
3
- import { getAttribute } from "pacc";
3
+ import { getAttribute, default_attribute, description_attribute } from "pacc";
4
4
  import { addType, primitives, typeFactory } from "./types.mjs";
5
5
  import { asArray } from "./utils.mjs";
6
6
 
@@ -16,17 +16,17 @@ const BaseTypeDefinition = {
16
16
  identifier: true,
17
17
  writeable: true
18
18
  },
19
- description: { type: "string", collection: false, writeable: true },
19
+ description: { ...description_attribute, writeable: true },
20
20
  priority: { type: "number", collection: false, writeable: true },
21
- directory: { type: "string", collection: false, writeable: false },
22
- packaging: { type: "string", collection: false, writeable: true },
21
+ directory: { ...default_attribute, writeable: false },
22
+ packaging: { ...default_attribute, writeable: true },
23
23
  disabled: {
24
24
  type: "boolean",
25
25
  collection: false,
26
26
  writeable: true,
27
27
  default: false
28
28
  },
29
- tags: { type: "string", collection: true, writeable: true }
29
+ tags: { ...default_attribute, collection: true, writeable: true }
30
30
  }
31
31
  };
32
32
 
package/types/base.d.mts CHANGED
@@ -25,9 +25,20 @@ export class Base {
25
25
  writeable: boolean;
26
26
  };
27
27
  description: {
28
+ writeable: boolean;
28
29
  type: string;
30
+ isKey: boolean;
31
+ writable: boolean;
32
+ mandatory: boolean;
29
33
  collection: boolean;
30
- writeable: boolean;
34
+ private?: boolean;
35
+ depends?: string;
36
+ additionalAttributes: string[];
37
+ description?: string;
38
+ default?: any;
39
+ set?: Function;
40
+ get?: Function;
41
+ env?: string[] | string;
31
42
  };
32
43
  priority: {
33
44
  type: string;
@@ -35,14 +46,36 @@ export class Base {
35
46
  writeable: boolean;
36
47
  };
37
48
  directory: {
49
+ writeable: boolean;
38
50
  type: string;
51
+ isKey: boolean;
52
+ writable: boolean;
53
+ mandatory: boolean;
39
54
  collection: boolean;
40
- writeable: boolean;
55
+ private?: boolean;
56
+ depends?: string;
57
+ additionalAttributes: string[];
58
+ description?: string;
59
+ default?: any;
60
+ set?: Function;
61
+ get?: Function;
62
+ env?: string[] | string;
41
63
  };
42
64
  packaging: {
65
+ writeable: boolean;
43
66
  type: string;
67
+ isKey: boolean;
68
+ writable: boolean;
69
+ mandatory: boolean;
44
70
  collection: boolean;
45
- writeable: boolean;
71
+ private?: boolean;
72
+ depends?: string;
73
+ additionalAttributes: string[];
74
+ description?: string;
75
+ default?: any;
76
+ set?: Function;
77
+ get?: Function;
78
+ env?: string[] | string;
46
79
  };
47
80
  disabled: {
48
81
  type: string;
@@ -51,9 +84,20 @@ export class Base {
51
84
  default: boolean;
52
85
  };
53
86
  tags: {
54
- type: string;
55
87
  collection: boolean;
56
88
  writeable: boolean;
89
+ type: string;
90
+ isKey: boolean;
91
+ writable: boolean;
92
+ mandatory: boolean;
93
+ private?: boolean;
94
+ depends?: string;
95
+ additionalAttributes: string[];
96
+ description?: string;
97
+ default?: any;
98
+ set?: Function;
99
+ get?: Function;
100
+ env?: string[] | string;
57
101
  };
58
102
  };
59
103
  };
@@ -26,9 +26,20 @@ export class Cluster extends Host {
26
26
  writeable: boolean;
27
27
  };
28
28
  description: {
29
+ writeable: boolean;
29
30
  type: string;
31
+ isKey: boolean;
32
+ writable: boolean;
33
+ mandatory: boolean;
30
34
  collection: boolean;
31
- writeable: boolean;
35
+ private?: boolean;
36
+ depends?: string;
37
+ additionalAttributes: string[];
38
+ description?: string;
39
+ default?: any;
40
+ set?: Function;
41
+ get?: Function;
42
+ env?: string[] | string;
32
43
  };
33
44
  priority: {
34
45
  type: string;
@@ -36,14 +47,36 @@ export class Cluster extends Host {
36
47
  writeable: boolean;
37
48
  };
38
49
  directory: {
50
+ writeable: boolean;
39
51
  type: string;
52
+ isKey: boolean;
53
+ writable: boolean;
54
+ mandatory: boolean;
40
55
  collection: boolean;
41
- writeable: boolean;
56
+ private?: boolean;
57
+ depends?: string;
58
+ additionalAttributes: string[];
59
+ description?: string;
60
+ default?: any;
61
+ set?: Function;
62
+ get?: Function;
63
+ env?: string[] | string;
42
64
  };
43
65
  packaging: {
66
+ writeable: boolean;
44
67
  type: string;
68
+ isKey: boolean;
69
+ writable: boolean;
70
+ mandatory: boolean;
45
71
  collection: boolean;
46
- writeable: boolean;
72
+ private?: boolean;
73
+ depends?: string;
74
+ additionalAttributes: string[];
75
+ description?: string;
76
+ default?: any;
77
+ set?: Function;
78
+ get?: Function;
79
+ env?: string[] | string;
47
80
  };
48
81
  disabled: {
49
82
  type: string;
@@ -52,9 +85,20 @@ export class Cluster extends Host {
52
85
  default: boolean;
53
86
  };
54
87
  tags: {
55
- type: string;
56
88
  collection: boolean;
57
89
  writeable: boolean;
90
+ type: string;
91
+ isKey: boolean;
92
+ writable: boolean;
93
+ mandatory: boolean;
94
+ private?: boolean;
95
+ depends?: string;
96
+ additionalAttributes: string[];
97
+ description?: string;
98
+ default?: any;
99
+ set?: Function;
100
+ get?: Function;
101
+ env?: string[] | string;
58
102
  };
59
103
  };
60
104
  };
@@ -165,9 +209,20 @@ export class Cluster extends Host {
165
209
  writeable: boolean;
166
210
  };
167
211
  description: {
212
+ writeable: boolean;
168
213
  type: string;
214
+ isKey: boolean;
215
+ writable: boolean;
216
+ mandatory: boolean;
169
217
  collection: boolean;
170
- writeable: boolean;
218
+ private?: boolean;
219
+ depends?: string;
220
+ additionalAttributes: string[];
221
+ description?: string;
222
+ default?: any;
223
+ set?: Function;
224
+ get?: Function;
225
+ env?: string[] | string;
171
226
  };
172
227
  priority: {
173
228
  type: string;
@@ -175,14 +230,36 @@ export class Cluster extends Host {
175
230
  writeable: boolean;
176
231
  };
177
232
  directory: {
233
+ writeable: boolean;
178
234
  type: string;
235
+ isKey: boolean;
236
+ writable: boolean;
237
+ mandatory: boolean;
179
238
  collection: boolean;
180
- writeable: boolean;
239
+ private?: boolean;
240
+ depends?: string;
241
+ additionalAttributes: string[];
242
+ description?: string;
243
+ default?: any;
244
+ set?: Function;
245
+ get?: Function;
246
+ env?: string[] | string;
181
247
  };
182
248
  packaging: {
249
+ writeable: boolean;
183
250
  type: string;
251
+ isKey: boolean;
252
+ writable: boolean;
253
+ mandatory: boolean;
184
254
  collection: boolean;
185
- writeable: boolean;
255
+ private?: boolean;
256
+ depends?: string;
257
+ additionalAttributes: string[];
258
+ description?: string;
259
+ default?: any;
260
+ set?: Function;
261
+ get?: Function;
262
+ env?: string[] | string;
186
263
  };
187
264
  disabled: {
188
265
  type: string;
@@ -191,9 +268,20 @@ export class Cluster extends Host {
191
268
  default: boolean;
192
269
  };
193
270
  tags: {
194
- type: string;
195
271
  collection: boolean;
196
272
  writeable: boolean;
273
+ type: string;
274
+ isKey: boolean;
275
+ writable: boolean;
276
+ mandatory: boolean;
277
+ private?: boolean;
278
+ depends?: string;
279
+ additionalAttributes: string[];
280
+ description?: string;
281
+ default?: any;
282
+ set?: Function;
283
+ get?: Function;
284
+ env?: string[] | string;
197
285
  };
198
286
  };
199
287
  };
@@ -40,9 +40,20 @@ export class ExtraSourceService extends Service {
40
40
  writeable: boolean;
41
41
  };
42
42
  description: {
43
+ writeable: boolean;
43
44
  type: string;
45
+ isKey: boolean;
46
+ writable: boolean;
47
+ mandatory: boolean;
44
48
  collection: boolean;
45
- writeable: boolean;
49
+ private?: boolean;
50
+ depends?: string;
51
+ additionalAttributes: string[];
52
+ description?: string;
53
+ default?: any;
54
+ set?: Function;
55
+ get?: Function;
56
+ env?: string[] | string;
46
57
  };
47
58
  priority: {
48
59
  type: string;
@@ -50,14 +61,36 @@ export class ExtraSourceService extends Service {
50
61
  writeable: boolean;
51
62
  };
52
63
  directory: {
64
+ writeable: boolean;
53
65
  type: string;
66
+ isKey: boolean;
67
+ writable: boolean;
68
+ mandatory: boolean;
54
69
  collection: boolean;
55
- writeable: boolean;
70
+ private?: boolean;
71
+ depends?: string;
72
+ additionalAttributes: string[];
73
+ description?: string;
74
+ default?: any;
75
+ set?: Function;
76
+ get?: Function;
77
+ env?: string[] | string;
56
78
  };
57
79
  packaging: {
80
+ writeable: boolean;
58
81
  type: string;
82
+ isKey: boolean;
83
+ writable: boolean;
84
+ mandatory: boolean;
59
85
  collection: boolean;
60
- writeable: boolean;
86
+ private?: boolean;
87
+ depends?: string;
88
+ additionalAttributes: string[];
89
+ description?: string;
90
+ default?: any;
91
+ set?: Function;
92
+ get?: Function;
93
+ env?: string[] | string;
61
94
  };
62
95
  disabled: {
63
96
  type: string;
@@ -66,9 +99,20 @@ export class ExtraSourceService extends Service {
66
99
  default: boolean;
67
100
  };
68
101
  tags: {
69
- type: string;
70
102
  collection: boolean;
71
103
  writeable: boolean;
104
+ type: string;
105
+ isKey: boolean;
106
+ writable: boolean;
107
+ mandatory: boolean;
108
+ private?: boolean;
109
+ depends?: string;
110
+ additionalAttributes: string[];
111
+ description?: string;
112
+ default?: any;
113
+ set?: Function;
114
+ get?: Function;
115
+ env?: string[] | string;
72
116
  };
73
117
  };
74
118
  };
package/types/host.d.mts CHANGED
@@ -24,9 +24,20 @@ export class Host extends ServiceOwner {
24
24
  writeable: boolean;
25
25
  };
26
26
  description: {
27
+ writeable: boolean;
27
28
  type: string;
29
+ isKey: boolean;
30
+ writable: boolean;
31
+ mandatory: boolean;
28
32
  collection: boolean;
29
- writeable: boolean;
33
+ private?: boolean;
34
+ depends?: string;
35
+ additionalAttributes: string[];
36
+ description?: string;
37
+ default?: any;
38
+ set?: Function;
39
+ get?: Function;
40
+ env?: string[] | string;
30
41
  };
31
42
  priority: {
32
43
  type: string;
@@ -34,14 +45,36 @@ export class Host extends ServiceOwner {
34
45
  writeable: boolean;
35
46
  };
36
47
  directory: {
48
+ writeable: boolean;
37
49
  type: string;
50
+ isKey: boolean;
51
+ writable: boolean;
52
+ mandatory: boolean;
38
53
  collection: boolean;
39
- writeable: boolean;
54
+ private?: boolean;
55
+ depends?: string;
56
+ additionalAttributes: string[];
57
+ description?: string;
58
+ default?: any;
59
+ set?: Function;
60
+ get?: Function;
61
+ env?: string[] | string;
40
62
  };
41
63
  packaging: {
64
+ writeable: boolean;
42
65
  type: string;
66
+ isKey: boolean;
67
+ writable: boolean;
68
+ mandatory: boolean;
43
69
  collection: boolean;
44
- writeable: boolean;
70
+ private?: boolean;
71
+ depends?: string;
72
+ additionalAttributes: string[];
73
+ description?: string;
74
+ default?: any;
75
+ set?: Function;
76
+ get?: Function;
77
+ env?: string[] | string;
45
78
  };
46
79
  disabled: {
47
80
  type: string;
@@ -50,9 +83,20 @@ export class Host extends ServiceOwner {
50
83
  default: boolean;
51
84
  };
52
85
  tags: {
53
- type: string;
54
86
  collection: boolean;
55
87
  writeable: boolean;
88
+ type: string;
89
+ isKey: boolean;
90
+ writable: boolean;
91
+ mandatory: boolean;
92
+ private?: boolean;
93
+ depends?: string;
94
+ additionalAttributes: string[];
95
+ description?: string;
96
+ default?: any;
97
+ set?: Function;
98
+ get?: Function;
99
+ env?: string[] | string;
56
100
  };
57
101
  };
58
102
  };
@@ -26,9 +26,20 @@ export class Location extends Owner {
26
26
  writeable: boolean;
27
27
  };
28
28
  description: {
29
+ writeable: boolean;
29
30
  type: string;
31
+ isKey: boolean;
32
+ writable: boolean;
33
+ mandatory: boolean;
30
34
  collection: boolean;
31
- writeable: boolean;
35
+ private?: boolean;
36
+ depends?: string;
37
+ additionalAttributes: string[];
38
+ description?: string;
39
+ default?: any;
40
+ set?: Function;
41
+ get?: Function;
42
+ env?: string[] | string;
32
43
  };
33
44
  priority: {
34
45
  type: string;
@@ -36,14 +47,36 @@ export class Location extends Owner {
36
47
  writeable: boolean;
37
48
  };
38
49
  directory: {
50
+ writeable: boolean;
39
51
  type: string;
52
+ isKey: boolean;
53
+ writable: boolean;
54
+ mandatory: boolean;
40
55
  collection: boolean;
41
- writeable: boolean;
56
+ private?: boolean;
57
+ depends?: string;
58
+ additionalAttributes: string[];
59
+ description?: string;
60
+ default?: any;
61
+ set?: Function;
62
+ get?: Function;
63
+ env?: string[] | string;
42
64
  };
43
65
  packaging: {
66
+ writeable: boolean;
44
67
  type: string;
68
+ isKey: boolean;
69
+ writable: boolean;
70
+ mandatory: boolean;
45
71
  collection: boolean;
46
- writeable: boolean;
72
+ private?: boolean;
73
+ depends?: string;
74
+ additionalAttributes: string[];
75
+ description?: string;
76
+ default?: any;
77
+ set?: Function;
78
+ get?: Function;
79
+ env?: string[] | string;
47
80
  };
48
81
  disabled: {
49
82
  type: string;
@@ -52,9 +85,20 @@ export class Location extends Owner {
52
85
  default: boolean;
53
86
  };
54
87
  tags: {
55
- type: string;
56
88
  collection: boolean;
57
89
  writeable: boolean;
90
+ type: string;
91
+ isKey: boolean;
92
+ writable: boolean;
93
+ mandatory: boolean;
94
+ private?: boolean;
95
+ depends?: string;
96
+ additionalAttributes: string[];
97
+ description?: string;
98
+ default?: any;
99
+ set?: Function;
100
+ get?: Function;
101
+ env?: string[] | string;
58
102
  };
59
103
  };
60
104
  };
@@ -165,9 +209,20 @@ export class Location extends Owner {
165
209
  writeable: boolean;
166
210
  };
167
211
  description: {
212
+ writeable: boolean;
168
213
  type: string;
214
+ isKey: boolean;
215
+ writable: boolean;
216
+ mandatory: boolean;
169
217
  collection: boolean;
170
- writeable: boolean;
218
+ private?: boolean;
219
+ depends?: string;
220
+ additionalAttributes: string[];
221
+ description?: string;
222
+ default?: any;
223
+ set?: Function;
224
+ get?: Function;
225
+ env?: string[] | string;
171
226
  };
172
227
  priority: {
173
228
  type: string;
@@ -175,14 +230,36 @@ export class Location extends Owner {
175
230
  writeable: boolean;
176
231
  };
177
232
  directory: {
233
+ writeable: boolean;
178
234
  type: string;
235
+ isKey: boolean;
236
+ writable: boolean;
237
+ mandatory: boolean;
179
238
  collection: boolean;
180
- writeable: boolean;
239
+ private?: boolean;
240
+ depends?: string;
241
+ additionalAttributes: string[];
242
+ description?: string;
243
+ default?: any;
244
+ set?: Function;
245
+ get?: Function;
246
+ env?: string[] | string;
181
247
  };
182
248
  packaging: {
249
+ writeable: boolean;
183
250
  type: string;
251
+ isKey: boolean;
252
+ writable: boolean;
253
+ mandatory: boolean;
184
254
  collection: boolean;
185
- writeable: boolean;
255
+ private?: boolean;
256
+ depends?: string;
257
+ additionalAttributes: string[];
258
+ description?: string;
259
+ default?: any;
260
+ set?: Function;
261
+ get?: Function;
262
+ env?: string[] | string;
186
263
  };
187
264
  disabled: {
188
265
  type: string;
@@ -191,9 +268,20 @@ export class Location extends Owner {
191
268
  default: boolean;
192
269
  };
193
270
  tags: {
194
- type: string;
195
271
  collection: boolean;
196
272
  writeable: boolean;
273
+ type: string;
274
+ isKey: boolean;
275
+ writable: boolean;
276
+ mandatory: boolean;
277
+ private?: boolean;
278
+ depends?: string;
279
+ additionalAttributes: string[];
280
+ description?: string;
281
+ default?: any;
282
+ set?: Function;
283
+ get?: Function;
284
+ env?: string[] | string;
197
285
  };
198
286
  };
199
287
  };