import { createSlice } from "@reduxjs/toolkit";
import { avicultureExtraReducers } from "./avicultureExtraReducers";

const initialState = {
  pending: false,
  avicultureRequests: [],
  avicultureChickenPrice: null,
  avicultureHallsInfo: null,
  avicultureHallInspects: null,
  profile: null,
  tickets: [],
  reports: [],
};

const slice = createSlice({
  name: "aviculture",
  initialState,
  reducers: {},
  extraReducers: avicultureExtraReducers,
});

export const { reducer: avicultureSlice } = slice;
