crmActions: {
    addFollowers: AsyncThunk<
        string[],
        { cardId: string; followers: string[] },
        AsyncThunkConfig,
    >;
    addPersons: AsyncThunk<
        ICard,
        { cardId: string; persons: string[] },
        AsyncThunkConfig,
    >;
    excludeCards: AsyncThunk<void, string[], AsyncThunkConfig>;
    fetchAllCards: AsyncThunk<
        { data: IPaginatedData<ICard>; filters: IFilterCards },
        { filters: IFilterCards },
        AsyncThunkConfig,
    >;
    fetchCrm: AsyncThunk<
        ICrm,
        { boardId: string; filters?: IFilterCards },
        AsyncThunkConfig,
    >;
    getBoardById: AsyncThunk<IBoard, { boardId: string }, AsyncThunkConfig>;
    getBoards: AsyncThunk<
        IPaginatedData<IBoard>,
        { filters?: any },
        AsyncThunkConfig,
    >;
    getCardById: AsyncThunk<
        ICard,
        { cardId: string; filters?: { [key: string]: string
        | number
        | boolean } },
        AsyncThunkConfig,
    >;
    moveCards: AsyncThunk<
        ICard[],
        { cards: string[]; list: string },
        AsyncThunkConfig,
    >;
    removeFollowers: AsyncThunk<
        string[],
        { cardId: string; followers: string[] },
        AsyncThunkConfig,
    >;
    removePersons: AsyncThunk<
        ICard,
        { cardId: string; persons: string[] },
        AsyncThunkConfig,
    >;
    reset: ActionCreatorWithoutPayload<"crmReducer/reset">;
    setSelectedCard: ActionCreatorWithOptionalPayload<
        ICard,
        "crmReducer/setSelectedCard",
    >;
    setSelectedList: ActionCreatorWithOptionalPayload<
        IList,
        "crmReducer/setSelectedList",
    >;
    updateCard: AsyncThunk<
        void,
        {
            cardId: string;
            payload: Partial<Omit<ICard, "user"> & { user: string }>;
        },
        AsyncThunkConfig,
    >;
} = ...

Type declaration

  • addFollowers: AsyncThunk<string[], { cardId: string; followers: string[] }, AsyncThunkConfig>
  • addPersons: AsyncThunk<ICard, { cardId: string; persons: string[] }, AsyncThunkConfig>
  • excludeCards: AsyncThunk<void, string[], AsyncThunkConfig>
  • fetchAllCards: AsyncThunk<
        { data: IPaginatedData<ICard>; filters: IFilterCards },
        { filters: IFilterCards },
        AsyncThunkConfig,
    >
  • fetchCrm: AsyncThunk<ICrm, { boardId: string; filters?: IFilterCards }, AsyncThunkConfig>
  • getBoardById: AsyncThunk<IBoard, { boardId: string }, AsyncThunkConfig>
  • getBoards: AsyncThunk<IPaginatedData<IBoard>, { filters?: any }, AsyncThunkConfig>
  • getCardById: AsyncThunk<
        ICard,
        { cardId: string; filters?: { [key: string]: string
        | number
        | boolean } },
        AsyncThunkConfig,
    >
  • moveCards: AsyncThunk<ICard[], { cards: string[]; list: string }, AsyncThunkConfig>
  • removeFollowers: AsyncThunk<string[], { cardId: string; followers: string[] }, AsyncThunkConfig>
  • removePersons: AsyncThunk<ICard, { cardId: string; persons: string[] }, AsyncThunkConfig>
  • reset: ActionCreatorWithoutPayload<"crmReducer/reset">
  • setSelectedCard: ActionCreatorWithOptionalPayload<ICard, "crmReducer/setSelectedCard">
  • setSelectedList: ActionCreatorWithOptionalPayload<IList, "crmReducer/setSelectedList">
  • updateCard: AsyncThunk<
        void,
        {
            cardId: string;
            payload: Partial<Omit<ICard, "user"> & { user: string }>;
        },
        AsyncThunkConfig,
    >