Fix preview_url in attachment to optional value

This commit is contained in:
AkiraFukushima 2022-12-13 22:51:58 +09:00
parent 6c29e3d555
commit 1fbaf96eab
No known key found for this signature in database
GPG key ID: B6E51BAC4DE1A957
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ namespace Entity {
type: 'unknown' | 'image' | 'gifv' | 'video' | 'audio'
url: string
remote_url: string | null
preview_url: string
preview_url: string | null
text_url: string | null
meta: object | null
description: string | null

View file

@ -4,7 +4,7 @@ namespace MastodonEntity {
type: 'unknown' | 'image' | 'gifv' | 'video' | 'audio'
url: string
remote_url: string | null
preview_url: string
preview_url: string | null
text_url: string | null
meta: object | null
description: string | null

View file

@ -4,7 +4,7 @@ namespace PleromaEntity {
type: 'unknown' | 'image' | 'gifv' | 'video' | 'audio'
url: string
remote_url: string | null
preview_url: string
preview_url: string | null
text_url: string | null
meta: object | null
description: string | null