1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add channel collaborators feature

This commit is contained in:
Chocobozzz 2025-09-16 14:36:37 +02:00
parent 94e55dfc6c
commit 135d5c7363
No known key found for this signature in database
GPG key ID: 583A612D890159BE
185 changed files with 5457 additions and 2631 deletions

View file

@ -20,6 +20,8 @@ import {
UserImportStateType,
UserRegistrationState,
UserRegistrationStateType,
VideoChannelCollaboratorState,
VideoChannelCollaboratorStateType,
VideoChannelSyncState,
VideoChannelSyncStateType,
VideoCommentPolicy,
@ -690,6 +692,11 @@ export const VIDEO_COMMENTS_POLICY: { [id in VideoCommentPolicyType]: string } =
[VideoCommentPolicy.REQUIRES_APPROVAL]: 'Requires approval'
}
export const CHANNEL_COLLABORATOR_STATE: { [id in VideoChannelCollaboratorStateType]: string } = {
[VideoChannelCollaboratorState.ACCEPTED]: 'Accepted',
[VideoChannelCollaboratorState.PENDING]: 'Pending'
}
export const MIMETYPES = {
AUDIO: {
MIMETYPE_EXT: {