import express from 'express'
import { body, param } from 'express-validator'
- import { UserRight } from '@shared/models'
-import { HttpStatusCode, UserRight } from '../../../../shared'
++import { HttpStatusCode, UserRight } from '@shared/models'
import { isVideoCaptionFile, isVideoCaptionLanguageValid } from '../../../helpers/custom-validators/video-captions'
import { cleanUpReqFiles } from '../../../helpers/express-utils'
import { logger } from '../../../helpers/logger'
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
import 'mocha'
- import { HttpStatusCode, VideoCreateResult } from '@shared/models'
+import { buildAbsoluteFixturePath } from '@shared/core-utils'
++import { HttpStatusCode, VideoCreateResult, VideoPrivacy } from '@shared/models'
import {
- buildAbsoluteFixturePath,
cleanupTests,
createSingleServer,
makeDeleteRequest,