aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/users/user.model.ts2
-rw-r--r--shared/models/videos/abuse/video-abuse-create.model.ts (renamed from shared/models/videos/video-abuse-create.model.ts)0
-rw-r--r--shared/models/videos/abuse/video-abuse-state.model.ts (renamed from shared/models/videos/video-abuse-state.model.ts)0
-rw-r--r--shared/models/videos/abuse/video-abuse-update.model.ts (renamed from shared/models/videos/video-abuse-update.model.ts)0
-rw-r--r--shared/models/videos/abuse/video-abuse.model.ts (renamed from shared/models/videos/video-abuse.model.ts)4
-rw-r--r--shared/models/videos/blacklist/video-blacklist-create.model.ts (renamed from shared/models/videos/video-blacklist-create.model.ts)0
-rw-r--r--shared/models/videos/blacklist/video-blacklist-update.model.ts (renamed from shared/models/videos/video-blacklist-update.model.ts)0
-rw-r--r--shared/models/videos/blacklist/video-blacklist.model.ts (renamed from shared/models/videos/video-blacklist.model.ts)0
-rw-r--r--shared/models/videos/caption/video-caption-update.model.ts (renamed from shared/models/videos/video-caption-update.model.ts)0
-rw-r--r--shared/models/videos/caption/video-caption.model.ts (renamed from shared/models/videos/video-caption.model.ts)2
-rw-r--r--shared/models/videos/channel/video-channel-create.model.ts (renamed from shared/models/videos/video-channel-create.model.ts)0
-rw-r--r--shared/models/videos/channel/video-channel-update.model.ts (renamed from shared/models/videos/video-channel-update.model.ts)0
-rw-r--r--shared/models/videos/channel/video-channel.model.ts (renamed from shared/models/videos/video-channel.model.ts)6
-rw-r--r--shared/models/videos/import/video-import-create.model.ts (renamed from shared/models/videos/video-import-create.model.ts)2
-rw-r--r--shared/models/videos/import/video-import-state.enum.ts (renamed from shared/models/videos/video-import-state.enum.ts)0
-rw-r--r--shared/models/videos/import/video-import.model.ts (renamed from shared/models/videos/video-import.model.ts)4
-rw-r--r--shared/models/videos/index.ts34
-rw-r--r--shared/models/videos/rate/user-video-rate-update.model.ts (renamed from shared/models/videos/user-video-rate-update.model.ts)0
-rw-r--r--shared/models/videos/rate/user-video-rate.model.ts (renamed from shared/models/videos/user-video-rate.model.ts)0
-rw-r--r--shared/models/videos/rate/user-video-rate.type.ts (renamed from shared/models/videos/user-video-rate.type.ts)0
-rw-r--r--shared/models/videos/video.model.ts2
21 files changed, 28 insertions, 28 deletions
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
index d3085267f..8eddaa496 100644
--- a/shared/models/users/user.model.ts
+++ b/shared/models/users/user.model.ts
@@ -1,5 +1,5 @@
1import { Account } from '../actors' 1import { Account } from '../actors'
2import { VideoChannel } from '../videos/video-channel.model' 2import { VideoChannel } from '../videos/channel/video-channel.model'
3import { UserRole } from './user-role' 3import { UserRole } from './user-role'
4import { NSFWPolicyType } from '../videos/nsfw-policy.type' 4import { NSFWPolicyType } from '../videos/nsfw-policy.type'
5 5
diff --git a/shared/models/videos/video-abuse-create.model.ts b/shared/models/videos/abuse/video-abuse-create.model.ts
index db6458275..db6458275 100644
--- a/shared/models/videos/video-abuse-create.model.ts
+++ b/shared/models/videos/abuse/video-abuse-create.model.ts
diff --git a/shared/models/videos/video-abuse-state.model.ts b/shared/models/videos/abuse/video-abuse-state.model.ts
index 529f034bd..529f034bd 100644
--- a/shared/models/videos/video-abuse-state.model.ts
+++ b/shared/models/videos/abuse/video-abuse-state.model.ts
diff --git a/shared/models/videos/video-abuse-update.model.ts b/shared/models/videos/abuse/video-abuse-update.model.ts
index 9b32aae48..9b32aae48 100644
--- a/shared/models/videos/video-abuse-update.model.ts
+++ b/shared/models/videos/abuse/video-abuse-update.model.ts
diff --git a/shared/models/videos/video-abuse.model.ts b/shared/models/videos/abuse/video-abuse.model.ts
index b2319aa00..4f668795a 100644
--- a/shared/models/videos/video-abuse.model.ts
+++ b/shared/models/videos/abuse/video-abuse.model.ts
@@ -1,5 +1,5 @@
1import { Account } from '../actors' 1import { Account } from '../../actors/index'
2import { VideoConstant } from './video-constant.model' 2import { VideoConstant } from '../video-constant.model'
3import { VideoAbuseState } from './video-abuse-state.model' 3import { VideoAbuseState } from './video-abuse-state.model'
4 4
5export interface VideoAbuse { 5export interface VideoAbuse {
diff --git a/shared/models/videos/video-blacklist-create.model.ts b/shared/models/videos/blacklist/video-blacklist-create.model.ts
index 89c69cb56..89c69cb56 100644
--- a/shared/models/videos/video-blacklist-create.model.ts
+++ b/shared/models/videos/blacklist/video-blacklist-create.model.ts
diff --git a/shared/models/videos/video-blacklist-update.model.ts b/shared/models/videos/blacklist/video-blacklist-update.model.ts
index 0a86cf7b0..0a86cf7b0 100644
--- a/shared/models/videos/video-blacklist-update.model.ts
+++ b/shared/models/videos/blacklist/video-blacklist-update.model.ts
diff --git a/shared/models/videos/video-blacklist.model.ts b/shared/models/videos/blacklist/video-blacklist.model.ts
index ef4e5e3a2..ef4e5e3a2 100644
--- a/shared/models/videos/video-blacklist.model.ts
+++ b/shared/models/videos/blacklist/video-blacklist.model.ts
diff --git a/shared/models/videos/video-caption-update.model.ts b/shared/models/videos/caption/video-caption-update.model.ts
index ff5728715..ff5728715 100644
--- a/shared/models/videos/video-caption-update.model.ts
+++ b/shared/models/videos/caption/video-caption-update.model.ts
diff --git a/shared/models/videos/video-caption.model.ts b/shared/models/videos/caption/video-caption.model.ts
index 4695224ce..d3c73e1a6 100644
--- a/shared/models/videos/video-caption.model.ts
+++ b/shared/models/videos/caption/video-caption.model.ts
@@ -1,4 +1,4 @@
1import { VideoConstant } from './video-constant.model' 1import { VideoConstant } from '../video-constant.model'
2 2
3export interface VideoCaption { 3export interface VideoCaption {
4 language: VideoConstant<string> 4 language: VideoConstant<string>
diff --git a/shared/models/videos/video-channel-create.model.ts b/shared/models/videos/channel/video-channel-create.model.ts
index 08cd5fb84..08cd5fb84 100644
--- a/shared/models/videos/video-channel-create.model.ts
+++ b/shared/models/videos/channel/video-channel-create.model.ts
diff --git a/shared/models/videos/video-channel-update.model.ts b/shared/models/videos/channel/video-channel-update.model.ts
index 3626ce8a9..3626ce8a9 100644
--- a/shared/models/videos/video-channel-update.model.ts
+++ b/shared/models/videos/channel/video-channel-update.model.ts
diff --git a/shared/models/videos/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts
index 6e61183a7..92918f66c 100644
--- a/shared/models/videos/video-channel.model.ts
+++ b/shared/models/videos/channel/video-channel.model.ts
@@ -1,6 +1,6 @@
1import { Actor } from '../actors/actor.model' 1import { Actor } from '../../actors/actor.model'
2import { Video } from './video.model' 2import { Video } from '../video.model'
3import { Account } from '../actors' 3import { Account } from '../../actors/index'
4 4
5export interface VideoChannel extends Actor { 5export interface VideoChannel extends Actor {
6 displayName: string 6 displayName: string
diff --git a/shared/models/videos/video-import-create.model.ts b/shared/models/videos/import/video-import-create.model.ts
index e76084e06..425477389 100644
--- a/shared/models/videos/video-import-create.model.ts
+++ b/shared/models/videos/import/video-import-create.model.ts
@@ -1,4 +1,4 @@
1import { VideoUpdate } from './video-update.model' 1import { VideoUpdate } from '../video-update.model'
2 2
3export interface VideoImportCreate extends VideoUpdate { 3export interface VideoImportCreate extends VideoUpdate {
4 targetUrl?: string 4 targetUrl?: string
diff --git a/shared/models/videos/video-import-state.enum.ts b/shared/models/videos/import/video-import-state.enum.ts
index b178fbf3a..b178fbf3a 100644
--- a/shared/models/videos/video-import-state.enum.ts
+++ b/shared/models/videos/import/video-import-state.enum.ts
diff --git a/shared/models/videos/video-import.model.ts b/shared/models/videos/import/video-import.model.ts
index 293854006..e2a56617d 100644
--- a/shared/models/videos/video-import.model.ts
+++ b/shared/models/videos/import/video-import.model.ts
@@ -1,5 +1,5 @@
1import { Video } from './video.model' 1import { Video } from '../video.model'
2import { VideoConstant } from './video-constant.model' 2import { VideoConstant } from '../video-constant.model'
3import { VideoImportState } from './video-import-state.enum' 3import { VideoImportState } from './video-import-state.enum'
4 4
5export interface VideoImport { 5export interface VideoImport {
diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts
index b99dd2d8f..6b579cf3e 100644
--- a/shared/models/videos/index.ts
+++ b/shared/models/videos/index.ts
@@ -1,16 +1,16 @@
1export * from './user-video-rate-update.model' 1export * from './rate/user-video-rate-update.model'
2export * from './user-video-rate.model' 2export * from './rate/user-video-rate.model'
3export * from './user-video-rate.type' 3export * from './rate/user-video-rate.type'
4export * from './video-abuse-state.model' 4export * from './abuse/video-abuse-state.model'
5export * from './video-abuse-create.model' 5export * from './abuse/video-abuse-create.model'
6export * from './video-abuse.model' 6export * from './abuse/video-abuse.model'
7export * from './video-abuse-update.model' 7export * from './abuse/video-abuse-update.model'
8export * from './video-blacklist.model' 8export * from './blacklist/video-blacklist.model'
9export * from './video-blacklist-create.model' 9export * from './blacklist/video-blacklist-create.model'
10export * from './video-blacklist-update.model' 10export * from './blacklist/video-blacklist-update.model'
11export * from './video-channel-create.model' 11export * from './channel/video-channel-create.model'
12export * from './video-channel-update.model' 12export * from './channel/video-channel-update.model'
13export * from './video-channel.model' 13export * from './channel/video-channel.model'
14export * from './video-create.model' 14export * from './video-create.model'
15export * from './video-privacy.enum' 15export * from './video-privacy.enum'
16export * from './video-rate.type' 16export * from './video-rate.type'
@@ -18,8 +18,8 @@ export * from './video-resolution.enum'
18export * from './video-update.model' 18export * from './video-update.model'
19export * from './video.model' 19export * from './video.model'
20export * from './video-state.enum' 20export * from './video-state.enum'
21export * from './video-caption-update.model' 21export * from './caption/video-caption-update.model'
22export * from './video-import-create.model' 22export * from './import/video-import-create.model'
23export * from './video-import-state.enum' 23export * from './import/video-import-state.enum'
24export * from './video-import.model' 24export * from './import/video-import.model'
25export { VideoConstant } from './video-constant.model' 25export { VideoConstant } from './video-constant.model'
diff --git a/shared/models/videos/user-video-rate-update.model.ts b/shared/models/videos/rate/user-video-rate-update.model.ts
index 85e89271a..85e89271a 100644
--- a/shared/models/videos/user-video-rate-update.model.ts
+++ b/shared/models/videos/rate/user-video-rate-update.model.ts
diff --git a/shared/models/videos/user-video-rate.model.ts b/shared/models/videos/rate/user-video-rate.model.ts
index d39a1c3d5..d39a1c3d5 100644
--- a/shared/models/videos/user-video-rate.model.ts
+++ b/shared/models/videos/rate/user-video-rate.model.ts
diff --git a/shared/models/videos/user-video-rate.type.ts b/shared/models/videos/rate/user-video-rate.type.ts
index a4d9c7e39..a4d9c7e39 100644
--- a/shared/models/videos/user-video-rate.type.ts
+++ b/shared/models/videos/rate/user-video-rate.type.ts
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 8dfa96069..8e1fbe444 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -1,7 +1,7 @@
1import { VideoResolution, VideoState } from '../../index' 1import { VideoResolution, VideoState } from '../../index'
2import { Account } from '../actors' 2import { Account } from '../actors'
3import { Avatar } from '../avatars/avatar.model' 3import { Avatar } from '../avatars/avatar.model'
4import { VideoChannel } from './video-channel.model' 4import { VideoChannel } from './channel/video-channel.model'
5import { VideoPrivacy } from './video-privacy.enum' 5import { VideoPrivacy } from './video-privacy.enum'
6import { VideoScheduleUpdate } from './video-schedule-update.model' 6import { VideoScheduleUpdate } from './video-schedule-update.model'
7import { VideoConstant } from './video-constant.model' 7import { VideoConstant } from './video-constant.model'