Add scaffolding for media gallery

This commit is contained in:
Daniel Gasienica 2018-04-12 16:23:26 -04:00
parent a8be4f2d8d
commit fc1c3aabf5
10 changed files with 382 additions and 4 deletions

View file

@ -19,7 +19,7 @@ export interface Attachment {
// key?: ArrayBuffer;
// digest?: ArrayBuffer;
// flags?: number;
};
}
export const isVisualMedia = (attachment: Attachment): boolean => {
const { contentType } = attachment;