@rowengine/common 1.1.11 → 1.1.12
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/build/utils/gc.d.ts +1 -0
- package/build/utils/gc.js +1 -0
- package/package.json +1 -1
package/build/utils/gc.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare function uploadFileToGCS(absolutePath: string, gcsPath: string, size: number): Promise<void>;
|
|
1
2
|
export declare function uploadFolderToGCS(folderPath: string, gcsPath: string): Promise<void>;
|
|
2
3
|
export declare const getFilesFromGCSFolder: (gcsFolderPath: string) => Promise<string[]>;
|
|
3
4
|
export declare const downloadProjectFileFromGCS: (projectId: string, fileName: string, destinationPath: string) => Promise<string | null>;
|
package/build/utils/gc.js
CHANGED
|
@@ -13,6 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.getFileFromProjectFieldInGCS = exports.getTileFromProjectInGCS = exports.downloadProjectFileFromGCS = exports.getFilesFromGCSFolder = void 0;
|
|
16
|
+
exports.uploadFileToGCS = uploadFileToGCS;
|
|
16
17
|
exports.uploadFolderToGCS = uploadFolderToGCS;
|
|
17
18
|
const promises_1 = __importDefault(require("fs/promises"));
|
|
18
19
|
const fs_1 = __importDefault(require("fs"));
|