-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from RnDAO/feature/discord-scheduled-job
Feature/discord scheduled job
- Loading branch information
Showing
5 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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,13 +1,20 @@ | ||
import { IChoreography, IChoreographyDict } from '../interfaces/choreography.interface'; | ||
import { DISCORD_UPDATE_CHANNELS_TRANSACTIONS } from './transaction'; | ||
import { IChoreography } from '../interfaces/choreography.interface'; | ||
import { DISCORD_SCHEDULED_JOB_TRANSACTIONS, DISCORD_UPDATE_CHANNELS_TRANSACTIONS } from './transaction'; | ||
|
||
/* define the DISCORD_UPDATE_CHANNELS choreography */ | ||
const DISCORD_UPDATE_CHANNELS: IChoreography = { | ||
name: 'DISCORD_UPDATE_CHANNELS', | ||
transactions: DISCORD_UPDATE_CHANNELS_TRANSACTIONS, | ||
}; | ||
|
||
/* define the DISCORD_SCHEDULED_JOB choreography */ | ||
const DISCORD_SCHEDULED_JOB: IChoreography = { | ||
name: 'DISCORD_SCHEDULED_JOB', | ||
transactions: DISCORD_SCHEDULED_JOB_TRANSACTIONS, | ||
}; | ||
|
||
/* all available Choreographies, will grow overtime */ | ||
export const ChoreographyDict: IChoreographyDict = { | ||
DISCORD_UPDATE_CHANNELS: DISCORD_UPDATE_CHANNELS, | ||
export const ChoreographyDict = { | ||
DISCORD_UPDATE_CHANNELS, | ||
DISCORD_SCHEDULED_JOB | ||
} as const; |
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