- map(data => this.extractVideoComment(data.comment)),
- catchError(err => this.restExtractor.handleError(err))
+ map(data => this.extractVideoComment(data.comment)),
+ catchError(err => this.restExtractor.handleError(err))
search?: string
}): Observable<ResultList<VideoCommentAdmin>> {
const { pagination, sort, search } = options
search?: string
}): Observable<ResultList<VideoCommentAdmin>> {
const { pagination, sort, search } = options
- videoId: number | string,
- componentPagination: ComponentPaginationLight,
+ videoId: number | string
+ componentPagination: ComponentPaginationLight
sort: string
}): Observable<ThreadsResultList<VideoComment>> {
const { videoId, componentPagination, sort } = parameters
sort: string
}): Observable<ThreadsResultList<VideoComment>> {
const { videoId, componentPagination, sort } = parameters
let params = new HttpParams()
params = this.restService.addRestGetParams(params, pagination, sort)
let params = new HttpParams()
params = this.restService.addRestGetParams(params, pagination, sort)
threadId: number
}): Observable<VideoCommentThreadTree> {
const { videoId, threadId } = parameters
threadId: number
}): Observable<VideoCommentThreadTree> {
const { videoId, threadId } = parameters