# apps/web/src/types
dir: apps/web/src/types

index: apps/web/src/types/.pi-map.index.md

## role
Provides shared TypeScript type definitions for event-driven communication and workspace management across the web application.
## files
- events.ts | Defines TypeScript interfaces for instance event metadata and payload structures used in event-driven system communication. | exp: InstanceEventMetadata, InstanceEventPayload
- workspace.ts | Defines TypeScript interfaces for workspace data models, requests, and sync results in a workspace management feature. | exp: Workspace, CreateWorkspaceRequest, SyncResult
## arch
Pure type declaration layer using TypeScript interfaces for compile-time contracts, with no runtime logic or dependencies.
## tags
workspace, event, instance, metadata, payload, sync, defines, typescript
## symbols
- InstanceEventMetadata
- InstanceEventPayload
- Workspace
- CreateWorkspaceRequest
- SyncResult
## workflows
- change types behavior
  read: events.ts, workspace.ts
## dirty
-
