mirror of https://github.com/portainer/portainer
10 lines
347 B
TypeScript
10 lines
347 B
TypeScript
|
import { EnvironmentId } from '@/react/portainer/environments/types';
|
||
|
|
||
|
import { queryKeys as dockerQueryKeys } from '../../queries/utils';
|
||
|
|
||
|
export const queryKeys = {
|
||
|
base: (environmentId: EnvironmentId) =>
|
||
|
[dockerQueryKeys.root(environmentId), 'images'] as const,
|
||
|
list: (environmentId: EnvironmentId) => queryKeys.base(environmentId),
|
||
|
};
|