@camera.ui/types
Version:
camera.ui types
48 lines (30 loc) • 1.6 kB
Markdown
# @camera.ui/types
Central TypeScript type definitions for the entire camera.ui ecosystem including camera devices, plugins, streaming interfaces, and configuration schemas.
## Installation
```bash
npm install @camera.ui/types
```
## Purpose
This package provides comprehensive TypeScript definitions for:
- **Camera Device Management** - Interface definitions for camera devices, sources, and capabilities
- **Plugin Development** - Type-safe plugin interfaces and API contracts
- **Streaming & Media** - WebRTC, MSE, audio/video codec definitions
- **Detection Systems** - Motion, object, and audio detection types
- **Configuration Schemas** - JSON schema types for dynamic UI generation
- **State Management** - Reactive state and event type definitions
- **Hardware Acceleration** - FFmpeg and hardware acceleration types
## Usage Context
### For Plugin Developers
Provides type safety when developing camera.ui plugins, ensuring proper implementation of detection algorithms, configuration schemas, and device integration.
### For Core Development
Ensures consistent interfaces across all camera.ui components including server, UI, RPC communication, and browser clients.
### For Integration
Enables type-safe integration with camera.ui APIs, device management, and streaming functionality.
## Requirements
- Compatible with camera.ui ecosystem packages
## Contributing
Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.
## License
MIT
---
*Part of the camera.ui ecosystem - A comprehensive camera management solution.*