import store from "@/redux/store";
// Importing slices that define the reducers and actions for different parts of the state
import authentication from "@/redux/slices/Auth/authentication";
import blog from "@/redux/slices/Blog/blog";
import property from "@/redux/slices/Property/property";
import contactUs from "@/redux/slices/ContactUs/contact-us";
import masterActions from "@/redux/slices/Master/master";
import common from "@/redux/slices/Common/commonSlice";
import booking from "@/redux/slices/Booking/booking";

export const rootReducer = {
    //add slices here
    authentication,
    blog,
    property,
    contactUs,
    common,
    masterActions,
    booking
}

export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
