Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 7f60928

Browse files
committed
Remove namespace createrest from docs
1 parent 360a855 commit 7f60928

11 files changed

Lines changed: 3 additions & 13 deletions

File tree

lib/creators/childs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

22
/**
3-
* @memberof createrest
43
* @param {Function[]} ...funcs
54
*/
65
export default function childs(...funcs) {

lib/creators/destroy.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { addRoute } from '../context'
22

33
/**
4-
* @memberof createrest
54
* @param {string} name
65
* @param {(Function|Function[])} handlers
76
*/

lib/creators/get.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { addRoute } from '../context'
22

33
/**
4-
* @memberof createrest
54
* @param {string} name
65
* @param {(Function|Function[])} handlers
76
*/

lib/creators/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/**
2-
* @namespace createrest
3-
*/
41

52
export get from './get'
63
export post from './post'

lib/creators/member.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { createContext, addChildContext } from '../context'
22
import childs from './childs'
33

44
/**
5-
* @memberof createrest
65
* @param {Function[]} funcs
76
*/
87
export default function member(...funcs) {

lib/creators/patch.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { addRoute } from '../context'
22

33
/**
4-
* @memberof createrest
54
* @param {string} name
65
* @param {(Function|Function[])} handlers
76
*/

lib/creators/post.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { addRoute } from '../context'
33

44
/**
55
* Create POST handler
6-
* @memberof createrest
76
* @param {String} name URI part
87
* @param {(Function|Function[])} [handlers] Request handlers. If not defined will resolve from resource/resources
98
* @example

lib/creators/put.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { addRoute } from '../context'
22

33
/**
44
* Create PUT handler
5-
* @memberof createrest
65
* @param {String} name URI part
76
* @param {(Function|Function[])} [handlers] Request handlers. If not defined will resolve from resource/resources
87
* @example

lib/creators/resources.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const defaultConfig = {
2929

3030
/**
3131
* Creates a set of routes that describe the list of resources
32-
* @memberof createrest
3332
* @param {string} name Base name in lowercase. From name a path and memberId will be created.
3433
* @param {ResourcesConfig} configuration Setup for resource
3534
* @param {Object} controller Object with handlers

lib/creators/scope.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { createContext, addChildContext } from '../context'
22

33

44
/**
5-
* @memberof createrest
65
* @param {string} name
76
* @param {Function} createChilds
87
*/

0 commit comments

Comments
 (0)