feat: create TableFilterStore type

This commit is contained in:
ValdiANS
2026-04-21 15:57:35 +07:00
parent 19793cdcd4
commit db4750217e
+8
View File
@@ -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;
};