pacc 3.1.4 → 3.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
package/src/attribute.mjs CHANGED
@@ -8,7 +8,7 @@
8
8
  * @property {boolean} [private] should the value be shown
9
9
  * @property {string} [depends] name of an attribute we depend on
10
10
  * @property {string[]} additionalAttributes extra attributes that are present in case our attribute is set
11
- * @property {string} description human readable
11
+ * @property {string} [description| human readable
12
12
  * @property {any} [default] the default value
13
13
  * @property {Function} [set] set the value
14
14
  * @property {Function} [get] get the value can be used to calculate default values
@@ -41,9 +41,9 @@ export type AttributeDefinition = {
41
41
  */
42
42
  additionalAttributes: string[];
43
43
  /**
44
- * human readable
44
+ * | human readable
45
45
  */
46
- description: string;
46
+ description?: string;
47
47
  /**
48
48
  * the default value
49
49
  */