feat: add NSFW display policy setting
This commit is contained in:
parent
c2b0e6f666
commit
f6f974adc6
24 changed files with 185 additions and 53 deletions
5
src/types/index.d.ts
vendored
5
src/types/index.d.ts
vendored
|
|
@ -1,5 +1,5 @@
|
|||
import { Event, Filter, VerifiedEvent } from 'nostr-tools'
|
||||
import { MEDIA_AUTO_LOAD_POLICY, NOTIFICATION_LIST_STYLE, POLL_TYPE } from '../constants'
|
||||
import { MEDIA_AUTO_LOAD_POLICY, NOTIFICATION_LIST_STYLE, NSFW_DISPLAY_POLICY, POLL_TYPE } from '../constants'
|
||||
|
||||
export type TSubRequestFilter = Omit<Filter, 'since' | 'until'> & { limit: number }
|
||||
|
||||
|
|
@ -205,3 +205,6 @@ export type TAwesomeRelayCollection = {
|
|||
|
||||
export type TMediaAutoLoadPolicy =
|
||||
(typeof MEDIA_AUTO_LOAD_POLICY)[keyof typeof MEDIA_AUTO_LOAD_POLICY]
|
||||
|
||||
export type TNsfwDisplayPolicy =
|
||||
(typeof NSFW_DISPLAY_POLICY)[keyof typeof NSFW_DISPLAY_POLICY]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue