pacc 4.5.2 → 4.5.3

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
@@ -36,13 +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
+ * [string\_collection\_attribute\_writable](#string_collection_attribute_writable)
39
40
  * [name\_attribute](#name_attribute)
40
41
  * [email\_attribute](#email_attribute)
41
42
  * [description\_attribute](#description_attribute)
42
43
  * [state\_attribute](#state_attribute)
43
- * [boolean\_attribute\_writeable\_true](#boolean_attribute_writeable_true)
44
- * [boolean\_attribute\_writeable\_true](#boolean_attribute_writeable_true-1)
45
- * [boolean\_attribute\_writeable\_false](#boolean_attribute_writeable_false)
44
+ * [boolean\_attribute\_writable](#boolean_attribute_writable)
45
+ * [boolean\_attribute\_writable\_true](#boolean_attribute_writable_true)
46
+ * [boolean\_attribute\_writable\_true](#boolean_attribute_writable_true-1)
47
+ * [boolean\_attribute\_writable\_false](#boolean_attribute_writable_false)
46
48
  * [boolean\_attribute\_false](#boolean_attribute_false)
47
49
  * [empty\_attribute](#empty_attribute)
48
50
  * [uuid\_attribute](#uuid_attribute)
@@ -54,9 +56,12 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
54
56
  * [private\_key\_attribute](#private_key_attribute)
55
57
  * [public\_key\_attribute](#public_key_attribute)
56
58
  * [number\_attribute](#number_attribute)
59
+ * [number\_attribute](#number_attribute-1)
60
+ * [number\_attribute\_writable](#number_attribute_writable)
57
61
  * [integer\_attribute](#integer_attribute)
58
62
  * [integer\_attribute](#integer_attribute-1)
59
63
  * [integer\_attribute](#integer_attribute-2)
64
+ * [integer\_attribute\_writable](#integer_attribute_writable)
60
65
  * [object\_attribute](#object_attribute)
61
66
  * [url\_attribute](#url_attribute)
62
67
  * [hostname\_attribute](#hostname_attribute)
@@ -65,7 +70,6 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
65
70
  * [body\_attribute](#body_attribute)
66
71
  * [title\_attribute](#title_attribute)
67
72
  * [priority\_attribute](#priority_attribute)
68
- * [duration\_attribute](#duration_attribute)
69
73
  * [timeout\_attribute](#timeout_attribute)
70
74
  * [language\_attribute](#language_attribute)
71
75
  * [filter](#filter)
@@ -170,6 +174,10 @@ Type: [AttributeDefinition](#attributedefinition)
170
174
 
171
175
  Type: [AttributeDefinition](#attributedefinition)
172
176
 
177
+ ## string\_collection\_attribute\_writable
178
+
179
+ Type: [AttributeDefinition](#attributedefinition)
180
+
173
181
  ## name\_attribute
174
182
 
175
183
  Type: [AttributeDefinition](#attributedefinition)
@@ -188,15 +196,19 @@ Type: [AttributeDefinition](#attributedefinition)
188
196
 
189
197
  Type: [AttributeDefinition](#attributedefinition)
190
198
 
191
- ## boolean\_attribute\_writeable\_true
199
+ ## boolean\_attribute\_writable
200
+
201
+ Type: [AttributeDefinition](#attributedefinition)
202
+
203
+ ## boolean\_attribute\_writable\_true
192
204
 
193
205
  Type: [AttributeDefinition](#attributedefinition)
194
206
 
195
- ## boolean\_attribute\_writeable\_true
207
+ ## boolean\_attribute\_writable\_true
196
208
 
197
209
  Type: [AttributeDefinition](#attributedefinition)
198
210
 
199
- ## boolean\_attribute\_writeable\_false
211
+ ## boolean\_attribute\_writable\_false
200
212
 
201
213
  Type: [AttributeDefinition](#attributedefinition)
202
214
 
@@ -244,6 +256,14 @@ Type: [AttributeDefinition](#attributedefinition)
244
256
 
245
257
  Type: [AttributeDefinition](#attributedefinition)
246
258
 
259
+ ## number\_attribute
260
+
261
+ Type: [AttributeDefinition](#attributedefinition)
262
+
263
+ ## number\_attribute\_writable
264
+
265
+ Type: [AttributeDefinition](#attributedefinition)
266
+
247
267
  ## integer\_attribute
248
268
 
249
269
  Type: [AttributeDefinition](#attributedefinition)
@@ -256,6 +276,10 @@ Type: [AttributeDefinition](#attributedefinition)
256
276
 
257
277
  Type: [AttributeDefinition](#attributedefinition)
258
278
 
279
+ ## integer\_attribute\_writable
280
+
281
+ Type: [AttributeDefinition](#attributedefinition)
282
+
259
283
  ## object\_attribute
260
284
 
261
285
  Type: [AttributeDefinition](#attributedefinition)
@@ -297,10 +321,6 @@ this defines the order.
297
321
 
298
322
  Type: [AttributeDefinition](#attributedefinition)
299
323
 
300
- ## duration\_attribute
301
-
302
- Type: [AttributeDefinition](#attributedefinition)
303
-
304
324
  ## timeout\_attribute
305
325
 
306
326
  Type: [AttributeDefinition](#attributedefinition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "4.5.2",
3
+ "version": "4.5.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -28,11 +28,24 @@ export const default_attribute = {
28
28
  isKey: false
29
29
  };
30
30
 
31
+ /**
32
+ * @type {AttributeDefinition}
33
+ */
34
+ export const default_attribute_writable = {
35
+ ...default_attribute,
36
+ writable: true
37
+ };
38
+
31
39
  /**
32
40
  * @type {AttributeDefinition}
33
41
  */
34
42
  export { default_attribute as string_attribute };
35
43
 
44
+ /**
45
+ * @type {AttributeDefinition}
46
+ */
47
+ export { default_attribute_writable as string_attribute_writable };
48
+
36
49
  export const string_collection_attribute = {
37
50
  ...default_attribute,
38
51
  collection: true
@@ -67,9 +80,8 @@ export const email_attribute = {
67
80
  * @type {AttributeDefinition}
68
81
  */
69
82
  export const description_attribute = {
70
- ...default_attribute,
71
- description: "human readable description",
72
- writable: true
83
+ ...default_attribute_writable,
84
+ description: "human readable description"
73
85
  };
74
86
 
75
87
  /**
@@ -80,18 +92,14 @@ export { default_attribute as type_attribute };
80
92
  /**
81
93
  * @type {AttributeDefinition}
82
94
  */
83
- export const state_attribute = {
84
- ...default_attribute,
85
- writable: true
86
- };
95
+ export { default_attribute_writable as state_attribute };
87
96
 
88
97
  /**
89
98
  * @type {AttributeDefinition}
90
99
  */
91
100
  export const boolean_attribute_writable = {
92
- ...default_attribute,
93
- type: "boolean",
94
- writable: true,
101
+ ...default_attribute_writable,
102
+ type: "boolean"
95
103
  };
96
104
 
97
105
  /**
@@ -145,65 +153,47 @@ export const uuid_attribute = {
145
153
  * @type {AttributeDefinition}
146
154
  */
147
155
  export const secret_attribute = {
148
- ...default_attribute,
149
- private: true,
150
- writable: true
156
+ ...default_attribute_writable,
157
+ private: true
151
158
  };
152
159
 
153
160
  /**
154
161
  * @type {AttributeDefinition}
155
162
  */
156
- export const username_attribute = {
157
- ...default_attribute,
158
- private: true,
159
- writable: true
160
- };
163
+ export { secret_attribute as username_attribute };
161
164
 
162
165
  /**
163
166
  * @type {AttributeDefinition}
164
167
  */
165
- export const password_attribute = {
166
- ...default_attribute,
167
- private: true,
168
- writable: true
169
- };
168
+ export { secret_attribute as password_attribute };
169
+
170
170
 
171
171
  /**
172
172
  * @type {AttributeDefinition}
173
173
  */
174
- export const token_attribute = {
175
- ...default_attribute,
176
- private: true,
177
- writable: true
178
- };
174
+ export { secret_attribute as token_attribute };
179
175
 
180
176
  /**
181
177
  * @type {AttributeDefinition}
182
178
  */
183
- export const certificate_attribute = {
184
- ...default_attribute,
185
- private: true,
186
- writable: true
187
- };
179
+ export { secret_attribute as certificate_attribute };
188
180
 
189
181
  /**
190
182
  * @type {AttributeDefinition}
191
183
  */
192
184
  export const private_key_attribute = {
193
- ...default_attribute,
185
+ ...default_attribute_writable,
194
186
  description: "private key",
195
- private: true,
196
- writable: true
187
+ private: true
197
188
  };
198
189
 
199
190
  /**
200
191
  * @type {AttributeDefinition}
201
192
  */
202
193
  export const public_key_attribute = {
203
- ...default_attribute,
194
+ ...default_attribute_writable,
204
195
  description: "public key",
205
- private: true,
206
- writable: true
196
+ private: true
207
197
  };
208
198
 
209
199
  /**
@@ -286,10 +276,7 @@ export const id_attribute = {
286
276
  * The body text.
287
277
  * @type {AttributeDefinition}
288
278
  */
289
- export const body_attribute = {
290
- ...default_attribute,
291
- writable: true
292
- };
279
+ export { default_attribute_writable as body_attribute };
293
280
 
294
281
  /**
295
282
  * The one line description.
@@ -19,6 +19,10 @@
19
19
  * @type {AttributeDefinition}
20
20
  */
21
21
  export const default_attribute: AttributeDefinition;
22
+ /**
23
+ * @type {AttributeDefinition}
24
+ */
25
+ export const default_attribute_writable: AttributeDefinition;
22
26
  export namespace string_collection_attribute {
23
27
  export let collection: boolean;
24
28
  export let type: string;
@@ -52,10 +56,6 @@ export const email_attribute: AttributeDefinition;
52
56
  * @type {AttributeDefinition}
53
57
  */
54
58
  export const description_attribute: AttributeDefinition;
55
- /**
56
- * @type {AttributeDefinition}
57
- */
58
- export const state_attribute: AttributeDefinition;
59
59
  /**
60
60
  * @type {AttributeDefinition}
61
61
  */
@@ -84,22 +84,6 @@ export const uuid_attribute: AttributeDefinition;
84
84
  * @type {AttributeDefinition}
85
85
  */
86
86
  export const secret_attribute: AttributeDefinition;
87
- /**
88
- * @type {AttributeDefinition}
89
- */
90
- export const username_attribute: AttributeDefinition;
91
- /**
92
- * @type {AttributeDefinition}
93
- */
94
- export const password_attribute: AttributeDefinition;
95
- /**
96
- * @type {AttributeDefinition}
97
- */
98
- export const token_attribute: AttributeDefinition;
99
- /**
100
- * @type {AttributeDefinition}
101
- */
102
- export const certificate_attribute: AttributeDefinition;
103
87
  /**
104
88
  * @type {AttributeDefinition}
105
89
  */
@@ -145,11 +129,6 @@ export const port_attribute: AttributeDefinition;
145
129
  * @type {AttributeDefinition}
146
130
  */
147
131
  export const id_attribute: AttributeDefinition;
148
- /**
149
- * The body text.
150
- * @type {AttributeDefinition}
151
- */
152
- export const body_attribute: AttributeDefinition;
153
132
  /**
154
133
  * The one line description.
155
134
  * @type {AttributeDefinition}
@@ -204,4 +183,4 @@ export type AttributeDefinition = {
204
183
  */
205
184
  env?: string[] | string;
206
185
  };
207
- export { default_attribute as string_attribute, default_attribute as type_attribute, boolean_attribute_writable_false as boolean_attribute, boolean_attribute_writable_true as active_attribute, integer_attribute as count_attribute, integer_attribute as size_attribute, number_attribute as duration_attribute };
186
+ export { default_attribute as string_attribute, default_attribute_writable as string_attribute_writable, default_attribute as type_attribute, default_attribute_writable as state_attribute, boolean_attribute_writable_false as boolean_attribute, boolean_attribute_writable_true as active_attribute, secret_attribute as username_attribute, secret_attribute as password_attribute, secret_attribute as token_attribute, secret_attribute as certificate_attribute, integer_attribute as count_attribute, integer_attribute as size_attribute, default_attribute_writable as body_attribute, number_attribute as duration_attribute };