UNPKG

@unchainedshop/plugins

Version:

Because of a Typescript issue with upstream "postfinancecheckout", the Postfinance plugin has been disabled from transpilation, import the source ts files from src and enable node_module tsc or copy over the src/payment/postfinance-checkout to your projec

18 lines (13 loc) 525 B
import { IWorkerAdapter, WorkerAdapter, WorkerDirector } from '@unchainedshop/core'; export const ExternalWorkerPlugin: IWorkerAdapter<void, void> = { ...WorkerAdapter, key: 'shop.unchained.worker-plugin.external', label: 'External plugin as a placeholder for workers who interact with the system only via GraphQL', version: '1.0.0', type: 'EXTERNAL', external: true, async doWork() { throw new Error('Cannot do work for external workers'); }, }; WorkerDirector.registerAdapter(ExternalWorkerPlugin);