aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--timeline.ts25
1 files changed, 25 insertions, 0 deletions
diff --git a/timeline.ts b/timeline.ts
new file mode 100644
index 0000000..0f1137e
--- /dev/null
+++ b/timeline.ts
@@ -0,0 +1,25 @@
+interface slide {
+ frame: number
+ clickThroughBehaviour: "ImmediatelySkip" | "PlayOut"
+ type: "default" | "delay" | "speedChange" | "loop"
+}
+
+interface delaySlide extends slide {
+ delay: number
+}
+
+interface speedChangeSlide extends slide {
+ newFramerate: number
+}
+
+interface loopSlide extends slide {
+ endFrame: number
+ playbackType: "PingPong" | "Normal"
+}
+
+interface timeline {
+ slides: slide[]
+ framecount: number
+ framerate: number
+}
+