mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
feat(server): send invitation review notification (#10418)
This commit is contained in:
@@ -624,7 +624,7 @@ type InvitationAcceptedNotificationBodyType {
|
||||
The user who created the notification, maybe null when user is deleted or sent by system
|
||||
"""
|
||||
createdByUser: PublicUserType
|
||||
inviteId: String!
|
||||
inviteId: ID!
|
||||
|
||||
"""The type of the notification"""
|
||||
type: NotificationType!
|
||||
@@ -636,7 +636,7 @@ type InvitationBlockedNotificationBodyType {
|
||||
The user who created the notification, maybe null when user is deleted or sent by system
|
||||
"""
|
||||
createdByUser: PublicUserType
|
||||
inviteId: String!
|
||||
inviteId: ID!
|
||||
|
||||
"""The type of the notification"""
|
||||
type: NotificationType!
|
||||
@@ -655,6 +655,41 @@ type InvitationNotificationBodyType {
|
||||
workspace: NotificationWorkspaceType
|
||||
}
|
||||
|
||||
type InvitationReviewApprovedNotificationBodyType {
|
||||
"""
|
||||
The user who created the notification, maybe null when user is deleted or sent by system
|
||||
"""
|
||||
createdByUser: PublicUserType
|
||||
inviteId: ID!
|
||||
|
||||
"""The type of the notification"""
|
||||
type: NotificationType!
|
||||
workspace: NotificationWorkspaceType
|
||||
}
|
||||
|
||||
type InvitationReviewDeclinedNotificationBodyType {
|
||||
"""
|
||||
The user who created the notification, maybe null when user is deleted or sent by system
|
||||
"""
|
||||
createdByUser: PublicUserType
|
||||
|
||||
"""The type of the notification"""
|
||||
type: NotificationType!
|
||||
workspace: NotificationWorkspaceType
|
||||
}
|
||||
|
||||
type InvitationReviewRequestNotificationBodyType {
|
||||
"""
|
||||
The user who created the notification, maybe null when user is deleted or sent by system
|
||||
"""
|
||||
createdByUser: PublicUserType
|
||||
inviteId: ID!
|
||||
|
||||
"""The type of the notification"""
|
||||
type: NotificationType!
|
||||
workspace: NotificationWorkspaceType
|
||||
}
|
||||
|
||||
type InvitationType {
|
||||
"""Invitee information"""
|
||||
invitee: UserType!
|
||||
@@ -1047,6 +1082,9 @@ enum NotificationType {
|
||||
InvitationAccepted
|
||||
InvitationBlocked
|
||||
InvitationRejected
|
||||
InvitationReviewApproved
|
||||
InvitationReviewDeclined
|
||||
InvitationReviewRequest
|
||||
Mention
|
||||
}
|
||||
|
||||
@@ -1435,7 +1473,7 @@ type TranscriptionResultType {
|
||||
transcription: [TranscriptionItemType!]
|
||||
}
|
||||
|
||||
union UnionNotificationBodyType = InvitationAcceptedNotificationBodyType | InvitationBlockedNotificationBodyType | InvitationNotificationBodyType | MentionNotificationBodyType
|
||||
union UnionNotificationBodyType = InvitationAcceptedNotificationBodyType | InvitationBlockedNotificationBodyType | InvitationNotificationBodyType | InvitationReviewApprovedNotificationBodyType | InvitationReviewDeclinedNotificationBodyType | InvitationReviewRequestNotificationBodyType | MentionNotificationBodyType
|
||||
|
||||
type UnknownOauthProviderDataType {
|
||||
name: String!
|
||||
|
||||
Reference in New Issue
Block a user