Experience · Package · Active
cs-chat shared
Local shared package for CS Chat contracts, exposing Zod schemas and TypeScript types consumed by the BFF and frontend.
- TypeScript
- Zod
Spec sheet
Package name
@cs-chat/shared
Repository path
cs-chat/packages/shared
Runtime
TypeScript package
Responsibilities
- Define chat, auth, AI-provider and MCP DTO schemas.
- Keep API and frontend contracts aligned inside the product repo.
- Avoid importing application implementation across workspaces.
Interfaces and contract surface
- Package export @cs-chat/shared
Consumers
Notes
- Promote contracts to platform-shared-packages only when more than one repository consumes them.
Source references
cs-chat/packages/shared/package.jsoncs-chat/packages/shared/src