feat: add cache keys

This commit is contained in:
CREDO23 2025-12-18 23:08:36 +02:00
parent 4710b9ad3d
commit 797a8d4329
3 changed files with 304 additions and 0 deletions

View file

@ -58,5 +58,6 @@ export const cacheKeys = {
withQueryParams: (queries: GetConnectorsRequest["queryParams"]) =>
["connectors", ...(queries ? Object.values(queries) : [])] as const,
byId: (connectorId: string) => ["connector", connectorId] as const,
index: () => ["connector", "index"] as const,
},
};