initial commits

master
Charles Iliya Krempeaux 2023-09-26 21:15:55 +09:00
parent ee95b98730
commit d04f2c475f
2 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@ type PreviewCard struct {
Image nul.Nullable[string] `json:"image"`
EmbedURL opt.Optional[string] `json:"embed_url"`
BlurHash nul.Nullable[string] `json:"blurhash"`
History []History `json:"history"`
History []PreviewCardHistory `json:"history"`
}

View File

@ -4,7 +4,7 @@ import (
"sourcecode.social/reiver/go-opt"
)
type History struct {
type PreviewCardHistory struct {
Day opt.Optional[string] `json:"day"`
Accounts opt.Optional[string] `json:"accounts"`
Uses opt.Optional[string] `json:"uses"`