UNPKG

cloud-agnostic-storage

Version:

A package which enables cloud agnostic storage for a NodeJS project.

24 lines (18 loc) 590 B
import CloudStorageService from "../services/CloudStorageService"; export interface CloudStorageConfig { AWS_ACCESS_KEY_ID: string | undefined; AWS_SECRET_ACCESS_KEY: string | undefined; S3_REGION: string | undefined; S3_BUCKET: string | undefined; AZURE_STORAGE_CONNECTION_STRING: string | undefined; } export interface FileUploadResponse { message: string; } export interface FileDownloadResponse { message: string; } export interface FileDeleteResponse { message: string; } export type CloudStorageConstructor = new () => CloudStorageService;