fix: make server guid consistent (#4341)

This commit is contained in:
liuyi
2023-10-17 10:34:13 +08:00
committed by GitHub
parent b3dc4dce9c
commit 01987990ee
13 changed files with 303 additions and 114 deletions

View File

@@ -415,28 +415,6 @@ mutation sendVerifyChangeEmail($token: String!, $email: String!, $callbackUrl: S
}`,
};
export const setRevokePageMutation = {
id: 'setRevokePageMutation' as const,
operationName: 'setRevokePage',
definitionName: 'revokePage',
containsFile: false,
query: `
mutation setRevokePage($workspaceId: String!, $pageId: String!) {
revokePage(workspaceId: $workspaceId, pageId: $pageId)
}`,
};
export const setSharePageMutation = {
id: 'setSharePageMutation' as const,
operationName: 'setSharePage',
definitionName: 'sharePage',
containsFile: false,
query: `
mutation setSharePage($workspaceId: String!, $pageId: String!) {
sharePage(workspaceId: $workspaceId, pageId: $pageId)
}`,
};
export const setWorkspacePublicByIdMutation = {
id: 'setWorkspacePublicByIdMutation' as const,
operationName: 'setWorkspacePublicById',

View File

@@ -1,3 +0,0 @@
mutation setRevokePage($workspaceId: String!, $pageId: String!) {
revokePage(workspaceId: $workspaceId, pageId: $pageId)
}

View File

@@ -1,3 +0,0 @@
mutation setSharePage($workspaceId: String!, $pageId: String!) {
sharePage(workspaceId: $workspaceId, pageId: $pageId)
}

View File

@@ -376,26 +376,6 @@ export type SendVerifyChangeEmailMutation = {
sendVerifyChangeEmail: boolean;
};
export type SetRevokePageMutationVariables = Exact<{
workspaceId: Scalars['String']['input'];
pageId: Scalars['String']['input'];
}>;
export type SetRevokePageMutation = {
__typename?: 'Mutation';
revokePage: boolean;
};
export type SetSharePageMutationVariables = Exact<{
workspaceId: Scalars['String']['input'];
pageId: Scalars['String']['input'];
}>;
export type SetSharePageMutation = {
__typename?: 'Mutation';
sharePage: boolean;
};
export type SetWorkspacePublicByIdMutationVariables = Exact<{
id: Scalars['ID']['input'];
public: Scalars['Boolean']['input'];
@@ -637,16 +617,6 @@ export type Mutations =
variables: SendVerifyChangeEmailMutationVariables;
response: SendVerifyChangeEmailMutation;
}
| {
name: 'setRevokePageMutation';
variables: SetRevokePageMutationVariables;
response: SetRevokePageMutation;
}
| {
name: 'setSharePageMutation';
variables: SetSharePageMutationVariables;
response: SetSharePageMutation;
}
| {
name: 'setWorkspacePublicByIdMutation';
variables: SetWorkspacePublicByIdMutationVariables;