kuzzle 2.56.0-beta.1 → 2.56.0-beta.2
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.
|
@@ -175,9 +175,13 @@ class DocumentController extends NativeController {
|
|
|
175
175
|
const format = request.getString("format", "jsonl");
|
|
176
176
|
const separator = request.getString("separator", ",");
|
|
177
177
|
const query = request.getObjectFromBodyOrArgs("query", {});
|
|
178
|
+
const collapse = request.getObjectFromBodyOrArgs("collapse");
|
|
178
179
|
const fields = request.getArrayFromBodyOrArgs("fields", []);
|
|
179
180
|
const fieldsName = request.getObjectFromBodyOrArgs("fieldsName", {});
|
|
180
181
|
const searchBody = { query };
|
|
182
|
+
if (collapse) {
|
|
183
|
+
searchBody.collapse = collapse;
|
|
184
|
+
}
|
|
181
185
|
if (request.context.connection.protocol !== "http") {
|
|
182
186
|
throw kerror.get("api", "assert", "unsupported_protocol", request.context.connection.protocol, "document:export");
|
|
183
187
|
}
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kuzzle",
|
|
3
3
|
"author": "The Kuzzle Team <support@kuzzle.io>",
|
|
4
|
-
"version": "2.56.0-beta.
|
|
4
|
+
"version": "2.56.0-beta.2",
|
|
5
5
|
"description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "rm -Rf ./dist && tsc && node ./bin/copy-binaries.js",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kuzzle",
|
|
3
3
|
"author": "The Kuzzle Team <support@kuzzle.io>",
|
|
4
|
-
"version": "2.56.0-beta.
|
|
4
|
+
"version": "2.56.0-beta.2",
|
|
5
5
|
"description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "rm -Rf ./dist && tsc && node ./bin/copy-binaries.js",
|