Interface FoldingActionCreators

The folding action creators.

interface FoldingActionCreators {
    loadCollection(collectionId: string): AsyncThunkAction<LoadCollectionFulfilledReturn, string, AsyncThunkSearchOptions<StateNeededByLoadCollection>>;
    registerFolding(payload: RegisterFoldingActionCreatorPayload): {
        payload: RegisterFoldingActionCreatorPayload;
        type: string;
    };
}

Methods

  • Loads the results of a collection.

    Parameters

    • collectionId: string

      The collection id to load results for.

    Returns AsyncThunkAction<LoadCollectionFulfilledReturn, string, AsyncThunkSearchOptions<StateNeededByLoadCollection>>

    A dispatchable action.