export { defineModule, type LeaveManagementModule } from "./module"; export type { AnniversaryGrantCandidate, EvaluateGrantEligibility, GrantEligibilityEvaluation, GrantEligibilityEvaluationInput, } from "./command/runAnniversaryLeaveGrants"; export { permissions } from "./lib/permissions.generated"; // A LeaveGrant's expirationDate = grantedDate + the plan's expirationMonths. grantLeave takes a // caller-supplied expirationDate (it only validates it), so expose the reference computation the // anniversary batch uses rather than making consumers reimplement the month arithmetic. export { computeGrantExpirationDate } from "./lib/grantDates";