change unknown file preview to readable format

This commit is contained in:
spencerwooo
2022-01-16 20:17:42 +08:00
parent 949caebb6e
commit abb8ca4b7f
4 changed files with 132 additions and 39 deletions
+15
View File
@@ -0,0 +1,15 @@
export type OdFileObject = {
'@microsoft.graph.downloadUrl': string
name: string
size: number
id: string
lastModifiedDateTime: string
file: {
mimeType: string
hashes: {
quickXorHash: string
sha1Hash: string
sha256Hash: string
}
}
}