PeerTube/shared/models/search/video-channels-search-query...

19 lines
384 B
TypeScript

import { SearchTargetQuery } from './search-target-query.model'
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
}