UNPKG

streamby-core

Version:

StreamBy middleware framework for media storage management

9 lines (8 loc) 585 B
import { StreamByConfig, Credential, ProjectInfo } from '../types'; export declare function addCredential(config: StreamByConfig, projectId: string, newCredential: Omit<Credential, 'encryptedValue'> & { value: string; }): Promise<ProjectInfo>; export declare function updateCredential(config: StreamByConfig, projectId: string, credentialId: string, updates: Partial<Omit<Credential, 'encryptedValue'> & { value: string; }>): Promise<ProjectInfo>; export declare function deleteCredential(config: StreamByConfig, projectId: string, credentialId: string): Promise<ProjectInfo>;