mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Stop using tsconfig register
Prefer to replace paths at compile time
This commit is contained in:
parent
cea093bca5
commit
f8360396ff
47 changed files with 191 additions and 609 deletions
|
@ -1,15 +1,12 @@
|
|||
import { registerTSPaths } from '../server/helpers/register-ts-paths'
|
||||
registerTSPaths()
|
||||
|
||||
import { program } from 'commander'
|
||||
import { VideoModel } from '../server/models/video/video'
|
||||
import { isUUIDValid, toCompleteUUID } from '@server/helpers/custom-validators/misc'
|
||||
import { computeLowerResolutionsToTranscode } from '@server/helpers/ffprobe-utils'
|
||||
import { CONFIG } from '@server/initializers/config'
|
||||
import { addTranscodingJob } from '@server/lib/video'
|
||||
import { VideoState, VideoTranscodingPayload } from '@shared/models'
|
||||
import { initDatabaseModels } from '../server/initializers/database'
|
||||
import { JobQueue } from '../server/lib/job-queue'
|
||||
import { computeLowerResolutionsToTranscode } from '@server/helpers/ffprobe-utils'
|
||||
import { VideoState, VideoTranscodingPayload } from '@shared/models'
|
||||
import { CONFIG } from '@server/initializers/config'
|
||||
import { isUUIDValid, toCompleteUUID } from '@server/helpers/custom-validators/misc'
|
||||
import { addTranscodingJob } from '@server/lib/video'
|
||||
import { VideoModel } from '../server/models/video/video'
|
||||
|
||||
program
|
||||
.option('-v, --video [videoUUID]', 'Video UUID')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue