mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-26 19:06:55 +01:00
11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
|
import type { WebdavBackup } from "@/types/webdav";
|
||
|
import kyClient from "./kyClient";
|
||
|
|
||
|
export function getAutoBackupList() {
|
||
|
return kyClient.get("webdav/backup/auto").json<WebdavBackup[]>();
|
||
|
}
|
||
|
|
||
|
export function getManualBackupList() {
|
||
|
return kyClient.get("webdav/backup/manual").json<WebdavBackup[]>();
|
||
|
}
|