feat: add create and edit modals for modifications management
This commit is contained in:
6 files changed
+570
-17
No files matched your search
@@ -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"> {}
|
||||
Reference in new issue
Block a user