Files
lincodex/frontend/src/entities/invitation/index.ts
T

64 lines
1.9 KiB
TypeScript

// 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,
invitationQueryKeys,
readInvitationContacts,
readOrganizationInvitation,
sendInvitationDraft,
updateInvitationDraft,
} from "./api/organization-invitations";
export { contactRows, type ContactRow } from "./model/contact-disclosure";
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,
defaultResponsePeriod,
invitationStateLabels,
notProvidedLabel,
offerTypeCodes,
offerTypeLabels,
packageItemKeys,
packageItemLabels,
responsePeriodLabel,
responsePeriods,
salaryFitLabels,
taxBasisLabels,
type InvitationPackageKey,
} from "./model/labels";
export {
salaryMax,
salaryRangeIssue,
salaryStep,
type SalaryRangeIssue,
} from "./model/salary-range";