pacc 10.1.1 → 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 +8 -3
- package/package.json +1 -1
- package/src/common-attributes.mjs +1 -2
- package/types/common-attributes.d.mts +3 -6
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` **[
|
|
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
|
@@ -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 {
|
|
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,
|
|
@@ -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 {
|
|
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
|
|
@@ -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
|
|
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
|
*/
|