ドライブのファイルにユーザー情報を非正規化

This commit is contained in:
syuilo
2018-05-04 15:30:56 +09:00
parent d000b9e7cd
commit f62603fd9d
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,7 @@ export const getDriveFileBucket = async (): Promise<mongo.GridFSBucket> => {
export type IMetadata = {
properties: any;
userId: mongo.ObjectID;
_user: any;
folderId: mongo.ObjectID;
comment: string;
uri: string;