refactor(items): merge ancient artifacts into items data model
Migrate ancient artifacts to items table using a category key. Consolidate detail and edit views into ItemDetail and ItemEdit. Update API, search, and data tools to reflect unified structure.
This commit is contained in:
@@ -258,6 +258,7 @@ export interface Item extends EditInfo {
|
||||
details: string;
|
||||
baseDetails?: string;
|
||||
basePrice: number | null;
|
||||
ancientArtifactCategory: NamedEntity | null;
|
||||
isEventItem: boolean;
|
||||
translations?: TranslationMap;
|
||||
image: EntityImage | null;
|
||||
@@ -791,6 +792,7 @@ export interface ItemPayload {
|
||||
name: string;
|
||||
details: string;
|
||||
basePrice: number | null;
|
||||
ancientArtifactCategoryId: number | null;
|
||||
translations?: TranslationMap;
|
||||
categoryId: number;
|
||||
usageId: number | null;
|
||||
|
||||
Reference in New Issue
Block a user