import {
	SET_ACTIVATED,
	SET_CONFIG_FORM_DATA,
	SET_AVAILABLE,
	SET_SELECTED,
	SET_CATEGORIES,
	SET_MODULES,
	SET_TEMPLATES,
} from "./constants";

export interface ISetActivated {
	type: typeof SET_ACTIVATED;
	payload: { activated: any };
}

export interface ISetSelected {
	type: typeof SET_SELECTED;
	payload: { selected: any | null };
}

export interface ISetConfigFormData {
	type: typeof SET_CONFIG_FORM_DATA;
	payload: { configFormData: any | null };
}

export interface ISetAvailable {
	type: typeof SET_AVAILABLE;
	payload: { available: any[] };
}

export interface ISetCategories {
	type: typeof SET_CATEGORIES;
	payload: { categories: any[] };
}

export interface ISetModules {
	type: typeof SET_MODULES;
	payload: { modules: any };
}

export interface ISetTemplates {
	type: typeof SET_TEMPLATES;
	payload: { templates: any[] };
}
