diff options
Diffstat (limited to 'server/models/video/sql/videos-id-list-query-builder.ts')
-rw-r--r-- | server/models/video/sql/videos-id-list-query-builder.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/models/video/sql/videos-id-list-query-builder.ts b/server/models/video/sql/videos-id-list-query-builder.ts index 7bb942ea4..6e0d97d9e 100644 --- a/server/models/video/sql/videos-id-list-query-builder.ts +++ b/server/models/video/sql/videos-id-list-query-builder.ts | |||
@@ -4,7 +4,7 @@ import { exists } from '@server/helpers/custom-validators/misc' | |||
4 | import { buildDirectionAndField, createSafeIn } from '@server/models/utils' | 4 | import { buildDirectionAndField, createSafeIn } from '@server/models/utils' |
5 | import { MUserAccountId, MUserId } from '@server/types/models' | 5 | import { MUserAccountId, MUserId } from '@server/types/models' |
6 | import { VideoFilter, VideoPrivacy, VideoState } from '@shared/models' | 6 | import { VideoFilter, VideoPrivacy, VideoState } from '@shared/models' |
7 | import { AbstractVideosQueryBuilder } from './abstract-videos-query-builder' | 7 | import { AbstractVideosQueryBuilder } from './shared/abstract-videos-query-builder' |
8 | 8 | ||
9 | export type BuildVideosListQueryOptions = { | 9 | export type BuildVideosListQueryOptions = { |
10 | attributes?: string[] | 10 | attributes?: string[] |
@@ -57,11 +57,12 @@ export type BuildVideosListQueryOptions = { | |||
57 | } | 57 | } |
58 | 58 | ||
59 | export class VideosIdListQueryBuilder extends AbstractVideosQueryBuilder { | 59 | export class VideosIdListQueryBuilder extends AbstractVideosQueryBuilder { |
60 | protected replacements: any = {} | ||
61 | |||
60 | private attributes: string[] | 62 | private attributes: string[] |
63 | private joins: string[] = [] | ||
61 | 64 | ||
62 | protected replacements: any = {} | ||
63 | private readonly and: string[] = [] | 65 | private readonly and: string[] = [] |
64 | private joins: string[] = [] | ||
65 | 66 | ||
66 | private readonly cte: string[] = [] | 67 | private readonly cte: string[] = [] |
67 | 68 | ||