Skip to content

Commit 1ae3e03

Browse files
committed
Adding context
1 parent be7d53d commit 1ae3e03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/templates/core/ApiRequestOptions.hbs

+2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{{>header}}
2+
import { TweedBaseContext } from "@paytweed/context";
23

34
export type ApiRequestOptions = {
45
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
56
readonly url: string;
7+
readonly context: TweedContext
68
readonly path?: Record<string, any>;
79
readonly cookies?: Record<string, any>;
810
readonly headers?: Record<string, any>;

0 commit comments

Comments
 (0)