Shared TypeScript types and DTOs for the Tchomb video platform ecosystem.
npm install @tchomb/shared-types| Type | Description |
|---|---|
FeedVideo |
Video/image in the feed with creator info and stats |
FeedResponse |
Paginated feed (videos + cursor) |
ProfileSummary |
Compact profile for search results and suggestions |
ProfileFull |
Full profile with stats |
TrendingTag |
Hashtag with post count |
UploadResult |
Upload response (video ID + message) |
PlayerSource |
Media asset descriptor for the player |
import type { FeedVideo, FeedResponse } from '@tchomb/shared-types';
const response: FeedResponse = await fetchFeed();
const video: FeedVideo = response.videos[0];This package is part of the Tchomb open-source ecosystem:
| Package | Description |
|---|---|
| @tchomb/shared-types | Shared TypeScript types and DTOs |
| @tchomb/ui | Design system — components + tokens |
| @tchomb/api-client | Typed HTTP client |
| @tchomb/upload | Upload state machine |
| @tchomb/player | Vertical video player |
MIT