Enable filtering by creation date with datepicker (#131)
Enable to filter by date with datepicker
This commit is contained in:
@ -14,6 +14,13 @@ export type FilterConfigType<
|
||||
key: string;
|
||||
label: string;
|
||||
icon: ReactNode;
|
||||
type: WhereType extends UnknownType
|
||||
? 'relation' | 'text' | 'date'
|
||||
: WhereType extends AnyEntity
|
||||
? 'relation'
|
||||
: WhereType extends string
|
||||
? 'text' | 'date'
|
||||
: never;
|
||||
operands: FilterOperandType<FilteredType, WhereType>[];
|
||||
} & (WhereType extends UnknownType
|
||||
? { searchConfig?: SearchConfigType<UnknownType> }
|
||||
|
||||
Reference in New Issue
Block a user