Skip to content

Core server packages

Owns the Kysely client (pg), SQL migrations, and generated types. Regenerate types with db:codegen before type checks. Schema changes may require service updates, contract updates, native model regeneration, seed changes, and docs updates.

Owns routers and service behavior. Keep endpoint shape in routers and business logic in services. Generated API docs read router source on every docs build.

Owns shared Better Auth configuration. Coordinate changes with web, API, mobile trusted origins, and session/cookie docs.

Owns Knock translations, payload typing, and email layout. Worker and web both consume it, so payload drift breaks cross-app notification behavior.

Owns property search/index key formats, indexing utilities, and query behavior. Coordinate changes with worker sync jobs and property search UI expectations.