Description

Entity for an invitation to the nodeblocks platform. Invitations can be accepted to have a user join the platform with a role

Hierarchy

  • BaseMongoEntity
    • InvitationEntity

Implements

Constructors

Properties

acceptedAt: Date

Date the user accepted this invitation

email: string

The email address to send the invitation to

fromUserId: string

The creator of the invitation

invitedAt: Date

Date the user was invited to the organization

orgId: null | string

The organization to which the invitation is for

role: null | "admin" | "owner" | "guest" | "member"

The role via which the user has been invited

status: string

The current status of the invitation (accepted, sent)

Generated using TypeDoc