forked from foyzulkarim/mern-video-streaming
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
52 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
const PUBLIC_VISIBILITY = 'Public'; | ||
const PRIVATE_VISIBILITY = 'Private'; | ||
const UNLISTED_VISIBILITY = 'Unlisted'; | ||
|
||
const VIDEO_VISIBILITIES = [PUBLIC_VISIBILITY, PRIVATE_VISIBILITY, UNLISTED_VISIBILITY]; | ||
|
||
|
||
|
||
const PENDING_STATUS = "pending"; | ||
const PROCESSED_STATUS = "processed"; | ||
const PUBLISHED_STATUS = "published" | ||
|
||
const VIDEO_STATUS = [PENDING_STATUS, PROCESSED_STATUS, PUBLISHED_STATUS]; | ||
|
||
|
||
module.exports = { | ||
PENDING_STATUS, | ||
PROCESSED_STATUS, | ||
PUBLISHED_STATUS, | ||
VIDEO_STATUS, | ||
PUBLIC_VISIBILITY, | ||
PRIVATE_VISIBILITY, | ||
UNLISTED_VISIBILITY, | ||
VIDEO_VISIBILITIES | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters