export const getAppEnvConfig = () => {
  const env = import.meta.env;
  const {
    //
    VITE_REQUEST_INTERVAL,
    VITE_NDM_APP_KEY,
    VITE_LAMP_CLIENT_ID,
    VITE_LAMP_CLIENT_SECRET,
    VITE_LAMP_USERNAME,
    VITE_LAMP_PASSWORD,
    VITE_LAMP_AUTHORIZATION,
    VITE_STORAGE_VERSION,
    VITE_DEBUG_CODE,
  } = env;
  return {
    requestInterval: Number.parseInt(VITE_REQUEST_INTERVAL as string),
    ndmAppKey: VITE_NDM_APP_KEY as string,
    lampClientId: VITE_LAMP_CLIENT_ID as string,
    lampClientSecret: VITE_LAMP_CLIENT_SECRET as string,
    lampUsername: VITE_LAMP_USERNAME as string,
    lampPassword: VITE_LAMP_PASSWORD as string,
    lampAuthorization: VITE_LAMP_AUTHORIZATION as string,
    storageVersion: VITE_STORAGE_VERSION as string,
    debugCode: VITE_DEBUG_CODE as string,
  };
};
