@blaze-cms/react-page-builder 0.146.0-node18-core-styles.2 → 0.146.0-node18-core-styles.3
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/CHANGELOG.md +11 -0
- package/lib/helpers/build-query-fields.js +1 -1
- package/lib/helpers/build-query-fields.js.map +1 -1
- package/lib-es/helpers/build-query-fields.js +1 -1
- package/lib-es/helpers/build-query-fields.js.map +1 -1
- package/package.json +2 -2
- package/src/helpers/build-query-fields.js +1 -1
- package/tests/unit/src/helpers/__snapshots__/build-query-fields.test.js.snap +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.146.0-node18-core-styles.3](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles.2...v0.146.0-node18-core-styles.3) (2025-05-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* permission should be returned when returnPermission=true ([#4775](https://github.com/thebyte9/blaze/issues/4775)) ([5f9f903](https://github.com/thebyte9/blaze/commit/5f9f90341c871d9dc76b035b7511e71cb7f964fe))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.146.0-node18-core-styles.2](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles.1...v0.146.0-node18-core-styles.2) (2025-05-16)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -10,7 +10,7 @@ require("core-js/modules/es.array.map.js");
|
|
|
10
10
|
require("core-js/modules/es.object.to-string.js");
|
|
11
11
|
var buildQueryFields = function buildQueryFields(sanitizedEntityFields, entityTypes, isFull) {
|
|
12
12
|
return "results {\n ".concat(entityTypes.map(function (entityType) {
|
|
13
|
-
return "\n ... on ".concat(entityType, " {\n ").concat(sanitizedEntityFields, "\n __typename\n id\n
|
|
13
|
+
return "\n ... on ".concat(entityType, " {\n ").concat(sanitizedEntityFields, "\n __typename\n id\n ").concat(isFull ? 'pageBuilderComponents: preparedPageBuilderComponents' : '', "\n }");
|
|
14
14
|
}), "\n },\n total\n ");
|
|
15
15
|
};
|
|
16
16
|
var _default = exports["default"] = buildQueryFields;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-query-fields.js","names":["buildQueryFields","sanitizedEntityFields","entityTypes","isFull","concat","map","entityType","_default","exports"],"sources":["../../src/helpers/build-query-fields.js"],"sourcesContent":["const buildQueryFields = (sanitizedEntityFields, entityTypes, isFull) =>\n `results {\n ${entityTypes.map(\n entityType => `\n ... on ${entityType} {\n ${sanitizedEntityFields}\n __typename\n id\n
|
|
1
|
+
{"version":3,"file":"build-query-fields.js","names":["buildQueryFields","sanitizedEntityFields","entityTypes","isFull","concat","map","entityType","_default","exports"],"sources":["../../src/helpers/build-query-fields.js"],"sourcesContent":["const buildQueryFields = (sanitizedEntityFields, entityTypes, isFull) =>\n `results {\n ${entityTypes.map(\n entityType => `\n ... on ${entityType} {\n ${sanitizedEntityFields}\n __typename\n id\n ${isFull ? 'pageBuilderComponents: preparedPageBuilderComponents' : ''}\n }`\n )}\n },\n total\n `;\n\nexport default buildQueryFields;\n"],"mappings":";;;;;;;;;;AAAA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,qBAAqB,EAAEC,WAAW,EAAEC,MAAM;EAAA,yBAAAC,MAAA,CAE9DF,WAAW,CAACG,GAAG,CACf,UAAAC,UAAU;IAAA,uBAAAF,MAAA,CACHE,UAAU,gBAAAF,MAAA,CACfH,qBAAqB,yCAAAG,MAAA,CAGtBD,MAAM,GAAG,sDAAsD,GAAG,EAAE;EAAA,CAEvE,CAAC;AAAA,CAGF;AAAC,IAAAI,QAAA,GAAAC,OAAA,cAEWR,gBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-query-fields.js","names":["buildQueryFields","sanitizedEntityFields","entityTypes","isFull","map","entityType"],"sources":["../../src/helpers/build-query-fields.js"],"sourcesContent":["const buildQueryFields = (sanitizedEntityFields, entityTypes, isFull) =>\n `results {\n ${entityTypes.map(\n entityType => `\n ... on ${entityType} {\n ${sanitizedEntityFields}\n __typename\n id\n
|
|
1
|
+
{"version":3,"file":"build-query-fields.js","names":["buildQueryFields","sanitizedEntityFields","entityTypes","isFull","map","entityType"],"sources":["../../src/helpers/build-query-fields.js"],"sourcesContent":["const buildQueryFields = (sanitizedEntityFields, entityTypes, isFull) =>\n `results {\n ${entityTypes.map(\n entityType => `\n ... on ${entityType} {\n ${sanitizedEntityFields}\n __typename\n id\n ${isFull ? 'pageBuilderComponents: preparedPageBuilderComponents' : ''}\n }`\n )}\n },\n total\n `;\n\nexport default buildQueryFields;\n"],"mappings":"AAAA,MAAMA,gBAAgB,GAAGA,CAACC,qBAAqB,EAAEC,WAAW,EAAEC,MAAM,KAClE;AACF,MAAMD,WAAW,CAACE,GAAG,CACfC,UAAU,IAAI;AACpB,aAAaA,UAAU;AACvB,QAAQJ,qBAAqB;AAC7B;AACA;AACA,OAAOE,MAAM,GAAG,sDAAsD,GAAG,EAAE;AAC3E,MACI,CAAC;AACL;AACA;AACA,GAAG;AAEH,eAAeH,gBAAgB","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blaze-cms/react-page-builder",
|
|
3
|
-
"version": "0.146.0-node18-core-styles.
|
|
3
|
+
"version": "0.146.0-node18-core-styles.3",
|
|
4
4
|
"description": "Blaze react page builder",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-es/index.js",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"lib/*",
|
|
92
92
|
"lib-es/*"
|
|
93
93
|
],
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "8e8b72f9aceac198ed183ebdffedd8e1798e2c50"
|
|
95
95
|
}
|
|
@@ -7,7 +7,7 @@ exports[`build query field should return a string with additional field if list
|
|
|
7
7
|
name,category{name}
|
|
8
8
|
__typename
|
|
9
9
|
id
|
|
10
|
-
|
|
10
|
+
pageBuilderComponents: preparedPageBuilderComponents
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
total
|
|
@@ -21,7 +21,7 @@ exports[`build query field should return a string with correct data 1`] = `
|
|
|
21
21
|
name,category{name}
|
|
22
22
|
__typename
|
|
23
23
|
id
|
|
24
|
-
|
|
24
|
+
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
total
|