From bfaf9d486545d2a2814dc4e5d2f270e2b3cda955 Mon Sep 17 00:00:00 2001 From: Med Marrouchi Date: Wed, 16 Apr 2025 17:32:47 +0100 Subject: [PATCH] Revert "Revert "fix: backward compatibility content type fields type"" --- api/src/cms/dto/contentType.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/cms/dto/contentType.dto.ts b/api/src/cms/dto/contentType.dto.ts index bd6e5f0f..ea47e7d1 100644 --- a/api/src/cms/dto/contentType.dto.ts +++ b/api/src/cms/dto/contentType.dto.ts @@ -40,7 +40,7 @@ export class ContentField { message: "type must be one of the following values: 'text', 'url', 'textarea', 'checkbox', 'file', 'html'", }) - type: FieldType; + type: `${FieldType}` | FieldType; } export class ContentTypeCreateDto {