From 3cdddd9470a7a8a83b46dded5aa280007c70ae37 Mon Sep 17 00:00:00 2001 From: vanpham-sw Date: Wed, 11 Dec 2024 16:55:03 +0700 Subject: [PATCH] fix: replace config property with new structure (#221) --- src/types/ShopwareTypes.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/types/ShopwareTypes.ts b/src/types/ShopwareTypes.ts index d8a41f2f..da7d5df3 100644 --- a/src/types/ShopwareTypes.ts +++ b/src/types/ShopwareTypes.ts @@ -219,6 +219,11 @@ export type CustomFieldSet = components['schemas']['CustomFieldSet'] & { id: string, }; -export type CustomField = components['schemas']['CustomField'] & { +export type CustomField = Omit & { id: string, + config: { + label: { + 'en-GB': string, + } + }; }; \ No newline at end of file