Skip to main content

Variable: backlinkKeys

const backlinkKeys: object

Defined in: web/lib/hooks/use-backlinks.ts:58

Query key factory for backlink-related queries.

Type declaration

all

all: readonly ["backlinks"]

Base key for all backlink queries

counts()

counts: (targetUri) => readonly ["backlinks", "counts", string]

Key for backlink count queries

Parameters

targetUri

string

Returns

readonly ["backlinks", "counts", string]

list()

list: (targetUri, options?) => readonly ["backlinks", "list", string, undefined | { limit: number; sourceType: BacklinkSourceType; }]

Key for backlink list queries

Parameters

targetUri

string

options?
limit

number

sourceType

BacklinkSourceType

Returns

readonly ["backlinks", "list", string, undefined | { limit: number; sourceType: BacklinkSourceType; }]

Remarks

Follows TanStack Query best practices for cache key management.