pacc 3.10.0 → 3.11.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/README.md +20 -0
- package/package.json +1 -1
- package/src/common-attributes.mjs +35 -0
- package/types/common-attributes.d.mts +16 -0
package/README.md
CHANGED
|
@@ -49,6 +49,9 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
49
49
|
* [empty\_attribute](#empty_attribute)
|
|
50
50
|
* [secret\_attribute](#secret_attribute)
|
|
51
51
|
* [token\_attribute](#token_attribute)
|
|
52
|
+
* [certificate\_attribute](#certificate_attribute)
|
|
53
|
+
* [private\_key\_attribute](#private_key_attribute)
|
|
54
|
+
* [public\_key\_attribute](#public_key_attribute)
|
|
52
55
|
* [count\_attribute](#count_attribute)
|
|
53
56
|
* [size\_attribute](#size_attribute)
|
|
54
57
|
* [url\_attribute](#url_attribute)
|
|
@@ -56,6 +59,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
56
59
|
* [body\_attribute](#body_attribute)
|
|
57
60
|
* [title\_attribute](#title_attribute)
|
|
58
61
|
* [priority\_attribute](#priority_attribute)
|
|
62
|
+
* [timeout\_attribute](#timeout_attribute)
|
|
59
63
|
* [active\_attribute](#active_attribute)
|
|
60
64
|
* [language\_attribute](#language_attribute)
|
|
61
65
|
* [filter](#filter)
|
|
@@ -212,6 +216,18 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
212
216
|
|
|
213
217
|
Type: [AttributeDefinition](#attributedefinition)
|
|
214
218
|
|
|
219
|
+
## certificate\_attribute
|
|
220
|
+
|
|
221
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
222
|
+
|
|
223
|
+
## private\_key\_attribute
|
|
224
|
+
|
|
225
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
226
|
+
|
|
227
|
+
## public\_key\_attribute
|
|
228
|
+
|
|
229
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
230
|
+
|
|
215
231
|
## count\_attribute
|
|
216
232
|
|
|
217
233
|
Type: [AttributeDefinition](#attributedefinition)
|
|
@@ -249,6 +265,10 @@ this defines the order.
|
|
|
249
265
|
|
|
250
266
|
Type: [AttributeDefinition](#attributedefinition)
|
|
251
267
|
|
|
268
|
+
## timeout\_attribute
|
|
269
|
+
|
|
270
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
271
|
+
|
|
252
272
|
## active\_attribute
|
|
253
273
|
|
|
254
274
|
Type: [AttributeDefinition](#attributedefinition)
|
package/package.json
CHANGED
|
@@ -100,6 +100,24 @@ export const secret_attribute = {
|
|
|
100
100
|
writable: true
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* @type {AttributeDefinition}
|
|
105
|
+
*/
|
|
106
|
+
export const username_attribute = {
|
|
107
|
+
...default_attribute,
|
|
108
|
+
private: true,
|
|
109
|
+
writable: true
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @type {AttributeDefinition}
|
|
114
|
+
*/
|
|
115
|
+
export const password_attribute = {
|
|
116
|
+
...default_attribute,
|
|
117
|
+
private: true,
|
|
118
|
+
writable: true
|
|
119
|
+
};
|
|
120
|
+
|
|
103
121
|
/**
|
|
104
122
|
* @type {AttributeDefinition}
|
|
105
123
|
*/
|
|
@@ -157,6 +175,23 @@ export const url_attribute = {
|
|
|
157
175
|
description: "home of the object"
|
|
158
176
|
};
|
|
159
177
|
|
|
178
|
+
/**
|
|
179
|
+
* @type {AttributeDefinition}
|
|
180
|
+
*/
|
|
181
|
+
export const hostname_attribute = {
|
|
182
|
+
...default_attribute,
|
|
183
|
+
description: "hostname"
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @type {AttributeDefinition}
|
|
188
|
+
*/
|
|
189
|
+
export const port_attribute = {
|
|
190
|
+
...default_attribute,
|
|
191
|
+
type: "integer",
|
|
192
|
+
description: "port"
|
|
193
|
+
};
|
|
194
|
+
|
|
160
195
|
/**
|
|
161
196
|
* Unique id within the provider.
|
|
162
197
|
* @type {AttributeDefinition}
|
|
@@ -56,6 +56,14 @@ export const empty_attribute: AttributeDefinition;
|
|
|
56
56
|
* @type {AttributeDefinition}
|
|
57
57
|
*/
|
|
58
58
|
export const secret_attribute: AttributeDefinition;
|
|
59
|
+
/**
|
|
60
|
+
* @type {AttributeDefinition}
|
|
61
|
+
*/
|
|
62
|
+
export const username_attribute: AttributeDefinition;
|
|
63
|
+
/**
|
|
64
|
+
* @type {AttributeDefinition}
|
|
65
|
+
*/
|
|
66
|
+
export const password_attribute: AttributeDefinition;
|
|
59
67
|
/**
|
|
60
68
|
* @type {AttributeDefinition}
|
|
61
69
|
*/
|
|
@@ -84,6 +92,14 @@ export const size_attribute: AttributeDefinition;
|
|
|
84
92
|
* @type {AttributeDefinition}
|
|
85
93
|
*/
|
|
86
94
|
export const url_attribute: AttributeDefinition;
|
|
95
|
+
/**
|
|
96
|
+
* @type {AttributeDefinition}
|
|
97
|
+
*/
|
|
98
|
+
export const hostname_attribute: AttributeDefinition;
|
|
99
|
+
/**
|
|
100
|
+
* @type {AttributeDefinition}
|
|
101
|
+
*/
|
|
102
|
+
export const port_attribute: AttributeDefinition;
|
|
87
103
|
/**
|
|
88
104
|
* Unique id within the provider.
|
|
89
105
|
* @type {AttributeDefinition}
|