1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-31 19:35:21 +02:00
portainer/app/react/portainer/webhooks/query-keys.ts

6 lines
169 B
TypeScript

import { Filters } from './types';
export const queryKeys = {
base: () => ['webhooks'] as const,
list: (filters: Filters) => [...queryKeys.base(), { filters }],
};