From dbeb1856ac6568ee7dcfa9e3c41a8dc52aaf332f Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 29 May 2023 16:30:50 +0000 Subject: [PATCH] ServerInfo --- packages/misskey-js/src/entities.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/packages/misskey-js/src/entities.ts b/packages/misskey-js/src/entities.ts index 1224d84990..1f7b8db327 100644 --- a/packages/misskey-js/src/entities.ts +++ b/packages/misskey-js/src/entities.ts @@ -106,20 +106,7 @@ export type DetailedInstanceMetadata = LiteInstanceMetadata & { export type InstanceMetadata = LiteInstanceMetadata | DetailedInstanceMetadata; -export type ServerInfo = { - machine: string; - cpu: { - model: string; - cores: number; - }; - mem: { - total: number; - }; - fs: { - total: number; - used: number; - }; -}; +export type ServerInfo = Packed<'ServerInfo'>; export type Stats = { notesCount: number;