From d8f39b126d9fe4bec1c12fb213548cc6edc87867 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Jun 2023 14:51:16 +0200 Subject: Add storyboard support --- shared/models/videos/index.ts | 1 + shared/models/videos/storyboard.model.ts | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 shared/models/videos/storyboard.model.ts (limited to 'shared/models/videos') diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts index 80be1854b..b3ce6ad3f 100644 --- a/shared/models/videos/index.ts +++ b/shared/models/videos/index.ts @@ -15,6 +15,7 @@ export * from './channel-sync' export * from './nsfw-policy.type' +export * from './storyboard.model' export * from './thumbnail.type' export * from './video-constant.model' diff --git a/shared/models/videos/storyboard.model.ts b/shared/models/videos/storyboard.model.ts new file mode 100644 index 000000000..c92c81f09 --- /dev/null +++ b/shared/models/videos/storyboard.model.ts @@ -0,0 +1,11 @@ +export interface Storyboard { + storyboardPath: string + + totalHeight: number + totalWidth: number + + spriteHeight: number + spriteWidth: number + + spriteDuration: number +} -- cgit v1.2.3