mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(admin): add config page to admin (#7619)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
query getServerServiceConfigs {
|
||||
serverServiceConfigs {
|
||||
name
|
||||
config
|
||||
}
|
||||
}
|
||||
@@ -515,6 +515,20 @@ query getServerRuntimeConfig {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getServerServiceConfigsQuery = {
|
||||
id: 'getServerServiceConfigsQuery' as const,
|
||||
operationName: 'getServerServiceConfigs',
|
||||
definitionName: 'serverServiceConfigs',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getServerServiceConfigs {
|
||||
serverServiceConfigs {
|
||||
name
|
||||
config
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getUserByEmailQuery = {
|
||||
id: 'getUserByEmailQuery' as const,
|
||||
operationName: 'getUserByEmail',
|
||||
|
||||
@@ -1702,6 +1702,19 @@ export type GetServerRuntimeConfigQuery = {
|
||||
}>;
|
||||
};
|
||||
|
||||
export type GetServerServiceConfigsQueryVariables = Exact<{
|
||||
[key: string]: never;
|
||||
}>;
|
||||
|
||||
export type GetServerServiceConfigsQuery = {
|
||||
__typename?: 'Query';
|
||||
serverServiceConfigs: Array<{
|
||||
__typename?: 'ServerServiceConfig';
|
||||
name: string;
|
||||
config: any;
|
||||
}>;
|
||||
};
|
||||
|
||||
export type GetUserByEmailQueryVariables = Exact<{
|
||||
email: Scalars['String']['input'];
|
||||
}>;
|
||||
@@ -2424,6 +2437,11 @@ export type Queries =
|
||||
variables: GetServerRuntimeConfigQueryVariables;
|
||||
response: GetServerRuntimeConfigQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getServerServiceConfigsQuery';
|
||||
variables: GetServerServiceConfigsQueryVariables;
|
||||
response: GetServerServiceConfigsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getUserByEmailQuery';
|
||||
variables: GetUserByEmailQueryVariables;
|
||||
|
||||
Reference in New Issue
Block a user