pacc 4.5.3 → 4.6.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 +30 -20
- package/package.json +2 -2
- package/src/common-attributes.mjs +9 -0
- package/types/common-attributes.d.mts +4 -0
package/README.md
CHANGED
|
@@ -36,11 +36,14 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
36
36
|
* [default\_attribute](#default_attribute)
|
|
37
37
|
* [default\_attribute](#default_attribute-1)
|
|
38
38
|
* [default\_attribute](#default_attribute-2)
|
|
39
|
+
* [default\_attribute\_writable](#default_attribute_writable)
|
|
40
|
+
* [default\_attribute\_writable](#default_attribute_writable-1)
|
|
41
|
+
* [default\_attribute\_writable](#default_attribute_writable-2)
|
|
42
|
+
* [default\_attribute\_writable](#default_attribute_writable-3)
|
|
39
43
|
* [string\_collection\_attribute\_writable](#string_collection_attribute_writable)
|
|
40
44
|
* [name\_attribute](#name_attribute)
|
|
41
45
|
* [email\_attribute](#email_attribute)
|
|
42
46
|
* [description\_attribute](#description_attribute)
|
|
43
|
-
* [state\_attribute](#state_attribute)
|
|
44
47
|
* [boolean\_attribute\_writable](#boolean_attribute_writable)
|
|
45
48
|
* [boolean\_attribute\_writable\_true](#boolean_attribute_writable_true)
|
|
46
49
|
* [boolean\_attribute\_writable\_true](#boolean_attribute_writable_true-1)
|
|
@@ -49,10 +52,10 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
49
52
|
* [empty\_attribute](#empty_attribute)
|
|
50
53
|
* [uuid\_attribute](#uuid_attribute)
|
|
51
54
|
* [secret\_attribute](#secret_attribute)
|
|
52
|
-
* [
|
|
53
|
-
* [
|
|
54
|
-
* [
|
|
55
|
-
* [
|
|
55
|
+
* [secret\_attribute](#secret_attribute-1)
|
|
56
|
+
* [secret\_attribute](#secret_attribute-2)
|
|
57
|
+
* [secret\_attribute](#secret_attribute-3)
|
|
58
|
+
* [secret\_attribute](#secret_attribute-4)
|
|
56
59
|
* [private\_key\_attribute](#private_key_attribute)
|
|
57
60
|
* [public\_key\_attribute](#public_key_attribute)
|
|
58
61
|
* [number\_attribute](#number_attribute)
|
|
@@ -67,7 +70,6 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
67
70
|
* [hostname\_attribute](#hostname_attribute)
|
|
68
71
|
* [port\_attribute](#port_attribute)
|
|
69
72
|
* [id\_attribute](#id_attribute)
|
|
70
|
-
* [body\_attribute](#body_attribute)
|
|
71
73
|
* [title\_attribute](#title_attribute)
|
|
72
74
|
* [priority\_attribute](#priority_attribute)
|
|
73
75
|
* [timeout\_attribute](#timeout_attribute)
|
|
@@ -174,6 +176,24 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
174
176
|
|
|
175
177
|
Type: [AttributeDefinition](#attributedefinition)
|
|
176
178
|
|
|
179
|
+
## default\_attribute\_writable
|
|
180
|
+
|
|
181
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
182
|
+
|
|
183
|
+
## default\_attribute\_writable
|
|
184
|
+
|
|
185
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
186
|
+
|
|
187
|
+
## default\_attribute\_writable
|
|
188
|
+
|
|
189
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
190
|
+
|
|
191
|
+
## default\_attribute\_writable
|
|
192
|
+
|
|
193
|
+
The body text.
|
|
194
|
+
|
|
195
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
196
|
+
|
|
177
197
|
## string\_collection\_attribute\_writable
|
|
178
198
|
|
|
179
199
|
Type: [AttributeDefinition](#attributedefinition)
|
|
@@ -192,10 +212,6 @@ The description of the object content.
|
|
|
192
212
|
|
|
193
213
|
Type: [AttributeDefinition](#attributedefinition)
|
|
194
214
|
|
|
195
|
-
## state\_attribute
|
|
196
|
-
|
|
197
|
-
Type: [AttributeDefinition](#attributedefinition)
|
|
198
|
-
|
|
199
215
|
## boolean\_attribute\_writable
|
|
200
216
|
|
|
201
217
|
Type: [AttributeDefinition](#attributedefinition)
|
|
@@ -228,19 +244,19 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
228
244
|
|
|
229
245
|
Type: [AttributeDefinition](#attributedefinition)
|
|
230
246
|
|
|
231
|
-
##
|
|
247
|
+
## secret\_attribute
|
|
232
248
|
|
|
233
249
|
Type: [AttributeDefinition](#attributedefinition)
|
|
234
250
|
|
|
235
|
-
##
|
|
251
|
+
## secret\_attribute
|
|
236
252
|
|
|
237
253
|
Type: [AttributeDefinition](#attributedefinition)
|
|
238
254
|
|
|
239
|
-
##
|
|
255
|
+
## secret\_attribute
|
|
240
256
|
|
|
241
257
|
Type: [AttributeDefinition](#attributedefinition)
|
|
242
258
|
|
|
243
|
-
##
|
|
259
|
+
## secret\_attribute
|
|
244
260
|
|
|
245
261
|
Type: [AttributeDefinition](#attributedefinition)
|
|
246
262
|
|
|
@@ -302,12 +318,6 @@ Unique id within.
|
|
|
302
318
|
|
|
303
319
|
Type: [AttributeDefinition](#attributedefinition)
|
|
304
320
|
|
|
305
|
-
## body\_attribute
|
|
306
|
-
|
|
307
|
-
The body text.
|
|
308
|
-
|
|
309
|
-
Type: [AttributeDefinition](#attributedefinition)
|
|
310
|
-
|
|
311
321
|
## title\_attribute
|
|
312
322
|
|
|
313
323
|
The one line description.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pacc",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"c8": "^10.1.3",
|
|
39
39
|
"documentation": "^14.0.3",
|
|
40
40
|
"semantic-release": "^24.2.7",
|
|
41
|
-
"typescript": "^5.
|
|
41
|
+
"typescript": "^5.9.2"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=22.17.1"
|
|
@@ -75,6 +75,15 @@ export const email_attribute = {
|
|
|
75
75
|
description: "email address"
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* @type {AttributeDefinition}
|
|
80
|
+
*/
|
|
81
|
+
export const version_attribute_writable = {
|
|
82
|
+
...default_attribute,
|
|
83
|
+
description: "version",
|
|
84
|
+
writable: true
|
|
85
|
+
};
|
|
86
|
+
|
|
78
87
|
/**
|
|
79
88
|
* The description of the object content.
|
|
80
89
|
* @type {AttributeDefinition}
|
|
@@ -51,6 +51,10 @@ export const name_attribute: AttributeDefinition;
|
|
|
51
51
|
* @type {AttributeDefinition}
|
|
52
52
|
*/
|
|
53
53
|
export const email_attribute: AttributeDefinition;
|
|
54
|
+
/**
|
|
55
|
+
* @type {AttributeDefinition}
|
|
56
|
+
*/
|
|
57
|
+
export const version_attribute_writable: AttributeDefinition;
|
|
54
58
|
/**
|
|
55
59
|
* The description of the object content.
|
|
56
60
|
* @type {AttributeDefinition}
|