refactor: update provider method signatures

This commit is contained in:
jamesgeorge007
2024-02-27 13:56:56 +05:30
parent 7e2deaac5b
commit 116f2fd279
3 changed files with 25 additions and 30 deletions

View File

@@ -89,19 +89,19 @@ export interface WorkspaceProvider {
reorderRESTCollection(
collectionHandle: HandleRef<WorkspaceCollection>,
destinationCollectionIndex: string | null
destinationCollectionID: string | null
): Promise<E.Either<unknown, void>>
moveRESTCollection(
collectionHandle: HandleRef<WorkspaceCollection>,
destinationCollectionIndex: string | null
destinationCollectionID: string | null
): Promise<E.Either<unknown, void>>
reorderRESTRequest(
requestHandle: HandleRef<WorkspaceRequest>,
destinationCollectionIndex: string,
destinationRequestIndex: string | null
destinationCollectionID: string,
destinationRequestID: string | null
): Promise<E.Either<unknown, void>>
moveRESTRequest(
requestHandle: HandleRef<WorkspaceRequest>,
destinationCollectionIndex: string
destinationCollectionID: string
): Promise<E.Either<unknown, void>>
}