Revert "Revert "fix: backward compatibility content type fields type""

This commit is contained in:
Med Marrouchi
2025-04-16 17:32:47 +01:00
committed by GitHub
parent b588d6c57e
commit bfaf9d4865

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 {