Documentation
¶
Index ¶
- type Art
- type ArtEntry
- type ArtType
- type Bug
- type BugEntry
- type Clothes
- type ClothesEntry
- type ClothesVariant
- type ConstructionEntry
- type Curtains
- type FenceEntry
- type Fish
- type FishEntry
- type Floor
- type FloorEntry
- type Fossil
- type FossilEntry
- type Item
- type ItemEntry
- type Month
- type Music
- type MusicEntry
- type NookMiles
- type Other
- type Photo
- type PhotoEntry
- type Poster
- type PosterEntry
- type ReactionEntry
- type Rug
- type RugEntry
- type Tool
- type ToolEntry
- type ToolVariant
- type Umbrella
- type UmbrellaEntry
- type VFXT
- type Variant
- type Villager
- type VillagerEntry
- type Wallpaper
- type WallpaperEntry
- type Windows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtEntry ¶
type ArtEntry struct { Name string Image string Genuine string Category string Buy int Sell int Source string HHAConcept1 string `gorm:"column:hhaconcept1"` HHAConcept2 string `gorm:"column:hhaconcept2"` Tag string }
ArtEntry represents an art entry in the database
type Bug ¶
type Bug struct { Name string Image string Sell int Location string Weather string TotalCatches int MonthTime []Month Color []string }
Bug represents a bug object graphql can parse and display
type BugEntry ¶
type BugEntry struct { Name string Image string Sell int Location string Weather string TotalCatches int `gorm:"column:totalcatches"` NHJan string `gorm:"column:nhjan"` NHFeb string `gorm:"column:nhfeb"` NHMar string `gorm:"column:nhmar"` NHApr string `gorm:"column:nhapr"` NHMay string `gorm:"column:nhmay"` NHJun string `gorm:"column:nhjun"` NHJul string `gorm:"column:nhjul"` NHAug string `gorm:"column:nhaug"` NHSep string `gorm:"column:nhsep"` NHOct string `gorm:"column:nhoct"` NHNov string `gorm:"column:nhnov"` NHDec string `gorm:"column:nhdec"` SHJan string `gorm:"column:shjan"` SHFeb string `gorm:"column:shfeb"` SHMar string `gorm:"column:shmar"` SHApr string `gorm:"column:shapr"` SHMay string `gorm:"column:shmay"` SHJun string `gorm:"column:shjun"` SHJul string `gorm:"column:shjul"` SHAug string `gorm:"column:shaug"` SHSep string `gorm:"column:shsep"` SHOct string `gorm:"column:shoct"` SHNov string `gorm:"column:shnov"` SHDec string `gorm:"column:shdec"` Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` }
BugEntry represents a bug object in the database
type Clothes ¶
type Clothes struct { Name string Variants []ClothesVariant DIY string Buy int Sell int Source string SourceNotes string Style string Themes []string Catalog string }
Clothes represents a Clothes item that will be displayed via graphql
type ClothesEntry ¶
type ClothesEntry struct { Name string Image string Variation string DIY string Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string SourceNotes string `gorm:"column:sourcenotes"` Style string Themes string `gorm:"column:labelthemes"` Catalog string }
ClothesEntry represents data we get from SQL database
func (ClothesEntry) ToGraphQL ¶
func (c ClothesEntry) ToGraphQL(v []ClothesVariant, t []string) *Clothes
ToGraphQL (ClothesEntry) turns a clothes entry from database to a Clothes object graphql is able to parse
type ClothesVariant ¶
ClothesVariant represents variation data for clothes entries
type ConstructionEntry ¶
ConstructionEntry represents a construction object in the database
type FenceEntry ¶
type FenceEntry struct { Name string Image string DIY string Buy int Sell int Source string SourceNotes string `gorm:"column:sourcenotes"` }
FenceEntry represents a fence object from the database
type Fish ¶
type Fish struct { Name string Image string Sell int Location string Shadow string TotalCatches int CatchUp string MonthTime []Month Color []string }
Fish represents a fish object graphql can parse and display
type FishEntry ¶
type FishEntry struct { Name string Image string Sell int Location string Shadow string TotalCatches int `gorm:"column:totalcatches"` CatchUp string `gorm:"column:catchup"` NHJan string `gorm:"column:nhjan"` NHFeb string `gorm:"column:nhfeb"` NHMar string `gorm:"column:nhmar"` NHApr string `gorm:"column:nhapr"` NHMay string `gorm:"column:nhmay"` NHJun string `gorm:"column:nhjun"` NHJul string `gorm:"column:nhjul"` NHAug string `gorm:"column:nhaug"` NHSep string `gorm:"column:nhsep"` NHOct string `gorm:"column:nhoct"` NHNov string `gorm:"column:nhnov"` NHDec string `gorm:"column:nhdec"` SHJan string `gorm:"column:shjan"` SHFeb string `gorm:"column:shfeb"` SHMar string `gorm:"column:shmar"` SHApr string `gorm:"column:shapr"` SHMay string `gorm:"column:shmay"` SHJun string `gorm:"column:shjun"` SHJul string `gorm:"column:shjul"` SHAug string `gorm:"column:shaug"` SHSep string `gorm:"column:shsep"` SHOct string `gorm:"column:shoct"` SHNov string `gorm:"column:shnov"` SHDec string `gorm:"column:shdec"` Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` }
FishEntry represents a fish object in the database
type Floor ¶
type Floor struct { Name string Image string VFX string DIY string Buy int Sell int Color []string Source string SourceNotes string Concepts []string Tag string Catalog string }
Floor represents a floor entry graphql is able to parse and display
type FloorEntry ¶
type FloorEntry struct { Name string Image string VFX string DIY string Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string SourceNotes string `gorm:"column:sourcenotes"` HHAConcept1 string `gorm:"column:hhaconcept1"` HHAConcept2 string `gorm:"column:hhaconcept2"` Tag string `gorm:"column:tag"` Catalog string }
FloorEntry represents a floor entry from the database
func (FloorEntry) ToGraphQL ¶
func (f FloorEntry) ToGraphQL(color, concepts []string) *Floor
ToGraphQL (FloorEntry) turns a clothes entry from database to a Floor object graphql is able to parse
type Fossil ¶
type Fossil struct { Name string Image string Buy int Sell int Color []string Source string Interact string Catalog string }
Fossil represents a fossil entry graphql can parse and display
type FossilEntry ¶
type FossilEntry struct { Name string Image string Buy int Sell int Color1 string Color2 string Source string Interact string Catalog string }
FossilEntry represents a fossil entry in the database
func (FossilEntry) ToGraphQL ¶
func (fe FossilEntry) ToGraphQL(color []string) *Fossil
ToGraphQL (FossilEntry) turns a FossilEntry into a Fossil object
type Item ¶
type Item struct { Name string Variants []Variant BodyTitle string PatternTitle string BodyCustomize string KitCost int Sell int Interact string Source string Tag string HHAConcepts []string HHASeries string HHASet string DIY string PatternCustomize string Buy int }
Item represents an item entry that will be displayed via graphql
type ItemEntry ¶
type ItemEntry struct { Name string `gorm:"not null"` Image string `gorm:"not null"` Variation string `gorm:"not null"` BodyTitle string `gorm:"column:bodytitle"` Pattern string PatternTitle string `gorm:"column:patterntitle"` DIY string BodyCustomize string `gorm:"column:bodycustomize"` PatternCustomize string `gorm:"column:patterncustomize"` KitCost int `gorm:"column:kitcost"` Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string SourceNotes string `gorm:"column:sourcenotes"` HHAConcept1 string `gorm:"column:hhaconcept1"` HHAConcept2 string `gorm:"column:hhaconcept2"` HHASeries string `gorm:"column:hhaseries"` HHASet string `gorm:"column:hhaset"` Interact string Tag string Catalog string }
ItemEntry represents an item from the housewares table in postgres
type Month ¶
type Month struct { // Month - separated to NH or SH and month name Month string // Associated time with month value Time string }
Month represents a specific month and its associated time
type Music ¶
type Music struct { Name string Image string Buy int Sell int Color []string Source string SourceNotes string }
Music represents a music object that graphql is able to parse and display
type MusicEntry ¶
type MusicEntry struct { Name string Image string Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string SourceNotes string `gorm:"column:sourcenotes"` }
MusicEntry represents a music object from the database
func (MusicEntry) ToGraphQL ¶
func (me MusicEntry) ToGraphQL(c []string) *Music
ToGraphQL (MusicEntry) turns a MusicEntry object into a Music Object
type NookMiles ¶
type NookMiles struct { Name string Image string NookMiles int `gorm:"column:nookmiles"` Category string }
NookMiles represents a NookMile object in both the database and as a graphql entry
type Other ¶
type Other struct { Name string Image string DIY string Buy int Sell int Source string SourceNotes string `gorm:"column:sourcenotes"` Tag string }
Other represents an other object in the database and as an object graphql can understand
type Photo ¶
type Photo struct { Name string Variants []Variant BodyTitle string PatternTitle string DIY string Customize string KitCost int Buy int Sell int Source string }
Photo represents a photo entry graphql can parse and display
type PhotoEntry ¶
type PhotoEntry struct { Name string Image string Variation string BodyTitle string `gorm:"column:bodytitle"` Pattern string PatternTitle string `gorm:"column:patterntitle"` DIY string Customize string KitCost int `gorm:"column:kitcost"` Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string }
PhotoEntry represents a photo entry in the postgres database
func (PhotoEntry) ToGraphQL ¶
func (pe PhotoEntry) ToGraphQL(v []Variant) *Photo
ToGraphQL (PhotoEntry) turns a clothes entry from database to a Clothes object graphql is able to parse
type PosterEntry ¶
type PosterEntry struct { Name string Image string Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string }
PosterEntry represents a poster in the database
func (PosterEntry) ToGraphQL ¶
func (pe PosterEntry) ToGraphQL(c []string) *Poster
ToGraphQL (PosterEntry) turns a poster entry from database to a Poster object graphql is able to parse
type ReactionEntry ¶
ReactionEntry represents a reaction object in the database
type Rug ¶
type Rug struct { Name string Image string DIY string Buy int Sell int Color []string Source string SourceNotes string Concept []string HHASeries string Tag string Catalog string }
Rug represents a rug object that graphql is able to parse and display
type RugEntry ¶
type RugEntry struct { Name string Image string DIY string Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string SourceNotes string `gorm:"column:sourcenotes"` HHAConcept1 string `gorm:"column:hhaconcept1"` HHAConcept2 string `gorm:"column:hhaconcept2"` HHASeries string `gorm:"column:hhaseries"` Tag string Catalog string }
RugEntry represents a rug entry in the postgres database
type Tool ¶
type Tool struct { Name string Variant []ToolVariant BodyTitle string DIY string Customize string KitCost int Uses int Buy int Sell int Set string Source []string SourceNotes string }
Tool represents a tool entry graphql is able to parse and display
type ToolEntry ¶
type ToolEntry struct { Name string Image string Variation string BodyTitle string `gorm:"column:bodytitle"` DIY string Customize string KitCost int `gorm:"column:kitcost"` Uses int Buy int Sell int Set string Source string SourceNotes string `gorm:"column:sourcenotes"` }
ToolEntry represents a tool in the database
type ToolVariant ¶
ToolVariant represents a tool's variation parameters
type Umbrella ¶
type Umbrella struct { Name string Image string DIY string Buy int Sell int Color []string Source string SourceNotes string Catalog string }
Umbrella represents an umbrella object graphql can parse and display
type UmbrellaEntry ¶
type UmbrellaEntry struct { Name string Image string DIY string Buy int Sell int Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` Source string SourceNotes string `gorm:"column:sourcenotes"` Catalog string }
UmbrellaEntry represents an umbrella in the database
func (UmbrellaEntry) ToGraphQL ¶
func (ue UmbrellaEntry) ToGraphQL(c []string) *Umbrella
ToGraphQL (UmbrellaEntry) turns an umbrella entry from database to an Umbrella object graphql is able to parse
type Villager ¶
type Villager struct { Name string Image string HouseImage string Hobby string Species string Gender string Personality string Birthday string Catchphrase string Style []string Color []string }
Villager represents a villager entry graphql is able to parse and display
type VillagerEntry ¶
type VillagerEntry struct { Name string Image string HouseImage string `gorm:"column:houseimage"` Hobby string Species string Gender string Personality string Birthday string Catchphrase string Style1 string `gorm:"column:style1"` Style2 string `gorm:"column:style2"` Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` }
VillagerEntry represents a villager in the database
func (VillagerEntry) ToGraphQL ¶
func (ve VillagerEntry) ToGraphQL(s, c []string) *Villager
ToGraphQL (VillagerEntry) turns a villager entry from database to a Villager object graphql is able to parse
type Wallpaper ¶
type Wallpaper struct { Name string Image string VFXInfo VFXT DIY string Sell int Buy int Source string SourceNotes string Catalog string WindowInfo Windows CurtainInfo Curtains CeilingType string Color []string Concepts []string HHASeries string Tag string }
Wallpaper represents a Wallpaper object graphql can parse
type WallpaperEntry ¶
type WallpaperEntry struct { Name string Image string VFX string `gorm:"column:vfx"` VFXType string `gorm:"column:vfxtype"` DIY string `gorm:"column:diy"` Buy int Sell int Source string SourceNotes string `gorm:"column:sourcenotes"` Catalog string WindowType string `gorm:"column:windowtype"` WindowColor string `gorm:"column:windowcolor"` PaneType string `gorm:"column:panetype"` CurtainType string `gorm:"column:curtaintype"` CurtainColor string `gorm:"column:curtaincolor"` CeilingType string `gorm:"column:ceilingtype"` Color1 string `gorm:"column:color1"` Color2 string `gorm:"column:color2"` HHAConcept1 string `gorm:"column:hhaconcept1"` HHAConcept2 string `gorm:"column:hhaconcept2"` HHASeries string `gorm:"column:hhaseries"` Tag string }
WallpaperEntry represents a wallpaper object in the postgres database
Source Files
¶
- art_model.go
- bug_model.go
- clothes_model.go
- construction_model.go
- fence_model.go
- fish_entry.go
- flooring_model.go
- fossil_entry.go
- item_model.go
- music_model.go
- nookmiles_model.go
- other_model.go
- photos_model.go
- posters_model.go
- reaction_model.go
- rug_model.go
- tools_model.go
- umbrella_model.go
- villager_model.go
- wallpaper_model.go