mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(server): send invitation review notification (#10418)
This commit is contained in:
@@ -776,7 +776,7 @@ export interface InvitationAcceptedNotificationBodyType {
|
||||
__typename?: 'InvitationAcceptedNotificationBodyType';
|
||||
/** The user who created the notification, maybe null when user is deleted or sent by system */
|
||||
createdByUser: Maybe<PublicUserType>;
|
||||
inviteId: Scalars['String']['output'];
|
||||
inviteId: Scalars['ID']['output'];
|
||||
/** The type of the notification */
|
||||
type: NotificationType;
|
||||
workspace: Maybe<NotificationWorkspaceType>;
|
||||
@@ -786,7 +786,7 @@ export interface InvitationBlockedNotificationBodyType {
|
||||
__typename?: 'InvitationBlockedNotificationBodyType';
|
||||
/** The user who created the notification, maybe null when user is deleted or sent by system */
|
||||
createdByUser: Maybe<PublicUserType>;
|
||||
inviteId: Scalars['String']['output'];
|
||||
inviteId: Scalars['ID']['output'];
|
||||
/** The type of the notification */
|
||||
type: NotificationType;
|
||||
workspace: Maybe<NotificationWorkspaceType>;
|
||||
@@ -802,6 +802,35 @@ export interface InvitationNotificationBodyType {
|
||||
workspace: Maybe<NotificationWorkspaceType>;
|
||||
}
|
||||
|
||||
export interface InvitationReviewApprovedNotificationBodyType {
|
||||
__typename?: 'InvitationReviewApprovedNotificationBodyType';
|
||||
/** The user who created the notification, maybe null when user is deleted or sent by system */
|
||||
createdByUser: Maybe<PublicUserType>;
|
||||
inviteId: Scalars['ID']['output'];
|
||||
/** The type of the notification */
|
||||
type: NotificationType;
|
||||
workspace: Maybe<NotificationWorkspaceType>;
|
||||
}
|
||||
|
||||
export interface InvitationReviewDeclinedNotificationBodyType {
|
||||
__typename?: 'InvitationReviewDeclinedNotificationBodyType';
|
||||
/** The user who created the notification, maybe null when user is deleted or sent by system */
|
||||
createdByUser: Maybe<PublicUserType>;
|
||||
/** The type of the notification */
|
||||
type: NotificationType;
|
||||
workspace: Maybe<NotificationWorkspaceType>;
|
||||
}
|
||||
|
||||
export interface InvitationReviewRequestNotificationBodyType {
|
||||
__typename?: 'InvitationReviewRequestNotificationBodyType';
|
||||
/** The user who created the notification, maybe null when user is deleted or sent by system */
|
||||
createdByUser: Maybe<PublicUserType>;
|
||||
inviteId: Scalars['ID']['output'];
|
||||
/** The type of the notification */
|
||||
type: NotificationType;
|
||||
workspace: Maybe<NotificationWorkspaceType>;
|
||||
}
|
||||
|
||||
export interface InvitationType {
|
||||
__typename?: 'InvitationType';
|
||||
/** Invitee information */
|
||||
@@ -1501,6 +1530,9 @@ export enum NotificationType {
|
||||
InvitationAccepted = 'InvitationAccepted',
|
||||
InvitationBlocked = 'InvitationBlocked',
|
||||
InvitationRejected = 'InvitationRejected',
|
||||
InvitationReviewApproved = 'InvitationReviewApproved',
|
||||
InvitationReviewDeclined = 'InvitationReviewDeclined',
|
||||
InvitationReviewRequest = 'InvitationReviewRequest',
|
||||
Mention = 'Mention',
|
||||
}
|
||||
|
||||
@@ -1945,6 +1977,9 @@ export type UnionNotificationBodyType =
|
||||
| InvitationAcceptedNotificationBodyType
|
||||
| InvitationBlockedNotificationBodyType
|
||||
| InvitationNotificationBodyType
|
||||
| InvitationReviewApprovedNotificationBodyType
|
||||
| InvitationReviewDeclinedNotificationBodyType
|
||||
| InvitationReviewRequestNotificationBodyType
|
||||
| MentionNotificationBodyType;
|
||||
|
||||
export interface UnknownOauthProviderDataType {
|
||||
|
||||
Reference in New Issue
Block a user