aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-05 21:53:49 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-05 21:53:49 +0200
commit4d4e5cd4dca78480ec7f40e747f424cd107376a4 (patch)
tree1b132aab503751ae0f4c8ee6c7595ad2d65f3a50 /server/models/video.ts
parente02643f32e4c97ca307f8fc5b69be79c40d70a3b (diff)
downloadPeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.gz
PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.zst
PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.zip
require -> import
Diffstat (limited to 'server/models/video.ts')
-rw-r--r--server/models/video.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/models/video.ts b/server/models/video.ts
index 9284dfeba..5558a7c3b 100644
--- a/server/models/video.ts
+++ b/server/models/video.ts
@@ -1,12 +1,12 @@
1import safeBuffer = require('safe-buffer') 1import * as safeBuffer from 'safe-buffer'
2const Buffer = safeBuffer.Buffer 2const Buffer = safeBuffer.Buffer
3import createTorrent = require('create-torrent') 3import * as createTorrent from 'create-torrent'
4import ffmpeg = require('fluent-ffmpeg') 4import * as ffmpeg from 'fluent-ffmpeg'
5import fs = require('fs') 5import * as fs from 'fs'
6import magnetUtil = require('magnet-uri') 6import * as magnetUtil from 'magnet-uri'
7import { map, values } from 'lodash' 7import { map, values } from 'lodash'
8import { parallel, series } from 'async' 8import { parallel, series } from 'async'
9import parseTorrent = require('parse-torrent') 9import * as parseTorrent from 'parse-torrent'
10import { join } from 'path' 10import { join } from 'path'
11import * as Sequelize from 'sequelize' 11import * as Sequelize from 'sequelize'
12 12