Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NotificationQueryParams

Available filtering parameters for notifications. Allows fetching of notifications for specific token and after date.

example

Fetching ALL notifications for a token

const { data } = useNotifications('ExponentPushToken[xxx]')
example

Fetching ALL notifications for a token after a specific date

const { data } = useNotifications('ExponentPushToken[xxx]', { after: <some date object> })

Hierarchy

Index

Properties

Properties

Optional after

after: Date

Optional amount

amount: number

Optional page

page: number

token

token: string

Generated using TypeDoc