Refactor Filter type structure
Updated the `Filter` type to include `id` and `label` properties. Removed the `dataType` property and replaced it with a `type` property that utilizes the `Type` type. This enhances the filter's structure by providing unique identification and standardizing data type representation.
This commit is contained in:
parent
947257646d
commit
3fd7553ce8
@ -1,6 +1,8 @@
|
||||
export type Type = 'BOOLEAN' | 'DATE' | 'VARCHAR' | 'INTEGER' | 'DECIMAL';
|
||||
|
||||
export type Filter = {
|
||||
id: number;
|
||||
label: string;
|
||||
name: string;
|
||||
dataType: Type;
|
||||
type: Type;
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user