From dfbcefc20dc64f0814b1f2e8e782a4ea1bd24db2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 5 Apr 2022 15:15:09 +0200 Subject: Improve views/viewers documentation --- server/models/view/local-video-viewer.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'server/models/view/local-video-viewer.ts') diff --git a/server/models/view/local-video-viewer.ts b/server/models/view/local-video-viewer.ts index 6f8de53cd..1491acb9e 100644 --- a/server/models/view/local-video-viewer.ts +++ b/server/models/view/local-video-viewer.ts @@ -8,6 +8,13 @@ import { AttributesOnly } from '@shared/typescript-utils' import { VideoModel } from '../video/video' import { LocalVideoViewerWatchSectionModel } from './local-video-viewer-watch-section' +/** + * + * Aggregate viewers of local videos only to display statistics to video owners + * A viewer is a user that watched one or multiple sections of a specific video inside a time window + * + */ + @Table({ tableName: 'localVideoViewer', updatedAt: false, -- cgit v1.2.3