portainer/app/react/docker/proxy/queries/nodes/query-keys.ts

9 lines
268 B
TypeScript

import { EnvironmentId } from '@/react/portainer/environments/types';
import { queryKeys as proxyQueryKeys } from '../query-keys';
export const queryKeys = {
base: (environmentId: EnvironmentId) =>
[...proxyQueryKeys.base(environmentId), 'nodes'] as const,
};