pangea-lib 4.0.85 → 4.0.87

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,5 @@
1
+ import { default as axios } from 'axios';
2
+
3
+ export declare abstract class FileStorage {
4
+ static UploadFile(url: string, file: File): Promise<axios.AxiosResponse<any, any>>;
5
+ }
@@ -2,6 +2,7 @@ export * from './auth.helpers';
2
2
  export * from './color.helpers';
3
3
  export * from './css.helpers';
4
4
  export * from './datetime.helpers';
5
+ export * from './file-storage.helpers';
5
6
  export * from './html-sanitize.helpers';
6
7
  export * from './number.helpers';
7
8
  export * from './object.helpers';
@@ -3,7 +3,9 @@ export declare class BaseResponse {
3
3
  static CopyFields(objTo: any, objFrom: any, relations?: any): void;
4
4
  }
5
5
  export declare class GenerateUploadUrlsResponse extends BaseResponse {
6
- url: string;
7
- fileName: string;
6
+ urls: {
7
+ url: string;
8
+ fileName: string;
9
+ }[];
8
10
  constructor(params?: Partial<GenerateUploadUrlsResponse>);
9
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.85",
4
+ "version": "4.0.87",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",