Files
lincodex/frontend/src/features/send-invitation/index.ts
T

18 lines
582 B
TypeScript

// Public API of the send-invitation feature: the draft of the terms, its
// client validation, the idempotent create-update-send command, and the form
// that runs it. The page supplies the preview and reacts to the result.
export {
emptyInvitationDraft,
invitationDraftFromNeed,
invitationDraftFromTerms,
toInvitationTerms,
type InvitationDraft,
} from "./model/draft";
export { initialSendProgress, type SendProgress } from "./model/send-command";
export {
InvitationForm,
type InvitationFormProps,
type InvitationPreviewSnapshot,
} from "./ui/invitation-form";