aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/request-scheduler.model.ts
blob: f94ccfcabdf0b4850d3d34bfd59a9b69718c5446 (plain) (tree)


















                                                                  
export type RequestEndpoint = 'videos'

export type RequestVideoQaduType = 'likes' | 'dislikes' | 'views'

export type RequestVideoEventType = 'likes' | 'dislikes' | 'views'

export type RequestSchedulerAttributes = {
  totalRequests: number
  requestsLimitPods: number
  requestsLimitPerPod: number
  remainingMilliSeconds: number
  milliSecondsInterval: number
}

export interface RequestScheduler {
  requestScheduler: RequestSchedulerAttributes
  requestVideoQaduScheduler: RequestSchedulerAttributes
  requestVideoEventScheduler: RequestSchedulerAttributes
}