ag-common 0.0.87 → 0.0.88
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/api/helpers/s3.d.ts +2 -1
- package/package.json +1 -1
package/dist/api/helpers/s3.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { Blob } from 'aws-sdk/lib/dynamodb/document_client';
|
|
2
3
|
import AWS from 'aws-sdk';
|
|
3
4
|
export declare const setS3: (region: string) => void;
|
|
@@ -16,7 +17,7 @@ export declare const putS3Object: ({ Body, Bucket, Key, ContentType, }: {
|
|
|
16
17
|
export declare const uploadFile: ({ Bucket, Key, Body, }: {
|
|
17
18
|
Bucket: string;
|
|
18
19
|
Key: string;
|
|
19
|
-
Body: string;
|
|
20
|
+
Body: Buffer | Uint8Array | Blob | string;
|
|
20
21
|
}) => Promise<string>;
|
|
21
22
|
export declare const deleteFile: ({ Bucket, Key, }: {
|
|
22
23
|
Bucket: string;
|