Brick
__tests__/
domain/
host/
server/
testing/
domain/index.ts
| 1 | /** mentorship — pure entrypoint: entities and the rules that decide things. */ |
| 2 | |
| 3 | export type { |
| 4 | AvailabilityRule, |
| 5 | Booking, |
| 6 | BookingPolicy, |
| 7 | BookingStatus, |
| 8 | IntakeQuestion, |
| 9 | Instant, |
| 10 | MentorIndex, |
| 11 | MentorProfile, |
| 12 | MentorStatus, |
| 13 | MentorshipRepositories, |
| 14 | PersonSnap, |
| 15 | Review, |
| 16 | SessionType, |
| 17 | SlotLock, |
| 18 | VerificationState, |
| 19 | } from './entities'; |
| 20 | export { toISO } from './entities'; |
| 21 | |
| 22 | export type { BookingErrorCode, NoticeCheck, RefundDecision } from './booking'; |
| 23 | export { |
| 24 | BookingError, |
| 25 | assertTransition, |
| 26 | buildFacetKeys, |
| 27 | canReschedule, |
| 28 | canTransition, |
| 29 | checkNotice, |
| 30 | computeRankScore, |
| 31 | evaluateRefund, |
| 32 | granuleId, |
| 33 | granulesFor, |
| 34 | lockBlocks, |
| 35 | occupiesCalendar, |
| 36 | refundAmountMinor, |
| 37 | slugifyToken, |
| 38 | } from './booking'; |
| 39 |
Requirements
This brick was written by hand, so it has no spec on file. Its own tests are its requirements — run the gates to check them.