Don't use @shared in models

So other projects can use them
pull/3127/head
Chocobozzz 2020-08-27 09:58:27 +02:00
parent 5520f6658e
commit 0fecf427d3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
7 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
import { AbusePredefinedReasonsString } from '@shared/models'
import { AbusePredefinedReasonsString } from '../../moderation/abuse/abuse-reason.model'
export interface ActivityIdentifierObject {
identifier: string

View File

@ -1,4 +1,4 @@
import { AccountSummary } from '@shared/models'
import { AccountSummary } from '../../actors/account.model'
export interface AbuseMessage {
id: number

View File

@ -1,4 +1,4 @@
import { VideoPrivacy } from '@shared/models/videos/video-privacy.enum'
import { VideoPrivacy } from '../videos/video-privacy.enum'
export interface PluginVideoPrivacyManager {
// PUBLIC = 1

View File

@ -1,6 +1,6 @@
import { SendEmailOptions } from './emailer.model'
import { VideoResolution } from '@shared/models'
import { ContextType } from '../activitypub/context'
import { VideoResolution } from '../videos/video-resolution.enum'
import { SendEmailOptions } from './emailer.model'
export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed'

View File

@ -4,7 +4,7 @@ import { UserRole } from './user-role'
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
import { UserNotificationSetting } from './user-notification-setting.model'
import { UserAdminFlag } from './user-flag.model'
import { VideoPlaylistType } from '@shared/models'
import { VideoPlaylistType } from '../videos/playlist/video-playlist-type.model'
export interface User {
id: number

View File

@ -1,5 +1,6 @@
import { VideoConstant, VideoFileMetadata, VideoResolution } from '@shared/models'
import { VideoConstant } from './video-constant.model'
import { VideoFileMetadata } from './video-file-metadata'
import { VideoResolution } from './video-resolution.enum'
export interface VideoFile {
magnetUri: string

View File

@ -1,5 +1,5 @@
import { VideoStreamingPlaylistType } from './video-streaming-playlist.type'
import { VideoFile } from '@shared/models/videos/video-file.model'
import { VideoFile } from './video-file.model'
export class VideoStreamingPlaylist {
id: number