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 {
|
export interface ActivityIdentifierObject {
|
||||||
identifier: string
|
identifier: string
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { AccountSummary } from '@shared/models'
|
import { AccountSummary } from '../../actors/account.model'
|
||||||
|
|
||||||
export interface AbuseMessage {
|
export interface AbuseMessage {
|
||||||
id: number
|
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 {
|
export interface PluginVideoPrivacyManager {
|
||||||
// PUBLIC = 1
|
// PUBLIC = 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { SendEmailOptions } from './emailer.model'
|
|
||||||
import { VideoResolution } from '@shared/models'
|
|
||||||
import { ContextType } from '../activitypub/context'
|
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'
|
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 { NSFWPolicyType } from '../videos/nsfw-policy.type'
|
||||||
import { UserNotificationSetting } from './user-notification-setting.model'
|
import { UserNotificationSetting } from './user-notification-setting.model'
|
||||||
import { UserAdminFlag } from './user-flag.model'
|
import { UserAdminFlag } from './user-flag.model'
|
||||||
import { VideoPlaylistType } from '@shared/models'
|
import { VideoPlaylistType } from '../videos/playlist/video-playlist-type.model'
|
||||||
|
|
||||||
export interface User {
|
export interface User {
|
||||||
id: number
|
id: number
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
import { VideoConstant } from './video-constant.model'
|
||||||
import { VideoConstant, VideoFileMetadata, VideoResolution } from '@shared/models'
|
import { VideoFileMetadata } from './video-file-metadata'
|
||||||
|
import { VideoResolution } from './video-resolution.enum'
|
||||||
|
|
||||||
export interface VideoFile {
|
export interface VideoFile {
|
||||||
magnetUri: string
|
magnetUri: string
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { VideoStreamingPlaylistType } from './video-streaming-playlist.type'
|
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 {
|
export class VideoStreamingPlaylist {
|
||||||
id: number
|
id: number
|
||||||
|
|
Loading…
Reference in New Issue