/**
 * React Native Full App (https://store.enappd.com/product/react-native-full-app)
 *
 * Copyright © 2019-present Enappd. All rights reserved.
 *
 * This source code is licensed as per the terms found in the
 * LICENSE.md file in the root directory of this source tree.
 */
export const GET_SHORT_OFFERS = 'GET_SHORT_OFFERS';
export const GET_ACCORDION_DATA = 'GET_ACCORDION_DATA';
export const SET_CATEGORY_PRODUCTS = 'SET_CATEGORY_PRODUCTS';
export const SET_CATEGORY_TITLE = 'SET_CATEGORY_TITLE';
export const GET_SLIDER_DATA = 'GET_SLIDER_DATA';

interface GetShortOffersAction {
    type: typeof GET_SHORT_OFFERS
    payload: any
}
interface GetAccordionDataAction {
    type: typeof GET_ACCORDION_DATA
    payload: any
}
interface SetCategoryProductsAction {
    type: typeof SET_CATEGORY_PRODUCTS
    payload: any
}
interface SetCategoryTitleAction {
    type: typeof SET_CATEGORY_TITLE
    payload: string
}
interface GetSliderDataAction {
    type: typeof GET_SLIDER_DATA
    payload: string
}

export type HomeActionTypes = GetShortOffersAction | GetAccordionDataAction | SetCategoryProductsAction | SetCategoryTitleAction | GetSliderDataAction ;