pacc 3.12.0 → 3.13.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
@@ -54,6 +54,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
54
54
  * [certificate\_attribute](#certificate_attribute)
55
55
  * [private\_key\_attribute](#private_key_attribute)
56
56
  * [public\_key\_attribute](#public_key_attribute)
57
+ * [integer\_attribute](#integer_attribute)
57
58
  * [count\_attribute](#count_attribute)
58
59
  * [size\_attribute](#size_attribute)
59
60
  * [url\_attribute](#url_attribute)
@@ -163,6 +164,7 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
163
164
  * `isKey` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
164
165
  * `writable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
165
166
  * `mandatory` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
167
+ * `collection` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
166
168
  * `private` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** should the value be shown
167
169
  * `depends` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** name of an attribute we depend on
168
170
  * `additionalAttributes` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** extra attributes that are present in case our attribute is set
@@ -240,6 +242,10 @@ Type: [AttributeDefinition](#attributedefinition)
240
242
 
241
243
  Type: [AttributeDefinition](#attributedefinition)
242
244
 
245
+ ## integer\_attribute
246
+
247
+ Type: [AttributeDefinition](#attributedefinition)
248
+
243
249
  ## count\_attribute
244
250
 
245
251
  Type: [AttributeDefinition](#attributedefinition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "3.12.0",
3
+ "version": "3.13.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -38,6 +38,11 @@ export const name_attribute = {
38
38
  isKey: true
39
39
  };
40
40
 
41
+ /**
42
+ * @type {AttributeDefinition}
43
+ */
44
+ export const email_attribute = default_attribute;
45
+
41
46
  /**
42
47
  * The description of the object content.
43
48
  * @type {AttributeDefinition}
@@ -24,6 +24,10 @@ export const default_attribute: AttributeDefinition;
24
24
  * @type {AttributeDefinition}
25
25
  */
26
26
  export const name_attribute: AttributeDefinition;
27
+ /**
28
+ * @type {AttributeDefinition}
29
+ */
30
+ export const email_attribute: AttributeDefinition;
27
31
  /**
28
32
  * The description of the object content.
29
33
  * @type {AttributeDefinition}