diff options
Diffstat (limited to 'shared/extra-utils/server/server.ts')
-rw-r--r-- | shared/extra-utils/server/server.ts | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/shared/extra-utils/server/server.ts b/shared/extra-utils/server/server.ts index 5bdcbac52..d37a7f39c 100644 --- a/shared/extra-utils/server/server.ts +++ b/shared/extra-utils/server/server.ts | |||
@@ -3,7 +3,7 @@ import { copy } from 'fs-extra' | |||
3 | import { join } from 'path' | 3 | import { join } from 'path' |
4 | import { root } from '@server/helpers/core-utils' | 4 | import { root } from '@server/helpers/core-utils' |
5 | import { randomInt } from '../../core-utils/miscs/miscs' | 5 | import { randomInt } from '../../core-utils/miscs/miscs' |
6 | import { VideoChannel } from '../../models/videos' | 6 | import { Video, VideoChannel, VideoCreateResult, VideoDetails } from '../../models/videos' |
7 | import { BulkCommand } from '../bulk' | 7 | import { BulkCommand } from '../bulk' |
8 | import { CLICommand } from '../cli' | 8 | import { CLICommand } from '../cli' |
9 | import { CustomPagesCommand } from '../custom-pages' | 9 | import { CustomPagesCommand } from '../custom-pages' |
@@ -75,19 +75,9 @@ export class PeerTubeServer { | |||
75 | 75 | ||
76 | channel?: VideoChannel | 76 | channel?: VideoChannel |
77 | 77 | ||
78 | video?: { | 78 | video?: Video |
79 | id: number | 79 | videoCreated?: VideoCreateResult |
80 | uuid: string | 80 | videoDetails?: VideoDetails |
81 | shortUUID: string | ||
82 | name?: string | ||
83 | url?: string | ||
84 | |||
85 | account?: { | ||
86 | name: string | ||
87 | } | ||
88 | |||
89 | embedPath?: string | ||
90 | } | ||
91 | 81 | ||
92 | videos?: { id: number, uuid: string }[] | 82 | videos?: { id: number, uuid: string }[] |
93 | } | 83 | } |