Merge pull request #927 from Hexastack/fix/backward-compatibility-content-type-fields-type

fix: backward compatibility content type fields type
This commit is contained in:
Med Marrouchi 2025-04-16 17:27:51 +01:00 committed by GitHub
commit 5563ce348d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {