Skip to main content

Variable: notificationKeys

const notificationKeys: object

Defined in: web/lib/hooks/use-notifications.ts:22

Query key factory for notification-related queries.

Type declaration

all

all: readonly ["notifications"]

Base key for all notification queries

endorsementsOnMyPapers()

endorsementsOnMyPapers: (params?) => readonly ["notifications", "endorsements", undefined | { cursor: string; limit: number; }]

Key for endorsement notifications on user's papers

Parameters

params?
cursor

string

limit

number

Returns

readonly ["notifications", "endorsements", undefined | { cursor: string; limit: number; }]

reviewsOnMyPapers()

reviewsOnMyPapers: (params?) => readonly ["notifications", "reviews", undefined | { cursor: string; limit: number; }]

Key for review notifications on user's papers

Parameters

params?
cursor

string

limit

number

Returns

readonly ["notifications", "reviews", undefined | { cursor: string; limit: number; }]