refactor(Typ): Hinzufügen der Typen ‚TIME‘ und ‚DATETIME‘.

- Hinzufügen von Mock-Daten für neue Typen
This commit is contained in:
tekh 2025-07-07 11:17:51 +02:00
parent b8e2100331
commit cf67c387c6
2 changed files with 4 additions and 2 deletions

View File

@ -235,5 +235,7 @@ export const _filters: Filter[] = [
{ id: 7, label: 'Höchstbetrag', name: 'maxAmount', type: 'DECIMAL' }, { id: 7, label: 'Höchstbetrag', name: 'maxAmount', type: 'DECIMAL' },
{ id: 8, label: 'Steuer inbegriffen?', name: 'taxIncluded', type: 'BOOLEAN' }, { id: 8, label: 'Steuer inbegriffen?', name: 'taxIncluded', type: 'BOOLEAN' },
{ id: 9, label: 'Währung', name: 'currency', type: 'VARCHAR' }, { id: 9, label: 'Währung', name: 'currency', type: 'VARCHAR' },
{ id: 10, label: 'Erstellungsdatum', name: 'createdAt', type: 'DATE' } { id: 10, label: 'Erstellungsdatum', name: 'createdAt', type: 'DATE' },
{ id: 11, label: 'Lieferzeit', name: 'deliveryTime', type: 'TIME' },
{ id: 12, label: 'Letzte Aktualisierung', name: 'lastUpdated', type: 'DATETIME' }
]; ];

View File

@ -1,6 +1,6 @@
import { _filters } from 'src/_mock/_data'; import { _filters } from 'src/_mock/_data';
export type Type = 'BOOLEAN' | 'DATE' | 'VARCHAR' | 'INTEGER' | 'DECIMAL'; export type Type = 'BOOLEAN' | 'DATE' | 'TIME' | 'DATETIME' | 'VARCHAR' | 'INTEGER' | 'DECIMAL';
export type Filter = { export type Filter = {
id: number; id: number;