PeerTube/shared/models/result-list.model.ts

9 lines
164 B
TypeScript

export interface ResultList<T> {
total: number
data: T[]
}
export interface ThreadsResultList <T> extends ResultList <T> {
totalNotDeletedComments: number
}