diff options
Diffstat (limited to 'shared/models/redundancy')
-rw-r--r-- | shared/models/redundancy/index.ts | 1 | ||||
-rw-r--r-- | shared/models/redundancy/videos-redundancy.model.ts | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/shared/models/redundancy/index.ts b/shared/models/redundancy/index.ts new file mode 100644 index 000000000..61bf0fca7 --- /dev/null +++ b/shared/models/redundancy/index.ts | |||
@@ -0,0 +1 @@ | |||
export * from './videos-redundancy.model' | |||
diff --git a/shared/models/redundancy/videos-redundancy.model.ts b/shared/models/redundancy/videos-redundancy.model.ts new file mode 100644 index 000000000..eb84964e0 --- /dev/null +++ b/shared/models/redundancy/videos-redundancy.model.ts | |||
@@ -0,0 +1,6 @@ | |||
1 | export type VideoRedundancyStrategy = 'most-views' | ||
2 | |||
3 | export interface VideosRedundancy { | ||
4 | strategy: VideoRedundancyStrategy | ||
5 | size: number | ||
6 | } | ||