refactor: note list component
This commit is contained in:
parent
96ed0757de
commit
e78e2c2078
13 changed files with 766 additions and 419 deletions
12
src/types/index.d.ts
vendored
12
src/types/index.d.ts
vendored
|
|
@ -1,6 +1,16 @@
|
|||
import { Event, VerifiedEvent } from 'nostr-tools'
|
||||
import { Event, VerifiedEvent, Filter } from 'nostr-tools'
|
||||
import { POLL_TYPE } from './constants'
|
||||
|
||||
export type TSubRequest = {
|
||||
urls: string[]
|
||||
filter: Omit<Filter, 'since' | 'until'> & { limit: number }
|
||||
}
|
||||
|
||||
export type TNormalFeedSubRequest = {
|
||||
urls: string[]
|
||||
filter: Omit<Filter, 'since' | 'until' | 'kinds'>
|
||||
}
|
||||
|
||||
export type TProfile = {
|
||||
username: string
|
||||
pubkey: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue