Core Package
Package: @hereby/core | Shared schemas, constants, utilities, errors, and logger
Foundation package shared by the API, SDK, database layer, and importer.
Exports
The package re-exports:
zfrom Zod- constants
- errors
- logger module
- default logger export
- schemas
- utilities
Schemas
The current schema index exports 27 domain schema modules covering:
- auth
- employee
- organization
- team
- permission
- payroll
- salary grade
- contract
- attendance
- shift
- overtime
- leave request
- allowance
- deduction
- resignation
- year-end settlement
- education subsidy
- fixed incentive
- nurse scheduler
- internal approval
- conversation
- message
- document
- notification
- general affairs
- base helpers
Logger
Logger modules live under src/logger/ and are re-exported from the package root.
Utilities
Utility modules currently include:
- date utilities
- string utilities
- validation utilities