Gerzon Z
b9651493d2
Chore: update `theme` type ( #4025 )
...
* chore: update `theme` type
* update: components
* update: storyshots
* add: `theme` type to `DirectoryItem`
* chore: update theme type on `message/index.tsx`
* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Reinaldo Neto
53eb251476
Chore: Evaluate UserItem - TypeScript ( #3983 )
...
* Chore: Evaluate UserItem - TypeScript
* fix storyshot
* minor tweaks
* tweaks on comments
* fix storyshot
* move useritem from presentation to containers
* remove comments
2022-04-08 23:43:31 -03:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Gleidson Daniel Silva
2eba327396
Chore: Evaluate lib/rocketchat structure and files ( #3986 )
...
* create TSubscription type
* move logoutOtherLocations to restApis
* mvoe getUserInfo to restApi
* move constants to lib folder
* change Rocketchat methods to sdk methods
* move toggleFavorite to restApis
* move functions to rocketchat folder
* delete old rocketchat file :)
* fix imports
* fix lint and return types
* Fix subscribe to rooms not getting called
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-04 16:15:29 -03:00
Gleidson Daniel Silva
2fb7d917a7
Chore: Evaluate ActionSheet - TypeScript ( #3927 )
2022-03-22 17:44:27 -03:00
Gerzon Z
38b2b08278
Chore: Evaluate ActivityIndicator - TypeScript ( #3914 )
...
* update: `BackgroundContainer` and `ActivityIndicator`
* update: return type for `RCActivityIndicator`
* update: return type for `BackgroundContainer`
2022-03-17 22:37:10 -04:00
Reinaldo Neto
db5c7d94aa
Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers ( #3868 )
...
* Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers
* change GetRoomRoles local
2022-03-14 21:11:34 -03:00
Gleidson Daniel Silva
82439159a5
Chore: Migrate REST API - removeUserFromRoom to Typescript ( #3837 )
2022-03-07 09:44:11 -03:00
Gerzon Z
399cdac452
Chore: Migrate REST API - teamListRoomsOfUser to TS ( #3805 )
...
* migrate REST API `teams.listRoomsOfUser` to TypeScript
* update: `rooms` type on `teams.listRoomsOfUser`
* update: if-conditionals on `RoomActionsView`
2022-03-03 00:58:14 -04:00
Diego Mello
6626510f50
Chore: Migrate RoomActionsView to Typescript ( #3750 )
2022-03-02 11:49:43 -03:00
Gleidson Daniel Silva
88131e3bfb
Chore: Migrate RoomMembersView to Typescript ( #3769 )
...
* chore: migrate RoomMembersView to ts
* fix goRoom item interface
2022-02-25 13:43:42 -03:00