diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-24 10:14:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-24 10:14:47 +0100 |
commit | d17c7b4e8c52317bdc874917387b7a49f6cf8b01 (patch) | |
tree | 83a736f566f8cb4c696fa8e59086a523bbb4b4bf /server/lib/activitypub/cache-file.ts | |
parent | 1e9c1b1b44b4cbd4bc4b1e97e8e6ba2df93371de (diff) | |
download | PeerTube-d17c7b4e8c52317bdc874917387b7a49f6cf8b01.tar.gz PeerTube-d17c7b4e8c52317bdc874917387b7a49f6cf8b01.tar.zst PeerTube-d17c7b4e8c52317bdc874917387b7a49f6cf8b01.zip |
Fix shared imports
Diffstat (limited to 'server/lib/activitypub/cache-file.ts')
-rw-r--r-- | server/lib/activitypub/cache-file.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/activitypub/cache-file.ts b/server/lib/activitypub/cache-file.ts index a16d2cd93..c3acd7112 100644 --- a/server/lib/activitypub/cache-file.ts +++ b/server/lib/activitypub/cache-file.ts | |||
@@ -1,7 +1,6 @@ | |||
1 | import { Transaction } from 'sequelize' | 1 | import { Transaction } from 'sequelize' |
2 | import { MActorId, MVideoRedundancy, MVideoWithAllFiles } from '@server/types/models' | 2 | import { MActorId, MVideoRedundancy, MVideoWithAllFiles } from '@server/types/models' |
3 | import { CacheFileObject } from '../../../shared/index' | 3 | import { CacheFileObject, VideoStreamingPlaylistType } from '@shared/models' |
4 | import { VideoStreamingPlaylistType } from '../../../shared/models/videos/video-streaming-playlist.type' | ||
5 | import { VideoRedundancyModel } from '../../models/redundancy/video-redundancy' | 4 | import { VideoRedundancyModel } from '../../models/redundancy/video-redundancy' |
6 | 5 | ||
7 | async function createOrUpdateCacheFile (cacheFileObject: CacheFileObject, video: MVideoWithAllFiles, byActor: MActorId, t: Transaction) { | 6 | async function createOrUpdateCacheFile (cacheFileObject: CacheFileObject, video: MVideoWithAllFiles, byActor: MActorId, t: Transaction) { |