kuzzle 2.28.0 → 2.29.0-beta.1
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.
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ByteSize, ClusterNodesStats } from "@elastic/elasticsearch/api/types";
|
|
2
|
+
export type InfoResult = {
|
|
3
|
+
type: string;
|
|
4
|
+
version: string;
|
|
5
|
+
status?: string;
|
|
6
|
+
lucene?: string;
|
|
7
|
+
spaceUsed?: ByteSize;
|
|
8
|
+
nodes?: ClusterNodesStats;
|
|
9
|
+
};
|
|
10
|
+
export type KRequestBody<T> = T & {
|
|
11
|
+
_kuzzle_info?: {
|
|
12
|
+
author: string;
|
|
13
|
+
createdAt: number;
|
|
14
|
+
updatedAt: number | null;
|
|
15
|
+
updater: string | null;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export interface JSONObject {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}
|
|
21
|
+
export type KImportError = {
|
|
22
|
+
_id: string;
|
|
23
|
+
status: string;
|
|
24
|
+
_source?: JSONObject;
|
|
25
|
+
error?: {
|
|
26
|
+
reason: string;
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export type KRequestParams = {
|
|
31
|
+
refresh?: boolean | "wait_for";
|
|
32
|
+
timeout?: string;
|
|
33
|
+
userId?: string;
|
|
34
|
+
injectKuzzleMeta?: boolean;
|
|
35
|
+
limits?: boolean;
|
|
36
|
+
source?: boolean;
|
|
37
|
+
};
|
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.
|
|
4
|
+
"version": "2.29.0-beta.1",
|
|
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
|
"bin": "bin/start-kuzzle-server",
|
|
7
7
|
"scripts": {
|
|
@@ -79,7 +79,13 @@
|
|
|
79
79
|
"url": "git://github.com/kuzzleio/kuzzle.git"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
+
"@commitlint/cli": "^17.6.7",
|
|
83
|
+
"@commitlint/config-conventional": "^17.6.7",
|
|
82
84
|
"@jest/globals": "29.7.0",
|
|
85
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
86
|
+
"@semantic-release/commit-analyzer": "^10.0.1",
|
|
87
|
+
"@semantic-release/git": "^10.0.1",
|
|
88
|
+
"@semantic-release/release-notes-generator": "^11.0.4",
|
|
83
89
|
"@types/jest": "29.5.10",
|
|
84
90
|
"@types/js-yaml": "4.0.9",
|
|
85
91
|
"@types/lodash": "4.14.202",
|
|
@@ -87,6 +93,7 @@
|
|
|
87
93
|
"chokidar": "3.5.3",
|
|
88
94
|
"codecov": "3.8.3",
|
|
89
95
|
"cucumber": "6.0.5",
|
|
96
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
90
97
|
"ergol": "1.0.2",
|
|
91
98
|
"eslint-plugin-kuzzle": "0.0.12",
|
|
92
99
|
"jest": "29.7.0",
|
|
@@ -97,6 +104,8 @@
|
|
|
97
104
|
"request": "2.88.2",
|
|
98
105
|
"request-promise": "4.2.6",
|
|
99
106
|
"rewire": "5.0.0",
|
|
107
|
+
"semantic-release-config-kuzzle": "^1.0.0",
|
|
108
|
+
"semantic-release-slack-bot": "^4.0.2",
|
|
100
109
|
"should": "13.2.3",
|
|
101
110
|
"should-sinon": "0.0.6",
|
|
102
111
|
"sinon": "14.0.2",
|