feat: add auto-load media content setting option
This commit is contained in:
parent
6d7ecfe2fd
commit
f785d0d8a2
35 changed files with 458 additions and 105 deletions
7
src/types/index.d.ts
vendored
7
src/types/index.d.ts
vendored
|
|
@ -1,5 +1,5 @@
|
|||
import { Event, VerifiedEvent, Filter } from 'nostr-tools'
|
||||
import { NOTIFICATION_LIST_STYLE, POLL_TYPE } from '../constants'
|
||||
import { Event, Filter, VerifiedEvent } from 'nostr-tools'
|
||||
import { MEDIA_AUTO_LOAD_POLICY, NOTIFICATION_LIST_STYLE, POLL_TYPE } from '../constants'
|
||||
|
||||
export type TSubRequestFilter = Omit<Filter, 'since' | 'until'> & { limit: number }
|
||||
|
||||
|
|
@ -186,3 +186,6 @@ export type TAwesomeRelayCollection = {
|
|||
description: string
|
||||
relays: string[]
|
||||
}
|
||||
|
||||
export type TMediaAutoLoadPolicy =
|
||||
(typeof MEDIA_AUTO_LOAD_POLICY)[keyof typeof MEDIA_AUTO_LOAD_POLICY]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue