Commit Graph

6 Commits

Author SHA1 Message Date
Avinash Lingaloo
89d4cf235f MM_30476 [v2] Section 'Team' of the Server schema (#5071)
* 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 : Apply suggestions from code review

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

* MM_30476 : Apply suggestions from code review

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

* MM_30476 : Updates to field name and description

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

* MM_30476 : Updated my_team and team_search_history description

* MM_30476 : Prefixing boolean fields with 'is'

* MM_30476 : Updated channel.d.ts

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* MM_30476 : ADDED lazy queries to TeamMembership

Two methods that will retrieve all users in a team and all the teams that a user is part of

* MM_30476 : Updated descriptions for the associations

* MM_30476 : Updated tests as server schema was updated

* MM_30476 : Updated Team to have a 1:1 relationship with TeamChannelHistory

* MM_30476 : Updated team_membership and user

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-01-11 21:54:33 +04:00
Avinash Lingaloo
3e8c275486 MM_30476 [v2] Added all isolated tables from the server schema (#5070)
* MM_30476 : Added all isolated tables from the server schema

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

* MM_30476 : Rename table schemas to avoid name collision

* MM_30476 : ADDED @babel/plugin-tranform-flow-strip-types

* MM_30476 : ADDED test for default schema

* MM_30476 : ADDED tests to server schema

* MM_30476 : ADDED tests for models and schema

* MM_30476 : ADDED tests for models and schema

* MM_30476 : Removed the tests on the models.
2021-01-07 13:48:23 +04:00
Avinash Lingaloo
cc02c9b8cb MM_30476 : Updated all models and typings for the default server (#5069) 2020-12-29 23:01:54 +04:00
Avinash Lingaloo
0d2868e4f2 MM_30476 : Updated Babel configs (#5068) 2020-12-29 22:49:07 +04:00
Avinash Lingaloo
2dfb3433c9 MM-30475 [v2] watermelondb default schema (#4977)
* MM_30475 : ADDED default schema

* MM_30475 : Updated typings and references to MM_TABLES

* MM_30475 : Removed the app_id (The id field will be overwritten at the time of creation.)

* MM_30475 : Updated PR as per comments
2020-11-24 13:58:20 +04:00
Elias Nahum
22e82dfc2a Barebones code for v2 2020-11-17 14:20:58 -03:00