Don't use @shared in models
So other projects can use them
This commit is contained in:
parent
5520f6658e
commit
0fecf427d3
|
@ -1,4 +1,4 @@
|
|||
import { AbusePredefinedReasonsString } from '@shared/models'
|
||||
import { AbusePredefinedReasonsString } from '../../moderation/abuse/abuse-reason.model'
|
||||
|
||||
export interface ActivityIdentifierObject {
|
||||
identifier: string
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { AccountSummary } from '@shared/models'
|
||||
import { AccountSummary } from '../../actors/account.model'
|
||||
|
||||
export interface AbuseMessage {
|
||||
id: number
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue