aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/videos/video-state.enum.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/models/src/videos/video-state.enum.ts')
-rw-r--r--packages/models/src/videos/video-state.enum.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/models/src/videos/video-state.enum.ts b/packages/models/src/videos/video-state.enum.ts
new file mode 100644
index 000000000..ae7c6a0c4
--- /dev/null
+++ b/packages/models/src/videos/video-state.enum.ts
@@ -0,0 +1,13 @@
1export const VideoState = {
2 PUBLISHED: 1,
3 TO_TRANSCODE: 2,
4 TO_IMPORT: 3,
5 WAITING_FOR_LIVE: 4,
6 LIVE_ENDED: 5,
7 TO_MOVE_TO_EXTERNAL_STORAGE: 6,
8 TRANSCODING_FAILED: 7,
9 TO_MOVE_TO_EXTERNAL_STORAGE_FAILED: 8,
10 TO_EDIT: 9
11} as const
12
13export type VideoStateType = typeof VideoState[keyof typeof VideoState]