UNPKG

streamby-core

Version:

StreamBy middleware framework for media storage management

14 lines (13 loc) 779 B
import { DatabaseType } from '../types'; interface CreateExportResult { exportId: string; collectionName: string; message: string; } import { StreamByConfig } from '../types'; export declare function createExport(config: StreamByConfig, projectId: string, exportName: string, collectionName: string, jsonData: any, dbType: DatabaseType): Promise<CreateExportResult>; export declare function updateExport(config: StreamByConfig, projectId: string, exportId: string, exportName: string, collectionName: string, jsonData: any, dbType: DatabaseType): Promise<CreateExportResult>; export declare function deleteExport(config: StreamByConfig, projectId: string, exportId: string, dbType: DatabaseType, collectionName: string): Promise<{ message: string; }>; export {};