The question answering action creators.

interface QuestionAnsweringActionCreators {
    closeFeedbackModal(): { payload: void; type: string };
    collapseSmartSnippet(): { payload: void; type: string };
    collapseSmartSnippetRelatedQuestion(
        payload: QuestionAnsweringUniqueIdentifierActionCreatorPayload,
    ): {
        payload: QuestionAnsweringUniqueIdentifierActionCreatorPayload;
        type: string;
    };
    dislikeSmartSnippet(): { payload: void; type: string };
    expandSmartSnippet(): { payload: void; type: string };
    expandSmartSnippetRelatedQuestion(
        payload: QuestionAnsweringUniqueIdentifierActionCreatorPayload,
    ): {
        payload: QuestionAnsweringUniqueIdentifierActionCreatorPayload;
        type: string;
    };
    likeSmartSnippet(): { payload: void; type: string };
    openFeedbackModal(): { payload: void; type: string };
}

Methods

  • Closes the feedback modal of a smart snippet.

    Returns { payload: void; type: string }

    A dispatchable action.

  • Collapses a smart snippet.

    Returns { payload: void; type: string }

    A dispatchable action.

  • Dislikes a smart snippet (a 'thumbs down' reaction).

    Returns { payload: void; type: string }

    A dispatchable action.

  • Expands a smart snippet.

    Returns { payload: void; type: string }

    A dispatchable action.

  • Likes a smart snippet (a 'thumbs up' reaction).

    Returns { payload: void; type: string }

    A dispatchable action.

  • Opens the feedback modal of a smart snippet.

    Returns { payload: void; type: string }

    A dispatchable action.