DB Schema
TextTrack
Text track index record. Supports VTT, SRT, and JSONL formats. Stats (entryCount, time range) are computed inline on upload by parsing the staged file.
| Field | Type | Description |
|---|---|---|
id | ObjectId | Primary key |
owner | String | Namespace slug |
project | String | Project slug |
episodeId | String? | DreamLake episode ID |
name | String | Display name (default: "") |
embId | String? | VectorIndex ID (null = not yet indexed) |
entryCount | Int | Number of cues/entries (default: 0) |
startTime | Float? | Earliest timestamp (seconds) |
endTime | Float? | Latest timestamp (seconds) |
format | String | "vtt" | "srt" | "jsonl" (default: "") |
deletedAt | DateTime? | Soft delete timestamp |
createdAt | DateTime | Created timestamp |
updatedAt | DateTime | Last updated |
Indexes: owner, [owner, project], episodeId, embId