feat: add create and edit modals for modifications management

This commit is contained in:
zihluwang committed 2026-04-23 16:12:48 +08:00
1 parent abc4c68a0f
commit 2fc865ea57
6 files changed
+570 -17

No files matched your search

+16 -4
View File
@@ -1,12 +1,24 @@
export interface Tuning {
tuningName: string
tuningValue: number
}
export interface Accessory {
slotName: string
accessoryName: string
tunings: Tuning[]
}
export interface Modification {
id: number
firearmId: number
name: string
code: string
tags: string[]
note: string
author: string
videoUrl: string
tags?: string[]
note?: string
author?: string
videoUrl?: string,
accessories: Accessory[]
}
export interface ModificationRequest extends Omit<Modification, "id"> {}