pacc 4.2.1 → 4.4.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 +3 -3
- package/package.json +1 -1
- package/src/common-attributes.mjs +14 -2
- package/types/common-attributes.d.mts +8 -0
package/README.md
CHANGED
|
@@ -43,8 +43,8 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
43
43
|
* [boolean\_attribute\_writeable\_true](#boolean_attribute_writeable_true)
|
|
44
44
|
* [boolean\_attribute\_writeable\_true](#boolean_attribute_writeable_true-1)
|
|
45
45
|
* [boolean\_attribute\_writeable\_false](#boolean_attribute_writeable_false)
|
|
46
|
-
* [boolean\_attribute\_writeable\_false](#boolean_attribute_writeable_false-1)
|
|
47
46
|
* [boolean\_attribute\_false](#boolean_attribute_false)
|
|
47
|
+
* [empty\_attribute](#empty_attribute)
|
|
48
48
|
* [uuid\_attribute](#uuid_attribute)
|
|
49
49
|
* [secret\_attribute](#secret_attribute)
|
|
50
50
|
* [username\_attribute](#username_attribute)
|
|
@@ -198,11 +198,11 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
198
198
|
|
|
199
199
|
Type: [AttributeDefinition](#attributedefinition)
|
|
200
200
|
|
|
201
|
-
## boolean\_attribute\
|
|
201
|
+
## boolean\_attribute\_false
|
|
202
202
|
|
|
203
203
|
Type: [AttributeDefinition](#attributedefinition)
|
|
204
204
|
|
|
205
|
-
##
|
|
205
|
+
## empty\_attribute
|
|
206
206
|
|
|
207
207
|
Type: [AttributeDefinition](#attributedefinition)
|
|
208
208
|
|
package/package.json
CHANGED
|
@@ -213,6 +213,11 @@ export { integer_attribute as count_attribute };
|
|
|
213
213
|
*/
|
|
214
214
|
export { integer_attribute as size_attribute };
|
|
215
215
|
|
|
216
|
+
/**
|
|
217
|
+
* @type {AttributeDefinition}
|
|
218
|
+
*/
|
|
219
|
+
export const object_attribute = { ...default_attribute, type: "object" };
|
|
220
|
+
|
|
216
221
|
/**
|
|
217
222
|
* @type {AttributeDefinition}
|
|
218
223
|
*/
|
|
@@ -282,10 +287,17 @@ export const priority_attribute = {
|
|
|
282
287
|
/**
|
|
283
288
|
* @type {AttributeDefinition}
|
|
284
289
|
*/
|
|
285
|
-
export const
|
|
290
|
+
export const duration_attribute = {
|
|
286
291
|
...default_attribute,
|
|
292
|
+
type: "number"
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @type {AttributeDefinition}
|
|
297
|
+
*/
|
|
298
|
+
export const timeout_attribute = {
|
|
299
|
+
...duration_attribute,
|
|
287
300
|
description: "timeout",
|
|
288
|
-
type: "number",
|
|
289
301
|
writable: true
|
|
290
302
|
};
|
|
291
303
|
|
|
@@ -108,6 +108,10 @@ export const number_attribute: AttributeDefinition;
|
|
|
108
108
|
* @type {AttributeDefinition}
|
|
109
109
|
*/
|
|
110
110
|
export const integer_attribute: AttributeDefinition;
|
|
111
|
+
/**
|
|
112
|
+
* @type {AttributeDefinition}
|
|
113
|
+
*/
|
|
114
|
+
export const object_attribute: AttributeDefinition;
|
|
111
115
|
/**
|
|
112
116
|
* @type {AttributeDefinition}
|
|
113
117
|
*/
|
|
@@ -141,6 +145,10 @@ export const title_attribute: AttributeDefinition;
|
|
|
141
145
|
* @type {AttributeDefinition}
|
|
142
146
|
*/
|
|
143
147
|
export const priority_attribute: AttributeDefinition;
|
|
148
|
+
/**
|
|
149
|
+
* @type {AttributeDefinition}
|
|
150
|
+
*/
|
|
151
|
+
export const duration_attribute: AttributeDefinition;
|
|
144
152
|
/**
|
|
145
153
|
* @type {AttributeDefinition}
|
|
146
154
|
*/
|