-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: moved
CommandInbox
and CommandOutbox
to index.ts
s
- Loading branch information
Showing
4 changed files
with
34 additions
and
36 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
export { default } from './CommandInbox'; | ||
import CommandClear from './CommandClear'; | ||
import CommandRead from './CommandRead'; | ||
import CommandRemove from './CommandRemove'; | ||
import CommandPolykey from '../../CommandPolykey'; | ||
|
||
class CommandInbox extends CommandPolykey { | ||
constructor(...args: ConstructorParameters<typeof CommandPolykey>) { | ||
super(...args); | ||
this.name('inbox'); | ||
this.description('Notifications Inbox Operations'); | ||
this.addCommand(new CommandClear(...args)); | ||
this.addCommand(new CommandRead(...args)); | ||
this.addCommand(new CommandRemove(...args)); | ||
} | ||
} | ||
|
||
export default CommandInbox; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
export { default } from './CommandOutbox'; | ||
import CommandClear from './CommandClear'; | ||
import CommandRead from './CommandRead'; | ||
import CommandRemove from './CommandRemove'; | ||
import CommandPolykey from '../../CommandPolykey'; | ||
|
||
class CommandOutbox extends CommandPolykey { | ||
constructor(...args: ConstructorParameters<typeof CommandPolykey>) { | ||
super(...args); | ||
this.name('outbox'); | ||
this.description('Notifications Outbox Operations'); | ||
this.addCommand(new CommandClear(...args)); | ||
this.addCommand(new CommandRead(...args)); | ||
this.addCommand(new CommandRemove(...args)); | ||
} | ||
} | ||
|
||
export default CommandOutbox; |