feat(invitations): add the candidate invitation inbox with C4 acceptance and decline

This commit is contained in:
shira committed 2026-10-09 20:30:35 +03:00
1 parent 12a7213d4a
commit a856066316
54 files changed
+3897 -136

No files matched your search

+30 -4
View File
@@ -1,7 +1,8 @@
// Public API of the invitation entity: contract-checked transport adapters
// of the organization side, the labels and formatting of terms and states,
// and the client mirror of the salary range rules. The slice holds no
// server state; features own the commands and the query cache owns reads.
// Public API of the invitation entity: contract-checked transport adapters of
// both sides, the labels and formatting of terms and states, the candidate's
// answer rules, and the client mirror of the salary range rules. The slice
// holds no server state; features own the commands and the query cache owns
// reads.
export {
createInvitationDraft,
@@ -10,7 +11,32 @@ export {
sendInvitationDraft,
updateInvitationDraft,
} from "./api/organization-invitations";
export {
acceptCandidateInvitation,
candidateInvitationQueryKeys,
declineCandidateInvitation,
listCandidateInvitations,
readCandidateInvitation,
viewCandidateInvitation,
} from "./api/candidate-invitations";
export { formatRubles, formatSalaryRange, formatServerMoment } from "./model/format";
export {
candidateInvitationStateLabels,
contactKindCodes,
contactKindLabels,
declineReasonCodes,
declineReasonLabels,
orderedContactKinds,
} from "./model/candidate-labels";
export { candidateStatusLabel, isAnswerable, newerInvitation } from "./model/candidate-standing";
export { bindKey, newIdempotencyKey, type KeyBinding } from "./model/command-key";
export { useServerNow } from "./model/server-now";
export {
describeResponseFailure,
type ResponseCommand,
type ResponseFailure,
type ResponseFailureKind,
} from "./model/response-failure";
export {
communicationChannelCodes,
communicationChannelLabels,