import { getMyPowerPlant } from '../../../entities/power-plant/queries/query';
export const REFRESH_INTERVAL = 1000 * 60 * 10; // ms (기본 값 10분)
export const getRefreshTime = async () => {
    const { data: myPowerPlant } = await getMyPowerPlant();
    return myPowerPlant.refreshTime ? myPowerPlant.refreshTime * 1000 : REFRESH_INTERVAL;
};
//# sourceMappingURL=common.js.map