mattermost-mobile/app/database/server/models/index.ts
Avinash Lingaloo 98c89797a5
MM_30476 [v2] Section 'Post' of the server schema (#5077)
* MM_30476 : Added all isolated tables from the server schema

* MM_30476 : Updated 'test' script in package.json

* MM_30476 : ADDED team section of the server schema

* MM_30476 : ADDED section for Group from the server schema

* MM_30476 : One PR for one section only

* MM_30476 : One PR for one section only

* MM_30476 : Rename table schemas to avoid name collision

* MM_30476 : ADDED section 'Post' of the server schema

* MM_30476 : Updated Post section of the server schema

* MM_30476 : Apply suggestions from code review

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* MM_30476 : Corrected draft wrt to suggestions

* MM_30476 : Apply suggestions from code review

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* MM_30476 : ADDED lazy queries to group_membership model

* MM_30476 : Update model to match definition - GroupsInChannel

* MM_30476 : Removed groups_in_team definition from Post section of this PR

* MM_30476 : Updated all comments to match their variable/field name

* MM_30476 : Updated test

* MM_30476 : Updated imports and groups_in_team definition

* MM_30476 : Updated FileInfo

* MM_30476 : Updated Posts and PostMetadata ts types

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-01-14 16:41:53 -03:00

26 lines
1.3 KiB
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export {default as ChannelMembership} from './channel_membership';
export {default as CustomEmoji} from './custom_emoji';
export {default as Draft} from './draft';
export {default as File} from './file';
export {default as GroupMembership} from './group_membership';
export {default as GroupsInChannel} from './groups_in_channel';
export {default as GroupsInTeam} from './groups_in_team';
export {default as Group} from './group';
export {default as MyTeam} from './my_team';
export {default as PostMetadata} from './post_metadata';
export {default as PostsInThread} from './posts_in_thread';
export {default as Post} from './post';
export {default as Preference} from './preference';
export {default as Reaction} from './reaction';
export {default as Role} from './role';
export {default as SlashCommand} from './slash_command';
export {default as System} from './system';
export {default as TeamChannelHistory} from './team_channel_history';
export {default as TeamMembership} from './team_membership';
export {default as TeamSearchHistory} from './team_search_history';
export {default as Team} from './team';
export {default as TermsOfService} from './terms_of_service';
export {default as User} from './user';