feat(server): add invitation status to getInviteInfo response (#11158)

close CLOUD-182
This commit is contained in:
fengmk2
2025-03-25 06:51:26 +00:00
parent 9bad6fa12d
commit 4d15c32242
10 changed files with 144 additions and 15 deletions

View File

@@ -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;