Skip to content

Commit

Permalink
fix(setup tests): added missing file
Browse files Browse the repository at this point in the history
commiting missing core helper file with exported functions for testing
ctrlc03 committed Jan 30, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent a7e46c8 commit 6e4e0b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/actions/src/helpers/storage.ts
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ export const objectExist = async (functions: Functions, bucketName: string, obje
* @param ceremonyId <string> - the identifier of the ceremony.
* @returns Promise<string> - the Upload ID reference.
*/
const openMultiPartUpload = async (
export const openMultiPartUpload = async (
functions: Functions,
bucketName: string,
objectKey: string,
@@ -93,7 +93,7 @@ const openMultiPartUpload = async (
* @param ceremonyId <string> - the identifier of the ceremony.
* @returns Promise<Array, ChunkWithUrl>
*/
const getChunksAndPreSignedUrls = async (
export const getChunksAndPreSignedUrls = async (
functions: Functions,
bucketName: string,
objectKey: string,
@@ -142,7 +142,7 @@ const getChunksAndPreSignedUrls = async (
* @param alreadyUploadedChunks <any> - the ETag and PartNumber temporary information about the already uploaded chunks.
* @returns <Promise<Array<ETagWithPartNumber>>>
*/
const uploadParts = async (
export const uploadParts = async (
chunksWithUrls: Array<ChunkWithUrl>,
contentType: string | false,
functions?: Functions,
@@ -204,7 +204,7 @@ const uploadParts = async (
* @param ceremonyId <string> - the identifier of the ceremony.
* @returns Promise<string> - the location of the uploaded file.
*/
const closeMultiPartUpload = async (
export const closeMultiPartUpload = async (
functions: Functions,
bucketName: string,
objectKey: string,

0 comments on commit 6e4e0b0

Please sign in to comment.