1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Rename studio to editor

This commit is contained in:
Chocobozzz 2022-03-22 16:58:49 +01:00
parent 1808a1f8e4
commit 92e66e04f7
No known key found for this signature in database
GPG key ID: 583A612D890159BE
81 changed files with 368 additions and 370 deletions

View file

@ -60,7 +60,7 @@ export class ConfigCommand extends AbstractCommand {
transcoding: {
enabled: false
},
videoEditor: {
videoStudio: {
enabled: false
}
}
@ -111,10 +111,10 @@ export class ConfigCommand extends AbstractCommand {
})
}
enableEditor () {
enableStudio () {
return this.updateExistingSubConfig({
newConfig: {
videoEditor: {
videoStudio: {
enabled: true
}
}
@ -339,7 +339,7 @@ export class ConfigCommand extends AbstractCommand {
}
}
},
videoEditor: {
videoStudio: {
enabled: false
},
import: {

View file

@ -25,7 +25,7 @@ import {
PlaylistsCommand,
ServicesCommand,
StreamingPlaylistsCommand,
VideoEditorCommand,
VideoStudioCommand,
VideosCommand
} from '../videos'
import { CommentsCommand } from '../videos/comments-command'
@ -125,7 +125,7 @@ export class PeerTubeServer {
login?: LoginCommand
users?: UsersCommand
objectStorage?: ObjectStorageCommand
videoEditor?: VideoEditorCommand
videoStudio?: VideoStudioCommand
videos?: VideosCommand
constructor (options: { serverNumber: number } | { url: string }) {
@ -396,6 +396,6 @@ export class PeerTubeServer {
this.users = new UsersCommand(this)
this.videos = new VideosCommand(this)
this.objectStorage = new ObjectStorageCommand(this)
this.videoEditor = new VideoEditorCommand(this)
this.videoStudio = new VideoStudioCommand(this)
}
}