import type { ApiApp } from "@discloudapp/api-types/v2"; import type DiscloudApp from "../discloudApp/DiscloudApp"; import AppModeratorsManager from "../managers/AppModeratorsManager"; import AppStatusManager from "../managers/AppStatusManager"; import AppApt from "./AppApt"; import BaseApp from "./BaseApp"; export default class App extends BaseApp { /** * When your app was uploaded */ addedTimestamp: number; /** * If your app has auto-restart enabled */ autoRestart: boolean; /** * Your app's avatar url */ avatarURL: string; /** * Your app's exit code on stopping */ exitCode: number; /** * Your app programming language */ lang: string; /** * The main file of your application */ mainFile: string; /** * Moderators IDs of your app */ readonly mods: Set; /** * The name of your application */ name: string; /** * If your app is online */ online: boolean; /** * The ram quantity for your application */ ram: number; /** * If your application was stopped due to lack of RAM */ ramKilled: boolean; /** * Your app's type */ type: number; /** @deprecated use apts instead. */ get apt(): AppApt; readonly apts: AppApt; readonly moderators: AppModeratorsManager; readonly status: AppStatusManager; constructor(discloudApp: DiscloudApp, data: ApiApp); protected _patch(data: Partial): this; }