pacc 8.5.0 → 8.6.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 +1 -1
- package/src/common-attributes.mjs +19 -0
- package/types/common-attributes.d.mts +36 -29
package/package.json
CHANGED
|
@@ -58,6 +58,9 @@ export { default_attribute as string_attribute };
|
|
|
58
58
|
*/
|
|
59
59
|
export { default_attribute_writable as string_attribute_writable };
|
|
60
60
|
|
|
61
|
+
/**
|
|
62
|
+
* @type {AttributeDefinition}
|
|
63
|
+
*/
|
|
61
64
|
export const string_collection_attribute = {
|
|
62
65
|
...default_attribute,
|
|
63
66
|
separator: " ",
|
|
@@ -72,6 +75,22 @@ export const string_collection_attribute_writable = {
|
|
|
72
75
|
writable: true
|
|
73
76
|
};
|
|
74
77
|
|
|
78
|
+
/**
|
|
79
|
+
* @type {AttributeDefinition}
|
|
80
|
+
*/
|
|
81
|
+
export const string_set_attribute = {
|
|
82
|
+
...string_collection_attribute,
|
|
83
|
+
constructor: Set
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @type {AttributeDefinition}
|
|
88
|
+
*/
|
|
89
|
+
export const string_set_attribute_writable = {
|
|
90
|
+
...string_set_attribute,
|
|
91
|
+
writable: true
|
|
92
|
+
};
|
|
93
|
+
|
|
75
94
|
/**
|
|
76
95
|
* @type {AttributeDefinition}
|
|
77
96
|
*/
|
|
@@ -31,35 +31,22 @@ export const default_attribute: AttributeDefinition;
|
|
|
31
31
|
* @type {AttributeDefinition}
|
|
32
32
|
*/
|
|
33
33
|
export const default_attribute_writable: AttributeDefinition;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export let isKey: boolean;
|
|
39
|
-
export let writable: boolean;
|
|
40
|
-
export let mandatory: boolean;
|
|
41
|
-
export let constructor: Function;
|
|
42
|
-
let _private: boolean;
|
|
43
|
-
export { _private as private };
|
|
44
|
-
export let credential: boolean;
|
|
45
|
-
export let persistent: boolean;
|
|
46
|
-
export let depends: string;
|
|
47
|
-
export let description: string;
|
|
48
|
-
let _default: any;
|
|
49
|
-
export { _default as default };
|
|
50
|
-
export let set: Function;
|
|
51
|
-
export let get: Function;
|
|
52
|
-
export let toInternal: Function;
|
|
53
|
-
export let toExternal: Function;
|
|
54
|
-
export let values: Set<any>;
|
|
55
|
-
export let externalName: string;
|
|
56
|
-
export let env: string[] | string;
|
|
57
|
-
export let additionalValues: object;
|
|
58
|
-
}
|
|
34
|
+
/**
|
|
35
|
+
* @type {AttributeDefinition}
|
|
36
|
+
*/
|
|
37
|
+
export const string_collection_attribute: AttributeDefinition;
|
|
59
38
|
/**
|
|
60
39
|
* @type {AttributeDefinition}
|
|
61
40
|
*/
|
|
62
41
|
export const string_collection_attribute_writable: AttributeDefinition;
|
|
42
|
+
/**
|
|
43
|
+
* @type {AttributeDefinition}
|
|
44
|
+
*/
|
|
45
|
+
export const string_set_attribute: AttributeDefinition;
|
|
46
|
+
/**
|
|
47
|
+
* @type {AttributeDefinition}
|
|
48
|
+
*/
|
|
49
|
+
export const string_set_attribute_writable: AttributeDefinition;
|
|
63
50
|
/**
|
|
64
51
|
* @type {AttributeDefinition}
|
|
65
52
|
*/
|
|
@@ -110,10 +97,28 @@ export const boolean_attribute_false: AttributeDefinition;
|
|
|
110
97
|
*/
|
|
111
98
|
export const yesno_attribute: AttributeDefinition;
|
|
112
99
|
export namespace yesno_attribute_writable {
|
|
113
|
-
let
|
|
114
|
-
export
|
|
115
|
-
let
|
|
116
|
-
export
|
|
100
|
+
export let writable: boolean;
|
|
101
|
+
export let type: object;
|
|
102
|
+
export let isKey: boolean;
|
|
103
|
+
export let mandatory: boolean;
|
|
104
|
+
export let collection: boolean;
|
|
105
|
+
export let constructor: Function;
|
|
106
|
+
let _private: boolean;
|
|
107
|
+
export { _private as private };
|
|
108
|
+
export let credential: boolean;
|
|
109
|
+
export let persistent: boolean;
|
|
110
|
+
export let depends: string;
|
|
111
|
+
export let description: string;
|
|
112
|
+
let _default: any;
|
|
113
|
+
export { _default as default };
|
|
114
|
+
export let set: Function;
|
|
115
|
+
export let get: Function;
|
|
116
|
+
export let toInternal: Function;
|
|
117
|
+
export let toExternal: Function;
|
|
118
|
+
export let values: Set<any>;
|
|
119
|
+
export let externalName: string;
|
|
120
|
+
export let env: string[] | string;
|
|
121
|
+
export let additionalValues: object;
|
|
117
122
|
}
|
|
118
123
|
/**
|
|
119
124
|
* @type {AttributeDefinition}
|
|
@@ -158,6 +163,8 @@ export namespace bytes_size_attribute {
|
|
|
158
163
|
toInternal: typeof import("./bytes.mjs").parseBytes;
|
|
159
164
|
};
|
|
160
165
|
export { type_1 as type };
|
|
166
|
+
let writable_1: boolean;
|
|
167
|
+
export { writable_1 as writable };
|
|
161
168
|
}
|
|
162
169
|
/**
|
|
163
170
|
* @type {AttributeDefinition}
|