@@ -14,13 +14,13 @@ import type { SquareCloudAPI } from "..";
1414 */
1515export class SimpleApplicationStatus < R extends boolean = boolean > {
1616 /** The application's ID this status came from */
17- applicationId : string ;
17+ public readonly applicationId : string ;
1818 /** Usage statuses for this application */
19- usage : R extends true
19+ public usage : R extends true
2020 ? Pick < ApplicationStatusUsage , "cpu" | "ram" >
2121 : undefined ;
2222 /** Whether the application is running or not */
23- running : R ;
23+ public running : R ;
2424
2525 /**
2626 * Represents an application status fetched from status all endpoint
@@ -70,11 +70,11 @@ export class SimpleApplicationStatus<R extends boolean = boolean> {
7070 */
7171export class ApplicationStatus {
7272 /** The application's ID this status came from */
73- applicationId : string ;
73+ public readonly applicationId : string ;
7474 /** Usage statuses for this application */
75- usage : ApplicationStatusUsage ;
75+ public usage : ApplicationStatusUsage ;
7676 /** Whether the application is running or not */
77- running : boolean ;
77+ public running : boolean ;
7878 /**
7979 * The status of the application
8080 *
@@ -85,13 +85,13 @@ export class ApplicationStatus {
8585 * - 'restarting'
8686 * - 'deleting'
8787 */
88- status : ApplicationStatusType ;
88+ public status : ApplicationStatusType ;
8989 /** How many requests have been made since the last start up */
90- requests : number ;
90+ public requests : number ;
9191 /** For how long the app is running in millisseconds */
92- uptimeTimestamp ?: number ;
92+ public uptimeTimestamp ?: number ;
9393 /** For how long the app is running */
94- uptime ?: Date ;
94+ public uptime ?: Date ;
9595
9696 /**
9797 * Represents an application status
0 commit comments