ptechcore_ui 1.0.77 → 1.0.78
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.
- package/dist/index.cjs +259 -137
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +286 -163
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1027,6 +1027,8 @@ declare class FetchApi {
|
|
|
1027
1027
|
static put<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1028
1028
|
static delete<T>(url: string, token?: string): Promise<T>;
|
|
1029
1029
|
static uploadFile<T>(url: string, formData: FormData, token?: string): Promise<T>;
|
|
1030
|
+
static postFile<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1031
|
+
static putFile<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1030
1032
|
static patch<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1031
1033
|
}
|
|
1032
1034
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1027,6 +1027,8 @@ declare class FetchApi {
|
|
|
1027
1027
|
static put<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1028
1028
|
static delete<T>(url: string, token?: string): Promise<T>;
|
|
1029
1029
|
static uploadFile<T>(url: string, formData: FormData, token?: string): Promise<T>;
|
|
1030
|
+
static postFile<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1031
|
+
static putFile<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1030
1032
|
static patch<T>(url: string, payload?: any, token?: string): Promise<T>;
|
|
1031
1033
|
}
|
|
1032
1034
|
|