mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat(server): client version check (#9205)
Co-authored-by: forehalo <forehalo@gmail.com>
This commit is contained in:
@@ -426,6 +426,7 @@ export type ErrorDataUnion =
|
||||
| SubscriptionNotExistsDataType
|
||||
| SubscriptionPlanNotFoundDataType
|
||||
| UnknownOauthProviderDataType
|
||||
| UnsupportedClientVersionDataType
|
||||
| UnsupportedSubscriptionPlanDataType
|
||||
| VersionRejectedDataType
|
||||
| WorkspaceMembersExceedLimitToDowngradeDataType
|
||||
@@ -523,6 +524,7 @@ export enum ErrorNames {
|
||||
TOO_MANY_REQUEST = 'TOO_MANY_REQUEST',
|
||||
UNKNOWN_OAUTH_PROVIDER = 'UNKNOWN_OAUTH_PROVIDER',
|
||||
UNSPLASH_IS_NOT_CONFIGURED = 'UNSPLASH_IS_NOT_CONFIGURED',
|
||||
UNSUPPORTED_CLIENT_VERSION = 'UNSUPPORTED_CLIENT_VERSION',
|
||||
UNSUPPORTED_SUBSCRIPTION_PLAN = 'UNSUPPORTED_SUBSCRIPTION_PLAN',
|
||||
USER_AVATAR_NOT_FOUND = 'USER_AVATAR_NOT_FOUND',
|
||||
USER_NOT_FOUND = 'USER_NOT_FOUND',
|
||||
@@ -1534,6 +1536,12 @@ export interface UnknownOauthProviderDataType {
|
||||
name: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface UnsupportedClientVersionDataType {
|
||||
__typename?: 'UnsupportedClientVersionDataType';
|
||||
clientVersion: Scalars['String']['output'];
|
||||
requiredVersion: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface UnsupportedSubscriptionPlanDataType {
|
||||
__typename?: 'UnsupportedSubscriptionPlanDataType';
|
||||
plan: Scalars['String']['output'];
|
||||
|
||||
Reference in New Issue
Block a user