Use typed IDs instead of plain strings
This commit is contained in:
@ -17,9 +17,9 @@ import (
|
||||
type AMV struct {
|
||||
File string `json:"file" editable:"true" type:"upload" filetype:"video" endpoint:"/api/upload/amv/:id/file"`
|
||||
Title AMVTitle `json:"title" editable:"true"`
|
||||
MainAnimeID string `json:"mainAnimeId" editable:"true"`
|
||||
ExtraAnimeIDs []string `json:"extraAnimeIds" editable:"true"`
|
||||
VideoEditorIDs []string `json:"videoEditorIds" editable:"true"`
|
||||
MainAnimeID AnimeID `json:"mainAnimeId" editable:"true"`
|
||||
ExtraAnimeIDs []AnimeID `json:"extraAnimeIds" editable:"true"`
|
||||
VideoEditorIDs []UserID `json:"videoEditorIds" editable:"true"`
|
||||
Links []Link `json:"links" editable:"true"`
|
||||
Tags []string `json:"tags" editable:"true"`
|
||||
Info video.Info `json:"info"`
|
||||
|
Reference in New Issue
Block a user