initial commits
parent
2c51288913
commit
d7e593080b
|
@ -1,6 +1,7 @@
|
|||
package ent
|
||||
|
||||
import (
|
||||
"sourcecode.social/reiver/go-jsonint"
|
||||
"sourcecode.social/reiver/go-opt"
|
||||
"sourcecode.social/reiver/go-nul"
|
||||
)
|
||||
|
@ -17,8 +18,8 @@ type PreviewCard struct {
|
|||
ProviderName opt.Optional[string] `json:"provider_name"`
|
||||
ProviderURL opt.Optional[string] `json:"provider_url"`
|
||||
HTML opt.Optional[string] `json:"html"`
|
||||
Width opt.Optional[string] `json:"width"`
|
||||
Height opt.Optional[string] `json:"height"`
|
||||
Width opt.Optional[jsonint.Int] `json:"width"`
|
||||
Height opt.Optional[jsonint.Int] `json:"height"`
|
||||
Image nul.Nullable[string] `json:"image"`
|
||||
EmbedURL opt.Optional[string] `json:"embed_url"`
|
||||
BlurHash nul.Nullable[string] `json:"blurhash"`
|
||||
|
|
Loading…
Reference in New Issue