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:
2026-05-05 10:46:14 +08:00
parent 839a24566b
commit 2919708cee
11 changed files with 522 additions and 594 deletions

View File

@@ -22,6 +22,7 @@ export const systemWordingMessages = {
loading: 'Loading',
name: 'Name',
new: 'New',
no: 'No',
none: 'None',
save: 'Save',
saving: 'Saving',
@@ -689,6 +690,7 @@ export const systemWordingMessages = {
loadingEdit: 'Loading item editor',
description: 'Description',
basePrice: 'Base Price',
ancientArtifact: 'Ancient Artifact',
category: 'Category',
usage: 'Usage',
tags: 'Tags',
@@ -731,7 +733,7 @@ export const systemWordingMessages = {
detailKicker: 'Ancient Artifact Detail',
detailSubtitle: 'Ancient Artifact detail',
editKicker: 'Ancient Artifact Edit',
editSubtitle: 'Maintain Ancient Artifact image, description, category, tags, and translations.',
editSubtitle: 'Maintain the item details, base price, category, usage, Ancient Artifact classification, and tags.',
newTitle: 'New Ancient Artifact',
editTitle: 'Edit {name}',
fallbackName: 'Ancient Artifact',
@@ -1387,6 +1389,7 @@ export const systemWordingMessages = {
loading: '加载中',
name: '名称',
new: '新建',
no: '否',
none: '无',
save: '保存',
saving: '保存中',
@@ -2028,6 +2031,7 @@ export const systemWordingMessages = {
loadingEdit: '正在加载物品编辑内容',
description: '介绍',
basePrice: '基础价格',
ancientArtifact: 'Ancient Artifact',
category: '分类',
usage: '用途',
tags: '标签',
@@ -2070,7 +2074,7 @@ export const systemWordingMessages = {
detailKicker: 'Ancient Artifact Detail',
detailSubtitle: 'Ancient Artifact 详情',
editKicker: 'Ancient Artifact Edit',
editSubtitle: '维护 Ancient Artifact 图片、介绍、分类标签和翻译。',
editSubtitle: '维护物品介绍、基础价格、分类、用途、Ancient Artifact 分类标签。',
newTitle: '新增 Ancient Artifact',
editTitle: '编辑 {name}',
fallbackName: 'Ancient Artifact',