1.0.1 • Published 2 years ago
@typescript-decorators/web v1.0.1
@attributes/web
Reference
import { Controller, Get, Post, Delete, WebContext } from '@typescript-decorators/web';
@Controller('/user')
class UserController {
@Get('/:id')
method1(ctx: WebContext): any {}
@Post('/:id')
method2(ctx: WebContext): any {}
@Delete('/:id')
method3(ctx: WebContext): any {}
}
ControllerAttribute
Reflector(UserController).getOwnAttribute(ControllerAttribute)
ParamsAttribute
Reflector(UserController).property('method1').getOwnAttribute(ParamsAttribute)
MiddlewareAttribute
Reflector(UserController).property('method2').getOwnAttribute(MiddlewareAttribute)
MethodAttribute
Reflector(UserController).property('method3').getOwnAttribute(MethodAttribute)
1.0.1
2 years ago
1.0.0
2 years ago
0.0.3
2 years ago
0.0.2
3 years ago
0.0.1
3 years ago
0.0.0-rc.20210824
3 years ago
1.0.0-rc.20210814
3 years ago
1.0.0-rc.39
3 years ago
1.0.0-rc.38
3 years ago
1.0.0-rc.37
3 years ago
1.0.0-rc.36
3 years ago
1.0.0-rc.35
3 years ago
1.0.0-rc.34
3 years ago
1.0.0-rc.31
3 years ago
1.0.0-rc.33
3 years ago
1.0.0-rc.32
3 years ago
1.0.0-rc.29
3 years ago
1.0.0-rc.28
3 years ago
1.0.0-rc.20
3 years ago
1.0.0-rc.24
3 years ago
1.0.0-rc.23
3 years ago
1.0.0-rc.22
3 years ago
1.0.0-rc.19
3 years ago
1.0.0-rc.18
3 years ago
1.0.0-rc.16
3 years ago
1.0.0-rc.15
3 years ago
1.0.0-rc.14
3 years ago
1.0.0-rc.13
3 years ago
1.0.0-rc.12
3 years ago
1.0.0-rc.11
3 years ago
1.0.0-rc.10
3 years ago
1.0.0-rc.9
3 years ago
1.0.0-rc.8
3 years ago
1.0.0-rc.7
3 years ago
1.0.0-rc.5
3 years ago
1.0.0-rc.6
3 years ago
1.0.0-rc.4
3 years ago
1.0.0-rc.3
3 years ago
1.0.0-rc.2
4 years ago
1.0.0-rc.1
4 years ago