mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
@@ -1053,6 +1053,8 @@ export interface Mutation {
|
||||
updateRuntimeConfig: ServerRuntimeConfigType;
|
||||
/** update multiple server runtime configurable settings */
|
||||
updateRuntimeConfigs: Array<ServerRuntimeConfigType>;
|
||||
/** Update user settings */
|
||||
updateSettings: Scalars['Boolean']['output'];
|
||||
updateSubscriptionRecurring: SubscriptionType;
|
||||
/** Update an user */
|
||||
updateUser: UserType;
|
||||
@@ -1372,6 +1374,10 @@ export interface MutationUpdateRuntimeConfigsArgs {
|
||||
updates: Scalars['JSONObject']['input'];
|
||||
}
|
||||
|
||||
export interface MutationUpdateSettingsArgs {
|
||||
input: UpdateSettingsInput;
|
||||
}
|
||||
|
||||
export interface MutationUpdateSubscriptionRecurringArgs {
|
||||
idempotencyKey?: InputMaybe<Scalars['String']['input']>;
|
||||
plan?: InputMaybe<SubscriptionPlan>;
|
||||
@@ -1756,6 +1762,14 @@ export interface ServerServiceConfig {
|
||||
name: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface SettingsType {
|
||||
__typename?: 'SettingsType';
|
||||
/** Receive invitation email */
|
||||
receiveInvitationEmail: Scalars['Boolean']['output'];
|
||||
/** Receive mention email */
|
||||
receiveMentionEmail: Scalars['Boolean']['output'];
|
||||
}
|
||||
|
||||
export interface SpaceAccessDeniedDataType {
|
||||
__typename?: 'SpaceAccessDeniedDataType';
|
||||
spaceId: Scalars['String']['output'];
|
||||
@@ -1897,6 +1911,13 @@ export interface UpdateDocUserRoleInput {
|
||||
workspaceId: Scalars['String']['input'];
|
||||
}
|
||||
|
||||
export interface UpdateSettingsInput {
|
||||
/** Receive invitation email */
|
||||
receiveInvitationEmail?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
/** Receive mention email */
|
||||
receiveMentionEmail?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
}
|
||||
|
||||
export interface UpdateUserInput {
|
||||
/** User name */
|
||||
name?: InputMaybe<Scalars['String']['input']>;
|
||||
@@ -1983,6 +2004,8 @@ export interface UserType {
|
||||
notifications: PaginatedNotificationObjectType;
|
||||
quota: UserQuotaType;
|
||||
quotaUsage: UserQuotaUsageType;
|
||||
/** Get user settings */
|
||||
settings: SettingsType;
|
||||
subscriptions: Array<SubscriptionType>;
|
||||
/** @deprecated use [/api/auth/sign-in?native=true] instead */
|
||||
token: TokenType;
|
||||
|
||||
Reference in New Issue
Block a user