Fix typings for delete (there is no deleteQuery) in projection manager

This commit is contained in:
Richard Shephard 2019-05-16 15:35:20 +02:00
parent 88df807508
commit 4d981596eb

2
index.d.ts vendored
View File

@ -87,7 +87,7 @@ export class ProjectionsManager {
getQuery(name: string, userCredentials: UserCredentials): Promise<string>;
getState(name: string, userCredentials: UserCredentials): Promise<string>;
updateQuery(name: string, query: string, userCredentials: UserCredentials): Promise<void>;
deleteQuery(name: string, deleteEmittedStreams: boolean, userCredentials: UserCredentials): Promise<void>;
delete(name: string, deleteEmittedStreams: boolean, deleteStateStream: boolean, deleteCheckpointStream: boolean, userCredentials: UserCredentials): Promise<void>;
}
// Expose errors