@ezpaarse-project/ezreeport-sdk-js 1.0.0 → 1.1.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.
- package/README.md +1 -1
- package/dist/browser/ezreeport-sdk-js.mjs +55 -54
- package/dist/browser/ezreeport-sdk-js.mjs.map +1 -1
- package/dist/browser/ezreeport-sdk-js.umd.js +1 -1
- package/dist/browser/ezreeport-sdk-js.umd.js.map +1 -1
- package/dist/node/ezreeport-sdk-js.js +1 -1
- package/dist/node/ezreeport-sdk-js.js.map +1 -1
- package/dist/node/ezreeport-sdk-js.mjs +55 -54
- package/dist/node/ezreeport-sdk-js.mjs.map +1 -1
- package/dist/types/modules/elastic.d.ts +11 -0
- package/dist/types/modules/elastic.public.d.ts +1 -1
- package/package.json +1 -1
|
@@ -20,3 +20,14 @@ export declare const getAllIndices: (namespace?: Namespace['id']) => Promise<imp
|
|
|
20
20
|
* @returns The list of available indices
|
|
21
21
|
*/
|
|
22
22
|
export declare const getIndexMapping: (index: string, namespace?: Namespace['id']) => Promise<import("../lib/axios").ApiResponse<Record<string, string>>>;
|
|
23
|
+
/**
|
|
24
|
+
* Resolve index to get list of matched indices
|
|
25
|
+
*
|
|
26
|
+
* Needs `namespaces[namespaceId].elastic-get-indices-_resolve-index` permission
|
|
27
|
+
*
|
|
28
|
+
* @param index The index (can be a wildcard)
|
|
29
|
+
* @param namespace The concerned namespace. **Needed if not admin**
|
|
30
|
+
*
|
|
31
|
+
* @returns The list of available indices
|
|
32
|
+
*/
|
|
33
|
+
export declare const resolveIndex: (index: string, namespace?: Namespace['id']) => Promise<import("../lib/axios").ApiResponse<string[]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getAllIndices, getIndexMapping, } from './elastic';
|
|
1
|
+
export { getAllIndices, getIndexMapping, resolveIndex, } from './elastic';
|
package/package.json
CHANGED