File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package model
22
33import (
44 "github.com/goccy/go-json"
5-
65 "github.com/uptrace/bun"
76 "gopkg.in/guregu/null.v3"
87)
@@ -14,6 +13,7 @@ type Item struct {
1413 ItemID int `bun:",pk,autoincrement" json:"penguinItemId"`
1514 // ArkItemID (itemId) is the previously used, string form ID of the item; in JSON-representation `itemId` is used as key.
1615 ArkItemID string `json:"itemId"`
16+ Type string `json:"type"`
1717 // Name is a map with language code as key and the name of the item in that language as value.
1818 Name json.RawMessage `json:"name" swaggertype:"object"`
1919 // Existence is a map with server code as key and the existence of the item in that server as value.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ type Item struct {
1212 Existence json.RawMessage `json:"existence" swaggertype:"object"`
1313 SortID int `json:"sortId"`
1414 Rarity int `json:"rarity"`
15- ItemType string `json:"type"`
15+ Type string `json:"type"`
1616 Group null.String `json:"group,omitempty" swaggertype:"string"`
1717 Sprite null.String `json:"sprite,omitempty" swaggertype:"string"`
1818 Keywords json.RawMessage `json:"keywords,omitempty" swaggertype:"object"`
You can’t perform that action at this time.
0 commit comments