aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/videos
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/videos
parent1808a1f8e4b7b102823492a2007a46929aebf189 (diff)
downloadPeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz
PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst
PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip
Rename studio to editor
Diffstat (limited to 'shared/server-commands/videos')
-rw-r--r--shared/server-commands/videos/index.ts2
-rw-r--r--shared/server-commands/videos/video-studio-command.ts (renamed from shared/server-commands/videos/video-editor-command.ts)10
2 files changed, 6 insertions, 6 deletions
diff --git a/shared/server-commands/videos/index.ts b/shared/server-commands/videos/index.ts
index 154aed9a6..c9ef6134d 100644
--- a/shared/server-commands/videos/index.ts
+++ b/shared/server-commands/videos/index.ts
@@ -12,5 +12,5 @@ export * from './playlists-command'
12export * from './services-command' 12export * from './services-command'
13export * from './streaming-playlists-command' 13export * from './streaming-playlists-command'
14export * from './comments-command' 14export * from './comments-command'
15export * from './video-editor-command' 15export * from './video-studio-command'
16export * from './videos-command' 16export * from './videos-command'
diff --git a/shared/server-commands/videos/video-editor-command.ts b/shared/server-commands/videos/video-studio-command.ts
index 485edce8e..9fe467cc2 100644
--- a/shared/server-commands/videos/video-editor-command.ts
+++ b/shared/server-commands/videos/video-studio-command.ts
@@ -1,9 +1,9 @@
1import { HttpStatusCode, VideoEditorTask } from '@shared/models' 1import { HttpStatusCode, VideoStudioTask } from '@shared/models'
2import { AbstractCommand, OverrideCommandOptions } from '../shared' 2import { AbstractCommand, OverrideCommandOptions } from '../shared'
3 3
4export class VideoEditorCommand extends AbstractCommand { 4export class VideoStudioCommand extends AbstractCommand {
5 5
6 static getComplexTask (): VideoEditorTask[] { 6 static getComplexTask (): VideoStudioTask[] {
7 return [ 7 return [
8 // Total duration: 2 8 // Total duration: 2
9 { 9 {
@@ -41,9 +41,9 @@ export class VideoEditorCommand extends AbstractCommand {
41 41
42 createEditionTasks (options: OverrideCommandOptions & { 42 createEditionTasks (options: OverrideCommandOptions & {
43 videoId: number | string 43 videoId: number | string
44 tasks: VideoEditorTask[] 44 tasks: VideoStudioTask[]
45 }) { 45 }) {
46 const path = '/api/v1/videos/' + options.videoId + '/editor/edit' 46 const path = '/api/v1/videos/' + options.videoId + '/studio/edit'
47 const attaches: { [id: string]: any } = {} 47 const attaches: { [id: string]: any } = {}
48 48
49 for (let i = 0; i < options.tasks.length; i++) { 49 for (let i = 0; i < options.tasks.length; i++) {