aboutsummaryrefslogtreecommitdiff
path: root/src/fields/documentSchemas.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-01-26 01:38:55 -0500
committerbobzel <zzzman@gmail.com>2021-01-26 01:38:55 -0500
commit20add09510fb02b144d421910a56d3f3896b1f90 (patch)
tree6cea1b9339afe4f8d6efab6499bc8037fbb0e2f4 /src/fields/documentSchemas.ts
parent0a48a55afd868b0cc3f298407a4b4882c4ee9bd2 (diff)
preparing to unify VideoBox timeline with AudioBox timeline. changed names from videoStart/audioStart,End to anchorStart,EndTime and _displayTimecode to _timecodeToShow etc
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r--src/fields/documentSchemas.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts
index 67df56015..d52f3a928 100644
--- a/src/fields/documentSchemas.ts
+++ b/src/fields/documentSchemas.ts
@@ -19,10 +19,10 @@ export const documentSchema = createSchema({
lastFrame: "number", // last frame of a frame based collection (e.g., a progressive slide)
activeFrame: "number", // the active frame of a frame based animated document
_currentTimecode: "number", // current play back time of a temporal document (video / audio)
- displayTimecode: "number", // the time that a document should be displayed (e.g., time an annotation should be displayed on a video)
+ _timecodeToShow: "number", // the time that a document should be displayed (e.g., time an annotation should be displayed on a video)
isLabel: "boolean", // whether the document is a label or not (video / audio)
- audioStart: "number", // the time frame where the audio should begin playing
- audioEnd: "number", // the time frame where the audio should stop playing
+ anchorStartTime: "number", // the time code where a document activates (eg in Audio or video timelines)
+ anchorEndTime: "number", // the time code where a document deactivates
markers: listSpec(Doc), // list of markers for audio / video
x: "number", // x coordinate when in a freeform view
y: "number", // y coordinate when in a freeform view