@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 +1 -1
- package/src/Schema/Schema.js +3 -3
package/package.json
CHANGED
package/src/Schema/Schema.js
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
90
|
+
hasChildrenProperty: 'hasChildren',
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* @member {boolean} isAdjacencyList - Whether this tree is an Adjacency List
|