Require server settings and global metadata to be loaded
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user