# 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 and workspace-related data structures across the web application.
## files
- events.ts | Defines TypeScript interfaces for instance event metadata and payload structures used in an event-driven system. | 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 package using interface-based contracts with no runtime logic, following a centralized type repository pattern for cross-module consistency.
## 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
-
