Gleidson Daniel Silva
89e0a40d95
Chore: remove lib/rocketchat step 2 ( #4035 )
...
* create index file
* remove roomTypeToApiType from rocketchat and fix imports
* move TOKEN_KEY to const file
* move CURRENT_SERVER to const file
* move CERTIFICATE_KEY to const file
* getRoom
* rename getSlashCommands
* getSlashCommands
* readMessages
* getRooms
* loadThreadMessages
* loadNextMessages
* loadSurroundingMessages
* loadMessagesForRoom
* loadMissedMessages
* clearCache
* canOpenRoom
* setUser
* userPreferencesMethods
* getCustomEmojis
* callJtisi
* triggerActions
* getPermissions
* getRoles
* getSettings
* getUsersPresence
* logout
* sendFileMessage
* shareExtension
* sendMessage
* enterpriseModules
* getPermalinks
* search
* change RocketChat.metodo to direct call
* fix types
* Fix login
* Fix createChannel
* migrate service methods to Service.method call
* change call directly to RocketChat because the use of this
* rollback
* rollback
* fix create discussion
* fix import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -03:00
Reinaldo Neto
25c37c1a60
Chore: Migrate i18n to Typescript ( #3988 )
...
* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* fix removed itens
* fix changes requested
* interface for i18n, added resolveJsonModule to tsconfig.json
* tweak at error alert
* fix storyshot
* refactor comments
* create function isTranslated
* fix accessibilityLabel
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-14 17:30:41 -03:00
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
Gerzon Z
13a2962fa2
Chore: evaluate getUserSelector ( #4013 )
...
* update: type for user
* update: LanguageView's user type
* update: UserNotificationPreferencesView's user
* chore: set `enableMessageParserEarlyAdoption` as non-optional
2022-04-07 12:27:45 -04: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
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
Alex Junior
4ea8d613a9
Chore: Migrate REST API - getUserPreferences to Typescript ( #3830 )
2022-03-09 21:16:20 -03:00
Alex Junior
7de686b0e8
Chore: Server API types - user.setPreferences ( #3781 )
...
* chore: implementing type for test api - user.setPreferences
* chore: minor tweak
2022-03-02 22:53:44 -03:00
Gerzon Z
691bf1ef17
Chore: Migrate react-navigation to TypeScript ( #3480 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-03 16:27:57 -03:00
Matheus Barbosa Silva
1ec4046a86
[FIX] Push notifications user preference not syncing correctly ( #3494 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-18 14:46:11 -03:00
Reinaldo Neto
8e55032118
Chore: Migrate UserNotificationPreferencesView to Typescript ( #3469 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-16 13:16:29 -03:00