From 62eb6c45f42f4afd5288a502712836f7a7f01a32 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 20:50:23 +0000 Subject: [PATCH] feat(firestore): return listBackupsResponse from firestore:backups:list --json The `firestore:backups:list --json` command now returns the full `listBackupsResponse` object instead of just the `backups` array. This provides more information to the user, including a list of unreachable locations. --- src/commands/firestore-backups-list.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/commands/firestore-backups-list.ts b/src/commands/firestore-backups-list.ts index d330684c1d5..ba93a8ed5d9 100644 --- a/src/commands/firestore-backups-list.ts +++ b/src/commands/firestore-backups-list.ts @@ -30,7 +30,5 @@ export const command = new Command("firestore:backups:list") ); } - // TODO: Consider returning listBackupResponse instead for --json. This will - // be a breaking change but exposes .unreachable, not just .backups. - return backups; + return listBackupsResponse; });