refactor: update provider method signature

This commit is contained in:
jamesgeorge007
2024-02-10 12:46:14 +05:30
parent a0e373a4f3
commit 2c47a63ca0
4 changed files with 44 additions and 38 deletions

View File

@@ -63,7 +63,7 @@ export interface WorkspaceProvider {
updateRESTRequest(
requestHandle: HandleRef<WorkspaceRequest>,
updatedRequest: Partial<HoppRESTRequest>
): Promise<E.Either<unknown, HandleRef<boolean>["value"]>>
): Promise<E.Either<unknown, void>>
removeRESTRequest(
requestHandle: HandleRef<WorkspaceRequest>
): Promise<E.Either<unknown, void>>