mirror of
https://github.com/LukeHagar/firecamp.git
synced 2025-12-06 04:19:43 +00:00
fix: file renamed
This commit is contained in:
21
playgrounds/firecamp-rest-executor/src/types.ts
Normal file
21
playgrounds/firecamp-rest-executor/src/types.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { IRest, IRestResponse, IVariableGroup } from '@firecamp/types';
|
||||
|
||||
export type TRestExecutionResponse = {
|
||||
response: IRestResponse;
|
||||
variables: IVariableGroup;
|
||||
testResult?: any;
|
||||
scriptErrors?: any[];
|
||||
};
|
||||
|
||||
export interface IRestExecutor {
|
||||
/**
|
||||
* run the request to fetch the server response
|
||||
*/
|
||||
send(
|
||||
request: IRest,
|
||||
variables: IVariableGroup
|
||||
): Promise<TRestExecutionResponse>;
|
||||
|
||||
/** cancel the request */
|
||||
cancel(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user