mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
feat(core): add split view to experimental features settings (#6093)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
query getUserFeatures {
|
||||
currentUser {
|
||||
features
|
||||
}
|
||||
}
|
||||
@@ -343,6 +343,19 @@ query getPublicWorkspace($id: String!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getUserFeaturesQuery = {
|
||||
id: 'getUserFeaturesQuery' as const,
|
||||
operationName: 'getUserFeatures',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getUserFeatures {
|
||||
currentUser {
|
||||
features
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getUserQuery = {
|
||||
id: 'getUserQuery' as const,
|
||||
operationName: 'getUser',
|
||||
|
||||
@@ -387,6 +387,13 @@ export type GetPublicWorkspaceQuery = {
|
||||
publicWorkspace: { __typename?: 'WorkspaceType'; id: string };
|
||||
};
|
||||
|
||||
export type GetUserFeaturesQueryVariables = Exact<{ [key: string]: never }>;
|
||||
|
||||
export type GetUserFeaturesQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: { __typename?: 'UserType'; features: Array<FeatureType> } | null;
|
||||
};
|
||||
|
||||
export type GetUserQueryVariables = Exact<{
|
||||
email: Scalars['String']['input'];
|
||||
}>;
|
||||
@@ -953,6 +960,11 @@ export type Queries =
|
||||
variables: GetPublicWorkspaceQueryVariables;
|
||||
response: GetPublicWorkspaceQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getUserFeaturesQuery';
|
||||
variables: GetUserFeaturesQueryVariables;
|
||||
response: GetUserFeaturesQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getUserQuery';
|
||||
variables: GetUserQueryVariables;
|
||||
|
||||
Reference in New Issue
Block a user