@databrainhq/plugin 0.14.42 → 0.14.43

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.
@@ -19,6 +19,7 @@ type FiltersProps = {
19
19
  radius: string;
20
20
  };
21
21
  filterOptions?: (column: string) => JSX.Element;
22
+ tenancyLevel: string;
22
23
  };
23
24
  export declare const Filters: React.FC<FiltersProps>;
24
25
  export {};
@@ -18,6 +18,7 @@ type HorizontalFiltersProps = {
18
18
  };
19
19
  addGlobalFilter?: JSX.Element;
20
20
  filterOptions?: (column: string) => JSX.Element;
21
+ tenancyLevel: string;
21
22
  };
22
23
  export declare const HorizontalFilters: React.FC<HorizontalFiltersProps>;
23
24
  export {};
@@ -18,6 +18,7 @@ type GlobalFiltersProps = {
18
18
  };
19
19
  addGlobalFilter?: JSX.Element;
20
20
  filterOptions?: (column: string) => JSX.Element;
21
+ tenancyLevel: string;
21
22
  };
22
23
  export declare const getFormattedFilterValue: (obj: {
23
24
  operator: string;
@@ -46,6 +47,7 @@ type FilterPopupProps = {
46
47
  radius: string;
47
48
  };
48
49
  filterOptions?: (column: string) => JSX.Element;
50
+ tenancyLevel: string;
49
51
  };
50
52
  export declare const FilterPopup: React.FC<FilterPopupProps>;
51
53
  export {};
@@ -16,5 +16,10 @@ export type ListProps = {
16
16
  initialLimit?: number;
17
17
  isDataLoading?: boolean;
18
18
  showLogo?: boolean;
19
+ isShowOptions?: boolean;
20
+ setValue?: React.Dispatch<React.SetStateAction<{
21
+ action: string;
22
+ id: string;
23
+ }>>;
19
24
  };
20
- export declare const List: ({ headers, data, variant, noDataText, loadMoreText, className, initialLimit, isDataLoading, showLogo, }: ListProps) => React.JSX.Element;
25
+ export declare const List: ({ headers, data, variant, noDataText, loadMoreText, className, initialLimit, isDataLoading, showLogo, isShowOptions, setValue, }: ListProps) => React.JSX.Element;
@@ -26,6 +26,7 @@ export declare const CHART_TYPES: {
26
26
  horizontalStack: string;
27
27
  treeMap: string;
28
28
  horizontalStackTable: string;
29
+ geoMap: string;
29
30
  };
30
31
  export declare const chartOptions: {
31
32
  name: string;
@@ -19,6 +19,13 @@ export type ReplaceVariable = {
19
19
  isAllClient?: boolean;
20
20
  globalFilters?: MetricCardProps['globalFilters'];
21
21
  };
22
+ type ReplaceClientVariableParams = {
23
+ query: string;
24
+ clientId?: string | number | null;
25
+ tenancyLevel: string;
26
+ isAllClient?: boolean;
27
+ };
28
+ export declare const replaceClientVariable: ({ clientId, query, tenancyLevel, isAllClient, }: ReplaceClientVariableParams) => string;
22
29
  export declare const replaceVariable: ({ query, rlsConditions, tenancyLevel, clientId, values, isAllClient, globalFilters, }: ReplaceVariable) => string;
23
30
  export declare const nameSpace: (name: string, dbName: string) => string;
24
31
  export declare const nameSpaceSpecification: (parentAlias: string, columnName: string, dbName: string) => string;