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
Gerzon Z
718ae48e83
Chore: Migrate REST API - removeTeamMember to TS ( #3799 )
...
* Migrate REST API `teams.removeMember` to TypeScript
2022-03-02 16:39:04 -04:00
Gerzon Z
270f6e0fef
Chore: Migrate REST API - addRoomsToTeam to TS ( #3797 )
...
* Migrate REST API `teams.addRooms` to TypeScript
2022-03-02 16:28:58 -04:00
Gerzon Z
1da4f01dcb
Chore: Migrate REST API - createTeam to TS ( #3788 )
...
* Migrate `teams.create` REST API to TypeScript
2022-03-02 16:17:42 -04:00
Gerzon Z
529c9f0b00
Chore: Migrate REST API - register to TS ( #3796 )
...
* Migrate `user.register` to TypeScript
2022-03-02 16:08:56 -04:00
Reinaldo Neto
d506de9f23
Chore: Migrate REST API - e2eGetUsersOfRoomWithoutKey to Typescript ( #3793 )
...
* Chore: Migrate REST API - e2eGetUsersOfRoomWithoutKey to Typescript
* Update app/definitions/rest/v1/e2e.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-02 16:53:41 -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
Reinaldo Neto
0521c291f2
Chore: Migrate REST API - getRoutingConfig to Typescript ( #3794 )
...
* Chore: Migrate REST API - getRoutingConfig to Typescript
* minor tweak
2022-03-02 16:32:11 -03:00
Reinaldo Neto
1c5f8b1731
Chore: Migrate REST API - sendConfirmationEmail to Typescript ( #3807 )
2022-03-02 16:19:34 -03:00
Reinaldo Neto
cb8d4be7eb
Chore: Migrate REST API - getDepartmentInfo to Typescript ( #3795 )
2022-03-02 16:00:51 -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
Gerzon Z
71b184d38a
Chore: Migrate REST API - markAsUnread to TS ( #3801 )
...
* Migrate `subscriptions.unread` to typescript
2022-03-02 13:06:30 -04:00
Gerzon Z
5f92a509d1
Chore: Migrate loadThreadMessages to TS ( #3718 )
...
* Migrate loadThreadMessages to TypeScript
* Update interfaces
2022-03-02 11:41:15 -04:00
Diego Mello
6626510f50
Chore: Migrate RoomActionsView to Typescript ( #3750 )
2022-03-02 11:49:43 -03:00
Diego Mello
6b3730ce43
Chore: Migrate RoomView to Typescript ( #3754 )
2022-03-02 11:18:01 -03: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
4224f4d9d0
Chore: Migrate to TS RommInfoEditView ( #3766 )
...
* initial commit
* fix last types
* fix import
* fix lint
2022-02-25 18:24:08 -03:00
Alex Junior
91de74ed9f
Chore: Migrate views/RoomListView to typescript ( #3758 )
...
* chore: migrating RoomListView to ts
* chore: migrating RoomListView to ts
* chore: implementing types for RoomListView
* chore: change ChatsStackParamList for fix RoomListView errors
* chore: minor tweak
* chore: minor tweak
* chore: fix setTimeout type
* chore: applying changes requested
* chore: minor tweak
2022-02-25 15:59:39 -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
Gleidson Daniel Silva
00d9ed1972
Chore: create definitions for e2e.setUserPublicAndPrivateKeys api call ( #3775 )
2022-02-24 18:59:57 -03:00
Alex Junior
6b5efcec82
chore: removing unused function getTeamInfo ( #3773 )
2022-02-24 14:28:17 -03:00
Gleidson Daniel Silva
531ad9b9b4
fix: fix mergeSubscriptionsRooms ( #3770 )
2022-02-23 15:55:38 -03:00
Gleidson Daniel Silva
b5d964095e
Chore: Migrate method canOpenRoom to Typescript ( #3650 )
...
* chore: migrate canOpenRoom to ts
* chore: update rocketchat types
* change types to Isubscription types
2022-02-22 17:00:33 -03:00
Alex Junior
cbfca132c5
Chore: Migrate methods/getThreadName to typescript ( #3707 )
...
* chore: change getThreadName to typescript
* chore: change types after merge develop into current
* chore: minor tweak
2022-02-22 13:01:35 -03:00
Gerzon Z
c5cc192dc9
Chore: Migrate methods/enterpriseModules to TS ( #3706 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-22 09:07:54 -03:00
Gerzon Z
e58bdb8fe7
Chore: Migrate sendMessage to TS ( #3712 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-22 09:04:01 -03:00
Gleidson Daniel Silva
753dec9e27
Chore: Migrate to Typescript mergeSubscriptionRooms and findSubscriptionsRooms ( #3747 )
...
* fix fromJSONValue type
* migrate findSubscription and mergeSubscription to typescript
* chore: fix subscription param returning null
2022-02-21 16:41:49 -03:00
Alex Junior
f27ddf2e22
chore: migrate getFileUrlFromMessage to ts ( #3734 )
2022-02-21 15:19:40 -03:00
Alex Junior
6f27126f5e
Chore: Migrate methods/loadNextMessages to typescript ( #3719 )
...
* feat: update loadNextMessages to ts
* minor tweak
* chore: minor tweaks after merge with developer
2022-02-21 15:04:17 -03:00
Reinaldo Neto
afb91b49db
[FIX] Differ to Last Session Authenticated ( #3667 )
...
* [FIX] Differ to Last Session Authenticated
* Added timesync
* [FIX] Differ to Last Session Authenticated
* Added timesync
* timesync tweaks
* refactor diffLastLocalSession and saveLastLocalAuthentication
* did a race
* Update comment in app/utils/localAuthentication.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* refactor getServerTimeSync and when use this route
* tweak
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-21 13:38:49 -03:00
Alex Junior
17c63c717b
Chore: Migrate methods/sendFileMessage to typescript ( #3683 )
...
* chore: start the migration
* chore: update sendFileMessage to ts
* chore: removing an `any` from uploadQueue
* chore: minor tweak
* chore: minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweak after merge develop into current
2022-02-21 13:06:57 -03:00
Alex Junior
a3a4b66810
Chore: Migrate methods/loadMessagesForRoom to Typescript ( #3701 )
...
* chore: change loadMessagesForRoom to typescript
* minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweaks after merge with developer
* chore: minor tweak
* chore: minor tweaks
* Fix return
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-02-21 11:40:57 -03:00
Alex Junior
113cfb043e
Chore: Migrate methods/getRoles to Typescript ( #3741 )
...
* chore: migrate getRoles to ts
* chore: removing unused const
* chore: minor tweak
* Type batch
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-21 11:26:10 -03:00
Gleidson Daniel Silva
bdd1ce4abf
Chore: Migrate loadMissedMessages to typescript ( #3704 )
...
* chore: migrate loadMissedMessages to typescript
* remove loaderItem
* remove this from functions
2022-02-21 10:59:44 -03:00
Gerzon Z
5e39cc0ba5
Chore: Migrate getUsersPresence to TS ( #3717 )
...
* migrate getUsersPresence to ts
* use sdk and remove this context from getUsersPresence
2022-02-18 22:31:38 -04:00
Gerzon Z
8237b3e673
Chore: Migrate getSlashCommands to TS ( #3711 )
...
* migrate getSlashCommands to TS
* use sdk and update getSlashCommands
* minor tweak
* Remove implicit anys
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-18 22:19:33 -04:00
Gerzon Z
1cfa45eeec
Chore: Migrate methods/getRoomInfo to TS ( #3695 )
...
* migrate getRoomInfo to TS
* update room type
* update types
* Fix lint error
2022-02-18 22:09:05 -04:00
Gerzon Z
4e24b7cd82
[FIX] getRooms request using param with wrong name ( #3761 )
2022-02-18 17:49:46 -04:00
Gerzon Z
8bb248890c
Chore: Migrate getCustomEmojis to TS ( #3724 )
...
* update customEmoji interface and getCustomEmoji
* add sdk
* updated emojiCustom rest definition
* minor refactor
* update params object
2022-02-18 12:20:16 -04:00
Gleidson Daniel Silva
370798f100
Chore: Migrate method getSettings to typescript ( #3703 )
...
* chore: migrate getSettings to typescript and and some types
* chore: remove this and add current to code
* chore: add current
2022-02-18 11:49:47 -03:00
Gleidson Daniel Silva
eb38761a37
Chore: Migrate methods/callJitsi to typescript ( #3660 )
...
* chore: migrate callJitsi to typescript
* change fixed string to type
* wip
* wip
* back to old times :)
* back to typescript
2022-02-17 15:45:21 -03:00
Reinaldo Neto
9ec598407d
[FIX] Add search and fix pagination for omnichannels departments ( #3621 )
...
* [FIX] Search and pagination for omnichannels departments
* pagination complete
* minor tweak
* renamed a param and workaround for a ux bug
* fix style of flatlist and search as header scrollable
* stick the header
* Merge branch 'fix.forward-department-list' of https://github.com/RocketChat/Rocket.Chat.ReactNative into fix.forward-department-list
* refactor pagination
* fix value type
* refactor render search
* refactor layout
* make ts happy
2022-02-17 11:57:30 -03:00
Diego Mello
a58b27e4f1
Chore: Migrate getPermissions to Typescript ( #3720 )
...
* Migrating...
* Fix IPermission
* Playing with types
* Remove `as const`
* Fix lint
* Fix test
* Apply sdk
* Fix lint and autocomplete
2022-02-17 10:06:31 -03:00
Gerzon Z
86cc8a7d16
Chore: Migrate buildMessage to TS ( #3732 )
...
* migrate buildMessage to TS
* Fix lint
* minor tweak
* minor tweaks
2022-02-16 20:07:24 -04:00
Gerzon Z
88172f0aa9
Chore: Migrate database/services and database/utils to TS ( #3708 )
...
* migrate database services and utils to ts
* Migrate tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-16 18:19:04 -04:00
Gerzon Z
352a718631
Chore: Migrate lib/encryption folder to TypeScript ( #3639 )
...
* Initial commit
* add types/bytebuffer, add type definitions to params and update interfaces
* add more types and type assertions
* update types
* change bang operator by type assertion and update class variables definitions
* add types for deferred class
* minor tweaks on types definitions
* add ts-ignore
* Update encryption.ts
* update deferred and encryption
* update encryption.ts
* Update room.ts
* update toDecrypt type
* initialize sessionKeyExportedString
* remove return types
2022-02-16 17:14:28 -04:00
Reinaldo Neto
9b369e548e
Chore: Migrate methods/helpers/parseQuery to Typescript ( #3742 )
...
* Chore: Migrate methods/helpers/parseQuery to Typescript
* tweak in example
2022-02-16 12:20:55 -03:00
Gleidson Daniel Silva
941a21dac6
Chore: Migrate helpers/parseUrls to Typescript ( #3735 )
2022-02-16 12:17:25 -03:00
Diego Mello
f51ec9ef0c
Chore: Migrate updateMessages to Typescript ( #3715 )
2022-02-16 12:02:17 -03:00
Gerzon Z
ed716396d0
Chore: Migrate methods/getRooms to TS ( #3702 )
...
* migrate getRooms to TS
* add sdk and set any types
* Moved the new variable around and added ts-ignore to follow the pattern from /services/restApi.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-16 11:48:15 -03:00