1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +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

@ -39,6 +39,7 @@ export class ChannelsCommand extends AbstractCommand {
sort?: string
withStats?: boolean
search?: string
includeCollaborations?: boolean
}
) {
const { accountName, sort = 'createdAt' } = options
@ -48,7 +49,7 @@ export class ChannelsCommand extends AbstractCommand {
...options,
path,
query: { sort, ...pick(options, [ 'start', 'count', 'withStats', 'search' ]) },
query: { sort, ...pick(options, [ 'start', 'count', 'withStats', 'search', 'includeCollaborations' ]) },
implicitToken: false,
defaultExpectedStatus: HttpStatusCode.OK_200
})