added last downtime log (closes #55)
added uptime statistics (closes #56) added german translations (closes #57)
This commit is contained in:
parent
acb39f6b2a
commit
e9599373ec
27 changed files with 819 additions and 265 deletions
|
@ -18,9 +18,31 @@ export interface Service {
|
|||
name: string;
|
||||
url?: string;
|
||||
state: State;
|
||||
uptime: number;
|
||||
}
|
||||
|
||||
export interface MetaInfo {
|
||||
title: string;
|
||||
description: string;
|
||||
translations?: {
|
||||
[lang: string]: {
|
||||
title: string;
|
||||
description: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export interface UptimeStatus {
|
||||
hours24: number;
|
||||
days7: number;
|
||||
days30: number;
|
||||
days90: number;
|
||||
days: {
|
||||
date: Date;
|
||||
uptime: number;
|
||||
}[];
|
||||
events: {
|
||||
state: State;
|
||||
date: Date;
|
||||
}[];
|
||||
}
|
||||
|
|
Reference in a new issue