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:
tekh 2025-07-03 14:16:27 +02:00
parent 947257646d
commit 3fd7553ce8

View File

@ -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;
};