UNPKG

398 BTypeScriptView Raw
1/**
2 * Controller action properties.
3 */
4export interface Action {
5 /**
6 * Action Request object.
7 */
8 request: any;
9 /**
10 * Action Response object.
11 */
12 response: any;
13 /**
14 * Content in which action is executed.
15 * Koa-specific property.
16 */
17 context?: any;
18 /**
19 * "Next" function used to call next middleware.
20 */
21 next?: Function;
22}