UNPKG

@unchainedshop/plugins

Version:

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

20 lines (19 loc) 543 B
import { QuotationAdapter } from '@unchainedshop/core'; export const ManualOffering = { ...QuotationAdapter, key: 'shop.unchained.quotations.manual', version: '1.0.0', label: 'Manual Offerings', orderIndex: 0, isActivatedFor: () => true, actions: (params) => { return { ...QuotationAdapter.actions(params), quote: async () => { return { expires: new Date(new Date().getTime() + 3600 * 1000), }; }, }; }, };