@yellowmelon/focus-global-types
v1.0.0
Published
Shared types for the Zenfocus project (api + client)
Readme
@yellowmelon/focus-global-types
Shared TypeScript types for the Zenfocus project, used by both focus-api/ and focus-client/.
Publish workflow
# After making changes to src/*
npm run build
npm version patch
npm publish --access public
# Then in focus-api/ and focus-client/
npm install @yellowmelon/focus-global-types@latestWhat goes here
- Domain types shared between server and client (User, Area, Goal, Project, Milestone, Task, etc.)
- Enums used by both layers (focus state, priority, project status)
- Request/response shapes for API endpoints
What does NOT go here
- Express request types (
IAuthenticatedRequestBody, etc.) — those live infocus-api/src/GlobalTypes/ - React types — those live in
focus-client/src/types/ - Database / Mongoose schema details
