@bunbase-ae/js 2.9.3 → 2.10.1-next.246.74820d0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/admin.ts +4 -1
package/package.json
CHANGED
package/src/admin.ts
CHANGED
|
@@ -960,7 +960,10 @@ class AdminBackupsClient {
|
|
|
960
960
|
await this.http.request("DELETE", `/api/v1/admin/backups/${encodeURIComponent(filename)}`);
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
-
async restore(
|
|
963
|
+
async restore(
|
|
964
|
+
filename: string,
|
|
965
|
+
opts?: { destination?: string; env_passphrase?: string },
|
|
966
|
+
): Promise<void> {
|
|
964
967
|
await this.http.request(
|
|
965
968
|
"POST",
|
|
966
969
|
`/api/v1/admin/backups/${encodeURIComponent(filename)}/restore`,
|