aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/search/video-channels-search-query.model.ts
blob: 7e84359cfbc514d22398c352e7cec147eb40dc27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { SearchTargetQuery } from './search-target-query.model.js'

export interface VideoChannelsSearchQuery extends SearchTargetQuery {
  search?: string

  start?: number
  count?: number
  sort?: string

  host?: string
  handles?: string[]
}

export interface VideoChannelsSearchQueryAfterSanitize extends VideoChannelsSearchQuery {
  start: number
  count: number
  sort: string
}