@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
14 lines • 533 B
JavaScript
import { WorkerAdapter, WorkerDirector } from '@unchainedshop/core';
export const ExternalWorkerPlugin = {
...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);
//# sourceMappingURL=external.js.map