Variable: notificationKeys
constnotificationKeys:object
Defined in: web/lib/hooks/use-notifications.ts:26
Query key factory for notification-related queries.
Type declaration
all
all: readonly [
"notifications"]
Base key for all notification queries
collectionAdds()
collectionAdds: (
params?) => readonly ["notifications","collection-adds",undefined| {cursor:string;limit:number; }]
Key for the user's eprints added to other people's collections
Parameters
params?
cursor
string
limit
number
Returns
readonly ["notifications", "collection-adds", undefined | { cursor: string; limit: number; }]
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; }]
followers()
followers: (
params?) => readonly ["notifications","followers",undefined| {cursor:string;limit:number; }]
Key for the people following the user
Parameters
params?
cursor
string
limit
number
Returns
readonly ["notifications", "followers", 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; }]