mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat(core): add notifications settings (#11004)
This commit is contained in:
@@ -3213,6 +3213,20 @@ export type GetUserFeaturesQuery = {
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetUserSettingsQueryVariables = Exact<{ [key: string]: never }>;
|
||||
|
||||
export type GetUserSettingsQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
settings: {
|
||||
__typename?: 'SettingsType';
|
||||
receiveInvitationEmail: boolean;
|
||||
receiveMentionEmail: boolean;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetUserQueryVariables = Exact<{
|
||||
email: Scalars['String']['input'];
|
||||
}>;
|
||||
@@ -3839,6 +3853,15 @@ export type UpdateUserProfileMutation = {
|
||||
updateProfile: { __typename?: 'UserType'; id: string; name: string };
|
||||
};
|
||||
|
||||
export type UpdateUserSettingsMutationVariables = Exact<{
|
||||
input: UpdateSettingsInput;
|
||||
}>;
|
||||
|
||||
export type UpdateUserSettingsMutation = {
|
||||
__typename?: 'Mutation';
|
||||
updateSettings: boolean;
|
||||
};
|
||||
|
||||
export type UploadAvatarMutationVariables = Exact<{
|
||||
avatar: Scalars['Upload']['input'];
|
||||
}>;
|
||||
@@ -4230,6 +4253,11 @@ export type Queries =
|
||||
variables: GetUserFeaturesQueryVariables;
|
||||
response: GetUserFeaturesQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getUserSettingsQuery';
|
||||
variables: GetUserSettingsQueryVariables;
|
||||
response: GetUserSettingsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getUserQuery';
|
||||
variables: GetUserQueryVariables;
|
||||
@@ -4647,6 +4675,11 @@ export type Mutations =
|
||||
variables: UpdateUserProfileMutationVariables;
|
||||
response: UpdateUserProfileMutation;
|
||||
}
|
||||
| {
|
||||
name: 'updateUserSettingsMutation';
|
||||
variables: UpdateUserSettingsMutationVariables;
|
||||
response: UpdateUserSettingsMutation;
|
||||
}
|
||||
| {
|
||||
name: 'uploadAvatarMutation';
|
||||
variables: UploadAvatarMutationVariables;
|
||||
|
||||
Reference in New Issue
Block a user