chore: update .dockerignore and refactor createBackup function signature for improved readability
This commit is contained in:
@@ -15,3 +15,4 @@ README.md
|
|||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -170,9 +170,7 @@ async function calculateDataHash(): Promise<string> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const backupService = {
|
export const backupService = {
|
||||||
async createBackup(
|
async createBackup(force: boolean = false): Promise<{
|
||||||
force: boolean = false,
|
|
||||||
): Promise<{
|
|
||||||
id: string;
|
id: string;
|
||||||
filename: string;
|
filename: string;
|
||||||
size: number;
|
size: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user