diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-21 13:58:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-21 13:58:35 +0200 |
commit | c63830f15403ac4e750829f27d8bbbdc9a59282c (patch) | |
tree | f35048f1b2249bb3eec916964c084b1cd60f7bf3 /shared/extra-utils/videos/captions-command.ts | |
parent | 4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef (diff) | |
download | PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.gz PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.zst PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.zip |
Rename captions commands
Diffstat (limited to 'shared/extra-utils/videos/captions-command.ts')
-rw-r--r-- | shared/extra-utils/videos/captions-command.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/extra-utils/videos/captions-command.ts b/shared/extra-utils/videos/captions-command.ts index a0608e1a6..a65ea99e3 100644 --- a/shared/extra-utils/videos/captions-command.ts +++ b/shared/extra-utils/videos/captions-command.ts | |||
@@ -4,7 +4,7 @@ import { AbstractCommand, OverrideCommandOptions } from '../shared' | |||
4 | 4 | ||
5 | export class CaptionsCommand extends AbstractCommand { | 5 | export class CaptionsCommand extends AbstractCommand { |
6 | 6 | ||
7 | createVideoCaption (options: OverrideCommandOptions & { | 7 | add (options: OverrideCommandOptions & { |
8 | videoId: string | number | 8 | videoId: string | number |
9 | language: string | 9 | language: string |
10 | fixture: string | 10 | fixture: string |
@@ -32,7 +32,7 @@ export class CaptionsCommand extends AbstractCommand { | |||
32 | }) | 32 | }) |
33 | } | 33 | } |
34 | 34 | ||
35 | listVideoCaptions (options: OverrideCommandOptions & { | 35 | list (options: OverrideCommandOptions & { |
36 | videoId: string | number | 36 | videoId: string | number |
37 | }) { | 37 | }) { |
38 | const { videoId } = options | 38 | const { videoId } = options |
@@ -47,7 +47,7 @@ export class CaptionsCommand extends AbstractCommand { | |||
47 | }) | 47 | }) |
48 | } | 48 | } |
49 | 49 | ||
50 | deleteVideoCaption (options: OverrideCommandOptions & { | 50 | delete (options: OverrideCommandOptions & { |
51 | videoId: string | number | 51 | videoId: string | number |
52 | language: string | 52 | language: string |
53 | }) { | 53 | }) { |