// Interfaces
import { SuggestiveInterface } from "./suggestive-interface"

export interface CategoriesDataInterface {
    success: boolean,
    data: {
        categories: {
            categoryMenu: {
                    catCode: string,
                    catName: string,
                    category_menu: number
                }[],
            tcMenu: {
                [key:string] : any,
                catCode: string, 
                catName: string,
                catCodeObj: {
                    data: SuggestiveInterface['data'][string]['rows']['result'][0][],
                    shippingOptions: SuggestiveInterface['data'][string]['rows']['shippingInfo'],
                    config: {
                        title: string,
                        minimumRows: number,
                        isempty: boolean,
                        isloading: boolean,
                        btnText: string
                    },
                    postRequestSent: boolean
                }
            }[]
        }
    },
}
