aboutsummaryrefslogtreecommitdiff
path: root/timeline.ts
diff options
context:
space:
mode:
Diffstat (limited to 'timeline.ts')
-rw-r--r--timeline.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/timeline.ts b/timeline.ts
index 764bc7a..5d0f51c 100644
--- a/timeline.ts
+++ b/timeline.ts
@@ -1,9 +1,10 @@
-export type keyframeTypes = 'default' | 'delay' | 'speedChange' | 'loop';
+export type slideTypes = 'default' | 'delay' | 'speedChange' | 'loop';
+export type anySlide = slide | delaySlide | speedChangeSlide | loopSlide;
export interface slide {
frame: number;
clickThroughBehaviour: 'ImmediatelySkip' | 'PlayOut';
- type: keyframeTypes;
+ type: slideTypes;
id: string;
}
@@ -25,7 +26,7 @@ export interface presentationSettings {
}
export default interface timeline {
- slides: Array<slide | delaySlide | speedChangeSlide | loopSlide>;
+ slides: Array<anySlide>;
framecount: number;
framerate: number;
name: string;