portainer/app/react/docker/volumes/queries/query-keys.ts

9 lines
283 B
TypeScript

import { EnvironmentId } from '@/react/portainer/environments/types';
import { queryKeys as dockerQueryKeys } from '../../queries/utils/root';
export const queryKeys = {
base: (environmentId: EnvironmentId) =>
[...dockerQueryKeys.root(environmentId), 'volumes'] as const,
};