mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 13:33:09 +02:00
ServerInfo
This commit is contained in:
parent
07bbadbbdc
commit
dbeb1856ac
1 changed files with 1 additions and 14 deletions
|
@ -106,20 +106,7 @@ export type DetailedInstanceMetadata = LiteInstanceMetadata & {
|
||||||
|
|
||||||
export type InstanceMetadata = LiteInstanceMetadata | DetailedInstanceMetadata;
|
export type InstanceMetadata = LiteInstanceMetadata | DetailedInstanceMetadata;
|
||||||
|
|
||||||
export type ServerInfo = {
|
export type ServerInfo = Packed<'ServerInfo'>;
|
||||||
machine: string;
|
|
||||||
cpu: {
|
|
||||||
model: string;
|
|
||||||
cores: number;
|
|
||||||
};
|
|
||||||
mem: {
|
|
||||||
total: number;
|
|
||||||
};
|
|
||||||
fs: {
|
|
||||||
total: number;
|
|
||||||
used: number;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
export type Stats = {
|
export type Stats = {
|
||||||
notesCount: number;
|
notesCount: number;
|
||||||
|
|
Loading…
Reference in a new issue