Commit Graph

20 Commits

Author SHA1 Message Date
Reinaldo Neto de8a7f1ce0
Chore: Migrate REST API - addUsersToRoom to Typescript (#3884)
* Chore: Migrate REST API - addUsersToRoom to Typescript

* Update app/lib/rocketchat/services/restApi.ts

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>

* minor tweak

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-14 21:29:48 -03: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
Alex Junior d73da2942b
Chore: Migrate REST API - getFiles to Typescript (#3873) 2022-03-10 12:29:33 -03:00
Alex Junior 69cf9b638e
Chore: Migrate REST API - getMessages to Typescript (#3875) 2022-03-10 12:00:50 -03:00
Diego Mello 09f73aee3d
Chore: Create IServerRoom and IServerSubscription (#3782) 2022-03-08 13:25:27 -03:00
Gerzon Z d7c46a27d0
Chore: Migrate REST API - getChannelInfo to TS (#3839)
* add: type for REST API `channels.info`

* add: `ts-ignore` to `RoomActionsView`
2022-03-08 09:46:33 -04:00
Reinaldo Neto 45c0e0630c
Chore: Migrate REST API - getRoomCounters to Typescript (#3842)
* Chore: Migrate REST API - getRoomCounters to Typescript

* minor tweak
2022-03-07 13:48:33 -03:00
Reinaldo Neto 4d6f21647e
Chore: Migrate REST API - joinRoom to Typescript (#3835)
* Chore: Migrate REST API - joinRoom to Typescript

* join to discussion
2022-03-07 13:07:40 -03:00
Alex Junior 637d69bb17
chore: add rest api return (#3848) 2022-03-07 12:52:22 -03:00
Alex Junior 518ad5f64e
chore: add rest api return (#3847) 2022-03-07 12:40:38 -03:00
Alex Junior c72b524ac0
chore: add rest api return (#3849) 2022-03-07 11:47:06 -03:00
Gleidson Daniel Silva 1ef9f57f3d
Chore: Migrate REST API - hideRoom to Typescript (#3832) 2022-03-07 09:57:57 -03:00
Gleidson Daniel Silva 82439159a5
Chore: Migrate REST API - removeUserFromRoom to Typescript (#3837) 2022-03-07 09:44:11 -03:00
Gleidson Daniel Silva 256bf0eaee
Chore: Migrate REST API - deleteRoom to Typescript (#3834) 2022-03-07 09:33:58 -03:00
Gleidson Daniel Silva 892e919768
Chore: Migrate REST API - leaveRoom to Typescript (#3833)
* chore: add rest api type

* remove any
2022-03-07 09:20:12 -03:00
Reinaldo Neto af3a6c5da1
Chore: Migrate REST API - toggleArchiveRoom to Typescript (#3791)
* Chore: Migrate REST API - toggleArchiveRoom to Typescript

* minor tweak

* removed success param

* minor tweak
2022-03-02 18:19:07 -03:00
Reinaldo Neto 79f585a361
Chore: Migrate REST API - createChannel to Typescript (#3786)
* Chore: Migrate REST API - createChannel  to Typescript

* removed success

* iserverroomitem
2022-03-02 16:40:27 -03:00
Gerzon Z c5023eaeea
Chore: Migrate REST API - convertChannelToTeam to TS (#3792)
* migrate channels.convertToTeam and groups.convertToTeam to ts

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-02 13:44:42 -04:00
Gleidson Daniel Silva 4172d563b7
Chore: Server API types POC - loadMessagesForRoom (#3765)
* create interface and implements base types

* fix some types

* Update app/lib/methods/updateMessages.ts

Co-authored-by: Diego Mello <diegolmello@gmail.com>

* fix date type

* apply types changes

* fix type

* fix date value

* fix types

* typescript things...

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-25 18:32:03 -03:00
Gleidson Daniel Silva 7866ec3f33
Chore: Add REST API definitions from server (#3721)
* create first definitions

* chore: implements get and post types

* fix lint

* add ts-ignore

* add teams.removeRoom method

* Remove unused endpoints

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-14 13:20:29 -03:00