* Adds threads in team database table and handlers DM/GM channels have no team ID. This makes it troublesome to paginate threads in a team. The issue is that whenever a DM/GM thread is fetched from pagination it will be added in all teams in that server, potentially creating gaps in between threads for those teams. This PR inserts a new table in the DB ThreadsInTeam which will hold references of threads loaded in which server. Thread lists then would have to rely on that table to show threads. Co-authored-by: Elias Nahum <nahumhbl@gmail.com> Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
31 lines
1.7 KiB
TypeScript
31 lines
1.7 KiB
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export {default as CategorySchema} from './category';
|
|
export {default as CategoryChannelSchema} from './category_channel';
|
|
export {default as ChannelInfoSchema} from './channel_info';
|
|
export {default as ChannelMembershipSchema} from './channel_membership';
|
|
export {default as ChannelSchema} from './channel';
|
|
export {default as CustomEmojiSchema} from './custom_emoji';
|
|
export {default as DraftSchema} from './draft';
|
|
export {default as FileSchema} from './file';
|
|
export {default as MyChannelSchema} from './my_channel';
|
|
export {default as MyChannelSettingsSchema} from './my_channel_settings';
|
|
export {default as MyTeamSchema} from './my_team';
|
|
export {default as PostInThreadSchema} from './posts_in_thread';
|
|
export {default as PostSchema} from './post';
|
|
export {default as PostsInChannelSchema} from './posts_in_channel';
|
|
export {default as PreferenceSchema} from './preference';
|
|
export {default as ReactionSchema} from './reaction';
|
|
export {default as RoleSchema} from './role';
|
|
export {default as SlashCommandSchema} from './slash_command';
|
|
export {default as SystemSchema} from './system';
|
|
export {default as TeamChannelHistorySchema} from './team_channel_history';
|
|
export {default as TeamMembershipSchema} from './team_membership';
|
|
export {default as TeamSchema} from './team';
|
|
export {default as TeamSearchHistorySchema} from './team_search_history';
|
|
export {default as TermsOfServiceSchema} from './terms_of_service';
|
|
export {default as ThreadSchema} from './thread';
|
|
export {default as ThreadParticipantSchema} from './thread_participant';
|
|
export {default as ThreadInTeamSchema} from './thread_in_team';
|
|
export {default as UserSchema} from './user';
|