From ffe50e51519e079b41bcd7123827c022e89db8fa Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Mon, 4 May 2026 20:09:21 +0200 Subject: [PATCH] feat: add TypeScript definitions for next-auth session with accessToken and user details --- {frontend => _archive/frontend}/.dockerignore | 0 {frontend => _archive/frontend}/Dockerfile | 0 .../frontend}/app/Navigation.tsx | 0 .../frontend}/app/Providers.tsx | 0 .../frontend}/app/actions/auth-actions.ts | 0 .../frontend}/app/admin/ai/AiAdminClient.tsx | 0 .../frontend}/app/admin/ai/page.tsx | 0 .../app/admin/products/AdminProductList.tsx | 0 .../admin/products/DeletedProductsView.tsx | 0 .../app/admin/products/EditProductForm.tsx | 0 .../ExpandableCreateProductSection.tsx | 0 .../app/admin/products/MergePreviewForm.tsx | 0 .../admin/products/ResetProductsButton.tsx | 0 .../frontend}/app/admin/products/actions.ts | 0 .../frontend}/app/admin/products/page.tsx | 0 .../pending/PendingProductsClient.tsx | 0 .../app/admin/products/pending/page.tsx | 0 .../app/admin/users/UserAdminClient.tsx | 0 .../frontend}/app/admin/users/page.tsx | 0 .../admin-users/[id]/reset-password/route.ts | 0 .../app/api/admin-users/[id]/route.ts | 0 .../frontend}/app/api/admin-users/route.ts | 0 .../app/api/admin/bulk-categorize/route.ts | 0 .../app/api/admin/bulk-set-category/route.ts | 0 .../app/api/admin/create-product/route.ts | 0 .../api/admin/deleted-products/[id]/route.ts | 0 .../app/api/admin/deleted-products/route.ts | 0 .../inventory-item/[id]/consume/route.ts | 0 .../api/admin/inventory-item/[id]/route.ts | 0 .../app/api/admin/inventory-item/route.ts | 0 .../api/admin/merge-preview-proxy/route.ts | 0 .../app/api/admin/merge-products/route.ts | 0 .../app/api/admin/pantry-item/[id]/route.ts | 0 .../app/api/admin/pantry-item/route.ts | 0 .../api/admin/product-status/[id]/route.ts | 0 .../app/api/admin/product/[id]/route.ts | 0 .../app/api/admin/reset-products/route.ts | 0 .../api/admin/suggest-category/[id]/route.ts | 0 .../api/admin/update-product/[id]/route.ts | 0 .../frontend}/app/api/ai-config/route.ts | 0 .../frontend}/app/api/ai-models/route.ts | 0 .../frontend}/app/api/auth-register/route.ts | 0 .../app/api/auth/[...nextauth]/route.ts | 0 .../frontend}/app/api/categories/route.ts | 0 .../app/api/images/[filename]/route.ts | 0 .../app/api/inventory-history-proxy/route.ts | 0 .../frontend}/app/api/inventory/route.ts | 0 .../inventory-compare/route.ts | 0 .../app/api/meal-plan-proxy/route.ts | 0 .../app/api/meal-plan-proxy/shopping/route.ts | 0 .../frontend}/app/api/pantry/route.ts | 0 .../app/api/parse-markdown-proxy/route.ts | 0 .../app/api/products-create/route.ts | 0 .../app/api/products-update/[id]/route.ts | 0 .../frontend}/app/api/products/[id]/route.ts | 0 .../app/api/products/pending/route.ts | 0 .../frontend}/app/api/products/route.ts | 0 .../frontend}/app/api/profile/route.ts | 0 .../app/api/quick-import-proxy/route.ts | 0 .../app/api/receipt-alias-proxy/route.ts | 0 .../app/api/receipt-import-proxy/route.ts | 0 .../app/api/recipe-preview-proxy/route.ts | 0 .../app/api/recipes/[id]/image/route.ts | 0 .../frontend}/app/api/recipes/[id]/route.ts | 0 .../frontend}/app/api/recipes/route.ts | 0 .../api/user-products/[productId]/route.ts | 0 .../frontend}/app/api/user-products/route.ts | 0 .../app/baslager/AddToPantryForm.tsx | 0 .../frontend}/app/baslager/PantryList.tsx | 0 .../frontend}/app/baslager/actions.ts | 0 .../frontend}/app/baslager/page.tsx | 0 .../frontend}/app/import/ImportTabsClient.tsx | 0 .../frontend}/app/import/page.tsx | 0 .../app/inventory/InventoryConsumeForm.tsx | 0 .../inventory/InventoryConsumptionHistory.tsx | 0 .../app/inventory/InventoryEditForm.tsx | 0 .../frontend}/app/inventory/InventoryForm.tsx | 0 .../frontend}/app/inventory/InventoryList.tsx | 0 .../frontend}/app/inventory/ProductForm.tsx | 0 .../frontend}/app/inventory/actions.ts | 0 .../frontend}/app/inventory/page.tsx | 0 .../app/kvitto/ReceiptImportClient.tsx | 0 .../frontend}/app/kvitto/actions.ts | 0 .../frontend}/app/layout.tsx | 0 .../frontend}/app/login/page.tsx | 0 .../frontend}/app/matsedel/MealPlanClient.tsx | 0 .../frontend}/app/matsedel/page.tsx | 0 {frontend => _archive/frontend}/app/page.tsx | 0 .../frontend}/app/profil/ProfileClient.tsx | 0 .../frontend}/app/profil/ProfileTabs.tsx | 0 .../frontend}/app/profil/page.tsx | 0 .../frontend}/app/profil/tabs/AiTab.tsx | 0 .../app/profil/tabs/AnvandareClient.tsx | 0 .../app/profil/tabs/AnvandareTab.tsx | 0 .../frontend}/app/profil/tabs/DatabsTab.tsx | 0 .../frontend}/app/profil/tabs/ForslagTab.tsx | 0 .../app/profil/tabs/MinProfilTab.tsx | 0 .../app/profil/tabs/views/InventoryView.tsx | 0 .../app/profil/tabs/views/PantryView.tsx | 0 .../app/profil/tabs/views/ProductsView.tsx | 0 .../frontend}/app/recipes/RecipeGrid.tsx | 0 .../frontend}/app/recipes/RecipePreview.tsx | 0 .../app/recipes/[id]/RecipeDetailClient.tsx | 0 .../frontend}/app/recipes/[id]/edit/page.tsx | 0 .../frontend}/app/recipes/[id]/page.tsx | 0 .../app/recipes/create/CreateRecipeClient.tsx | 0 .../frontend}/app/recipes/create/page.tsx | 0 .../app/recipes/import/ImportFilePage.tsx | 0 .../app/recipes/import/ImportRecipePage.tsx | 0 .../frontend}/app/recipes/page.tsx | 0 .../app/recipes/write/WriteRecipePage.tsx | 0 .../frontend}/app/recipes/write/page.tsx | 0 .../frontend}/app/register/page.tsx | 0 {frontend => _archive/frontend}/auth.ts | 0 .../frontend}/features/inventory/types.ts | 0 {frontend => _archive/frontend}/lib/api.ts | 0 .../frontend}/lib/auth-headers.ts | 0 .../frontend}/lib/error-handler.ts | 0 {frontend => _archive/frontend}/lib/units.ts | 0 .../frontend}/lib/use-auth-fetch.ts | 0 .../frontend}/lib/with-auth.ts | 0 {frontend => _archive/frontend}/next-env.d.ts | 0 .../frontend}/next.config.js | 0 {frontend => _archive/frontend}/package.json | 0 {frontend => _archive/frontend}/proxy.ts | 0 .../frontend}/public/.gitkeep | 0 {frontend => _archive/frontend}/tsconfig.json | 0 .../frontend}/tsconfig.tsbuildinfo | 0 .../frontend}/types/next-auth.d.ts | 0 compose.yml | 33 ------------------- flutter/lib/l10n/app_en.arb | 2 +- flutter/lib/l10n/app_sv.arb | 2 +- .../lib/l10n/generated/app_localizations.dart | 2 +- .../l10n/generated/app_localizations_en.dart | 2 +- .../l10n/generated/app_localizations_sv.dart | 2 +- 135 files changed, 5 insertions(+), 38 deletions(-) rename {frontend => _archive/frontend}/.dockerignore (100%) rename {frontend => _archive/frontend}/Dockerfile (100%) rename {frontend => _archive/frontend}/app/Navigation.tsx (100%) rename {frontend => _archive/frontend}/app/Providers.tsx (100%) rename {frontend => _archive/frontend}/app/actions/auth-actions.ts (100%) rename {frontend => _archive/frontend}/app/admin/ai/AiAdminClient.tsx (100%) rename {frontend => _archive/frontend}/app/admin/ai/page.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/AdminProductList.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/DeletedProductsView.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/EditProductForm.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/ExpandableCreateProductSection.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/MergePreviewForm.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/ResetProductsButton.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/actions.ts (100%) rename {frontend => _archive/frontend}/app/admin/products/page.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/pending/PendingProductsClient.tsx (100%) rename {frontend => _archive/frontend}/app/admin/products/pending/page.tsx (100%) rename {frontend => _archive/frontend}/app/admin/users/UserAdminClient.tsx (100%) rename {frontend => _archive/frontend}/app/admin/users/page.tsx (100%) rename {frontend => _archive/frontend}/app/api/admin-users/[id]/reset-password/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin-users/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin-users/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/bulk-categorize/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/bulk-set-category/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/create-product/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/deleted-products/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/deleted-products/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/inventory-item/[id]/consume/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/inventory-item/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/inventory-item/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/merge-preview-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/merge-products/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/pantry-item/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/pantry-item/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/product-status/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/product/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/reset-products/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/suggest-category/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/admin/update-product/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/ai-config/route.ts (100%) rename {frontend => _archive/frontend}/app/api/ai-models/route.ts (100%) rename {frontend => _archive/frontend}/app/api/auth-register/route.ts (100%) rename {frontend => _archive/frontend}/app/api/auth/[...nextauth]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/categories/route.ts (100%) rename {frontend => _archive/frontend}/app/api/images/[filename]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/inventory-history-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/inventory/route.ts (100%) rename {frontend => _archive/frontend}/app/api/meal-plan-proxy/inventory-compare/route.ts (100%) rename {frontend => _archive/frontend}/app/api/meal-plan-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/meal-plan-proxy/shopping/route.ts (100%) rename {frontend => _archive/frontend}/app/api/pantry/route.ts (100%) rename {frontend => _archive/frontend}/app/api/parse-markdown-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/products-create/route.ts (100%) rename {frontend => _archive/frontend}/app/api/products-update/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/products/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/products/pending/route.ts (100%) rename {frontend => _archive/frontend}/app/api/products/route.ts (100%) rename {frontend => _archive/frontend}/app/api/profile/route.ts (100%) rename {frontend => _archive/frontend}/app/api/quick-import-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/receipt-alias-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/receipt-import-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/recipe-preview-proxy/route.ts (100%) rename {frontend => _archive/frontend}/app/api/recipes/[id]/image/route.ts (100%) rename {frontend => _archive/frontend}/app/api/recipes/[id]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/recipes/route.ts (100%) rename {frontend => _archive/frontend}/app/api/user-products/[productId]/route.ts (100%) rename {frontend => _archive/frontend}/app/api/user-products/route.ts (100%) rename {frontend => _archive/frontend}/app/baslager/AddToPantryForm.tsx (100%) rename {frontend => _archive/frontend}/app/baslager/PantryList.tsx (100%) rename {frontend => _archive/frontend}/app/baslager/actions.ts (100%) rename {frontend => _archive/frontend}/app/baslager/page.tsx (100%) rename {frontend => _archive/frontend}/app/import/ImportTabsClient.tsx (100%) rename {frontend => _archive/frontend}/app/import/page.tsx (100%) rename {frontend => _archive/frontend}/app/inventory/InventoryConsumeForm.tsx (100%) rename {frontend => _archive/frontend}/app/inventory/InventoryConsumptionHistory.tsx (100%) rename {frontend => _archive/frontend}/app/inventory/InventoryEditForm.tsx (100%) rename {frontend => _archive/frontend}/app/inventory/InventoryForm.tsx (100%) rename {frontend => _archive/frontend}/app/inventory/InventoryList.tsx (100%) rename {frontend => _archive/frontend}/app/inventory/ProductForm.tsx (100%) rename {frontend => _archive/frontend}/app/inventory/actions.ts (100%) rename {frontend => _archive/frontend}/app/inventory/page.tsx (100%) rename {frontend => _archive/frontend}/app/kvitto/ReceiptImportClient.tsx (100%) rename {frontend => _archive/frontend}/app/kvitto/actions.ts (100%) rename {frontend => _archive/frontend}/app/layout.tsx (100%) rename {frontend => _archive/frontend}/app/login/page.tsx (100%) rename {frontend => _archive/frontend}/app/matsedel/MealPlanClient.tsx (100%) rename {frontend => _archive/frontend}/app/matsedel/page.tsx (100%) rename {frontend => _archive/frontend}/app/page.tsx (100%) rename {frontend => _archive/frontend}/app/profil/ProfileClient.tsx (100%) rename {frontend => _archive/frontend}/app/profil/ProfileTabs.tsx (100%) rename {frontend => _archive/frontend}/app/profil/page.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/AiTab.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/AnvandareClient.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/AnvandareTab.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/DatabsTab.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/ForslagTab.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/MinProfilTab.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/views/InventoryView.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/views/PantryView.tsx (100%) rename {frontend => _archive/frontend}/app/profil/tabs/views/ProductsView.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/RecipeGrid.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/RecipePreview.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/[id]/RecipeDetailClient.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/[id]/edit/page.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/[id]/page.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/create/CreateRecipeClient.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/create/page.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/import/ImportFilePage.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/import/ImportRecipePage.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/page.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/write/WriteRecipePage.tsx (100%) rename {frontend => _archive/frontend}/app/recipes/write/page.tsx (100%) rename {frontend => _archive/frontend}/app/register/page.tsx (100%) rename {frontend => _archive/frontend}/auth.ts (100%) rename {frontend => _archive/frontend}/features/inventory/types.ts (100%) rename {frontend => _archive/frontend}/lib/api.ts (100%) rename {frontend => _archive/frontend}/lib/auth-headers.ts (100%) rename {frontend => _archive/frontend}/lib/error-handler.ts (100%) rename {frontend => _archive/frontend}/lib/units.ts (100%) rename {frontend => _archive/frontend}/lib/use-auth-fetch.ts (100%) rename {frontend => _archive/frontend}/lib/with-auth.ts (100%) rename {frontend => _archive/frontend}/next-env.d.ts (100%) rename {frontend => _archive/frontend}/next.config.js (100%) rename {frontend => _archive/frontend}/package.json (100%) rename {frontend => _archive/frontend}/proxy.ts (100%) rename {frontend => _archive/frontend}/public/.gitkeep (100%) rename {frontend => _archive/frontend}/tsconfig.json (100%) rename {frontend => _archive/frontend}/tsconfig.tsbuildinfo (100%) rename {frontend => _archive/frontend}/types/next-auth.d.ts (100%) diff --git a/frontend/.dockerignore b/_archive/frontend/.dockerignore similarity index 100% rename from frontend/.dockerignore rename to _archive/frontend/.dockerignore diff --git a/frontend/Dockerfile b/_archive/frontend/Dockerfile similarity index 100% rename from frontend/Dockerfile rename to _archive/frontend/Dockerfile diff --git a/frontend/app/Navigation.tsx b/_archive/frontend/app/Navigation.tsx similarity index 100% rename from frontend/app/Navigation.tsx rename to _archive/frontend/app/Navigation.tsx diff --git a/frontend/app/Providers.tsx b/_archive/frontend/app/Providers.tsx similarity index 100% rename from frontend/app/Providers.tsx rename to _archive/frontend/app/Providers.tsx diff --git a/frontend/app/actions/auth-actions.ts b/_archive/frontend/app/actions/auth-actions.ts similarity index 100% rename from frontend/app/actions/auth-actions.ts rename to _archive/frontend/app/actions/auth-actions.ts diff --git a/frontend/app/admin/ai/AiAdminClient.tsx b/_archive/frontend/app/admin/ai/AiAdminClient.tsx similarity index 100% rename from frontend/app/admin/ai/AiAdminClient.tsx rename to _archive/frontend/app/admin/ai/AiAdminClient.tsx diff --git a/frontend/app/admin/ai/page.tsx b/_archive/frontend/app/admin/ai/page.tsx similarity index 100% rename from frontend/app/admin/ai/page.tsx rename to _archive/frontend/app/admin/ai/page.tsx diff --git a/frontend/app/admin/products/AdminProductList.tsx b/_archive/frontend/app/admin/products/AdminProductList.tsx similarity index 100% rename from frontend/app/admin/products/AdminProductList.tsx rename to _archive/frontend/app/admin/products/AdminProductList.tsx diff --git a/frontend/app/admin/products/DeletedProductsView.tsx b/_archive/frontend/app/admin/products/DeletedProductsView.tsx similarity index 100% rename from frontend/app/admin/products/DeletedProductsView.tsx rename to _archive/frontend/app/admin/products/DeletedProductsView.tsx diff --git a/frontend/app/admin/products/EditProductForm.tsx b/_archive/frontend/app/admin/products/EditProductForm.tsx similarity index 100% rename from frontend/app/admin/products/EditProductForm.tsx rename to _archive/frontend/app/admin/products/EditProductForm.tsx diff --git a/frontend/app/admin/products/ExpandableCreateProductSection.tsx b/_archive/frontend/app/admin/products/ExpandableCreateProductSection.tsx similarity index 100% rename from frontend/app/admin/products/ExpandableCreateProductSection.tsx rename to _archive/frontend/app/admin/products/ExpandableCreateProductSection.tsx diff --git a/frontend/app/admin/products/MergePreviewForm.tsx b/_archive/frontend/app/admin/products/MergePreviewForm.tsx similarity index 100% rename from frontend/app/admin/products/MergePreviewForm.tsx rename to _archive/frontend/app/admin/products/MergePreviewForm.tsx diff --git a/frontend/app/admin/products/ResetProductsButton.tsx b/_archive/frontend/app/admin/products/ResetProductsButton.tsx similarity index 100% rename from frontend/app/admin/products/ResetProductsButton.tsx rename to _archive/frontend/app/admin/products/ResetProductsButton.tsx diff --git a/frontend/app/admin/products/actions.ts b/_archive/frontend/app/admin/products/actions.ts similarity index 100% rename from frontend/app/admin/products/actions.ts rename to _archive/frontend/app/admin/products/actions.ts diff --git a/frontend/app/admin/products/page.tsx b/_archive/frontend/app/admin/products/page.tsx similarity index 100% rename from frontend/app/admin/products/page.tsx rename to _archive/frontend/app/admin/products/page.tsx diff --git a/frontend/app/admin/products/pending/PendingProductsClient.tsx b/_archive/frontend/app/admin/products/pending/PendingProductsClient.tsx similarity index 100% rename from frontend/app/admin/products/pending/PendingProductsClient.tsx rename to _archive/frontend/app/admin/products/pending/PendingProductsClient.tsx diff --git a/frontend/app/admin/products/pending/page.tsx b/_archive/frontend/app/admin/products/pending/page.tsx similarity index 100% rename from frontend/app/admin/products/pending/page.tsx rename to _archive/frontend/app/admin/products/pending/page.tsx diff --git a/frontend/app/admin/users/UserAdminClient.tsx b/_archive/frontend/app/admin/users/UserAdminClient.tsx similarity index 100% rename from frontend/app/admin/users/UserAdminClient.tsx rename to _archive/frontend/app/admin/users/UserAdminClient.tsx diff --git a/frontend/app/admin/users/page.tsx b/_archive/frontend/app/admin/users/page.tsx similarity index 100% rename from frontend/app/admin/users/page.tsx rename to _archive/frontend/app/admin/users/page.tsx diff --git a/frontend/app/api/admin-users/[id]/reset-password/route.ts b/_archive/frontend/app/api/admin-users/[id]/reset-password/route.ts similarity index 100% rename from frontend/app/api/admin-users/[id]/reset-password/route.ts rename to _archive/frontend/app/api/admin-users/[id]/reset-password/route.ts diff --git a/frontend/app/api/admin-users/[id]/route.ts b/_archive/frontend/app/api/admin-users/[id]/route.ts similarity index 100% rename from frontend/app/api/admin-users/[id]/route.ts rename to _archive/frontend/app/api/admin-users/[id]/route.ts diff --git a/frontend/app/api/admin-users/route.ts b/_archive/frontend/app/api/admin-users/route.ts similarity index 100% rename from frontend/app/api/admin-users/route.ts rename to _archive/frontend/app/api/admin-users/route.ts diff --git a/frontend/app/api/admin/bulk-categorize/route.ts b/_archive/frontend/app/api/admin/bulk-categorize/route.ts similarity index 100% rename from frontend/app/api/admin/bulk-categorize/route.ts rename to _archive/frontend/app/api/admin/bulk-categorize/route.ts diff --git a/frontend/app/api/admin/bulk-set-category/route.ts b/_archive/frontend/app/api/admin/bulk-set-category/route.ts similarity index 100% rename from frontend/app/api/admin/bulk-set-category/route.ts rename to _archive/frontend/app/api/admin/bulk-set-category/route.ts diff --git a/frontend/app/api/admin/create-product/route.ts b/_archive/frontend/app/api/admin/create-product/route.ts similarity index 100% rename from frontend/app/api/admin/create-product/route.ts rename to _archive/frontend/app/api/admin/create-product/route.ts diff --git a/frontend/app/api/admin/deleted-products/[id]/route.ts b/_archive/frontend/app/api/admin/deleted-products/[id]/route.ts similarity index 100% rename from frontend/app/api/admin/deleted-products/[id]/route.ts rename to _archive/frontend/app/api/admin/deleted-products/[id]/route.ts diff --git a/frontend/app/api/admin/deleted-products/route.ts b/_archive/frontend/app/api/admin/deleted-products/route.ts similarity index 100% rename from frontend/app/api/admin/deleted-products/route.ts rename to _archive/frontend/app/api/admin/deleted-products/route.ts diff --git a/frontend/app/api/admin/inventory-item/[id]/consume/route.ts b/_archive/frontend/app/api/admin/inventory-item/[id]/consume/route.ts similarity index 100% rename from frontend/app/api/admin/inventory-item/[id]/consume/route.ts rename to _archive/frontend/app/api/admin/inventory-item/[id]/consume/route.ts diff --git a/frontend/app/api/admin/inventory-item/[id]/route.ts b/_archive/frontend/app/api/admin/inventory-item/[id]/route.ts similarity index 100% rename from frontend/app/api/admin/inventory-item/[id]/route.ts rename to _archive/frontend/app/api/admin/inventory-item/[id]/route.ts diff --git a/frontend/app/api/admin/inventory-item/route.ts b/_archive/frontend/app/api/admin/inventory-item/route.ts similarity index 100% rename from frontend/app/api/admin/inventory-item/route.ts rename to _archive/frontend/app/api/admin/inventory-item/route.ts diff --git a/frontend/app/api/admin/merge-preview-proxy/route.ts b/_archive/frontend/app/api/admin/merge-preview-proxy/route.ts similarity index 100% rename from frontend/app/api/admin/merge-preview-proxy/route.ts rename to _archive/frontend/app/api/admin/merge-preview-proxy/route.ts diff --git a/frontend/app/api/admin/merge-products/route.ts b/_archive/frontend/app/api/admin/merge-products/route.ts similarity index 100% rename from frontend/app/api/admin/merge-products/route.ts rename to _archive/frontend/app/api/admin/merge-products/route.ts diff --git a/frontend/app/api/admin/pantry-item/[id]/route.ts b/_archive/frontend/app/api/admin/pantry-item/[id]/route.ts similarity index 100% rename from frontend/app/api/admin/pantry-item/[id]/route.ts rename to _archive/frontend/app/api/admin/pantry-item/[id]/route.ts diff --git a/frontend/app/api/admin/pantry-item/route.ts b/_archive/frontend/app/api/admin/pantry-item/route.ts similarity index 100% rename from frontend/app/api/admin/pantry-item/route.ts rename to _archive/frontend/app/api/admin/pantry-item/route.ts diff --git a/frontend/app/api/admin/product-status/[id]/route.ts b/_archive/frontend/app/api/admin/product-status/[id]/route.ts similarity index 100% rename from frontend/app/api/admin/product-status/[id]/route.ts rename to _archive/frontend/app/api/admin/product-status/[id]/route.ts diff --git a/frontend/app/api/admin/product/[id]/route.ts b/_archive/frontend/app/api/admin/product/[id]/route.ts similarity index 100% rename from frontend/app/api/admin/product/[id]/route.ts rename to _archive/frontend/app/api/admin/product/[id]/route.ts diff --git a/frontend/app/api/admin/reset-products/route.ts b/_archive/frontend/app/api/admin/reset-products/route.ts similarity index 100% rename from frontend/app/api/admin/reset-products/route.ts rename to _archive/frontend/app/api/admin/reset-products/route.ts diff --git a/frontend/app/api/admin/suggest-category/[id]/route.ts b/_archive/frontend/app/api/admin/suggest-category/[id]/route.ts similarity index 100% rename from frontend/app/api/admin/suggest-category/[id]/route.ts rename to _archive/frontend/app/api/admin/suggest-category/[id]/route.ts diff --git a/frontend/app/api/admin/update-product/[id]/route.ts b/_archive/frontend/app/api/admin/update-product/[id]/route.ts similarity index 100% rename from frontend/app/api/admin/update-product/[id]/route.ts rename to _archive/frontend/app/api/admin/update-product/[id]/route.ts diff --git a/frontend/app/api/ai-config/route.ts b/_archive/frontend/app/api/ai-config/route.ts similarity index 100% rename from frontend/app/api/ai-config/route.ts rename to _archive/frontend/app/api/ai-config/route.ts diff --git a/frontend/app/api/ai-models/route.ts b/_archive/frontend/app/api/ai-models/route.ts similarity index 100% rename from frontend/app/api/ai-models/route.ts rename to _archive/frontend/app/api/ai-models/route.ts diff --git a/frontend/app/api/auth-register/route.ts b/_archive/frontend/app/api/auth-register/route.ts similarity index 100% rename from frontend/app/api/auth-register/route.ts rename to _archive/frontend/app/api/auth-register/route.ts diff --git a/frontend/app/api/auth/[...nextauth]/route.ts b/_archive/frontend/app/api/auth/[...nextauth]/route.ts similarity index 100% rename from frontend/app/api/auth/[...nextauth]/route.ts rename to _archive/frontend/app/api/auth/[...nextauth]/route.ts diff --git a/frontend/app/api/categories/route.ts b/_archive/frontend/app/api/categories/route.ts similarity index 100% rename from frontend/app/api/categories/route.ts rename to _archive/frontend/app/api/categories/route.ts diff --git a/frontend/app/api/images/[filename]/route.ts b/_archive/frontend/app/api/images/[filename]/route.ts similarity index 100% rename from frontend/app/api/images/[filename]/route.ts rename to _archive/frontend/app/api/images/[filename]/route.ts diff --git a/frontend/app/api/inventory-history-proxy/route.ts b/_archive/frontend/app/api/inventory-history-proxy/route.ts similarity index 100% rename from frontend/app/api/inventory-history-proxy/route.ts rename to _archive/frontend/app/api/inventory-history-proxy/route.ts diff --git a/frontend/app/api/inventory/route.ts b/_archive/frontend/app/api/inventory/route.ts similarity index 100% rename from frontend/app/api/inventory/route.ts rename to _archive/frontend/app/api/inventory/route.ts diff --git a/frontend/app/api/meal-plan-proxy/inventory-compare/route.ts b/_archive/frontend/app/api/meal-plan-proxy/inventory-compare/route.ts similarity index 100% rename from frontend/app/api/meal-plan-proxy/inventory-compare/route.ts rename to _archive/frontend/app/api/meal-plan-proxy/inventory-compare/route.ts diff --git a/frontend/app/api/meal-plan-proxy/route.ts b/_archive/frontend/app/api/meal-plan-proxy/route.ts similarity index 100% rename from frontend/app/api/meal-plan-proxy/route.ts rename to _archive/frontend/app/api/meal-plan-proxy/route.ts diff --git a/frontend/app/api/meal-plan-proxy/shopping/route.ts b/_archive/frontend/app/api/meal-plan-proxy/shopping/route.ts similarity index 100% rename from frontend/app/api/meal-plan-proxy/shopping/route.ts rename to _archive/frontend/app/api/meal-plan-proxy/shopping/route.ts diff --git a/frontend/app/api/pantry/route.ts b/_archive/frontend/app/api/pantry/route.ts similarity index 100% rename from frontend/app/api/pantry/route.ts rename to _archive/frontend/app/api/pantry/route.ts diff --git a/frontend/app/api/parse-markdown-proxy/route.ts b/_archive/frontend/app/api/parse-markdown-proxy/route.ts similarity index 100% rename from frontend/app/api/parse-markdown-proxy/route.ts rename to _archive/frontend/app/api/parse-markdown-proxy/route.ts diff --git a/frontend/app/api/products-create/route.ts b/_archive/frontend/app/api/products-create/route.ts similarity index 100% rename from frontend/app/api/products-create/route.ts rename to _archive/frontend/app/api/products-create/route.ts diff --git a/frontend/app/api/products-update/[id]/route.ts b/_archive/frontend/app/api/products-update/[id]/route.ts similarity index 100% rename from frontend/app/api/products-update/[id]/route.ts rename to _archive/frontend/app/api/products-update/[id]/route.ts diff --git a/frontend/app/api/products/[id]/route.ts b/_archive/frontend/app/api/products/[id]/route.ts similarity index 100% rename from frontend/app/api/products/[id]/route.ts rename to _archive/frontend/app/api/products/[id]/route.ts diff --git a/frontend/app/api/products/pending/route.ts b/_archive/frontend/app/api/products/pending/route.ts similarity index 100% rename from frontend/app/api/products/pending/route.ts rename to _archive/frontend/app/api/products/pending/route.ts diff --git a/frontend/app/api/products/route.ts b/_archive/frontend/app/api/products/route.ts similarity index 100% rename from frontend/app/api/products/route.ts rename to _archive/frontend/app/api/products/route.ts diff --git a/frontend/app/api/profile/route.ts b/_archive/frontend/app/api/profile/route.ts similarity index 100% rename from frontend/app/api/profile/route.ts rename to _archive/frontend/app/api/profile/route.ts diff --git a/frontend/app/api/quick-import-proxy/route.ts b/_archive/frontend/app/api/quick-import-proxy/route.ts similarity index 100% rename from frontend/app/api/quick-import-proxy/route.ts rename to _archive/frontend/app/api/quick-import-proxy/route.ts diff --git a/frontend/app/api/receipt-alias-proxy/route.ts b/_archive/frontend/app/api/receipt-alias-proxy/route.ts similarity index 100% rename from frontend/app/api/receipt-alias-proxy/route.ts rename to _archive/frontend/app/api/receipt-alias-proxy/route.ts diff --git a/frontend/app/api/receipt-import-proxy/route.ts b/_archive/frontend/app/api/receipt-import-proxy/route.ts similarity index 100% rename from frontend/app/api/receipt-import-proxy/route.ts rename to _archive/frontend/app/api/receipt-import-proxy/route.ts diff --git a/frontend/app/api/recipe-preview-proxy/route.ts b/_archive/frontend/app/api/recipe-preview-proxy/route.ts similarity index 100% rename from frontend/app/api/recipe-preview-proxy/route.ts rename to _archive/frontend/app/api/recipe-preview-proxy/route.ts diff --git a/frontend/app/api/recipes/[id]/image/route.ts b/_archive/frontend/app/api/recipes/[id]/image/route.ts similarity index 100% rename from frontend/app/api/recipes/[id]/image/route.ts rename to _archive/frontend/app/api/recipes/[id]/image/route.ts diff --git a/frontend/app/api/recipes/[id]/route.ts b/_archive/frontend/app/api/recipes/[id]/route.ts similarity index 100% rename from frontend/app/api/recipes/[id]/route.ts rename to _archive/frontend/app/api/recipes/[id]/route.ts diff --git a/frontend/app/api/recipes/route.ts b/_archive/frontend/app/api/recipes/route.ts similarity index 100% rename from frontend/app/api/recipes/route.ts rename to _archive/frontend/app/api/recipes/route.ts diff --git a/frontend/app/api/user-products/[productId]/route.ts b/_archive/frontend/app/api/user-products/[productId]/route.ts similarity index 100% rename from frontend/app/api/user-products/[productId]/route.ts rename to _archive/frontend/app/api/user-products/[productId]/route.ts diff --git a/frontend/app/api/user-products/route.ts b/_archive/frontend/app/api/user-products/route.ts similarity index 100% rename from frontend/app/api/user-products/route.ts rename to _archive/frontend/app/api/user-products/route.ts diff --git a/frontend/app/baslager/AddToPantryForm.tsx b/_archive/frontend/app/baslager/AddToPantryForm.tsx similarity index 100% rename from frontend/app/baslager/AddToPantryForm.tsx rename to _archive/frontend/app/baslager/AddToPantryForm.tsx diff --git a/frontend/app/baslager/PantryList.tsx b/_archive/frontend/app/baslager/PantryList.tsx similarity index 100% rename from frontend/app/baslager/PantryList.tsx rename to _archive/frontend/app/baslager/PantryList.tsx diff --git a/frontend/app/baslager/actions.ts b/_archive/frontend/app/baslager/actions.ts similarity index 100% rename from frontend/app/baslager/actions.ts rename to _archive/frontend/app/baslager/actions.ts diff --git a/frontend/app/baslager/page.tsx b/_archive/frontend/app/baslager/page.tsx similarity index 100% rename from frontend/app/baslager/page.tsx rename to _archive/frontend/app/baslager/page.tsx diff --git a/frontend/app/import/ImportTabsClient.tsx b/_archive/frontend/app/import/ImportTabsClient.tsx similarity index 100% rename from frontend/app/import/ImportTabsClient.tsx rename to _archive/frontend/app/import/ImportTabsClient.tsx diff --git a/frontend/app/import/page.tsx b/_archive/frontend/app/import/page.tsx similarity index 100% rename from frontend/app/import/page.tsx rename to _archive/frontend/app/import/page.tsx diff --git a/frontend/app/inventory/InventoryConsumeForm.tsx b/_archive/frontend/app/inventory/InventoryConsumeForm.tsx similarity index 100% rename from frontend/app/inventory/InventoryConsumeForm.tsx rename to _archive/frontend/app/inventory/InventoryConsumeForm.tsx diff --git a/frontend/app/inventory/InventoryConsumptionHistory.tsx b/_archive/frontend/app/inventory/InventoryConsumptionHistory.tsx similarity index 100% rename from frontend/app/inventory/InventoryConsumptionHistory.tsx rename to _archive/frontend/app/inventory/InventoryConsumptionHistory.tsx diff --git a/frontend/app/inventory/InventoryEditForm.tsx b/_archive/frontend/app/inventory/InventoryEditForm.tsx similarity index 100% rename from frontend/app/inventory/InventoryEditForm.tsx rename to _archive/frontend/app/inventory/InventoryEditForm.tsx diff --git a/frontend/app/inventory/InventoryForm.tsx b/_archive/frontend/app/inventory/InventoryForm.tsx similarity index 100% rename from frontend/app/inventory/InventoryForm.tsx rename to _archive/frontend/app/inventory/InventoryForm.tsx diff --git a/frontend/app/inventory/InventoryList.tsx b/_archive/frontend/app/inventory/InventoryList.tsx similarity index 100% rename from frontend/app/inventory/InventoryList.tsx rename to _archive/frontend/app/inventory/InventoryList.tsx diff --git a/frontend/app/inventory/ProductForm.tsx b/_archive/frontend/app/inventory/ProductForm.tsx similarity index 100% rename from frontend/app/inventory/ProductForm.tsx rename to _archive/frontend/app/inventory/ProductForm.tsx diff --git a/frontend/app/inventory/actions.ts b/_archive/frontend/app/inventory/actions.ts similarity index 100% rename from frontend/app/inventory/actions.ts rename to _archive/frontend/app/inventory/actions.ts diff --git a/frontend/app/inventory/page.tsx b/_archive/frontend/app/inventory/page.tsx similarity index 100% rename from frontend/app/inventory/page.tsx rename to _archive/frontend/app/inventory/page.tsx diff --git a/frontend/app/kvitto/ReceiptImportClient.tsx b/_archive/frontend/app/kvitto/ReceiptImportClient.tsx similarity index 100% rename from frontend/app/kvitto/ReceiptImportClient.tsx rename to _archive/frontend/app/kvitto/ReceiptImportClient.tsx diff --git a/frontend/app/kvitto/actions.ts b/_archive/frontend/app/kvitto/actions.ts similarity index 100% rename from frontend/app/kvitto/actions.ts rename to _archive/frontend/app/kvitto/actions.ts diff --git a/frontend/app/layout.tsx b/_archive/frontend/app/layout.tsx similarity index 100% rename from frontend/app/layout.tsx rename to _archive/frontend/app/layout.tsx diff --git a/frontend/app/login/page.tsx b/_archive/frontend/app/login/page.tsx similarity index 100% rename from frontend/app/login/page.tsx rename to _archive/frontend/app/login/page.tsx diff --git a/frontend/app/matsedel/MealPlanClient.tsx b/_archive/frontend/app/matsedel/MealPlanClient.tsx similarity index 100% rename from frontend/app/matsedel/MealPlanClient.tsx rename to _archive/frontend/app/matsedel/MealPlanClient.tsx diff --git a/frontend/app/matsedel/page.tsx b/_archive/frontend/app/matsedel/page.tsx similarity index 100% rename from frontend/app/matsedel/page.tsx rename to _archive/frontend/app/matsedel/page.tsx diff --git a/frontend/app/page.tsx b/_archive/frontend/app/page.tsx similarity index 100% rename from frontend/app/page.tsx rename to _archive/frontend/app/page.tsx diff --git a/frontend/app/profil/ProfileClient.tsx b/_archive/frontend/app/profil/ProfileClient.tsx similarity index 100% rename from frontend/app/profil/ProfileClient.tsx rename to _archive/frontend/app/profil/ProfileClient.tsx diff --git a/frontend/app/profil/ProfileTabs.tsx b/_archive/frontend/app/profil/ProfileTabs.tsx similarity index 100% rename from frontend/app/profil/ProfileTabs.tsx rename to _archive/frontend/app/profil/ProfileTabs.tsx diff --git a/frontend/app/profil/page.tsx b/_archive/frontend/app/profil/page.tsx similarity index 100% rename from frontend/app/profil/page.tsx rename to _archive/frontend/app/profil/page.tsx diff --git a/frontend/app/profil/tabs/AiTab.tsx b/_archive/frontend/app/profil/tabs/AiTab.tsx similarity index 100% rename from frontend/app/profil/tabs/AiTab.tsx rename to _archive/frontend/app/profil/tabs/AiTab.tsx diff --git a/frontend/app/profil/tabs/AnvandareClient.tsx b/_archive/frontend/app/profil/tabs/AnvandareClient.tsx similarity index 100% rename from frontend/app/profil/tabs/AnvandareClient.tsx rename to _archive/frontend/app/profil/tabs/AnvandareClient.tsx diff --git a/frontend/app/profil/tabs/AnvandareTab.tsx b/_archive/frontend/app/profil/tabs/AnvandareTab.tsx similarity index 100% rename from frontend/app/profil/tabs/AnvandareTab.tsx rename to _archive/frontend/app/profil/tabs/AnvandareTab.tsx diff --git a/frontend/app/profil/tabs/DatabsTab.tsx b/_archive/frontend/app/profil/tabs/DatabsTab.tsx similarity index 100% rename from frontend/app/profil/tabs/DatabsTab.tsx rename to _archive/frontend/app/profil/tabs/DatabsTab.tsx diff --git a/frontend/app/profil/tabs/ForslagTab.tsx b/_archive/frontend/app/profil/tabs/ForslagTab.tsx similarity index 100% rename from frontend/app/profil/tabs/ForslagTab.tsx rename to _archive/frontend/app/profil/tabs/ForslagTab.tsx diff --git a/frontend/app/profil/tabs/MinProfilTab.tsx b/_archive/frontend/app/profil/tabs/MinProfilTab.tsx similarity index 100% rename from frontend/app/profil/tabs/MinProfilTab.tsx rename to _archive/frontend/app/profil/tabs/MinProfilTab.tsx diff --git a/frontend/app/profil/tabs/views/InventoryView.tsx b/_archive/frontend/app/profil/tabs/views/InventoryView.tsx similarity index 100% rename from frontend/app/profil/tabs/views/InventoryView.tsx rename to _archive/frontend/app/profil/tabs/views/InventoryView.tsx diff --git a/frontend/app/profil/tabs/views/PantryView.tsx b/_archive/frontend/app/profil/tabs/views/PantryView.tsx similarity index 100% rename from frontend/app/profil/tabs/views/PantryView.tsx rename to _archive/frontend/app/profil/tabs/views/PantryView.tsx diff --git a/frontend/app/profil/tabs/views/ProductsView.tsx b/_archive/frontend/app/profil/tabs/views/ProductsView.tsx similarity index 100% rename from frontend/app/profil/tabs/views/ProductsView.tsx rename to _archive/frontend/app/profil/tabs/views/ProductsView.tsx diff --git a/frontend/app/recipes/RecipeGrid.tsx b/_archive/frontend/app/recipes/RecipeGrid.tsx similarity index 100% rename from frontend/app/recipes/RecipeGrid.tsx rename to _archive/frontend/app/recipes/RecipeGrid.tsx diff --git a/frontend/app/recipes/RecipePreview.tsx b/_archive/frontend/app/recipes/RecipePreview.tsx similarity index 100% rename from frontend/app/recipes/RecipePreview.tsx rename to _archive/frontend/app/recipes/RecipePreview.tsx diff --git a/frontend/app/recipes/[id]/RecipeDetailClient.tsx b/_archive/frontend/app/recipes/[id]/RecipeDetailClient.tsx similarity index 100% rename from frontend/app/recipes/[id]/RecipeDetailClient.tsx rename to _archive/frontend/app/recipes/[id]/RecipeDetailClient.tsx diff --git a/frontend/app/recipes/[id]/edit/page.tsx b/_archive/frontend/app/recipes/[id]/edit/page.tsx similarity index 100% rename from frontend/app/recipes/[id]/edit/page.tsx rename to _archive/frontend/app/recipes/[id]/edit/page.tsx diff --git a/frontend/app/recipes/[id]/page.tsx b/_archive/frontend/app/recipes/[id]/page.tsx similarity index 100% rename from frontend/app/recipes/[id]/page.tsx rename to _archive/frontend/app/recipes/[id]/page.tsx diff --git a/frontend/app/recipes/create/CreateRecipeClient.tsx b/_archive/frontend/app/recipes/create/CreateRecipeClient.tsx similarity index 100% rename from frontend/app/recipes/create/CreateRecipeClient.tsx rename to _archive/frontend/app/recipes/create/CreateRecipeClient.tsx diff --git a/frontend/app/recipes/create/page.tsx b/_archive/frontend/app/recipes/create/page.tsx similarity index 100% rename from frontend/app/recipes/create/page.tsx rename to _archive/frontend/app/recipes/create/page.tsx diff --git a/frontend/app/recipes/import/ImportFilePage.tsx b/_archive/frontend/app/recipes/import/ImportFilePage.tsx similarity index 100% rename from frontend/app/recipes/import/ImportFilePage.tsx rename to _archive/frontend/app/recipes/import/ImportFilePage.tsx diff --git a/frontend/app/recipes/import/ImportRecipePage.tsx b/_archive/frontend/app/recipes/import/ImportRecipePage.tsx similarity index 100% rename from frontend/app/recipes/import/ImportRecipePage.tsx rename to _archive/frontend/app/recipes/import/ImportRecipePage.tsx diff --git a/frontend/app/recipes/page.tsx b/_archive/frontend/app/recipes/page.tsx similarity index 100% rename from frontend/app/recipes/page.tsx rename to _archive/frontend/app/recipes/page.tsx diff --git a/frontend/app/recipes/write/WriteRecipePage.tsx b/_archive/frontend/app/recipes/write/WriteRecipePage.tsx similarity index 100% rename from frontend/app/recipes/write/WriteRecipePage.tsx rename to _archive/frontend/app/recipes/write/WriteRecipePage.tsx diff --git a/frontend/app/recipes/write/page.tsx b/_archive/frontend/app/recipes/write/page.tsx similarity index 100% rename from frontend/app/recipes/write/page.tsx rename to _archive/frontend/app/recipes/write/page.tsx diff --git a/frontend/app/register/page.tsx b/_archive/frontend/app/register/page.tsx similarity index 100% rename from frontend/app/register/page.tsx rename to _archive/frontend/app/register/page.tsx diff --git a/frontend/auth.ts b/_archive/frontend/auth.ts similarity index 100% rename from frontend/auth.ts rename to _archive/frontend/auth.ts diff --git a/frontend/features/inventory/types.ts b/_archive/frontend/features/inventory/types.ts similarity index 100% rename from frontend/features/inventory/types.ts rename to _archive/frontend/features/inventory/types.ts diff --git a/frontend/lib/api.ts b/_archive/frontend/lib/api.ts similarity index 100% rename from frontend/lib/api.ts rename to _archive/frontend/lib/api.ts diff --git a/frontend/lib/auth-headers.ts b/_archive/frontend/lib/auth-headers.ts similarity index 100% rename from frontend/lib/auth-headers.ts rename to _archive/frontend/lib/auth-headers.ts diff --git a/frontend/lib/error-handler.ts b/_archive/frontend/lib/error-handler.ts similarity index 100% rename from frontend/lib/error-handler.ts rename to _archive/frontend/lib/error-handler.ts diff --git a/frontend/lib/units.ts b/_archive/frontend/lib/units.ts similarity index 100% rename from frontend/lib/units.ts rename to _archive/frontend/lib/units.ts diff --git a/frontend/lib/use-auth-fetch.ts b/_archive/frontend/lib/use-auth-fetch.ts similarity index 100% rename from frontend/lib/use-auth-fetch.ts rename to _archive/frontend/lib/use-auth-fetch.ts diff --git a/frontend/lib/with-auth.ts b/_archive/frontend/lib/with-auth.ts similarity index 100% rename from frontend/lib/with-auth.ts rename to _archive/frontend/lib/with-auth.ts diff --git a/frontend/next-env.d.ts b/_archive/frontend/next-env.d.ts similarity index 100% rename from frontend/next-env.d.ts rename to _archive/frontend/next-env.d.ts diff --git a/frontend/next.config.js b/_archive/frontend/next.config.js similarity index 100% rename from frontend/next.config.js rename to _archive/frontend/next.config.js diff --git a/frontend/package.json b/_archive/frontend/package.json similarity index 100% rename from frontend/package.json rename to _archive/frontend/package.json diff --git a/frontend/proxy.ts b/_archive/frontend/proxy.ts similarity index 100% rename from frontend/proxy.ts rename to _archive/frontend/proxy.ts diff --git a/frontend/public/.gitkeep b/_archive/frontend/public/.gitkeep similarity index 100% rename from frontend/public/.gitkeep rename to _archive/frontend/public/.gitkeep diff --git a/frontend/tsconfig.json b/_archive/frontend/tsconfig.json similarity index 100% rename from frontend/tsconfig.json rename to _archive/frontend/tsconfig.json diff --git a/frontend/tsconfig.tsbuildinfo b/_archive/frontend/tsconfig.tsbuildinfo similarity index 100% rename from frontend/tsconfig.tsbuildinfo rename to _archive/frontend/tsconfig.tsbuildinfo diff --git a/frontend/types/next-auth.d.ts b/_archive/frontend/types/next-auth.d.ts similarity index 100% rename from frontend/types/next-auth.d.ts rename to _archive/frontend/types/next-auth.d.ts diff --git a/compose.yml b/compose.yml index 7d743be1..ae5589a3 100644 --- a/compose.yml +++ b/compose.yml @@ -1,37 +1,4 @@ services: - recipe-frontend: - build: - context: ./frontend - dockerfile: Dockerfile - image: recipe-frontend:local - container_name: recipe-frontend - restart: unless-stopped - environment: - NODE_ENV: "production" - HOSTNAME: "0.0.0.0" - PORT: "3000" - NEXT_PUBLIC_APP_URL: "${NEXT_PUBLIC_APP_URL}" - NEXT_PUBLIC_API_URL: "${NEXT_PUBLIC_API_URL}" - NEXT_PUBLIC_API_URL_INTERNAL: "http://recipe-api:8080" - AUTH_SECRET: "${AUTH_SECRET}" - AUTH_URL: "${NEXT_PUBLIC_APP_URL}" - MISTRAL_API_KEY: "${MISTRAL_API_KEY:-}" - volumes: - - recipe_images:/app/public/images - depends_on: - recipe-api: - condition: service_healthy - healthcheck: - test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3000 >/dev/null 2>&1 || exit 1"] - interval: 20s - timeout: 10s - retries: 5 - start_period: 40s - networks: - - proxy - - recipe-internal - - recipe-api: build: context: ./backend dockerfile: Dockerfile diff --git a/flutter/lib/l10n/app_en.arb b/flutter/lib/l10n/app_en.arb index 25b96d8b..7966ec2c 100644 --- a/flutter/lib/l10n/app_en.arb +++ b/flutter/lib/l10n/app_en.arb @@ -521,5 +521,5 @@ "logoutAction": "Log out", "adminAiDescription": "Overview of AI features exposed by the backend.", "adminPagePrefix": "Page: ", - "profileDatabaseDescription": "The database tab covers the same main areas as in recipe-frontend." + "profileDatabaseDescription": "The database tab covers your main areas for inventory and products." } \ No newline at end of file diff --git a/flutter/lib/l10n/app_sv.arb b/flutter/lib/l10n/app_sv.arb index 4f016c8c..d80ea121 100644 --- a/flutter/lib/l10n/app_sv.arb +++ b/flutter/lib/l10n/app_sv.arb @@ -521,5 +521,5 @@ "logoutAction": "Logga ut", "adminAiDescription": "Översikt över AI-funktioner som backend exponerar.", "adminPagePrefix": "Sida: ", - "profileDatabaseDescription": "Databasfliken samlar samma huvudområden som i recipe-frontend." + "profileDatabaseDescription": "Databasfliken samlar dina huvudområden för lager och produkter." } \ No newline at end of file diff --git a/flutter/lib/l10n/generated/app_localizations.dart b/flutter/lib/l10n/generated/app_localizations.dart index f1ae3415..70880f9e 100644 --- a/flutter/lib/l10n/generated/app_localizations.dart +++ b/flutter/lib/l10n/generated/app_localizations.dart @@ -1859,7 +1859,7 @@ abstract class AppLocalizations { /// No description provided for @profileDatabaseDescription. /// /// In en, this message translates to: - /// **'The database tab covers the same main areas as in recipe-frontend.'** + /// **'The database tab covers your main areas for inventory and products.'** String get profileDatabaseDescription; } diff --git a/flutter/lib/l10n/generated/app_localizations_en.dart b/flutter/lib/l10n/generated/app_localizations_en.dart index c93bd8e5..df9784cd 100644 --- a/flutter/lib/l10n/generated/app_localizations_en.dart +++ b/flutter/lib/l10n/generated/app_localizations_en.dart @@ -1016,5 +1016,5 @@ class AppLocalizationsEn extends AppLocalizations { @override String get profileDatabaseDescription => - 'The database tab covers the same main areas as in recipe-frontend.'; + 'The database tab covers your main areas for inventory and products.'; } diff --git a/flutter/lib/l10n/generated/app_localizations_sv.dart b/flutter/lib/l10n/generated/app_localizations_sv.dart index c9a57d9f..9c992455 100644 --- a/flutter/lib/l10n/generated/app_localizations_sv.dart +++ b/flutter/lib/l10n/generated/app_localizations_sv.dart @@ -1019,5 +1019,5 @@ class AppLocalizationsSv extends AppLocalizations { @override String get profileDatabaseDescription => - 'Databasfliken samlar samma huvudområden som i recipe-frontend.'; + 'Databasfliken samlar dina huvudområden för lager och produkter.'; }