My First Clean Architecture
This commit is contained in:
parent
4d4aaa2c4b
commit
bf7c125fb2
8 changed files with 185 additions and 3 deletions
14
src/background/domains/completion-group.js
Normal file
14
src/background/domains/completion-group.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
export default class CompletionGroup {
|
||||
constructor(name, items) {
|
||||
this.name0 = name;
|
||||
this.items0 = items;
|
||||
}
|
||||
|
||||
get name() {
|
||||
return this.name0;
|
||||
}
|
||||
|
||||
get items() {
|
||||
return this.items0;
|
||||
}
|
||||
}
|
Reference in a new issue