From 82cec7d7cbac0b84b0108ac765e97d0b9485783d Mon Sep 17 00:00:00 2001 From: dean Date: Mon, 19 Jan 2026 13:06:04 -0800 Subject: [PATCH] feat: Add bucketUrl to DeployedConfig Add bucketUrl field to schema and query so mobile can get the bucket URL dynamically from the backend instead of hardcoding it. Co-Authored-By: Claude Opus 4.5 --- src/index.tsx | 3 +++ src/operations/config.gql | 1 + src/schema.gql | 1 + 3 files changed, 5 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 214b49f..9fdd2a6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -273,6 +273,7 @@ export type DeployedConfigGql = { __typename?: "DeployedConfigGQL"; allowNewUsers: Scalars["Boolean"]["output"]; bannerMessages: Array; + bucketUrl: Scalars["String"]["output"]; defaultAndroidRecordingFormat: StreamSegmentTypeEnum; devMode: Scalars["Boolean"]["output"]; environment: Scalars["String"]["output"]; @@ -3977,6 +3978,7 @@ export type GetDeployedConfigQuery = { minimumAllowedAppVersion: string; subscriptionGatingEnabled: boolean; defaultAndroidRecordingFormat: StreamSegmentTypeEnum; + bucketUrl: string; bannerMessages: Array<{ __typename?: "BannerGQL"; color: string; @@ -8219,6 +8221,7 @@ export const GetDeployedConfigDocument = gql` priority } defaultAndroidRecordingFormat + bucketUrl } } `; diff --git a/src/operations/config.gql b/src/operations/config.gql index b6895a2..5f60e08 100644 --- a/src/operations/config.gql +++ b/src/operations/config.gql @@ -15,5 +15,6 @@ query getDeployedConfig { priority } defaultAndroidRecordingFormat + bucketUrl } } diff --git a/src/schema.gql b/src/schema.gql index e95dcb8..33a9be9 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -669,6 +669,7 @@ type DeployedConfigGQL { subscriptionGatingEnabled: Boolean! bannerMessages: [BannerGQL!]! defaultAndroidRecordingFormat: StreamSegmentTypeEnum! + bucketUrl: String! } type BannerGQL {