Skip to content

Commit 1d23f4b

Browse files
author
User
committed
added dep
1 parent c240ae7 commit 1d23f4b

File tree

3,298 files changed

+24
-142578
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,298 files changed

+24
-142578
lines changed

APIBuilder.js

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
export default class APIBuilder {
2-
constructor () {
3-
this.category = ''
4-
this.name = ''
1+
class APIBuilder {
2+
constructor (category, name) {
3+
this.category = category
4+
this.name = name
55
this.options = [
66
{
77
type: '',
@@ -11,4 +11,21 @@ export default class APIBuilder {
1111
}
1212
]
1313
}
14-
}
14+
get category() {
15+
return this.category
16+
}
17+
get name() {
18+
return this.name
19+
}
20+
get options() {
21+
return this.options
22+
}
23+
set options(type, read, details, example) {
24+
this.options.type = type
25+
this.options.readOption = read
26+
this.options.details = details
27+
this.options.example = example
28+
}
29+
}
30+
31+
module.exports.APIBuilder = APIBuilder

node_modules/.bin/in-install

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/in-publish

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/not-in-install

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/not-in-publish

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/ansi-escapes/index.js

Lines changed: 0 additions & 106 deletions
This file was deleted.

node_modules/ansi-escapes/license

Lines changed: 0 additions & 21 deletions
This file was deleted.

node_modules/ansi-escapes/package.json

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)