diff --git a/api/src/cms/dto/contentType.dto.ts b/api/src/cms/dto/contentType.dto.ts index be03e245..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 {