@databrainhq/plugin 0.12.6 → 0.12.8
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/components/FilterDropDown/index.d.ts +1 -0
- package/dist/components/GlobalFilters/Filters.d.ts +4 -0
- package/dist/components/GlobalFilters/HorizontalFilters.d.ts +1 -0
- package/dist/components/GlobalFilters/index.d.ts +2 -0
- package/dist/types/app.d.ts +4 -0
- package/dist/webcomponents.es.js +10459 -10427
- package/dist/webcomponents.umd.js +139 -139
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export type FilterDropDownProps = Omit<FloatingDropDownProps, 'options' | 'isDis
|
|
|
8
8
|
filterClause?: {
|
|
9
9
|
columnName?: string;
|
|
10
10
|
value?: string;
|
|
11
|
+
as?: string;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
export declare const FilterDropDown: ({ filter, onChange, selectedOption, autoSelected, workspaceId, filterClause, ...rest }: FilterDropDownProps) => React.JSX.Element;
|
|
@@ -9,6 +9,9 @@ export type FilterColumn = {
|
|
|
9
9
|
isShowHorizontal?: boolean;
|
|
10
10
|
label?: string;
|
|
11
11
|
options?: FloatingDropDownOption[];
|
|
12
|
+
isClientScoped?: boolean;
|
|
13
|
+
clientColumn?: string;
|
|
14
|
+
clientColumnType?: string;
|
|
12
15
|
};
|
|
13
16
|
type FiltersProps = {
|
|
14
17
|
filterList: FilterColumn[];
|
|
@@ -20,6 +23,7 @@ type FiltersProps = {
|
|
|
20
23
|
isInternal: boolean;
|
|
21
24
|
workspaceId: string;
|
|
22
25
|
};
|
|
26
|
+
clientId?: string;
|
|
23
27
|
};
|
|
24
28
|
export declare const Filters: React.FC<FiltersProps>;
|
|
25
29
|
export {};
|
|
@@ -11,6 +11,7 @@ type GlobalFiltersProps = {
|
|
|
11
11
|
isInternal: boolean;
|
|
12
12
|
workspaceId: string;
|
|
13
13
|
};
|
|
14
|
+
clientId?: string;
|
|
14
15
|
};
|
|
15
16
|
export declare const getFormattedFilterValue: (obj: {
|
|
16
17
|
operator: string;
|
|
@@ -31,6 +32,7 @@ type FilterPopupProps = {
|
|
|
31
32
|
isInternal: boolean;
|
|
32
33
|
workspaceId: string;
|
|
33
34
|
};
|
|
35
|
+
clientId?: string;
|
|
34
36
|
};
|
|
35
37
|
export declare const FilterPopup: React.FC<FilterPopupProps>;
|
|
36
38
|
export {};
|
package/dist/types/app.d.ts
CHANGED
|
@@ -183,6 +183,9 @@ export type Schema = {
|
|
|
183
183
|
isShowHorizontal?: boolean;
|
|
184
184
|
defaultValue?: string[] | string | number | number[] | Record<string, any>;
|
|
185
185
|
options?: FloatingDropDownOption[];
|
|
186
|
+
isClientScoped?: boolean;
|
|
187
|
+
clientColumn?: string;
|
|
188
|
+
clientColumnType?: string;
|
|
186
189
|
}[];
|
|
187
190
|
};
|
|
188
191
|
export type RlsFilterObjectType = {
|
|
@@ -266,6 +269,7 @@ export type RlsCondition = {
|
|
|
266
269
|
client?: {
|
|
267
270
|
isEnable: boolean;
|
|
268
271
|
columnName: string;
|
|
272
|
+
as?: string;
|
|
269
273
|
};
|
|
270
274
|
isAppFilter?: boolean;
|
|
271
275
|
};
|