Drop LevelDB and move all the things to SQLite. Implemented endpoints: /api <unit, accessoryMaterialAll> /api <unit, accessoryTab> /live/continue /live/partyList /unit/favoriteAccessory (WIP) /unit/sale Signed-off-by: Sean Du <do4suki@gmail.com>
18 lines
415 B
Go
18 lines
415 B
Go
package eventschema
|
|
|
|
type TargetList struct {
|
|
Position int `json:"position"`
|
|
IsDisplayable bool `json:"is_displayable"`
|
|
}
|
|
|
|
type ListData struct {
|
|
TargetList []TargetList `json:"target_list"`
|
|
ServerTimestamp int64 `json:"server_timestamp"`
|
|
}
|
|
|
|
type ListResp struct {
|
|
ResponseData any `json:"response_data"`
|
|
ReleaseInfo []any `json:"release_info"`
|
|
StatusCode int `json:"status_code"`
|
|
}
|