mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat: create TableFilterStore type
This commit is contained in:
Vendored
+8
@@ -117,3 +117,11 @@ export type ProjectFlockSlice = {
|
||||
setCreatedProjectFlock: (data: ProjectFlock | null) => void;
|
||||
resetProjectFlock: () => void;
|
||||
};
|
||||
|
||||
export type TableFilterStore<T = Record<string, Record<string, unknown>>> = {
|
||||
data: T;
|
||||
setData: (newData: T) => void;
|
||||
setTableData: (key: string, tableData: Record<string, unknown>) => void;
|
||||
setTableDataField: (key: string, field: string, value: unknown) => void;
|
||||
setSearchValue: (key: string, searchValue: string) => void;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user