This commit is contained in:
syuilo 2018-02-02 08:21:30 +09:00
parent 9a282e37be
commit 718060dc85
61 changed files with 132 additions and 119 deletions

View file

@ -20,8 +20,14 @@ export { getGridFSBucket };
export type IDriveFile = {
_id: mongodb.ObjectID;
created_at: Date;
user_id: mongodb.ObjectID;
uploadDate: Date;
md5: string;
filename: string;
metadata: {
properties: any;
user_id: mongodb.ObjectID;
folder_id: mongodb.ObjectID;
}
};
export function validateFileName(name: string): boolean {