UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

31 lines 981 B
/// <reference types="node" /> /// <reference types="node" /> import type { ICloudStorage } from "./types"; /** * Private access URL for the storage bucket * @param storage * @returns */ export declare function getStorageBucketOrigin(storage: ICloudStorage): string; /** * Public access host (domain) for the storage bucket * @param storage * @returns */ export declare function getStorageHost(storage: ICloudStorage): string; /** * Get the origin URL for the uploaded file (private access) * @param storage * @param destFileName * @returns */ export declare function getUploadFileOriginEndpointUrl(storage: ICloudStorage, destFileName: string): string; /** * Get the public URL for the uploaded file * @param storage * @param destFileName * @returns */ export declare function getUploadFilePublicUrl(storage: ICloudStorage, destFileName: string): string; export declare function guessMimeTypeByBuffer(buffer: Buffer): string; //# sourceMappingURL=helper.d.ts.map