Sicherung: Kartenzeilen und Loeschen mit Bestaetigung
This commit is contained in:
1 parent
c91de60a7f
commit
e1b688a70f
1 file changed
+6
@@ -198,6 +198,12 @@ export function runBackupNow(): Promise<{ backup: BackupInfo }> {
|
||||
return request<{ backup: BackupInfo }>("/api/backups", { method: "POST" });
|
||||
}
|
||||
|
||||
export function deleteBackup(name: string): Promise<{ deleted: boolean }> {
|
||||
return request(`/api/backups/${encodeURIComponent(name)}`, {
|
||||
method: "DELETE",
|
||||
});
|
||||
}
|
||||
|
||||
export function createOvertimeAdjustment(input: {
|
||||
entryDate: string;
|
||||
minutes: number;
|
||||
|
||||
Reference in new issue
Block a user