refactor: เพิ่มผู้เขียน

This commit is contained in:
puri-ph4tt 2023-12-26 15:02:29 +07:00
parent ae2e0edfd2
commit cad864d224
2 changed files with 14 additions and 3 deletions

View file

@ -26,6 +26,8 @@ export interface StorageFile {
fileType: string
title: string
description: string
author: string,
metadata: Record<string, unknown>
category: string[]
keyword: string[]
updatedAt: string
@ -439,9 +441,9 @@ const useStorage = defineStore('storageStore', () => {
},
to: file?.name
? {
file: file.name,
path: arr,
}
file: file.name,
path: arr,
}
: undefined,
upload: !!file,
},