pacc 4.2.1 → 4.3.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 +5 -0
- package/types/common-attributes.d.mts +4 -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
|
*/
|
|
@@ -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
|
*/
|