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.
@@ -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;