]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/account/account-video-rate.ts
Fix shared imports
[github/Chocobozzz/PeerTube.git] / server / models / account / account-video-rate.ts
index 2185619520367fece76b0b7590cef16a40c74c57..e89d31adfcdc7a32c669db03a0f029652fd24e24 100644 (file)
@@ -6,10 +6,9 @@ import {
   MAccountVideoRateAccountUrl,
   MAccountVideoRateAccountVideo,
   MAccountVideoRateFormattable
-} from '@server/types/models/video/video-rate'
+} from '@server/types/models'
+import { AccountVideoRate, VideoRateType } from '@shared/models'
 import { AttributesOnly } from '@shared/typescript-utils'
-import { AccountVideoRate } from '../../../shared'
-import { VideoRateType } from '../../../shared/models/videos'
 import { isActivityPubUrlValid } from '../../helpers/custom-validators/activitypub/misc'
 import { CONSTRAINTS_FIELDS, VIDEO_RATE_TYPES } from '../../initializers/constants'
 import { ActorModel } from '../actor/actor'