export const queryKeys = { timeline: { all: ["timeline"] as const, list: (folderIdentifier?: string | null, feedIdentifier?: string | null, unreadOnly?: boolean, prioritiseUnread?: boolean) => ["timeline", { folderIdentifier, feedIdentifier, unreadOnly, prioritiseUnread }] as const, }, savedEntries: { all: ["saved-entries"] as const, }, subscriptions: { all: ["subscriptions"] as const, }, entryDetail: { single: (entryIdentifier: string) => ["entry-detail", entryIdentifier] as const, }, userProfile: { all: ["user-profile"] as const, }, mutedKeywords: { all: ["muted-keywords"] as const, }, unreadCounts: { all: ["unread-counts"] as const, }, entrySearch: { query: (searchQuery: string) => ["entry-search", searchQuery] as const, }, entryShare: { single: (entryIdentifier: string) => ["entry-share", entryIdentifier] as const, }, entryState: { single: (entryIdentifier: string) => ["entry-state", entryIdentifier] as const, }, highlights: { forEntry: (entryIdentifier: string) => ["highlights", entryIdentifier] as const, all: ["highlights"] as const, }, customFeeds: { all: ["custom-feeds"] as const, timeline: (customFeedIdentifier: string) => ["custom-feed-timeline", customFeedIdentifier] as const, }, }