@@ -44,7 +44,7 @@ Koa API options
4444
4545#### Defined in
4646
47- [ lib/koa-api/src/koa-api.ts:33] ( https://github.com/ivandotv/nextjs-koa-api/blob/35b7030 /lib/koa-api/src/koa-api.ts#L33 )
47+ [ lib/koa-api/src/koa-api.ts:33] ( https://github.com/ivandotv/nextjs-koa-api/blob/2a4668e /lib/koa-api/src/koa-api.ts#L33 )
4848
4949---
5050
@@ -65,7 +65,7 @@ Koa API options
6565
6666#### Defined in
6767
68- [ lib/koa-api/src/koa-api.ts:17] ( https://github.com/ivandotv/nextjs-koa-api/blob/35b7030 /lib/koa-api/src/koa-api.ts#L17 )
68+ [ lib/koa-api/src/koa-api.ts:17] ( https://github.com/ivandotv/nextjs-koa-api/blob/2a4668e /lib/koa-api/src/koa-api.ts#L17 )
6969
7070## Functions
7171
@@ -77,19 +77,19 @@ Attaches router to a particular path. Internally it setups a prefix on the route
7777
7878#### Parameters
7979
80- | Name | Type | Description |
81- | :------- | :------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------- |
82- | ` path ` | ` string ` | path to attach the router to |
83- | ` app ` | [ ` KoaApi ` ] ( classes/KoaApi.md ) <` any ` , ` any ` \> | - |
84- | ` router ` | [ ` Router ` ] ( classes/Router.md ) <[ ` DefaultState ` ] ( interfaces/Koa.DefaultState.md ) , [ ` DefaultContext ` ] ( interfaces/Koa.DefaultContext.md ) \> | router to attach |
80+ | Name | Type | Description |
81+ | :------- | :------------------------------------------- | :--------------------------- |
82+ | ` path ` | ` string ` | path to attach the router to |
83+ | ` app ` | [ ` KoaApi ` ] ( classes/KoaApi.md ) <` any ` , ` any ` \> | - |
84+ | ` router ` | [ ` Router ` ] ( classes/Router.md ) <` any ` , ` any ` \> | router to attach |
8585
8686#### Returns
8787
8888` void `
8989
9090#### Defined in
9191
92- [ lib/koa-api/src/koa-api.ts:108] ( https://github.com/ivandotv/nextjs-koa-api/blob/35b7030 /lib/koa-api/src/koa-api.ts#L108 )
92+ [ lib/koa-api/src/koa-api.ts:108] ( https://github.com/ivandotv/nextjs-koa-api/blob/2a4668e /lib/koa-api/src/koa-api.ts#L108 )
9393
9494---
9595
@@ -125,4 +125,4 @@ It should be used as default export from the Next.js api route file
125125
126126#### Defined in
127127
128- [ lib/koa-api/src/koa-api.ts:99] ( https://github.com/ivandotv/nextjs-koa-api/blob/35b7030 /lib/koa-api/src/koa-api.ts#L99 )
128+ [ lib/koa-api/src/koa-api.ts:99] ( https://github.com/ivandotv/nextjs-koa-api/blob/2a4668e /lib/koa-api/src/koa-api.ts#L99 )
0 commit comments