aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/videos/channel-sync/video-channel-sync-state.enum.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/models/src/videos/channel-sync/video-channel-sync-state.enum.ts')
-rw-r--r--packages/models/src/videos/channel-sync/video-channel-sync-state.enum.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/models/src/videos/channel-sync/video-channel-sync-state.enum.ts b/packages/models/src/videos/channel-sync/video-channel-sync-state.enum.ts
new file mode 100644
index 000000000..047444bbc
--- /dev/null
+++ b/packages/models/src/videos/channel-sync/video-channel-sync-state.enum.ts
@@ -0,0 +1,8 @@
1export const VideoChannelSyncState = {
2 WAITING_FIRST_RUN: 1,
3 PROCESSING: 2,
4 SYNCED: 3,
5 FAILED: 4
6} as const
7
8export type VideoChannelSyncStateType = typeof VideoChannelSyncState[keyof typeof VideoChannelSyncState]