UNPKG

@viewdo/dxp-story-cli

Version:

DXP Story Management CLI

15 lines (14 loc) 589 B
import { Storage } from '@google-cloud/storage'; import { ConsoleService } from './ConsoleService'; import { ConventionService } from './ConventionService'; export declare class BucketFileService { private console; private conventions; storage: Storage; bucket: string; constructor(console: ConsoleService, conventions: ConventionService); setupBucket(bucket?: string, service_file?: string): void; exists(file_path: string): Promise<boolean>; upload(file_path: string, remote_path: string): Promise<string>; delete(file_path: string): Promise<void>; }