mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Split types and typings
This commit is contained in:
parent
d6d951ddc0
commit
26d6bf6533
175 changed files with 208 additions and 206 deletions
|
@ -2,7 +2,7 @@ import { join } from 'path'
|
|||
import { CONFIG } from '../initializers/config'
|
||||
import * as srt2vtt from 'srt-to-vtt'
|
||||
import { createReadStream, createWriteStream, move, remove } from 'fs-extra'
|
||||
import { MVideoCaptionFormattable } from '@server/typings/models'
|
||||
import { MVideoCaptionFormattable } from '@server/types/models'
|
||||
|
||||
async function moveAndProcessCaptionFile (physicalFile: { filename: string, path: string }, videoCaption: MVideoCaptionFormattable) {
|
||||
const videoCaptionsDir = CONFIG.STORAGE.CAPTIONS_DIR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue