aboutsummaryrefslogtreecommitdiff
path: root/src/fields/documentSchemas.ts
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-07 00:31:22 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-07 00:31:22 -0500
commit58cabbc6f63cd0228f3d2cd807481b8ed152c640 (patch)
tree481ea1e7e6202609b85f8d00c97279cb4dc2ecec /src/fields/documentSchemas.ts
parent42a8ba8f3021d4ccc56cfdf4fea1c0bad9d8e818 (diff)
parent20149e4849b8c24ba98ea1372f6ab3def6585265 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into menu_restructure
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r--src/fields/documentSchemas.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts
index 8cf8f47b7..ada13226e 100644
--- a/src/fields/documentSchemas.ts
+++ b/src/fields/documentSchemas.ts
@@ -19,6 +19,10 @@ export const documentSchema = createSchema({
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)
inOverlay: "boolean", // whether the document is rendered in an OverlayView which handles selection/dragging differently
+ 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
+ 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
z: "number", // z "coordinate" - non-zero specifies the overlay layer of a freeformview