pacc 10.1.0 → 10.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
@@ -83,6 +83,7 @@ tokens "abc" "
83
83
  * [Properties](#properties-1)
84
84
  * [default\_attribute](#default_attribute)
85
85
  * [default\_attribute\_writable](#default_attribute_writable)
86
+ * [default\_collection\_attribute\_writable](#default_collection_attribute_writable)
86
87
  * [string\_attribute](#string_attribute)
87
88
  * [string\_attribute\_writable](#string_attribute_writable)
88
89
  * [string\_collection\_attribute](#string_collection_attribute)
@@ -281,9 +282,9 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
281
282
  ### Properties
282
283
 
283
284
  * `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
284
- * `type` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
285
- * `key` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
286
- * `writable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
285
+ * `type` **[Type](#type)** 
286
+ * `key` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** are we an identifying attribute
287
+ * `writable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** can this attribute be modified
287
288
  * `mandatory` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
288
289
  * `collection` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** are we a collection (set, map, array, object)
289
290
  * `owner` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** are we the owner of the value
@@ -314,6 +315,10 @@ Type: [AttributeDefinition](#attributedefinition)
314
315
 
315
316
  Type: [AttributeDefinition](#attributedefinition)
316
317
 
318
+ ## default\_collection\_attribute\_writable
319
+
320
+ Type: [AttributeDefinition](#attributedefinition)
321
+
317
322
  ## string\_attribute
318
323
 
319
324
  Type: [AttributeDefinition](#attributedefinition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "10.1.0",
3
+ "version": "10.2.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -9,7 +9,7 @@ import { types } from "./types.mjs";
9
9
  * @property {boolean} writable can this attribute be modified
10
10
  * @property {boolean} mandatory
11
11
  * @property {boolean} collection are we a collection (set, map, array, object)
12
- * @property {boolean} owner are we the owner of the value
12
+ * @property {AttributeDefinition} [backpointer]
13
13
  * @property {Function} [constructor] (collection) constructor
14
14
  * @property {boolean} [private] should the value be shown
15
15
  * @property {boolean} [credential] any type of credential
@@ -37,7 +37,6 @@ export const default_attribute = {
37
37
  writable: false,
38
38
  mandatory: false,
39
39
  collection: false,
40
- owner: true,
41
40
  persistent: false,
42
41
  private: false,
43
42
  credential: false,
@@ -55,7 +54,7 @@ export const default_attribute_writable = {
55
54
  /**
56
55
  * @type {AttributeDefinition}
57
56
  */
58
- export const default_collection_attribute_writeable = {
57
+ export const default_collection_attribute_writable = {
59
58
  ...default_attribute_writable,
60
59
  collection: true
61
60
  };
@@ -7,7 +7,7 @@
7
7
  * @property {boolean} writable can this attribute be modified
8
8
  * @property {boolean} mandatory
9
9
  * @property {boolean} collection are we a collection (set, map, array, object)
10
- * @property {boolean} owner are we the owner of the value
10
+ * @property {AttributeDefinition} [backpointer]
11
11
  * @property {Function} [constructor] (collection) constructor
12
12
  * @property {boolean} [private] should the value be shown
13
13
  * @property {boolean} [credential] any type of credential
@@ -37,7 +37,7 @@ export const default_attribute_writable: AttributeDefinition;
37
37
  /**
38
38
  * @type {AttributeDefinition}
39
39
  */
40
- export const default_collection_attribute_writeable: AttributeDefinition;
40
+ export const default_collection_attribute_writable: AttributeDefinition;
41
41
  /**
42
42
  * @type {AttributeDefinition}
43
43
  */
@@ -130,7 +130,7 @@ export namespace yesno_attribute_writable {
130
130
  export let key: boolean;
131
131
  export let mandatory: boolean;
132
132
  export let collection: boolean;
133
- export let owner: boolean;
133
+ export let backpointer: AttributeDefinition | undefined;
134
134
  export let constructor: Function | undefined;
135
135
  let _private: boolean | undefined;
136
136
  export { _private as private };
@@ -300,10 +300,7 @@ export type AttributeDefinition = {
300
300
  * are we a collection (set, map, array, object)
301
301
  */
302
302
  collection: boolean;
303
- /**
304
- * are we the owner of the value
305
- */
306
- owner: boolean;
303
+ backpointer?: AttributeDefinition | undefined;
307
304
  /**
308
305
  * (collection) constructor
309
306
  */