• Plugin factory to create bulk mutations based on query filters

    Parameters

    • callback: ((parameters) => Promise<void>)

      The callback that shall perform the actual bulk operation. It receives different parameters from the base plugin to assist with the operation, e.g. a list of ids for which the bulk operation shall be performed.

        • (parameters): Promise<void>
        • Parameters

          Returns Promise<void>

    • definePlugin: DefinePlugin

      The callback that decides for which filters a bulk action is defined.

    • Optional inputType: GraphQLInputObjectType

      Defines additional input parameters for the bulk action. The values are forwarded as part of the message payload.

    Returns Plugin

Generated using TypeDoc