glitch-javascript-sdk 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ import Route from "./interface";
2
+ declare class MultiplayerRoute {
3
+ static routes: {
4
+ [key: string]: Route;
5
+ };
6
+ }
7
+ export default MultiplayerRoute;
@@ -0,0 +1,7 @@
1
+ import Route from "./interface";
2
+ declare class ServerOperationsRoute {
3
+ static routes: {
4
+ [key: string]: Route;
5
+ };
6
+ }
7
+ export default ServerOperationsRoute;
@@ -15,6 +15,7 @@ declare class Requests {
15
15
  static get<T>(url: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
16
16
  static post<T>(url: string, data: any, params?: Record<string, any>): AxiosPromise<Response<T>>;
17
17
  static put<T>(url: string, data: any, params?: Record<string, any>): AxiosPromise<Response<T>>;
18
+ static patch<T>(url: string, data: any, params?: Record<string, any>): AxiosPromise<Response<T>>;
18
19
  static delete<T>(url: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
19
20
  static uploadFile<T>(url: string, filename: string, file: File | Blob, data?: any, params?: Record<string, any>, onUploadProgress?: (progressEvent: AxiosProgressEvent) => void): AxiosPromise<Response<T>>;
20
21
  static uploadBlob<T>(url: string, filename: string, blob: Blob, data?: any, params?: Record<string, any>, onUploadProgress?: (progressEvent: AxiosProgressEvent) => void): AxiosPromise<Response<T>>;