@jahia/data-helper 1.0.3 → 1.0.4
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _templateObject20() {
|
|
2
|
-
var data = _taggedTemplateLiteral(["fragment NodeInfoResourceNode on JCRNode {\n resourceChildren: children(names: [\"jcr:content\"]) {\n nodes {\n mimeType: property(name: \"jcr:mimeType\") {\n value\n }\n }\n }\n }"]);
|
|
2
|
+
var data = _taggedTemplateLiteral(["fragment NodeInfoResourceNode on JCRNode {\n resourceChildren: children(names: [\"jcr:content\"]) {\n nodes {\n ...NodeCacheRequiredFields\n mimeType: property(name: \"jcr:mimeType\") {\n value\n }\n }\n }\n }"]);
|
|
3
3
|
|
|
4
4
|
_templateObject20 = function _templateObject20() {
|
|
5
5
|
return data;
|
|
@@ -29,7 +29,7 @@ function _templateObject18() {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
function _templateObject17() {
|
|
32
|
-
var data = _taggedTemplateLiteral(["fragment NodeCacheRequiredFields on JCRNode {\n uuid\n workspace\n path\n
|
|
32
|
+
var data = _taggedTemplateLiteral(["fragment NodeCacheRequiredFields on JCRNode {\n uuid\n workspace\n path\n }"]);
|
|
33
33
|
|
|
34
34
|
_templateObject17 = function _templateObject17() {
|
|
35
35
|
return data;
|
|
@@ -39,7 +39,7 @@ function _templateObject17() {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
function _templateObject16() {
|
|
42
|
-
var data = _taggedTemplateLiteral(["fragment NodeSiteHomePage on JCRNode {\n children(typesFilter:{types:[\"jnt:page\"]}, propertiesFilter:{filters:[{property:\"j:isHomePage\", value:\"true\" }]}) {\n nodes {\n path\n }\n }\n }"]);
|
|
42
|
+
var data = _taggedTemplateLiteral(["fragment NodeSiteHomePage on JCRNode {\n children(typesFilter:{types:[\"jnt:page\"]}, propertiesFilter:{filters:[{property:\"j:isHomePage\", value:\"true\" }]}) {\n nodes {\n path\n ...NodeCacheRequiredFields\n }\n }\n }"]);
|
|
43
43
|
|
|
44
44
|
_templateObject16 = function _templateObject16() {
|
|
45
45
|
return data;
|
|
@@ -49,7 +49,7 @@ function _templateObject16() {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
function _templateObject15() {
|
|
52
|
-
var data = _taggedTemplateLiteral(["fragment ContentRestriction on JCRNode {\n contributeTypes: property(name: \"j:contributeTypes\") {\n values\n }\n ancestors(fieldFilter: {filters: {evaluation: NOT_EMPTY, fieldName: \"contributeTypes\"}}) {\n contributeTypes : property(name: \"j:contributeTypes\") {\n values\n }\n }\n }"]);
|
|
52
|
+
var data = _taggedTemplateLiteral(["fragment ContentRestriction on JCRNode {\n contributeTypes: property(name: \"j:contributeTypes\") {\n values\n }\n ancestors(fieldFilter: {filters: {evaluation: NOT_EMPTY, fieldName: \"contributeTypes\"}}) {\n ...NodeCacheRequiredFields\n contributeTypes : property(name: \"j:contributeTypes\") {\n values\n }\n }\n }"]);
|
|
53
53
|
|
|
54
54
|
_templateObject15 = function _templateObject15() {
|
|
55
55
|
return data;
|
|
@@ -89,7 +89,7 @@ function _templateObject12() {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
function _templateObject11() {
|
|
92
|
-
var data = _taggedTemplateLiteral(["fragment DisplayableNodePath on JCRNode {\n displayableNode {\n path\n }\n }"]);
|
|
92
|
+
var data = _taggedTemplateLiteral(["fragment DisplayableNodePath on JCRNode {\n displayableNode {\n path\n ...NodeCacheRequiredFields\n }\n }"]);
|
|
93
93
|
|
|
94
94
|
_templateObject11 = function _templateObject11() {
|
|
95
95
|
return data;
|
|
@@ -169,7 +169,7 @@ function _templateObject4() {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
function _templateObject3() {
|
|
172
|
-
var data = _taggedTemplateLiteral(["fragment ParentNodeInfo on JCRNode {\n parent {\n path\n name\n }\n }"]);
|
|
172
|
+
var data = _taggedTemplateLiteral(["fragment ParentNodeInfo on JCRNode {\n parent {\n path\n name\n ...NodeCacheRequiredFields\n }\n }"]);
|
|
173
173
|
|
|
174
174
|
_templateObject3 = function _templateObject3() {
|
|
175
175
|
return data;
|
|
@@ -10,7 +10,7 @@ var _graphqlTag = _interopRequireDefault(require("graphql-tag"));
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
11
|
|
|
12
12
|
function _templateObject20() {
|
|
13
|
-
var data = _taggedTemplateLiteral(["fragment NodeInfoResourceNode on JCRNode {\n resourceChildren: children(names: [\"jcr:content\"]) {\n nodes {\n mimeType: property(name: \"jcr:mimeType\") {\n value\n }\n }\n }\n }"]);
|
|
13
|
+
var data = _taggedTemplateLiteral(["fragment NodeInfoResourceNode on JCRNode {\n resourceChildren: children(names: [\"jcr:content\"]) {\n nodes {\n ...NodeCacheRequiredFields\n mimeType: property(name: \"jcr:mimeType\") {\n value\n }\n }\n }\n }"]);
|
|
14
14
|
|
|
15
15
|
_templateObject20 = function _templateObject20() {
|
|
16
16
|
return data;
|
|
@@ -40,7 +40,7 @@ function _templateObject18() {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
function _templateObject17() {
|
|
43
|
-
var data = _taggedTemplateLiteral(["fragment NodeCacheRequiredFields on JCRNode {\n uuid\n workspace\n path\n
|
|
43
|
+
var data = _taggedTemplateLiteral(["fragment NodeCacheRequiredFields on JCRNode {\n uuid\n workspace\n path\n }"]);
|
|
44
44
|
|
|
45
45
|
_templateObject17 = function _templateObject17() {
|
|
46
46
|
return data;
|
|
@@ -50,7 +50,7 @@ function _templateObject17() {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
function _templateObject16() {
|
|
53
|
-
var data = _taggedTemplateLiteral(["fragment NodeSiteHomePage on JCRNode {\n children(typesFilter:{types:[\"jnt:page\"]}, propertiesFilter:{filters:[{property:\"j:isHomePage\", value:\"true\" }]}) {\n nodes {\n path\n }\n }\n }"]);
|
|
53
|
+
var data = _taggedTemplateLiteral(["fragment NodeSiteHomePage on JCRNode {\n children(typesFilter:{types:[\"jnt:page\"]}, propertiesFilter:{filters:[{property:\"j:isHomePage\", value:\"true\" }]}) {\n nodes {\n path\n ...NodeCacheRequiredFields\n }\n }\n }"]);
|
|
54
54
|
|
|
55
55
|
_templateObject16 = function _templateObject16() {
|
|
56
56
|
return data;
|
|
@@ -60,7 +60,7 @@ function _templateObject16() {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
function _templateObject15() {
|
|
63
|
-
var data = _taggedTemplateLiteral(["fragment ContentRestriction on JCRNode {\n contributeTypes: property(name: \"j:contributeTypes\") {\n values\n }\n ancestors(fieldFilter: {filters: {evaluation: NOT_EMPTY, fieldName: \"contributeTypes\"}}) {\n contributeTypes : property(name: \"j:contributeTypes\") {\n values\n }\n }\n }"]);
|
|
63
|
+
var data = _taggedTemplateLiteral(["fragment ContentRestriction on JCRNode {\n contributeTypes: property(name: \"j:contributeTypes\") {\n values\n }\n ancestors(fieldFilter: {filters: {evaluation: NOT_EMPTY, fieldName: \"contributeTypes\"}}) {\n ...NodeCacheRequiredFields\n contributeTypes : property(name: \"j:contributeTypes\") {\n values\n }\n }\n }"]);
|
|
64
64
|
|
|
65
65
|
_templateObject15 = function _templateObject15() {
|
|
66
66
|
return data;
|
|
@@ -100,7 +100,7 @@ function _templateObject12() {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
function _templateObject11() {
|
|
103
|
-
var data = _taggedTemplateLiteral(["fragment DisplayableNodePath on JCRNode {\n displayableNode {\n path\n }\n }"]);
|
|
103
|
+
var data = _taggedTemplateLiteral(["fragment DisplayableNodePath on JCRNode {\n displayableNode {\n path\n ...NodeCacheRequiredFields\n }\n }"]);
|
|
104
104
|
|
|
105
105
|
_templateObject11 = function _templateObject11() {
|
|
106
106
|
return data;
|
|
@@ -180,7 +180,7 @@ function _templateObject4() {
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
function _templateObject3() {
|
|
183
|
-
var data = _taggedTemplateLiteral(["fragment ParentNodeInfo on JCRNode {\n parent {\n path\n name\n }\n }"]);
|
|
183
|
+
var data = _taggedTemplateLiteral(["fragment ParentNodeInfo on JCRNode {\n parent {\n path\n name\n ...NodeCacheRequiredFields\n }\n }"]);
|
|
184
184
|
|
|
185
185
|
_templateObject3 = function _templateObject3() {
|
|
186
186
|
return data;
|