feat: seed default task logos

This commit is contained in:
Abdalhamid Alhamad
2024-12-12 11:14:38 +03:00
parent e6ed1772f7
commit 687b6a5c6d
4 changed files with 54 additions and 1 deletions
@@ -24,7 +24,9 @@ export class DocumentController {
},
documentType: {
type: 'string',
enum: Object.values(DocumentType),
enum: Object.values(DocumentType).filter(
(value) => ![DocumentType.DEFAULT_AVATAR, DocumentType.DEFAULT_TASKS_LOGO].includes(value),
),
},
},
required: ['document', 'documentType'],