feat(image): metadata support image mime type (#2026)

This commit is contained in:
Zong
2024-07-14 23:25:16 +08:00
committed by GitHub
parent dd2a9bdee5
commit 090c880860
3 changed files with 8 additions and 5 deletions

View File

@@ -9,6 +9,7 @@ export type MongoImageSchemaType = {
type: `${MongoImageTypeEnum}`;
metadata?: {
mime?: string; // image mime type.
relatedId?: string; // This id is associated with a set of images
};
};