@@ -44,7 +44,7 @@ Koa API options
44
44
45
45
#### Defined in
46
46
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 )
48
48
49
49
---
50
50
@@ -65,7 +65,7 @@ Koa API options
65
65
66
66
#### Defined in
67
67
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 )
69
69
70
70
## Functions
71
71
@@ -77,19 +77,19 @@ Attaches router to a particular path. Internally it setups a prefix on the route
77
77
78
78
#### Parameters
79
79
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 |
85
85
86
86
#### Returns
87
87
88
88
` void `
89
89
90
90
#### Defined in
91
91
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 )
93
93
94
94
---
95
95
@@ -125,4 +125,4 @@ It should be used as default export from the Next.js api route file
125
125
126
126
#### Defined in
127
127
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