refactor(inventory): remove unused fields from InventoryItem and update related DTOs
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
import { redirect } from 'next/navigation';
|
||||
|
||||
export default function KvittoPage() {
|
||||
redirect('/import?tab=kvitto');
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
import { redirect } from 'next/navigation';
|
||||
|
||||
export default function Page() {
|
||||
redirect('/import?tab=recept');
|
||||
}
|
||||
@@ -52,17 +52,11 @@ export type InventoryItem = {
|
||||
quantity: string;
|
||||
unit: string;
|
||||
location: string | null;
|
||||
priority: number | null;
|
||||
purchaseDate: string | null;
|
||||
opened: boolean | null;
|
||||
shelfNote: string | null;
|
||||
suitableFor: string | null;
|
||||
isOnSale: boolean | null;
|
||||
priceLevel: number | null;
|
||||
bestBeforeDate: string | null;
|
||||
brand: string | null;
|
||||
proteinType: string | null;
|
||||
isLeftover: boolean | null;
|
||||
comment: string | null;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
|
||||
Reference in New Issue
Block a user