aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-22 16:58:49 +0100
committerChocobozzz <me@florianbigard.com>2022-03-22 17:24:32 +0100
commit92e66e04f7f51d37b465cff442ce47f6d6d7cadd (patch)
tree4475c5c601c0f6673ca56afba5b7f70a4fae4ec3 /shared/server-commands/server
parent1808a1f8e4b7b102823492a2007a46929aebf189 (diff)
downloadPeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz
PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst
PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip
Rename studio to editor
Diffstat (limited to 'shared/server-commands/server')
-rw-r--r--shared/server-commands/server/config-command.ts8
-rw-r--r--shared/server-commands/server/server.ts6
2 files changed, 7 insertions, 7 deletions
diff --git a/shared/server-commands/server/config-command.ts b/shared/server-commands/server/config-command.ts
index 35a1eec7c..ed4961bc3 100644
--- a/shared/server-commands/server/config-command.ts
+++ b/shared/server-commands/server/config-command.ts
@@ -60,7 +60,7 @@ export class ConfigCommand extends AbstractCommand {
60 transcoding: { 60 transcoding: {
61 enabled: false 61 enabled: false
62 }, 62 },
63 videoEditor: { 63 videoStudio: {
64 enabled: false 64 enabled: false
65 } 65 }
66 } 66 }
@@ -111,10 +111,10 @@ export class ConfigCommand extends AbstractCommand {
111 }) 111 })
112 } 112 }
113 113
114 enableEditor () { 114 enableStudio () {
115 return this.updateExistingSubConfig({ 115 return this.updateExistingSubConfig({
116 newConfig: { 116 newConfig: {
117 videoEditor: { 117 videoStudio: {
118 enabled: true 118 enabled: true
119 } 119 }
120 } 120 }
@@ -339,7 +339,7 @@ export class ConfigCommand extends AbstractCommand {
339 } 339 }
340 } 340 }
341 }, 341 },
342 videoEditor: { 342 videoStudio: {
343 enabled: false 343 enabled: false
344 }, 344 },
345 import: { 345 import: {
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts
index af4423e8d..2bf31b5a4 100644
--- a/shared/server-commands/server/server.ts
+++ b/shared/server-commands/server/server.ts
@@ -25,7 +25,7 @@ import {
25 PlaylistsCommand, 25 PlaylistsCommand,
26 ServicesCommand, 26 ServicesCommand,
27 StreamingPlaylistsCommand, 27 StreamingPlaylistsCommand,
28 VideoEditorCommand, 28 VideoStudioCommand,
29 VideosCommand 29 VideosCommand
30} from '../videos' 30} from '../videos'
31import { CommentsCommand } from '../videos/comments-command' 31import { CommentsCommand } from '../videos/comments-command'
@@ -125,7 +125,7 @@ export class PeerTubeServer {
125 login?: LoginCommand 125 login?: LoginCommand
126 users?: UsersCommand 126 users?: UsersCommand
127 objectStorage?: ObjectStorageCommand 127 objectStorage?: ObjectStorageCommand
128 videoEditor?: VideoEditorCommand 128 videoStudio?: VideoStudioCommand
129 videos?: VideosCommand 129 videos?: VideosCommand
130 130
131 constructor (options: { serverNumber: number } | { url: string }) { 131 constructor (options: { serverNumber: number } | { url: string }) {
@@ -396,6 +396,6 @@ export class PeerTubeServer {
396 this.users = new UsersCommand(this) 396 this.users = new UsersCommand(this)
397 this.videos = new VideosCommand(this) 397 this.videos = new VideosCommand(this)
398 this.objectStorage = new ObjectStorageCommand(this) 398 this.objectStorage = new ObjectStorageCommand(this)
399 this.videoEditor = new VideoEditorCommand(this) 399 this.videoStudio = new VideoStudioCommand(this)
400 } 400 }
401} 401}