import * as API from "api/api";

export const deploymentConfig = () => {
  return {
    queryKey: ["deployment", "config"],
    queryFn: API.getDeploymentConfig,
  };
};

export const deploymentDAUs = () => {
  return {
    queryKey: ["deployment", "daus"],
    queryFn: () => API.getDeploymentDAUs(),
  };
};

export const deploymentStats = () => {
  return {
    queryKey: ["deployment", "stats"],
    queryFn: API.getDeploymentStats,
  };
};

export const deploymentSSHConfig = () => {
  return {
    queryKey: ["deployment", "sshConfig"],
    queryFn: API.getDeploymentSSHConfig,
  };
};
