feat(invitations): let candidates read, view and decline their invitations

This commit is contained in:
shira committed 2026-10-09 17:25:12 +03:00
1 parent c410636b7f
commit ac57c05aca
27 files changed
+3285 -21

No files matched your search

@@ -597,6 +597,20 @@ type InvitationCreationResult struct {
Snapshot []byte
}
type InvitationDecline struct {
InvitationID pgtype.UUID
OrganizationID pgtype.UUID
Reason string
Comment pgtype.Text
DeclinedAt pgtype.Timestamptz
}
type InvitationDeclineResult struct {
ScopeHash []byte
InvitationID pgtype.UUID
Outcome string
}
type InvitationEvent struct {
ID pgtype.UUID
InvitationID pgtype.UUID