-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename Request/ResponsePlugin to Request/ResponseInterceptor
- Loading branch information
Showing
5 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { CommonMediaRequest } from './CommonMediaRequest.js'; | ||
|
||
/** | ||
* Request interceptor API. | ||
* @param request - The request to be executed. | ||
* @returns A promise with updated request that is resolved when the interceptor has completed the process of the request. | ||
* | ||
* @group Request | ||
*/ | ||
export type RequestInterceptor = (request: CommonMediaRequest) => Promise<CommonMediaRequest> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { CommonMediaResponse } from './CommonMediaResponse.js'; | ||
|
||
/** | ||
* Response interceptor API. | ||
* @param response - The received response. | ||
* @returns A promise with updated response that is resolved when the interceptor has completed the process of the response. | ||
* | ||
* @group Request | ||
*/ | ||
export type ResponseInterceptor = (response: CommonMediaResponse) => Promise<CommonMediaResponse> |
This file was deleted.
Oops, something went wrong.