]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/requests/shared/request-stats-attributes.model.ts
Share models between server and client
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / requests / shared / request-stats-attributes.model.ts
similarity index 80%
rename from client/src/app/+admin/requests/shared/request-stats.model.ts
rename to client/src/app/+admin/requests/shared/request-stats-attributes.model.ts
index 31550b5c08f1c091f146bb8c6b0f090f52efc9c5..394acc73d5e25b68bf0850e4a0fdf89a92fd8006 100644 (file)
@@ -1,9 +1,11 @@
+import { RequestSchedulerAttributes as FormatedRequestSchedulerAttributes } from '../../../../../../shared'
+
 export interface Request {
   request: any
   to: any
 }
 
-export class RequestStats {
+export class RequestSchedulerStatsAttributes implements FormatedRequestSchedulerAttributes {
   requestsLimitPods: number
   requestsLimitPerPod: number
   milliSecondsInterval: number