Add setting to manage visibility of vote count, vote button and decide root page (#197)

This commit is contained in:
Riccardo Graziosi
2023-02-05 11:55:38 +01:00
committed by GitHub
parent d4242dd78e
commit e7335f5622
35 changed files with 246 additions and 48 deletions

View File

@@ -4,7 +4,7 @@ interface IPost {
description?: string;
boardId: number;
postStatusId?: number;
likesCount: number;
likeCount: number;
liked: number;
commentsCount: number;
hotness: number;

View File

@@ -12,6 +12,9 @@ export type TenantSettingBrandDisplay =
interface ITenantSetting {
brand_display?: TenantSettingBrandDisplay;
root_board_id?: number;
show_vote_count?: boolean;
show_vote_button_in_board?: boolean;
}
export default ITenantSetting;