From 0551b93caecc505c7f03965bf80045617e582fc9 Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Fri, 6 Jun 2025 10:45:23 +0100 Subject: [PATCH] Update schemas --- docs/config.schema.json | 5 ++--- frontend/schema.graphql | 2 +- frontend/src/gql/graphql.ts | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/config.schema.json b/docs/config.schema.json index da0a58f60..182b7ba26 100644 --- a/docs/config.schema.json +++ b/docs/config.schema.json @@ -2559,9 +2559,8 @@ ] }, "plan_management_iframe_uri": { - "description": "Experimental feature to show a plan management tab and iframe", - "type": "string", - "format": "uri" + "description": "Experimental feature to show a plan management tab and iframe. This value is passed through \"as is\" to the client without any validation.", + "type": "string" } } }, diff --git a/frontend/schema.graphql b/frontend/schema.graphql index ded4085a3..0bf788790 100644 --- a/frontend/schema.graphql +++ b/frontend/schema.graphql @@ -1757,7 +1757,7 @@ type SiteConfig implements Node { Whether users can log in with their email address. """ loginWithEmailAllowed: Boolean! - planManagementIframeUri: Url + planManagementIframeUri: String """ The ID of the site configuration. """ diff --git a/frontend/src/gql/graphql.ts b/frontend/src/gql/graphql.ts index 7288685c7..1b71b6fb1 100644 --- a/frontend/src/gql/graphql.ts +++ b/frontend/src/gql/graphql.ts @@ -1296,7 +1296,7 @@ export type SiteConfig = Node & { passwordLoginEnabled: Scalars['Boolean']['output']; /** Whether passwords are enabled and users can register using a password. */ passwordRegistrationEnabled: Scalars['Boolean']['output']; - planManagementIframeUri?: Maybe; + planManagementIframeUri?: Maybe; /** The URL to the privacy policy. */ policyUri?: Maybe; /** The server name of the homeserver. */