File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ import { APIService, GlobalCacheService } from "./services";
44import { type ClientEvents , TypedEventEmitter } from "./types" ;
55
66export class SquareCloudAPI extends TypedEventEmitter < ClientEvents > {
7- static apiInfo = {
8- latestVersion : "v2 " ,
9- baseUrl : "https://api.squarecloud.app/ " ,
7+ public static apiInfo = {
8+ baseUrl : "https://api.squarecloud.app " ,
9+ version : "v2 " ,
1010 } ;
1111
1212 /** The API service */
1313 public readonly api : APIService ;
1414
1515 /** The applications module */
16- public applications = new ApplicationsModule ( this ) ;
16+ public readonly applications = new ApplicationsModule ( this ) ;
1717 /** The users module */
18- public users = new UserModule ( this ) ;
18+ public readonly users = new UserModule ( this ) ;
1919 /** The global cache service */
20- public cache = new GlobalCacheService ( ) ;
20+ public readonly cache = new GlobalCacheService ( ) ;
2121
2222 /**
2323 * Creates an API instance
You can’t perform that action at this time.
0 commit comments