add Categories management: create CategoriesList component, update admin navbar, and integrate category handling in product forms

This commit is contained in:
Vincent Guillet
2025-11-01 15:43:49 +01:00
parent 4b692806c4
commit 7c8f85a500
37 changed files with 1009 additions and 66 deletions

View File

@@ -0,0 +1,4 @@
export interface Category {
id: string | number;
name: string;
}

View File

@@ -0,0 +1,5 @@
export interface Condition {
id: string | number;
name: string;
displayName: string;
}

View File

@@ -0,0 +1,16 @@
import {Category} from './category';
import {Platform} from './platform';
import {Condition} from './condition';
export interface Product {
id: string | number;
title: string;
description: string;
price: number;
quantity: number;
complete: boolean;
manualIncluded: boolean;
category: Category | undefined;
platform: Platform | undefined;
condition: Condition | undefined;
}