Files
marketplaces/src/app/models/category.model.ts

34 lines
606 B
TypeScript
Raw Normal View History

2026-01-18 18:57:06 +04:00
export interface Category {
categoryID: number;
name: string;
parentID: number;
icon?: string;
2026-02-26 21:54:21 +04:00
wideBanner?: string;
2026-02-14 20:18:55 +04:00
itemCount?: number;
2026-02-20 00:44:44 +04:00
priority?: number;
2026-02-20 10:44:03 +04:00
// BackOffice API fields
id?: string;
visible?: boolean;
img?: string;
projectId?: string;
subcategories?: Subcategory[];
}
export interface Subcategory {
id: string;
name: string;
visible?: boolean;
priority?: number;
img?: string;
categoryId: string;
parentId: string;
itemCount?: number;
hasItems?: boolean;
subcategories?: Subcategory[];
}
export interface CategoryTranslation {
name?: string;
2026-01-18 18:57:06 +04:00
}