properly shorten links in quote embeds (#2570)
* properly shorten links in quote embeds * lint
This commit is contained in:
parent
920d48849e
commit
eb07b983bd
3 changed files with 41 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
|||
import React from 'react'
|
||||
import {AppBskyEmbedRecord} from '@atproto/api'
|
||||
import {AppBskyEmbedRecord, AppBskyRichtextFacet} from '@atproto/api'
|
||||
import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
|
||||
|
||||
export interface ComposerOptsPostRef {
|
||||
|
@ -17,6 +17,7 @@ export interface ComposerOptsQuote {
|
|||
uri: string
|
||||
cid: string
|
||||
text: string
|
||||
facets?: AppBskyRichtextFacet.Main[]
|
||||
indexedAt: string
|
||||
author: {
|
||||
did: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue