Преглед изворни кода

feat(payments-plugin): Forgot to add files

Martijn пре 1 година
родитељ
комит
9e51be2f3e
1 измењених фајлова са 16 додато и 0 уклоњено
  1. 16 0
      packages/payments-plugin/src/mollie/custom-fields.ts

+ 16 - 0
packages/payments-plugin/src/mollie/custom-fields.ts

@@ -0,0 +1,16 @@
+import { CustomFieldConfig, Order, CustomOrderFields } from '@vendure/core';
+
+export interface OrderWithMollieReference extends Order {
+    customFields: CustomOrderFields & {
+        mollieOrderId?: string;
+    };
+}
+
+export const orderCustomFields: CustomFieldConfig[] = [
+    {
+        name: 'mollieOrderId',
+        type: 'string',
+        internal: true,
+        nullable: true,
+    },
+];