refactor(server): rename settings to user-settings (#11161)

This commit is contained in:
fengmk2
2025-03-25 08:47:27 +00:00
parent dda3103d1b
commit a8c86c5ede
17 changed files with 110 additions and 105 deletions

View File

@@ -1,7 +1,7 @@
import {
type GetUserSettingsQuery,
getUserSettingsQuery,
type UpdateSettingsInput,
type UpdateUserSettingsInput,
updateUserSettingsMutation,
} from '@affine/graphql';
import { Store } from '@toeverything/infra';
@@ -12,7 +12,7 @@ export type UserSettings = NonNullable<
GetUserSettingsQuery['currentUser']
>['settings'];
export type UpdateUserSettingsInput = UpdateSettingsInput;
export type { UpdateUserSettingsInput };
export class UserSettingsStore extends Store {
constructor(private readonly gqlService: GraphQLService) {