UNPKG

@unchainedshop/plugins

Version:

Official plugin collection for the Unchained Engine with payment, delivery, and pricing adapters

23 lines (22 loc) 627 B
import { DeliveryAdapter } from '@unchainedshop/core'; import { DeliveryProviderType } from '@unchainedshop/core-delivery'; export const Post = { ...DeliveryAdapter, key: 'shop.unchained.post', label: 'Manual', version: '1.0.0', typeSupported: (type) => { return type === DeliveryProviderType.SHIPPING; }, actions: (config, context) => { return { ...DeliveryAdapter.actions(config, context), isActive: () => { return true; }, configurationError: () => { return null; }, }; }, };