Require server settings and global metadata to be loaded

This commit is contained in:
schroda
2026-04-27 15:38:49 +02:00
parent a7dcdd5651
commit 9440326b72
2 changed files with 75 additions and 15 deletions

View File

@@ -3562,6 +3562,12 @@ export class RequestManager {
) as useSubscription.Result<UpdaterSubscription>;
}
public getServerSettings(
options?: QueryOptions<GetServerSettingsQueryVariables>,
): AbortabaleApolloQueryResponse<GetServerSettingsQuery> {
return this.doRequest(GQLMethod.QUERY, GET_SERVER_SETTINGS, undefined, options);
}
public useGetServerSettings(
options?: QueryHookOptions<GetServerSettingsQuery, GetServerSettingsQueryVariables>,
): AbortableApolloUseQueryResponse<GetServerSettingsQuery, GetServerSettingsQueryVariables> {