You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/docker/proxy/queries/query-keys.ts

9 lines
320 B

import { EnvironmentId } from '@/react/portainer/environments/types';
export const queryKeys = {
base: (environmentId: EnvironmentId) =>
[environmentId, 'docker', 'proxy'] as const,
events: (environmentId: EnvironmentId, params?: object) =>
[...queryKeys.base(environmentId), 'events', params] as const,
};