Interface DictionaryFieldContextActionCreators

The dictionary field context action creators.

interface DictionaryFieldContextActionCreators {
    addContext(
        payload: AddDictionaryFieldContextActionCreatorPayload,
    ): { payload: AddDictionaryFieldContextActionCreatorPayload; type: string };
    removeContext(field: string): { payload: string; type: string };
    setContext(
        payload: DictionaryFieldContextPayload,
    ): { payload: DictionaryFieldContextPayload; type: string };
}

Methods

  • Removes a dictionary field context field-key pair.

    Parameters

    • field: string

      The field to remove from the context (e.g., "price").

    Returns { payload: string; type: string }

    A dispatchable action.