pacc 4.2.0 → 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 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\_writeable\_false
201
+ ## boolean\_attribute\_false
202
202
 
203
203
  Type: [AttributeDefinition](#attributedefinition)
204
204
 
205
- ## boolean\_attribute\_false
205
+ ## empty\_attribute
206
206
 
207
207
  Type: [AttributeDefinition](#attributedefinition)
208
208
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -36,7 +36,7 @@ export { default_attribute as string_attribute };
36
36
  export const string_collection_attribute = {
37
37
  ...default_attribute,
38
38
  collection: true
39
- }
39
+ };
40
40
 
41
41
  /**
42
42
  * @type {AttributeDefinition}
@@ -115,7 +115,10 @@ export { boolean_attribute_writeable_true as active_attribute };
115
115
  /**
116
116
  * @type {AttributeDefinition}
117
117
  */
118
- export { boolean_attribute_writeable_false as empty_attribute };
118
+ export const empty_attribute = {
119
+ ...default_attribute,
120
+ type: "boolean"
121
+ };
119
122
 
120
123
  /**
121
124
  * @type {AttributeDefinition}
@@ -210,6 +213,11 @@ export { integer_attribute as count_attribute };
210
213
  */
211
214
  export { integer_attribute as size_attribute };
212
215
 
216
+ /**
217
+ * @type {AttributeDefinition}
218
+ */
219
+ export const object_attribute = { ...default_attribute, type: "object" };
220
+
213
221
  /**
214
222
  * @type {AttributeDefinition}
215
223
  */
@@ -64,6 +64,10 @@ export const boolean_attribute_writeable_false: AttributeDefinition;
64
64
  * @type {AttributeDefinition}
65
65
  */
66
66
  export const boolean_attribute_false: AttributeDefinition;
67
+ /**
68
+ * @type {AttributeDefinition}
69
+ */
70
+ export const empty_attribute: AttributeDefinition;
67
71
  /**
68
72
  * @type {AttributeDefinition}
69
73
  */
@@ -104,6 +108,10 @@ export const number_attribute: AttributeDefinition;
104
108
  * @type {AttributeDefinition}
105
109
  */
106
110
  export const integer_attribute: AttributeDefinition;
111
+ /**
112
+ * @type {AttributeDefinition}
113
+ */
114
+ export const object_attribute: AttributeDefinition;
107
115
  /**
108
116
  * @type {AttributeDefinition}
109
117
  */
@@ -180,4 +188,4 @@ export type AttributeDefinition = {
180
188
  */
181
189
  env?: string[] | string;
182
190
  };
183
- export { default_attribute as string_attribute, default_attribute as type_attribute, boolean_attribute_writeable_false as boolean_attribute, boolean_attribute_writeable_true as active_attribute, boolean_attribute_writeable_false as empty_attribute, integer_attribute as count_attribute, integer_attribute as size_attribute };
191
+ export { default_attribute as string_attribute, default_attribute as type_attribute, boolean_attribute_writeable_false as boolean_attribute, boolean_attribute_writeable_true as active_attribute, integer_attribute as count_attribute, integer_attribute as size_attribute };