Skip to content

Commit

Permalink
feat: add discourse platform and violationDetection module
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Sep 6, 2024
1 parent a3f2b03 commit a2e4145
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@togethercrew.dev/db",
"version": "3.0.64",
"version": "3.0.70",
"description": "All interactions with DB",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
15 changes: 10 additions & 5 deletions src/config/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,23 @@ export enum PlatformNames {
Notion = 'notion',
MediaWiki = 'mediaWiki',
Twitter = 'twitter',
Discourse = 'discourse',
}

export enum ModuleNames {
Hivemind = 'hivemind',
ViolationDetection = 'violationDetection',
}

export enum HivemindPlatformNames {
Discord = 'discord',
Google = 'google',
GitHub = 'github',
Notion = 'notion',
MediaWiki = 'mediaWiki',
Discord = PlatformNames.Discord,
Google = PlatformNames.Google,
GitHub = PlatformNames.GitHub,
Notion = PlatformNames.Notion,
MediaWiki = PlatformNames.MediaWiki,
}
export enum ViolationDetectionPlatformNames {
Discourse = PlatformNames.Discourse,
}

export enum TokenTypeNames {
Expand Down

0 comments on commit a2e4145

Please sign in to comment.