pacc 3.12.0 → 3.13.1
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 +11 -0
- package/package.json +1 -4
- package/src/common-attributes.mjs +5 -0
- package/types/common-attributes.d.mts +4 -0
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
40
40
|
* [Properties](#properties)
|
|
41
41
|
* [default\_attribute](#default_attribute)
|
|
42
42
|
* [name\_attribute](#name_attribute)
|
|
43
|
+
* [email\_attribute](#email_attribute)
|
|
43
44
|
* [description\_attribute](#description_attribute)
|
|
44
45
|
* [type\_attribute](#type_attribute)
|
|
45
46
|
* [state\_attribute](#state_attribute)
|
|
@@ -54,6 +55,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
54
55
|
* [certificate\_attribute](#certificate_attribute)
|
|
55
56
|
* [private\_key\_attribute](#private_key_attribute)
|
|
56
57
|
* [public\_key\_attribute](#public_key_attribute)
|
|
58
|
+
* [integer\_attribute](#integer_attribute)
|
|
57
59
|
* [count\_attribute](#count_attribute)
|
|
58
60
|
* [size\_attribute](#size_attribute)
|
|
59
61
|
* [url\_attribute](#url_attribute)
|
|
@@ -163,6 +165,7 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
163
165
|
* `isKey` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
164
166
|
* `writable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
165
167
|
* `mandatory` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
168
|
+
* `collection` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
166
169
|
* `private` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** should the value be shown
|
|
167
170
|
* `depends` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** name of an attribute we depend on
|
|
168
171
|
* `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
|
|
@@ -182,6 +185,10 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
182
185
|
|
|
183
186
|
Type: [AttributeDefinition](#attributedefinition)
|
|
184
187
|
|
|
188
|
+
## email\_attribute
|
|
189
|
+
|
|
190
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
191
|
+
|
|
185
192
|
## description\_attribute
|
|
186
193
|
|
|
187
194
|
The description of the object content.
|
|
@@ -240,6 +247,10 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
240
247
|
|
|
241
248
|
Type: [AttributeDefinition](#attributedefinition)
|
|
242
249
|
|
|
250
|
+
## integer\_attribute
|
|
251
|
+
|
|
252
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
253
|
+
|
|
243
254
|
## count\_attribute
|
|
244
255
|
|
|
245
256
|
Type: [AttributeDefinition](#attributedefinition)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pacc",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -32,9 +32,6 @@
|
|
|
32
32
|
"lint:docs": "documentation lint ./src**/*.mjs",
|
|
33
33
|
"lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
|
|
34
34
|
},
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"npm-pkgbuild": "^18.1.1"
|
|
37
|
-
},
|
|
38
35
|
"devDependencies": {
|
|
39
36
|
"ava": "^6.4.1",
|
|
40
37
|
"browser-ava": "^2.3.31",
|
|
@@ -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}
|