mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
feat(server): add invitation status to getInviteInfo response (#11158)
close CLOUD-182
This commit is contained in:
@@ -10,5 +10,6 @@ query getInviteInfo($inviteId: String!) {
|
||||
name
|
||||
avatarUrl
|
||||
}
|
||||
status
|
||||
}
|
||||
}
|
||||
|
||||
@@ -750,6 +750,7 @@ export const getInviteInfoQuery = {
|
||||
name
|
||||
avatarUrl
|
||||
}
|
||||
status
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
@@ -834,9 +834,11 @@ export interface InvitationReviewRequestNotificationBodyType {
|
||||
export interface InvitationType {
|
||||
__typename?: 'InvitationType';
|
||||
/** Invitee information */
|
||||
invitee: UserType;
|
||||
invitee: WorkspaceUserType;
|
||||
/** Invitation status in workspace */
|
||||
status: Maybe<WorkspaceMemberStatus>;
|
||||
/** User information */
|
||||
user: UserType;
|
||||
user: WorkspaceUserType;
|
||||
/** Workspace information */
|
||||
workspace: InvitationWorkspaceType;
|
||||
}
|
||||
@@ -3192,6 +3194,7 @@ export type GetInviteInfoQuery = {
|
||||
__typename?: 'Query';
|
||||
getInviteInfo: {
|
||||
__typename?: 'InvitationType';
|
||||
status: WorkspaceMemberStatus | null;
|
||||
workspace: {
|
||||
__typename?: 'InvitationWorkspaceType';
|
||||
id: string;
|
||||
@@ -3199,7 +3202,7 @@ export type GetInviteInfoQuery = {
|
||||
avatar: string;
|
||||
};
|
||||
user: {
|
||||
__typename?: 'UserType';
|
||||
__typename?: 'WorkspaceUserType';
|
||||
id: string;
|
||||
name: string;
|
||||
avatarUrl: string | null;
|
||||
|
||||
Reference in New Issue
Block a user