pacc 4.5.3 → 4.7.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 +35 -20
- package/package.json +3 -3
- package/src/common-attributes.mjs +17 -0
- package/types/common-attributes.d.mts +8 -0
package/README.md
CHANGED
|
@@ -36,11 +36,15 @@ 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)
|
|
46
|
+
* [version\_attribute\_writable](#version_attribute_writable)
|
|
42
47
|
* [description\_attribute](#description_attribute)
|
|
43
|
-
* [state\_attribute](#state_attribute)
|
|
44
48
|
* [boolean\_attribute\_writable](#boolean_attribute_writable)
|
|
45
49
|
* [boolean\_attribute\_writable\_true](#boolean_attribute_writable_true)
|
|
46
50
|
* [boolean\_attribute\_writable\_true](#boolean_attribute_writable_true-1)
|
|
@@ -49,10 +53,10 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
49
53
|
* [empty\_attribute](#empty_attribute)
|
|
50
54
|
* [uuid\_attribute](#uuid_attribute)
|
|
51
55
|
* [secret\_attribute](#secret_attribute)
|
|
52
|
-
* [
|
|
53
|
-
* [
|
|
54
|
-
* [
|
|
55
|
-
* [
|
|
56
|
+
* [secret\_attribute](#secret_attribute-1)
|
|
57
|
+
* [secret\_attribute](#secret_attribute-2)
|
|
58
|
+
* [secret\_attribute](#secret_attribute-3)
|
|
59
|
+
* [secret\_attribute](#secret_attribute-4)
|
|
56
60
|
* [private\_key\_attribute](#private_key_attribute)
|
|
57
61
|
* [public\_key\_attribute](#public_key_attribute)
|
|
58
62
|
* [number\_attribute](#number_attribute)
|
|
@@ -67,7 +71,6 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
|
|
|
67
71
|
* [hostname\_attribute](#hostname_attribute)
|
|
68
72
|
* [port\_attribute](#port_attribute)
|
|
69
73
|
* [id\_attribute](#id_attribute)
|
|
70
|
-
* [body\_attribute](#body_attribute)
|
|
71
74
|
* [title\_attribute](#title_attribute)
|
|
72
75
|
* [priority\_attribute](#priority_attribute)
|
|
73
76
|
* [timeout\_attribute](#timeout_attribute)
|
|
@@ -174,6 +177,24 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
174
177
|
|
|
175
178
|
Type: [AttributeDefinition](#attributedefinition)
|
|
176
179
|
|
|
180
|
+
## default\_attribute\_writable
|
|
181
|
+
|
|
182
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
183
|
+
|
|
184
|
+
## default\_attribute\_writable
|
|
185
|
+
|
|
186
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
187
|
+
|
|
188
|
+
## default\_attribute\_writable
|
|
189
|
+
|
|
190
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
191
|
+
|
|
192
|
+
## default\_attribute\_writable
|
|
193
|
+
|
|
194
|
+
The body text.
|
|
195
|
+
|
|
196
|
+
Type: [AttributeDefinition](#attributedefinition)
|
|
197
|
+
|
|
177
198
|
## string\_collection\_attribute\_writable
|
|
178
199
|
|
|
179
200
|
Type: [AttributeDefinition](#attributedefinition)
|
|
@@ -186,13 +207,13 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
186
207
|
|
|
187
208
|
Type: [AttributeDefinition](#attributedefinition)
|
|
188
209
|
|
|
189
|
-
##
|
|
190
|
-
|
|
191
|
-
The description of the object content.
|
|
210
|
+
## version\_attribute\_writable
|
|
192
211
|
|
|
193
212
|
Type: [AttributeDefinition](#attributedefinition)
|
|
194
213
|
|
|
195
|
-
##
|
|
214
|
+
## description\_attribute
|
|
215
|
+
|
|
216
|
+
The description of the object content.
|
|
196
217
|
|
|
197
218
|
Type: [AttributeDefinition](#attributedefinition)
|
|
198
219
|
|
|
@@ -228,19 +249,19 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
228
249
|
|
|
229
250
|
Type: [AttributeDefinition](#attributedefinition)
|
|
230
251
|
|
|
231
|
-
##
|
|
252
|
+
## secret\_attribute
|
|
232
253
|
|
|
233
254
|
Type: [AttributeDefinition](#attributedefinition)
|
|
234
255
|
|
|
235
|
-
##
|
|
256
|
+
## secret\_attribute
|
|
236
257
|
|
|
237
258
|
Type: [AttributeDefinition](#attributedefinition)
|
|
238
259
|
|
|
239
|
-
##
|
|
260
|
+
## secret\_attribute
|
|
240
261
|
|
|
241
262
|
Type: [AttributeDefinition](#attributedefinition)
|
|
242
263
|
|
|
243
|
-
##
|
|
264
|
+
## secret\_attribute
|
|
244
265
|
|
|
245
266
|
Type: [AttributeDefinition](#attributedefinition)
|
|
246
267
|
|
|
@@ -302,12 +323,6 @@ Unique id within.
|
|
|
302
323
|
|
|
303
324
|
Type: [AttributeDefinition](#attributedefinition)
|
|
304
325
|
|
|
305
|
-
## body\_attribute
|
|
306
|
-
|
|
307
|
-
The body text.
|
|
308
|
-
|
|
309
|
-
Type: [AttributeDefinition](#attributedefinition)
|
|
310
|
-
|
|
311
326
|
## title\_attribute
|
|
312
327
|
|
|
313
328
|
The one line description.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pacc",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -38,10 +38,10 @@
|
|
|
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
|
-
"node": ">=22.
|
|
44
|
+
"node": ">=22.18.0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
@@ -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}
|
|
@@ -246,6 +255,14 @@ export const url_attribute = {
|
|
|
246
255
|
description: "home of the object"
|
|
247
256
|
};
|
|
248
257
|
|
|
258
|
+
/**
|
|
259
|
+
* @type {AttributeDefinition}
|
|
260
|
+
*/
|
|
261
|
+
export const url_attribute_writble = {
|
|
262
|
+
...url_attribute,
|
|
263
|
+
writable: true
|
|
264
|
+
};
|
|
265
|
+
|
|
249
266
|
/**
|
|
250
267
|
* @type {AttributeDefinition}
|
|
251
268
|
*/
|
|
@@ -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}
|
|
@@ -116,6 +120,10 @@ export const object_attribute: AttributeDefinition;
|
|
|
116
120
|
* @type {AttributeDefinition}
|
|
117
121
|
*/
|
|
118
122
|
export const url_attribute: AttributeDefinition;
|
|
123
|
+
/**
|
|
124
|
+
* @type {AttributeDefinition}
|
|
125
|
+
*/
|
|
126
|
+
export const url_attribute_writble: AttributeDefinition;
|
|
119
127
|
/**
|
|
120
128
|
* @type {AttributeDefinition}
|
|
121
129
|
*/
|