const getAllHousingDetails = async function getAllHousingDetails() {
    const d = new Date();
    let time = d.getTime();

    const config = useRuntimeConfig();

    const res = await $fetch(config.public.apiBase + '/housing.json?' + time)
        .catch((error) => error.data);
    return res;
}

export default {
    getAllHousingDetails: getAllHousingDetails,
    housing: "housing"
}