| 465 | } |
| 466 | |
| 467 | export interface Logic extends Controller { |
| 468 | validate(rules: Object, msgs?: Object): Object; |
| 469 | validateErrors?: Object; |
| 470 | allowMethods: string; |
| 471 | rules: Object; |
| 472 | } |
| 473 | |
| 474 | export interface TLogic extends Logic { |
| 475 | new(ctx: Context): Logic; |