initial commits
parent
ee95b98730
commit
d04f2c475f
|
@ -22,5 +22,5 @@ type PreviewCard struct {
|
||||||
Image nul.Nullable[string] `json:"image"`
|
Image nul.Nullable[string] `json:"image"`
|
||||||
EmbedURL opt.Optional[string] `json:"embed_url"`
|
EmbedURL opt.Optional[string] `json:"embed_url"`
|
||||||
BlurHash nul.Nullable[string] `json:"blurhash"`
|
BlurHash nul.Nullable[string] `json:"blurhash"`
|
||||||
History []History `json:"history"`
|
History []PreviewCardHistory `json:"history"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sourcecode.social/reiver/go-opt"
|
"sourcecode.social/reiver/go-opt"
|
||||||
)
|
)
|
||||||
|
|
||||||
type History struct {
|
type PreviewCardHistory struct {
|
||||||
Day opt.Optional[string] `json:"day"`
|
Day opt.Optional[string] `json:"day"`
|
||||||
Accounts opt.Optional[string] `json:"accounts"`
|
Accounts opt.Optional[string] `json:"accounts"`
|
||||||
Uses opt.Optional[string] `json:"uses"`
|
Uses opt.Optional[string] `json:"uses"`
|
Loading…
Reference in New Issue