Skip to content

Commit

Permalink
feat: add type to v3 item
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed Dec 1, 2023
1 parent cf0c6a2 commit beb7948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/v3/item.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package v3

import (
"github.com/goccy/go-json"

"gopkg.in/guregu/null.v3"
)

Expand All @@ -13,6 +12,7 @@ type Item struct {
Existence json.RawMessage `json:"existence" swaggertype:"object"`
SortID int `json:"sortId"`
Rarity int `json:"rarity"`
Type string `json:"type"`
Group null.String `json:"group,omitempty" swaggertype:"string"`
Sprite null.String `json:"sprite,omitempty" swaggertype:"string"`
Keywords json.RawMessage `json:"keywords,omitempty" swaggertype:"object"`
Expand Down

0 comments on commit beb7948

Please sign in to comment.