portainer/app/react/docker/proxy/queries/images/queryKeys.ts

10 lines
339 B
TypeScript
Raw Normal View History

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