Merge pull request #1500 from h3poteto/fix/preview_url

Fix preview_url in attachment to optional value
This commit is contained in:
AkiraFukushima 2022-12-13 22:54:45 +09:00 committed by GitHub
commit fc6013171f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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