refactor(api): destPath => dstPath

This commit is contained in:
Il Harper 2024-09-07 13:11:40 +08:00
parent 0ae02e0cca
commit 97f4e99c49
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC
3 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ export const commonFile = async (
return {
srcPath: filePath,
destPath: richMediaPath,
dstPath: richMediaPath,
fileSize,
fileName,
fileMime,

View File

@ -15,7 +15,7 @@ export const commonSave = async (
await parsedFile.commit()
return {
filePath: parsedFile.destPath,
filePath: parsedFile.dstPath,
fileSize: parsedFile.fileSize,
fileName: parsedFile.fileName,
fileMime: parsedFile.fileMime,

View File

@ -21,7 +21,7 @@ export interface CommonSaveResult extends CommonFileInfo {
export interface CommonFileResult extends CommonFileInfo {
srcPath: string
destPath: string
dstPath: string
commit: () => Promise<void>
cancel: () => void
}