feat: add setting for notification list style
This commit is contained in:
parent
71994be407
commit
fc138609a1
24 changed files with 257 additions and 29 deletions
5
src/types/index.d.ts
vendored
5
src/types/index.d.ts
vendored
|
|
@ -1,5 +1,5 @@
|
|||
import { Event, VerifiedEvent, Filter } from 'nostr-tools'
|
||||
import { POLL_TYPE } from './constants'
|
||||
import { NOTIFICATION_LIST_STYLE, POLL_TYPE } from '../constants'
|
||||
|
||||
export type TSubRequestFilter = Omit<Filter, 'since' | 'until'> & { limit: number }
|
||||
|
||||
|
|
@ -182,3 +182,6 @@ export type TSearchParams = {
|
|||
search: string
|
||||
input?: string
|
||||
}
|
||||
|
||||
export type TNotificationStyle =
|
||||
(typeof NOTIFICATION_LIST_STYLE)[keyof typeof NOTIFICATION_LIST_STYLE]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue