mirror of
https://github.com/wassname/talk.git
synced 2026-07-26 13:37:38 +08:00
fix: fixes for comment counting
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {
|
||||
GQLAuth,
|
||||
GQLCharCount,
|
||||
GQLEmail,
|
||||
GQLExternalIntegrations,
|
||||
GQLKarma,
|
||||
@@ -62,8 +63,7 @@ export interface ModerationSettings {
|
||||
closedMessage?: string;
|
||||
disableCommenting: boolean;
|
||||
disableCommentingMessage?: string;
|
||||
charCountEnable: boolean;
|
||||
charCount?: number;
|
||||
charCount: GQLCharCount;
|
||||
}
|
||||
|
||||
export interface Settings extends ModerationSettings {
|
||||
|
||||
@@ -71,7 +71,9 @@ export async function createTenant(db: Db, input: CreateTenantInput) {
|
||||
closedTimeout: 60 * 60 * 24 * 7 * 2,
|
||||
disableCommenting: false,
|
||||
editCommentWindowLength: 30 * 1000,
|
||||
charCountEnable: false,
|
||||
charCount: {
|
||||
enabled: false,
|
||||
},
|
||||
wordlist: {
|
||||
suspect: [],
|
||||
banned: [],
|
||||
|
||||
Reference in New Issue
Block a user