Cleanup data types

This commit is contained in:
2019-06-04 12:16:27 +09:00
parent e7f2550004
commit 3d526f9198
13 changed files with 23 additions and 210 deletions

View File

@ -11,7 +11,7 @@ import (
// Character represents an anime or manga character.
type Character struct {
Name CharacterName `json:"name" editable:"true"`
Image CharacterImage `json:"image"`
Image Image `json:"image"`
MainQuoteID string `json:"mainQuoteId" editable:"true"`
Description string `json:"description" editable:"true" type:"textarea"`
Spoilers []Spoiler `json:"spoilers" editable:"true"`