refactor(Typ): Hinzufügen der Typen ‚TIME‘ und ‚DATETIME‘.
- Hinzufügen von Mock-Daten für neue Typen
This commit is contained in:
parent
b8e2100331
commit
cf67c387c6
@ -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' }
|
||||||
];
|
];
|
||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user