pacc 4.1.1 → 4.2.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
@@ -35,6 +35,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
35
35
  * [Properties](#properties)
36
36
  * [default\_attribute](#default_attribute)
37
37
  * [default\_attribute](#default_attribute-1)
38
+ * [default\_attribute](#default_attribute-2)
38
39
  * [name\_attribute](#name_attribute)
39
40
  * [email\_attribute](#email_attribute)
40
41
  * [description\_attribute](#description_attribute)
@@ -42,9 +43,9 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
42
43
  * [boolean\_attribute\_writeable\_true](#boolean_attribute_writeable_true)
43
44
  * [boolean\_attribute\_writeable\_true](#boolean_attribute_writeable_true-1)
44
45
  * [boolean\_attribute\_writeable\_false](#boolean_attribute_writeable_false)
46
+ * [boolean\_attribute\_writeable\_false](#boolean_attribute_writeable_false-1)
45
47
  * [boolean\_attribute\_false](#boolean_attribute_false)
46
48
  * [uuid\_attribute](#uuid_attribute)
47
- * [empty\_attribute](#empty_attribute)
48
49
  * [secret\_attribute](#secret_attribute)
49
50
  * [username\_attribute](#username_attribute)
50
51
  * [password\_attribute](#password_attribute)
@@ -52,6 +53,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
52
53
  * [certificate\_attribute](#certificate_attribute)
53
54
  * [private\_key\_attribute](#private_key_attribute)
54
55
  * [public\_key\_attribute](#public_key_attribute)
56
+ * [number\_attribute](#number_attribute)
55
57
  * [integer\_attribute](#integer_attribute)
56
58
  * [integer\_attribute](#integer_attribute-1)
57
59
  * [integer\_attribute](#integer_attribute-2)
@@ -162,6 +164,10 @@ Type: [AttributeDefinition](#attributedefinition)
162
164
 
163
165
  Type: [AttributeDefinition](#attributedefinition)
164
166
 
167
+ ## default\_attribute
168
+
169
+ Type: [AttributeDefinition](#attributedefinition)
170
+
165
171
  ## name\_attribute
166
172
 
167
173
  Type: [AttributeDefinition](#attributedefinition)
@@ -192,15 +198,15 @@ Type: [AttributeDefinition](#attributedefinition)
192
198
 
193
199
  Type: [AttributeDefinition](#attributedefinition)
194
200
 
195
- ## boolean\_attribute\_false
201
+ ## boolean\_attribute\_writeable\_false
196
202
 
197
203
  Type: [AttributeDefinition](#attributedefinition)
198
204
 
199
- ## uuid\_attribute
205
+ ## boolean\_attribute\_false
200
206
 
201
207
  Type: [AttributeDefinition](#attributedefinition)
202
208
 
203
- ## empty\_attribute
209
+ ## uuid\_attribute
204
210
 
205
211
  Type: [AttributeDefinition](#attributedefinition)
206
212
 
@@ -232,6 +238,10 @@ Type: [AttributeDefinition](#attributedefinition)
232
238
 
233
239
  Type: [AttributeDefinition](#attributedefinition)
234
240
 
241
+ ## number\_attribute
242
+
243
+ Type: [AttributeDefinition](#attributedefinition)
244
+
235
245
  ## integer\_attribute
236
246
 
237
247
  Type: [AttributeDefinition](#attributedefinition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -33,6 +33,11 @@ export const default_attribute = {
33
33
  */
34
34
  export { default_attribute as string_attribute };
35
35
 
36
+ export const string_collection_attribute = {
37
+ ...default_attribute,
38
+ collection: true
39
+ }
40
+
36
41
  /**
37
42
  * @type {AttributeDefinition}
38
43
  */
@@ -227,7 +232,7 @@ export const hostname_attribute = {
227
232
  */
228
233
  export const port_attribute = {
229
234
  ...integer_attribute,
230
- description: "port"
235
+ description: "ip port"
231
236
  };
232
237
 
233
238
  /**
@@ -237,7 +242,7 @@ export const port_attribute = {
237
242
  export const id_attribute = {
238
243
  ...default_attribute,
239
244
  isKey: true,
240
- description: "internal identifier"
245
+ description: "identifier"
241
246
  };
242
247
 
243
248
  /**
@@ -19,6 +19,22 @@
19
19
  * @type {AttributeDefinition}
20
20
  */
21
21
  export const default_attribute: AttributeDefinition;
22
+ export namespace string_collection_attribute {
23
+ export let collection: boolean;
24
+ export let type: string;
25
+ export let isKey: boolean;
26
+ export let writable: boolean;
27
+ export let mandatory: boolean;
28
+ let _private: boolean;
29
+ export { _private as private };
30
+ export let depends: string;
31
+ export let description: string;
32
+ let _default: any;
33
+ export { _default as default };
34
+ export let set: Function;
35
+ export let get: Function;
36
+ export let env: string[] | string;
37
+ }
22
38
  /**
23
39
  * @type {AttributeDefinition}
24
40
  */