import type { ApiNetIO, ApiStatusApp } from "@discloudapp/api-types/v2"; import type DiscloudApp from "../discloudApp/DiscloudApp"; import BaseSharedAppStatus from "./BaseSharedAppStatus"; export default class SharedAppStatus extends BaseSharedAppStatus { /** * Status of your application * - It can be `Online` or `Offline` for example */ container: string; /** * CPU usage as percentage */ cpu: string; /** * Relative time of the last restart */ lastRestart: string; /** * RAM usage */ memory: string; /** * Percentage of memory usage */ memoryUsage: number; /** * Internet usage */ netIO: ApiNetIO; /** * Storage space */ ssd: string; /** * Date of your application has started */ startedAt: Date; /** * Timestamp of when your app started */ startedAtTimestamp: number; constructor(discloudApp: DiscloudApp, data: ApiStatusApp); protected _patch(data: Partial): this; get app(): import("./SharedApp").default | undefined; }