@onehat/data 1.22.16 → 1.22.17

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": "@onehat/data",
3
- "version": "1.22.16",
3
+ "version": "1.22.17",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -75,19 +75,19 @@ export default class Schema extends EventEmitter {
75
75
  * @member {string} parentIdProperty - name of parent_id Property (e.g. 'categories__parent_id' for Adjacency Lists, and parent_id for Closure Tables)
76
76
  * For trees only
77
77
  */
78
- parentIdProperty: null,
78
+ parentIdProperty: 'parentId',
79
79
 
80
80
  /**
81
81
  * @member {string} depthIdProperty - name of depth Property (e.g. 'categories__depth' for Adjacency Lists, and depth for Closure Tables)
82
82
  * For trees only
83
83
  */
84
- depthProperty: null,
84
+ depthProperty: 'depth',
85
85
 
86
86
  /**
87
87
  * @member {string} hasChildrenProperty - name of hasChildren Property (e.g. 'categories__has_children' for Adjacency Lists, and has_children for Closure Tables)
88
88
  * For trees only
89
89
  */
90
- hasChildrenProperty: null,
90
+ hasChildrenProperty: 'hasChildren',
91
91
 
92
92
  /**
93
93
  * @member {boolean} isAdjacencyList - Whether this tree is an Adjacency List