mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
16 lines
647 B
TypeScript
16 lines
647 B
TypeScript
import { Component, Input } from '@angular/core'
|
|
import { ServerStats } from '@peertube/peertube-models'
|
|
import { BytesPipe } from '../../shared/shared-main/common/bytes.pipe'
|
|
import { GlobalIconComponent } from '../../shared/shared-icons/global-icon.component'
|
|
import { NgIf, DecimalPipe } from '@angular/common'
|
|
|
|
@Component({
|
|
selector: 'my-instance-statistics',
|
|
templateUrl: './instance-statistics.component.html',
|
|
styleUrls: [ './instance-statistics.component.scss' ],
|
|
standalone: true,
|
|
imports: [ NgIf, GlobalIconComponent, DecimalPipe, BytesPipe ]
|
|
})
|
|
export class InstanceStatisticsComponent {
|
|
@Input() serverStats: ServerStats
|
|
}
|