├── .gitignore ├── .npmignore ├── .npmrc ├── .prettierrc.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── dist ├── index.d.ts └── index.js ├── package.json ├── sample ├── .npmrc ├── .vscode │ └── launch.json ├── package.json ├── src │ ├── index.ts │ └── router │ │ ├── api │ │ ├── conflict.ts │ │ └── method.ts │ │ └── web │ │ └── method.ts └── tsconfig.json ├── src └── index.ts ├── test └── index.ts ├── tsconfig.json └── tsconfig.tsc.json /.gitignore: -------------------------------------------------------------------------------- 1 | .nyc_output 2 | coverage 3 | node_modules 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | save-exact = true -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/README.md -------------------------------------------------------------------------------- /dist/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/dist/index.d.ts -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/dist/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/package.json -------------------------------------------------------------------------------- /sample/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock = false 2 | save-exact = true -------------------------------------------------------------------------------- /sample/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/sample/.vscode/launch.json -------------------------------------------------------------------------------- /sample/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/sample/package.json -------------------------------------------------------------------------------- /sample/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/sample/src/index.ts -------------------------------------------------------------------------------- /sample/src/router/api/conflict.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/sample/src/router/api/conflict.ts -------------------------------------------------------------------------------- /sample/src/router/api/method.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/sample/src/router/api/method.ts -------------------------------------------------------------------------------- /sample/src/router/web/method.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/sample/src/router/web/method.ts -------------------------------------------------------------------------------- /sample/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/sample/tsconfig.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/test/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.tsc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichangwei/koa-router-decorators/HEAD/tsconfig.tsc.json --------------------------------------------------------------------------------