deepspotscreen-sdk 0.1.2 → 0.2.0
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/dist/DeepspotSDK-Ci6IqiPC.cjs +2804 -0
- package/dist/DeepspotSDK-smoJaflG.js +4490 -0
- package/dist/core/ApiClient.d.ts +9 -1
- package/dist/deepspot-sdk.esm.js +2833 -615
- package/dist/deepspot-sdk.js +2047 -223
- package/dist/index.d.ts +3 -0
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.mjs +2 -2
- package/dist/renderer/DashboardRenderer.d.ts +33 -2
- package/dist/renderer/FilterRenderer.d.ts +33 -10
- package/dist/types.d.ts +3 -0
- package/dist/vue/index.cjs +1 -1
- package/dist/vue/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/DeepspotSDK-1R3OY1xG.cjs +0 -980
- package/dist/DeepspotSDK-ClR0wrhx.js +0 -2272
package/dist/core/ApiClient.d.ts
CHANGED
|
@@ -18,6 +18,11 @@ export declare class ApiClient {
|
|
|
18
18
|
pageId?: string;
|
|
19
19
|
tabId?: string;
|
|
20
20
|
filters?: Record<string, any>;
|
|
21
|
+
filterOperators?: Record<string, string>;
|
|
22
|
+
localFilters?: Record<string, {
|
|
23
|
+
value: any;
|
|
24
|
+
operator: string;
|
|
25
|
+
}>;
|
|
21
26
|
}): Promise<RenderResponse>;
|
|
22
27
|
getReportRender(dashboardId: string, componentId: string, token: string, options?: {
|
|
23
28
|
filters?: Record<string, any>;
|
|
@@ -43,7 +48,10 @@ export declare class ApiClient {
|
|
|
43
48
|
* The embed token is sent so the backend can validate the caller has
|
|
44
49
|
* access to this dashboard without requiring an admin JWT.
|
|
45
50
|
*/
|
|
46
|
-
getFilterOptions(dashboardId: string, filterId: string, token: string): Promise<string
|
|
51
|
+
getFilterOptions(dashboardId: string, filterId: string, token: string): Promise<Array<string | {
|
|
52
|
+
value: string;
|
|
53
|
+
label: string;
|
|
54
|
+
}>>;
|
|
47
55
|
clearTokenCache(): void;
|
|
48
56
|
private get;
|
|
49
57
|
private post;
|