mirror of https://github.com/Chocobozzz/PeerTube
Use typed pick
parent
69e3f2049f
commit
17522af1e0
|
@ -1,7 +1,7 @@
|
|||
import { remove } from 'fs-extra'
|
||||
import { pick } from 'lodash'
|
||||
import { logger } from 'packages/peertube-runner/shared'
|
||||
import { join } from 'path'
|
||||
import { pick } from '@shared/core-utils'
|
||||
import { buildUUID } from '@shared/extra-utils'
|
||||
import {
|
||||
RunnerJobStudioTranscodingPayload,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { pick } from 'lodash'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { VideoJobInfoModel } from '@server/models/video/video-job-info'
|
||||
import { MVideo } from '@server/types/models'
|
||||
import { MRunnerJob } from '@server/types/models/runners'
|
||||
import { pick } from '@shared/core-utils'
|
||||
import { buildUUID } from '@shared/extra-utils'
|
||||
import { getVideoStreamDuration } from '@shared/ffmpeg'
|
||||
import {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { pick } from 'lodash'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { VideoJobInfoModel } from '@server/models/video/video-job-info'
|
||||
import { MVideo } from '@server/types/models'
|
||||
import { MRunnerJob } from '@server/types/models/runners'
|
||||
import { pick } from '@shared/core-utils'
|
||||
import { buildUUID } from '@shared/extra-utils'
|
||||
import {
|
||||
RunnerJobUpdatePayload,
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
import { isArray } from 'lodash'
|
||||
import { isArray } from '@server/helpers/custom-validators/misc'
|
||||
import { generateMagnetUri } from '@server/helpers/webtorrent'
|
||||
import { getActivityStreamDuration } from '@server/lib/activitypub/activity'
|
||||
import { getLocalVideoFileMetadataUrl } from '@server/lib/video-urls'
|
||||
|
|
Loading…
Reference in New Issue