mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-21 22:58:10 +00:00
refactor(api): destPath
=> dstPath
This commit is contained in:
parent
0ae02e0cca
commit
97f4e99c49
@ -157,7 +157,7 @@ export const commonFile = async (
|
||||
|
||||
return {
|
||||
srcPath: filePath,
|
||||
destPath: richMediaPath,
|
||||
dstPath: richMediaPath,
|
||||
fileSize,
|
||||
fileName,
|
||||
fileMime,
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user