Axinom Mosaic Libraries
    Preparing search index...
    • Plugin factory to create bulk mutations based on query filters

      Parameters

      • callback: (parameters: BulkIdParameters) => 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.

      • definePlugin: DefinePlugin

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

      • OptionalinputType: GraphQLInputObjectType

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

      Returns Plugin