mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-22 07:07:53 +00:00
refactor(api): destPath
=> dstPath
This commit is contained in:
parent
0ae02e0cca
commit
97f4e99c49
@ -157,7 +157,7 @@ export const commonFile = async (
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
srcPath: filePath,
|
srcPath: filePath,
|
||||||
destPath: richMediaPath,
|
dstPath: richMediaPath,
|
||||||
fileSize,
|
fileSize,
|
||||||
fileName,
|
fileName,
|
||||||
fileMime,
|
fileMime,
|
||||||
|
@ -15,7 +15,7 @@ export const commonSave = async (
|
|||||||
await parsedFile.commit()
|
await parsedFile.commit()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
filePath: parsedFile.destPath,
|
filePath: parsedFile.dstPath,
|
||||||
fileSize: parsedFile.fileSize,
|
fileSize: parsedFile.fileSize,
|
||||||
fileName: parsedFile.fileName,
|
fileName: parsedFile.fileName,
|
||||||
fileMime: parsedFile.fileMime,
|
fileMime: parsedFile.fileMime,
|
||||||
|
@ -21,7 +21,7 @@ export interface CommonSaveResult extends CommonFileInfo {
|
|||||||
|
|
||||||
export interface CommonFileResult extends CommonFileInfo {
|
export interface CommonFileResult extends CommonFileInfo {
|
||||||
srcPath: string
|
srcPath: string
|
||||||
destPath: string
|
dstPath: string
|
||||||
commit: () => Promise<void>
|
commit: () => Promise<void>
|
||||||
cancel: () => void
|
cancel: () => void
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user