@oxyhq/services 5.26.3 → 5.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/dist/web/oxy-services.esm.js +2 -0
  2. package/dist/web/oxy-services.esm.js.map +1 -0
  3. package/dist/web/types/assets/icons/OxyServices.d.ts +28 -0
  4. package/dist/web/types/assets/illustrations/HighFive.d.ts +8 -0
  5. package/dist/web/types/constants/version.d.ts +13 -0
  6. package/dist/web/types/core/AuthManager.d.ts +143 -0
  7. package/dist/web/types/core/CrossDomainAuth.d.ts +160 -0
  8. package/dist/web/types/core/HttpService.d.ts +163 -0
  9. package/dist/web/types/core/OxyServices.base.d.ts +126 -0
  10. package/dist/web/types/core/OxyServices.d.ts +81 -0
  11. package/dist/web/types/core/OxyServices.errors.d.ts +11 -0
  12. package/dist/web/types/core/index.d.ts +20 -0
  13. package/dist/web/types/core/mixins/OxyServices.analytics.d.ts +66 -0
  14. package/dist/web/types/core/mixins/OxyServices.assets.d.ts +135 -0
  15. package/dist/web/types/core/mixins/OxyServices.auth.d.ts +186 -0
  16. package/dist/web/types/core/mixins/OxyServices.developer.d.ts +99 -0
  17. package/dist/web/types/core/mixins/OxyServices.devices.d.ts +96 -0
  18. package/dist/web/types/core/mixins/OxyServices.features.d.ts +228 -0
  19. package/dist/web/types/core/mixins/OxyServices.fedcm.d.ts +200 -0
  20. package/dist/web/types/core/mixins/OxyServices.karma.d.ts +85 -0
  21. package/dist/web/types/core/mixins/OxyServices.language.d.ts +81 -0
  22. package/dist/web/types/core/mixins/OxyServices.location.d.ts +64 -0
  23. package/dist/web/types/core/mixins/OxyServices.payment.d.ts +111 -0
  24. package/dist/web/types/core/mixins/OxyServices.popup.d.ts +205 -0
  25. package/dist/web/types/core/mixins/OxyServices.privacy.d.ts +122 -0
  26. package/dist/web/types/core/mixins/OxyServices.redirect.d.ts +245 -0
  27. package/dist/web/types/core/mixins/OxyServices.security.d.ts +78 -0
  28. package/dist/web/types/core/mixins/OxyServices.user.d.ts +184 -0
  29. package/dist/web/types/core/mixins/OxyServices.utility.d.ts +93 -0
  30. package/dist/web/types/core/mixins/index.d.ts +30 -0
  31. package/dist/web/types/core/mixins/mixinHelpers.d.ts +31 -0
  32. package/dist/web/types/crypto/index.d.ts +11 -0
  33. package/dist/web/types/crypto/keyManager.d.ts +189 -0
  34. package/dist/web/types/crypto/polyfill.d.ts +12 -0
  35. package/dist/web/types/crypto/recoveryPhrase.d.ts +58 -0
  36. package/dist/web/types/crypto/signatureService.d.ts +86 -0
  37. package/dist/web/types/i18n/index.d.ts +3 -0
  38. package/dist/web/types/index.d.ts +62 -0
  39. package/dist/web/types/lib/sonner-safe.d.ts +8 -0
  40. package/dist/web/types/lib/sonner.d.ts +11 -0
  41. package/dist/web/types/lib/sonner.web.d.ts +14 -0
  42. package/dist/web/types/models/interfaces.d.ts +415 -0
  43. package/dist/web/types/models/session.d.ts +27 -0
  44. package/dist/web/types/node/index.d.ts +9 -0
  45. package/dist/web/types/shared/index.d.ts +28 -0
  46. package/dist/web/types/shared/utils/colorUtils.d.ts +104 -0
  47. package/dist/web/types/shared/utils/debugUtils.d.ts +48 -0
  48. package/dist/web/types/shared/utils/errorUtils.d.ts +97 -0
  49. package/dist/web/types/shared/utils/index.d.ts +13 -0
  50. package/dist/web/types/shared/utils/networkUtils.d.ts +139 -0
  51. package/dist/web/types/shared/utils/themeUtils.d.ts +90 -0
  52. package/dist/web/types/ui/client.d.ts +33 -0
  53. package/dist/web/types/ui/components/ActivityIndicator.d.ts +44 -0
  54. package/dist/web/types/ui/components/AnimationExample.d.ts +3 -0
  55. package/dist/web/types/ui/components/AutoHeightScrollView.d.ts +22 -0
  56. package/dist/web/types/ui/components/Avatar.d.ts +60 -0
  57. package/dist/web/types/ui/components/BottomSheet.d.ts +28 -0
  58. package/dist/web/types/ui/components/BottomSheetRouter.d.ts +8 -0
  59. package/dist/web/types/ui/components/CrossFadeIcon.d.ts +26 -0
  60. package/dist/web/types/ui/components/EmptyState.d.ts +7 -0
  61. package/dist/web/types/ui/components/ErrorBoundary.d.ts +30 -0
  62. package/dist/web/types/ui/components/FollowButton.d.ts +17 -0
  63. package/dist/web/types/ui/components/FontLoader.d.ts +14 -0
  64. package/dist/web/types/ui/components/GroupedItem.d.ts +23 -0
  65. package/dist/web/types/ui/components/GroupedSection.d.ts +24 -0
  66. package/dist/web/types/ui/components/Header.d.ts +37 -0
  67. package/dist/web/types/ui/components/HelperText.d.ts +46 -0
  68. package/dist/web/types/ui/components/Icon.d.ts +59 -0
  69. package/dist/web/types/ui/components/IconButton/IconButton.d.ts +98 -0
  70. package/dist/web/types/ui/components/IconButton/utils.d.ts +18 -0
  71. package/dist/web/types/ui/components/LoadingState.d.ts +8 -0
  72. package/dist/web/types/ui/components/OxyLogo.d.ts +28 -0
  73. package/dist/web/types/ui/components/OxyPayButton.d.ts +28 -0
  74. package/dist/web/types/ui/components/OxyProvider.d.ts +33 -0
  75. package/dist/web/types/ui/components/OxySignInButton.d.ts +64 -0
  76. package/dist/web/types/ui/components/ProfileCard.d.ts +17 -0
  77. package/dist/web/types/ui/components/QuickActions.d.ts +14 -0
  78. package/dist/web/types/ui/components/Section.d.ts +11 -0
  79. package/dist/web/types/ui/components/SectionTitle.d.ts +9 -0
  80. package/dist/web/types/ui/components/SettingRow.d.ts +19 -0
  81. package/dist/web/types/ui/components/SignInModal.d.ts +17 -0
  82. package/dist/web/types/ui/components/StepBasedScreen.d.ts +25 -0
  83. package/dist/web/types/ui/components/Surface.d.ts +75 -0
  84. package/dist/web/types/ui/components/TextField/Addons/Outline.d.ts +15 -0
  85. package/dist/web/types/ui/components/TextField/Addons/Underline.d.ts +18 -0
  86. package/dist/web/types/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
  87. package/dist/web/types/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
  88. package/dist/web/types/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
  89. package/dist/web/types/ui/components/TextField/Adornment/enums.d.ts +12 -0
  90. package/dist/web/types/ui/components/TextField/Adornment/types.d.ts +11 -0
  91. package/dist/web/types/ui/components/TextField/Adornment/utils.d.ts +11 -0
  92. package/dist/web/types/ui/components/TextField/Label/InputLabel.d.ts +4 -0
  93. package/dist/web/types/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
  94. package/dist/web/types/ui/components/TextField/TextFieldFlat.d.ts +3 -0
  95. package/dist/web/types/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
  96. package/dist/web/types/ui/components/TextField/constants.d.ts +31 -0
  97. package/dist/web/types/ui/components/TextField/helpers.d.ts +96 -0
  98. package/dist/web/types/ui/components/TextField/types.d.ts +155 -0
  99. package/dist/web/types/ui/components/TextField.d.ts +191 -0
  100. package/dist/web/types/ui/components/TouchableRipple/Pressable.d.ts +12 -0
  101. package/dist/web/types/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
  102. package/dist/web/types/ui/components/TouchableRipple/utils.d.ts +10 -0
  103. package/dist/web/types/ui/components/Typography/AnimatedText.d.ts +34 -0
  104. package/dist/web/types/ui/components/Typography/types.d.ts +18 -0
  105. package/dist/web/types/ui/components/WebOxyProvider.d.ts +51 -0
  106. package/dist/web/types/ui/components/feedback/FormInput.d.ts +19 -0
  107. package/dist/web/types/ui/components/feedback/ProgressIndicator.d.ts +10 -0
  108. package/dist/web/types/ui/components/feedback/constants.d.ts +4 -0
  109. package/dist/web/types/ui/components/feedback/feedbackStyles.d.ts +279 -0
  110. package/dist/web/types/ui/components/feedback/index.d.ts +6 -0
  111. package/dist/web/types/ui/components/feedback/types.d.ts +45 -0
  112. package/dist/web/types/ui/components/feedback/useFeedbackForm.d.ts +8 -0
  113. package/dist/web/types/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
  114. package/dist/web/types/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
  115. package/dist/web/types/ui/components/fileManagement/FileViewer.d.ts +17 -0
  116. package/dist/web/types/ui/components/fileManagement/UploadPreview.d.ts +20 -0
  117. package/dist/web/types/ui/components/fileManagement/styles.d.ts +859 -0
  118. package/dist/web/types/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
  119. package/dist/web/types/ui/components/icon/OxyIcon.d.ts +9 -0
  120. package/dist/web/types/ui/components/icon/index.d.ts +3 -0
  121. package/dist/web/types/ui/components/index.d.ts +16 -0
  122. package/dist/web/types/ui/components/internal/GroupedPillButtons.d.ts +17 -0
  123. package/dist/web/types/ui/components/internal/PinInput.d.ts +22 -0
  124. package/dist/web/types/ui/components/modals/DeleteAccountModal.d.ts +18 -0
  125. package/dist/web/types/ui/components/modals/index.d.ts +1 -0
  126. package/dist/web/types/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
  127. package/dist/web/types/ui/components/payment/PaymentMethodStep.d.ts +13 -0
  128. package/dist/web/types/ui/components/payment/PaymentReviewStep.d.ts +15 -0
  129. package/dist/web/types/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
  130. package/dist/web/types/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
  131. package/dist/web/types/ui/components/payment/constants.d.ts +6 -0
  132. package/dist/web/types/ui/components/payment/index.d.ts +8 -0
  133. package/dist/web/types/ui/components/payment/paymentStyles.d.ts +395 -0
  134. package/dist/web/types/ui/components/payment/types.d.ts +39 -0
  135. package/dist/web/types/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
  136. package/dist/web/types/ui/components/styles/overlay.d.ts +3 -0
  137. package/dist/web/types/ui/components/styles/shadow.d.ts +2 -0
  138. package/dist/web/types/ui/components/theming.d.ts +7 -0
  139. package/dist/web/types/ui/components/types.d.ts +79 -0
  140. package/dist/web/types/ui/components/utils/forwardRef.d.ts +11 -0
  141. package/dist/web/types/ui/components/utils/hasTouchHandler.d.ts +5 -0
  142. package/dist/web/types/ui/components/utils/roundLayoutSize.d.ts +1 -0
  143. package/dist/web/types/ui/components/utils/splitStyles.d.ts +19 -0
  144. package/dist/web/types/ui/constants/iconColors.d.ts +129 -0
  145. package/dist/web/types/ui/constants/spacing.d.ts +32 -0
  146. package/dist/web/types/ui/constants/theme.d.ts +96 -0
  147. package/dist/web/types/ui/context/OxyContext.d.ts +74 -0
  148. package/dist/web/types/ui/context/ThemeContext.d.ts +18 -0
  149. package/dist/web/types/ui/context/hooks/useAuthOperations.d.ts +39 -0
  150. package/dist/web/types/ui/context/hooks/useDeviceManagement.d.ts +26 -0
  151. package/dist/web/types/ui/context/hooks/useLanguageManagement.d.ts +24 -0
  152. package/dist/web/types/ui/context/hooks/useSessionManagement.d.ts +40 -0
  153. package/dist/web/types/ui/hooks/index.d.ts +6 -0
  154. package/dist/web/types/ui/hooks/mutations/index.d.ts +8 -0
  155. package/dist/web/types/ui/hooks/mutations/mutationFactory.d.ts +75 -0
  156. package/dist/web/types/ui/hooks/mutations/useAccountMutations.d.ts +68 -0
  157. package/dist/web/types/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
  158. package/dist/web/types/ui/hooks/queries/index.d.ts +10 -0
  159. package/dist/web/types/ui/hooks/queries/queryKeys.d.ts +64 -0
  160. package/dist/web/types/ui/hooks/queries/useAccountQueries.d.ts +42 -0
  161. package/dist/web/types/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
  162. package/dist/web/types/ui/hooks/queries/useServicesQueries.d.ts +31 -0
  163. package/dist/web/types/ui/hooks/queryClient.d.ts +18 -0
  164. package/dist/web/types/ui/hooks/useAssets.d.ts +34 -0
  165. package/dist/web/types/ui/hooks/useAsyncAction.d.ts +50 -0
  166. package/dist/web/types/ui/hooks/useAuth.d.ts +73 -0
  167. package/dist/web/types/ui/hooks/useColorScheme.d.ts +7 -0
  168. package/dist/web/types/ui/hooks/useDeviceManagement.d.ts +26 -0
  169. package/dist/web/types/ui/hooks/useFileDownloadUrl.d.ts +18 -0
  170. package/dist/web/types/ui/hooks/useFileFiltering.d.ts +28 -0
  171. package/dist/web/types/ui/hooks/useFollow.d.ts +61 -0
  172. package/dist/web/types/ui/hooks/useFollow.types.d.ts +32 -0
  173. package/dist/web/types/ui/hooks/useI18n.d.ts +4 -0
  174. package/dist/web/types/ui/hooks/useLanguageManagement.d.ts +24 -0
  175. package/dist/web/types/ui/hooks/useProfileEditing.d.ts +35 -0
  176. package/dist/web/types/ui/hooks/useQueryClient.d.ts +6 -0
  177. package/dist/web/types/ui/hooks/useSessionManagement.d.ts +40 -0
  178. package/dist/web/types/ui/hooks/useSessionSocket.d.ts +13 -0
  179. package/dist/web/types/ui/hooks/useSettingToggle.d.ts +56 -0
  180. package/dist/web/types/ui/hooks/useStorage.d.ts +15 -0
  181. package/dist/web/types/ui/hooks/useThemeColors.d.ts +93 -0
  182. package/dist/web/types/ui/hooks/useThemeStyles.d.ts +44 -0
  183. package/dist/web/types/ui/hooks/useWebSSO.d.ts +57 -0
  184. package/dist/web/types/ui/index.d.ts +7 -0
  185. package/dist/web/types/ui/isFrontend.d.ts +2 -0
  186. package/dist/web/types/ui/navigation/bottomSheetManager.d.ts +26 -0
  187. package/dist/web/types/ui/navigation/routes.d.ts +5 -0
  188. package/dist/web/types/ui/screens/AccountCenterScreen.d.ts +4 -0
  189. package/dist/web/types/ui/screens/AccountOverviewScreen.d.ts +4 -0
  190. package/dist/web/types/ui/screens/AccountSettingsScreen.d.ts +7 -0
  191. package/dist/web/types/ui/screens/AccountSwitcherScreen.d.ts +4 -0
  192. package/dist/web/types/ui/screens/AccountVerificationScreen.d.ts +4 -0
  193. package/dist/web/types/ui/screens/AppInfoScreen.d.ts +4 -0
  194. package/dist/web/types/ui/screens/EditProfileFieldScreen.d.ts +12 -0
  195. package/dist/web/types/ui/screens/FAQScreen.d.ts +4 -0
  196. package/dist/web/types/ui/screens/FeedbackScreen.d.ts +4 -0
  197. package/dist/web/types/ui/screens/FileManagementScreen.d.ts +4 -0
  198. package/dist/web/types/ui/screens/FollowersListScreen.d.ts +8 -0
  199. package/dist/web/types/ui/screens/FollowingListScreen.d.ts +8 -0
  200. package/dist/web/types/ui/screens/HelpSupportScreen.d.ts +4 -0
  201. package/dist/web/types/ui/screens/HistoryViewScreen.d.ts +4 -0
  202. package/dist/web/types/ui/screens/LanguageSelectorScreen.d.ts +6 -0
  203. package/dist/web/types/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
  204. package/dist/web/types/ui/screens/LegalDocumentsScreen.d.ts +4 -0
  205. package/dist/web/types/ui/screens/OxyAuthScreen.d.ts +16 -0
  206. package/dist/web/types/ui/screens/PaymentGatewayScreen.d.ts +14 -0
  207. package/dist/web/types/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
  208. package/dist/web/types/ui/screens/PrivacySettingsScreen.d.ts +4 -0
  209. package/dist/web/types/ui/screens/ProfileScreen.d.ts +8 -0
  210. package/dist/web/types/ui/screens/SavesCollectionsScreen.d.ts +4 -0
  211. package/dist/web/types/ui/screens/SearchSettingsScreen.d.ts +4 -0
  212. package/dist/web/types/ui/screens/SessionManagementScreen.d.ts +4 -0
  213. package/dist/web/types/ui/screens/UserLinksScreen.d.ts +14 -0
  214. package/dist/web/types/ui/screens/UserListScreen.d.ts +10 -0
  215. package/dist/web/types/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
  216. package/dist/web/types/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
  217. package/dist/web/types/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
  218. package/dist/web/types/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
  219. package/dist/web/types/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
  220. package/dist/web/types/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
  221. package/dist/web/types/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
  222. package/dist/web/types/ui/server.d.ts +42 -0
  223. package/dist/web/types/ui/stores/accountStore.d.ts +33 -0
  224. package/dist/web/types/ui/stores/assetStore.d.ts +53 -0
  225. package/dist/web/types/ui/stores/authStore.d.ts +16 -0
  226. package/dist/web/types/ui/stores/fileStore.d.ts +30 -0
  227. package/dist/web/types/ui/stores/followStore.d.ts +24 -0
  228. package/dist/web/types/ui/styles/authStyles.d.ts +331 -0
  229. package/dist/web/types/ui/styles/fonts.d.ts +20 -0
  230. package/dist/web/types/ui/styles/index.d.ts +4 -0
  231. package/dist/web/types/ui/styles/spacing.d.ts +48 -0
  232. package/dist/web/types/ui/styles/theme.d.ts +67 -0
  233. package/dist/web/types/ui/types/fileManagement.d.ts +40 -0
  234. package/dist/web/types/ui/types/navigation.d.ts +36 -0
  235. package/dist/web/types/ui/utils/authHelpers.d.ts +98 -0
  236. package/dist/web/types/ui/utils/avatarUtils.d.ts +33 -0
  237. package/dist/web/types/ui/utils/colorUtils.d.ts +9 -0
  238. package/dist/web/types/ui/utils/confirmAction.d.ts +6 -0
  239. package/dist/web/types/ui/utils/errorHandlers.d.ts +34 -0
  240. package/dist/web/types/ui/utils/fileManagement.d.ts +86 -0
  241. package/dist/web/types/ui/utils/iconNames.d.ts +111 -0
  242. package/dist/web/types/ui/utils/sessionHelpers.d.ts +63 -0
  243. package/dist/web/types/ui/utils/storageHelpers.d.ts +27 -0
  244. package/dist/web/types/ui/utils/themeUtils.d.ts +10 -0
  245. package/dist/web/types/ui/utils/userUtils.d.ts +28 -0
  246. package/dist/web/types/utils/apiUtils.d.ts +53 -0
  247. package/dist/web/types/utils/asyncUtils.d.ts +58 -0
  248. package/dist/web/types/utils/cache.d.ts +127 -0
  249. package/dist/web/types/utils/deviceManager.d.ts +65 -0
  250. package/dist/web/types/utils/errorUtils.d.ts +46 -0
  251. package/dist/web/types/utils/hookUtils.d.ts +101 -0
  252. package/dist/web/types/utils/index.d.ts +6 -0
  253. package/dist/web/types/utils/languageUtils.d.ts +37 -0
  254. package/dist/web/types/utils/loggerUtils.d.ts +48 -0
  255. package/dist/web/types/utils/platform.d.ts +40 -0
  256. package/dist/web/types/utils/platformInit.d.ts +8 -0
  257. package/dist/web/types/utils/requestUtils.d.ts +123 -0
  258. package/dist/web/types/utils/sessionUtils.d.ts +54 -0
  259. package/dist/web/types/utils/validationUtils.d.ts +85 -0
  260. package/dist/web/types/web/WebOxyContext.d.ts +151 -0
  261. package/dist/web/types/web/index.d.ts +52 -0
  262. package/dist/web/types/web.d.ts +53 -0
  263. package/package.json +77 -35
@@ -0,0 +1,79 @@
1
+ export type ThemeProp = Partial<InternalTheme> | 'light' | 'dark';
2
+ export type MD3Elevation = 0 | 1 | 2 | 3 | 4 | 5;
3
+ export type InternalTheme = {
4
+ version: 3;
5
+ isV3: true;
6
+ dark: boolean;
7
+ mode?: 'adaptive' | 'exact';
8
+ roundness: number;
9
+ animation: {
10
+ scale: number;
11
+ defaultAnimationDuration?: number;
12
+ };
13
+ colors: {
14
+ primary: string;
15
+ primaryContainer: string;
16
+ secondary: string;
17
+ secondaryContainer: string;
18
+ tertiary: string;
19
+ tertiaryContainer: string;
20
+ surface: string;
21
+ surfaceVariant: string;
22
+ surfaceDisabled: string;
23
+ background: string;
24
+ error: string;
25
+ errorContainer: string;
26
+ onPrimary: string;
27
+ onPrimaryContainer: string;
28
+ onSecondary: string;
29
+ onSecondaryContainer: string;
30
+ onTertiary: string;
31
+ onTertiaryContainer: string;
32
+ onSurface: string;
33
+ onSurfaceVariant: string;
34
+ onSurfaceDisabled: string;
35
+ onError: string;
36
+ onErrorContainer: string;
37
+ onBackground: string;
38
+ outline: string;
39
+ outlineVariant: string;
40
+ inverseSurface: string;
41
+ inverseOnSurface: string;
42
+ inversePrimary: string;
43
+ shadow: string;
44
+ scrim: string;
45
+ backdrop: string;
46
+ elevation: {
47
+ level0: string;
48
+ level1: string;
49
+ level2: string;
50
+ level3: string;
51
+ level4: string;
52
+ level5: string;
53
+ };
54
+ text?: string;
55
+ disabled?: string;
56
+ placeholder?: string;
57
+ };
58
+ fonts: {
59
+ displayLarge: any;
60
+ displayMedium: any;
61
+ displaySmall: any;
62
+ headlineLarge: any;
63
+ headlineMedium: any;
64
+ headlineSmall: any;
65
+ titleLarge: any;
66
+ titleMedium: any;
67
+ titleSmall: any;
68
+ labelLarge: any;
69
+ labelMedium: any;
70
+ labelSmall: any;
71
+ bodyLarge: any;
72
+ bodyMedium: any;
73
+ bodySmall: any;
74
+ default: any;
75
+ regular?: any;
76
+ };
77
+ };
78
+ export type $Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
79
+ export type $RemoveChildren<T extends React.ComponentType<any>> = $Omit<React.ComponentPropsWithoutRef<T>, 'children'>;
@@ -0,0 +1,11 @@
1
+ import type { ForwardRefRenderFunction, PropsWithoutRef, RefAttributes, ForwardRefExoticComponent } from 'react';
2
+ export type ForwardRefComponent<T, P = {}> = ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
3
+ /**
4
+ * TypeScript generated a large union of props from `ViewProps` in
5
+ * `d.ts` files when using `React.forwardRef`. To prevent this
6
+ * `ForwardRefComponent` was created and exported. Use this
7
+ * `forwardRef` instead of `React.forwardRef` so you don't have to
8
+ * import `ForwardRefComponent`.
9
+ * More info: https://github.com/callstack/react-native-paper/pull/3603
10
+ */
11
+ export declare const forwardRef: <T, P = {}>(render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>) => ForwardRefComponent<T, P>;
@@ -0,0 +1,5 @@
1
+ import type { GestureResponderEvent } from 'react-native';
2
+ declare const touchableEvents: readonly ["onPress", "onLongPress", "onPressIn", "onPressOut"];
3
+ type TouchableEventObject = Partial<Record<(typeof touchableEvents)[number], (event: GestureResponderEvent) => void>>;
4
+ export default function hasTouchHandler(touchableEventObject: TouchableEventObject): boolean;
5
+ export {};
@@ -0,0 +1 @@
1
+ export declare const roundLayoutSize: (size: number) => number;
@@ -0,0 +1,19 @@
1
+ import type { ViewStyle } from 'react-native';
2
+ type FiltersArray = readonly ((style: keyof ViewStyle) => boolean)[];
3
+ type MappedTuple<Tuple extends FiltersArray> = {
4
+ [Index in keyof Tuple]: ViewStyle;
5
+ } & {
6
+ length: Tuple['length'];
7
+ };
8
+ /**
9
+ * Utility function to extract styles in separate objects
10
+ *
11
+ * @param styles The style object you want to filter
12
+ * @param filters The filters by which you want to split the styles
13
+ * @returns An array of filtered style objects:
14
+ * - The first style object contains the properties that didn't match any filter
15
+ * - After that there will be a style object for each filter you passed in the same order as the matching filters
16
+ * - A style property will exist in a single style object, the first filter it matched
17
+ */
18
+ export declare function splitStyles<Tuple extends FiltersArray>(styles: ViewStyle, ...filters: Tuple): [ViewStyle, ...MappedTuple<Tuple>];
19
+ export {};
@@ -0,0 +1,129 @@
1
+ /**
2
+ * Icon color helpers and semantic mappings
3
+ * Provides easy access to icon colors from the theme system
4
+ */
5
+ /**
6
+ * Get icon colors for a specific theme
7
+ */
8
+ export declare const getIconColors: (theme: "light" | "dark") => {
9
+ text: string;
10
+ background: string;
11
+ inputBackground: string;
12
+ tint: string;
13
+ icon: string;
14
+ tabIconDefault: string;
15
+ tabIconSelected: string;
16
+ card: string;
17
+ border: string;
18
+ secondaryText: string;
19
+ avatarBackground: string;
20
+ avatarText: string;
21
+ sidebarBackground: string;
22
+ sidebarItemActiveBackground: string;
23
+ sidebarItemActiveText: string;
24
+ sidebarIconHome: string;
25
+ sidebarIconPersonalInfo: string;
26
+ sidebarIconSecurity: string;
27
+ sidebarIconPassword: string;
28
+ sidebarIconDevices: string;
29
+ sidebarIconData: string;
30
+ sidebarIconSharing: string;
31
+ sidebarIconFamily: string;
32
+ sidebarIconPayments: string;
33
+ sidebarIconStorage: string;
34
+ iconHome: string;
35
+ iconPrimary: string;
36
+ iconPersonalInfo: string;
37
+ iconSuccess: string;
38
+ iconSecurity: string;
39
+ iconData: string;
40
+ iconPurple: string;
41
+ iconSharing: string;
42
+ iconRed: string;
43
+ iconPayments: string;
44
+ iconGold: string;
45
+ iconStorage: string;
46
+ iconOrange: string;
47
+ } | {
48
+ text: string;
49
+ background: string;
50
+ inputBackground: string;
51
+ tint: string;
52
+ icon: string;
53
+ tabIconDefault: string;
54
+ tabIconSelected: string;
55
+ card: string;
56
+ border: string;
57
+ secondaryText: string;
58
+ avatarBackground: string;
59
+ avatarText: string;
60
+ sidebarBackground: string;
61
+ sidebarItemActiveBackground: string;
62
+ sidebarItemActiveText: string;
63
+ sidebarIconHome: string;
64
+ sidebarIconPersonalInfo: string;
65
+ sidebarIconSecurity: string;
66
+ sidebarIconPassword: string;
67
+ sidebarIconDevices: string;
68
+ sidebarIconData: string;
69
+ sidebarIconSharing: string;
70
+ sidebarIconFamily: string;
71
+ sidebarIconPayments: string;
72
+ sidebarIconStorage: string;
73
+ iconHome: string;
74
+ iconPrimary: string;
75
+ iconPersonalInfo: string;
76
+ iconSuccess: string;
77
+ iconSecurity: string;
78
+ iconData: string;
79
+ iconPurple: string;
80
+ iconSharing: string;
81
+ iconRed: string;
82
+ iconPayments: string;
83
+ iconGold: string;
84
+ iconStorage: string;
85
+ iconOrange: string;
86
+ };
87
+ /**
88
+ * Semantic icon color mappings
89
+ * Maps common icon types to their appropriate theme colors
90
+ */
91
+ export declare const IconColorMap: {
92
+ readonly profile: "iconPersonalInfo";
93
+ readonly personalInfo: "iconPersonalInfo";
94
+ readonly editProfile: "iconPersonalInfo";
95
+ readonly security: "iconSecurity";
96
+ readonly password: "iconSecurity";
97
+ readonly lock: "iconSecurity";
98
+ readonly shield: "iconSecurity";
99
+ readonly document: "iconSecurity";
100
+ readonly rules: "iconSecurity";
101
+ readonly file: "iconSecurity";
102
+ readonly premium: "iconPayments";
103
+ readonly star: "iconPayments";
104
+ readonly leaderboard: "iconPayments";
105
+ readonly trophy: "iconPayments";
106
+ readonly rewards: "iconPayments";
107
+ readonly gift: "iconStorage";
108
+ readonly notifications: "iconStorage";
109
+ readonly warning: "iconStorage";
110
+ readonly bell: "iconStorage";
111
+ readonly help: "iconPersonalInfo";
112
+ readonly faq: "iconPersonalInfo";
113
+ readonly question: "iconPersonalInfo";
114
+ readonly data: "iconData";
115
+ readonly privacy: "iconData";
116
+ readonly settings: "iconData";
117
+ readonly sharing: "iconSharing";
118
+ readonly social: "iconSharing";
119
+ readonly primary: "iconPrimary";
120
+ readonly home: "iconHome";
121
+ };
122
+ /**
123
+ * Get icon color by semantic name
124
+ */
125
+ export declare const getIconColor: (semanticName: keyof typeof IconColorMap, theme?: "light" | "dark") => string;
126
+ /**
127
+ * Helper to get icon color for common use cases
128
+ */
129
+ export declare const useIconColor: (semanticName: keyof typeof IconColorMap, theme: "light" | "dark") => string;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Reusable spacing constants for screens across the codebase
3
+ * These values ensure consistent padding and gaps across all screens
4
+ */
5
+ export declare const SCREEN_PADDING_HORIZONTAL = 16;
6
+ export declare const SCREEN_PADDING_VERTICAL = 16;
7
+ export declare const SCREEN_PADDING_TOP = 24;
8
+ export declare const SECTION_GAP = 24;
9
+ export declare const SECTION_GAP_LARGE = 32;
10
+ export declare const COMPONENT_GAP = 12;
11
+ export declare const COMPONENT_GAP_SMALL = 8;
12
+ export declare const HEADER_PADDING_TOP_OVERVIEW = 38;
13
+ export declare const HEADER_PADDING_TOP_SETTINGS = 40;
14
+ /**
15
+ * Reusable screen content style for all bottom sheet screens
16
+ * Use this for ScrollView contentContainerStyle to ensure consistent padding
17
+ */
18
+ export declare const screenContentStyle: {
19
+ paddingHorizontal: number;
20
+ paddingVertical: number;
21
+ paddingTop: number;
22
+ paddingBottom: number;
23
+ };
24
+ /**
25
+ * Reusable screen content style for screens that need custom top padding
26
+ */
27
+ export declare const createScreenContentStyle: (topPadding?: number) => {
28
+ paddingHorizontal: number;
29
+ paddingVertical: number;
30
+ paddingTop: number;
31
+ paddingBottom: number;
32
+ };
@@ -0,0 +1,96 @@
1
+ /**
2
+ * Below are the colors that are used in the app. The colors are defined in the light and dark mode.
3
+ * There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
4
+ */
5
+ export declare const Colors: {
6
+ light: {
7
+ text: string;
8
+ background: string;
9
+ inputBackground: string;
10
+ tint: string;
11
+ icon: string;
12
+ tabIconDefault: string;
13
+ tabIconSelected: string;
14
+ card: string;
15
+ border: string;
16
+ secondaryText: string;
17
+ avatarBackground: string;
18
+ avatarText: string;
19
+ sidebarBackground: string;
20
+ sidebarItemActiveBackground: string;
21
+ sidebarItemActiveText: string;
22
+ sidebarIconHome: string;
23
+ sidebarIconPersonalInfo: string;
24
+ sidebarIconSecurity: string;
25
+ sidebarIconPassword: string;
26
+ sidebarIconDevices: string;
27
+ sidebarIconData: string;
28
+ sidebarIconSharing: string;
29
+ sidebarIconFamily: string;
30
+ sidebarIconPayments: string;
31
+ sidebarIconStorage: string;
32
+ iconHome: string;
33
+ iconPrimary: string;
34
+ iconPersonalInfo: string;
35
+ iconSuccess: string;
36
+ iconSecurity: string;
37
+ iconData: string;
38
+ iconPurple: string;
39
+ iconSharing: string;
40
+ iconRed: string;
41
+ iconPayments: string;
42
+ iconGold: string;
43
+ iconStorage: string;
44
+ iconOrange: string;
45
+ };
46
+ dark: {
47
+ text: string;
48
+ background: string;
49
+ inputBackground: string;
50
+ tint: string;
51
+ icon: string;
52
+ tabIconDefault: string;
53
+ tabIconSelected: string;
54
+ card: string;
55
+ border: string;
56
+ secondaryText: string;
57
+ avatarBackground: string;
58
+ avatarText: string;
59
+ sidebarBackground: string;
60
+ sidebarItemActiveBackground: string;
61
+ sidebarItemActiveText: string;
62
+ sidebarIconHome: string;
63
+ sidebarIconPersonalInfo: string;
64
+ sidebarIconSecurity: string;
65
+ sidebarIconPassword: string;
66
+ sidebarIconDevices: string;
67
+ sidebarIconData: string;
68
+ sidebarIconSharing: string;
69
+ sidebarIconFamily: string;
70
+ sidebarIconPayments: string;
71
+ sidebarIconStorage: string;
72
+ iconHome: string;
73
+ iconPrimary: string;
74
+ iconPersonalInfo: string;
75
+ iconSuccess: string;
76
+ iconSecurity: string;
77
+ iconData: string;
78
+ iconPurple: string;
79
+ iconSharing: string;
80
+ iconRed: string;
81
+ iconPayments: string;
82
+ iconGold: string;
83
+ iconStorage: string;
84
+ iconOrange: string;
85
+ };
86
+ };
87
+ export declare const Fonts: {
88
+ /** iOS `UIFontDescriptorSystemDesignDefault` */
89
+ sans: string;
90
+ /** iOS `UIFontDescriptorSystemDesignSerif` */
91
+ serif: string;
92
+ /** iOS `UIFontDescriptorSystemDesignRounded` */
93
+ rounded: string;
94
+ /** iOS `UIFontDescriptorSystemDesignMonospaced` */
95
+ mono: string;
96
+ };
@@ -0,0 +1,74 @@
1
+ import React, { type ReactNode } from 'react';
2
+ import { OxyServices } from '../../core';
3
+ import type { User, ApiError } from '../../models/interfaces';
4
+ import type { ClientSession } from '../../models/session';
5
+ import type { UseFollowHook } from '../hooks/useFollow.types';
6
+ import { useLanguageManagement } from '../hooks/useLanguageManagement';
7
+ import type { RouteName } from '../navigation/routes';
8
+ export interface OxyContextState {
9
+ user: User | null;
10
+ sessions: ClientSession[];
11
+ activeSessionId: string | null;
12
+ isAuthenticated: boolean;
13
+ isLoading: boolean;
14
+ isTokenReady: boolean;
15
+ isStorageReady: boolean;
16
+ error: string | null;
17
+ currentLanguage: string;
18
+ currentLanguageMetadata: ReturnType<typeof useLanguageManagement>['metadata'];
19
+ currentLanguageName: string;
20
+ currentNativeLanguageName: string;
21
+ hasIdentity: () => Promise<boolean>;
22
+ getPublicKey: () => Promise<string | null>;
23
+ signIn: (publicKey: string, deviceName?: string) => Promise<User>;
24
+ /**
25
+ * Handle session from popup authentication
26
+ * Updates auth state, persists session to storage
27
+ */
28
+ handlePopupSession: (session: {
29
+ sessionId: string;
30
+ accessToken?: string;
31
+ expiresAt?: string;
32
+ user: User;
33
+ deviceId?: string;
34
+ }) => Promise<void>;
35
+ logout: (targetSessionId?: string) => Promise<void>;
36
+ logoutAll: () => Promise<void>;
37
+ switchSession: (sessionId: string) => Promise<void>;
38
+ removeSession: (sessionId: string) => Promise<void>;
39
+ refreshSessions: () => Promise<void>;
40
+ setLanguage: (languageId: string) => Promise<void>;
41
+ getDeviceSessions: () => Promise<Array<{
42
+ sessionId: string;
43
+ deviceId: string;
44
+ deviceName?: string;
45
+ lastActive?: string;
46
+ expiresAt?: string;
47
+ }>>;
48
+ logoutAllDeviceSessions: () => Promise<void>;
49
+ updateDeviceName: (deviceName: string) => Promise<void>;
50
+ clearSessionState: () => Promise<void>;
51
+ clearAllAccountData: () => Promise<void>;
52
+ oxyServices: OxyServices;
53
+ useFollow?: UseFollowHook;
54
+ showBottomSheet?: (screenOrConfig: RouteName | {
55
+ screen: RouteName;
56
+ props?: Record<string, unknown>;
57
+ }) => void;
58
+ openAvatarPicker: () => void;
59
+ }
60
+ declare const OxyContext: React.Context<OxyContextState | null>;
61
+ export interface OxyContextProviderProps {
62
+ children: ReactNode;
63
+ oxyServices?: OxyServices;
64
+ baseURL?: string;
65
+ authWebUrl?: string;
66
+ authRedirectUri?: string;
67
+ storageKeyPrefix?: string;
68
+ onAuthStateChange?: (user: User | null) => void;
69
+ onError?: (error: ApiError) => void;
70
+ }
71
+ export declare const OxyProvider: React.FC<OxyContextProviderProps>;
72
+ export declare const OxyContextProvider: React.FC<OxyContextProviderProps>;
73
+ export declare const useOxy: () => OxyContextState;
74
+ export default OxyContext;
@@ -0,0 +1,18 @@
1
+ import React, { ReactNode } from 'react';
2
+ type ResolvedTheme = 'light' | 'dark';
3
+ interface ThemeContextType {
4
+ resolvedTheme: ResolvedTheme;
5
+ isLoaded: boolean;
6
+ }
7
+ export declare const ThemeContext: React.Context<ThemeContextType | undefined>;
8
+ interface ThemeProviderProps {
9
+ theme: 'light' | 'dark';
10
+ children: ReactNode;
11
+ }
12
+ /**
13
+ * ThemeProvider component that accepts a theme prop and provides it via context.
14
+ * This allows Accounts-style components to access theme through hooks.
15
+ */
16
+ export declare function ThemeProvider({ theme, children }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function useThemeContext(): ThemeContextType;
18
+ export {};
@@ -0,0 +1,39 @@
1
+ import type { ApiError, User } from '../../../models/interfaces';
2
+ import type { AuthState } from '../../stores/authStore';
3
+ import type { ClientSession } from '../../../models/session';
4
+ import type { StorageInterface } from '../../utils/storageHelpers';
5
+ import type { OxyServices } from '../../../core';
6
+ export interface UseAuthOperationsOptions {
7
+ oxyServices: OxyServices;
8
+ storage: StorageInterface | null;
9
+ sessions: ClientSession[];
10
+ activeSessionId: string | null;
11
+ setActiveSessionId: (sessionId: string | null) => void;
12
+ updateSessions: (sessions: ClientSession[], options?: {
13
+ merge?: boolean;
14
+ }) => void;
15
+ saveActiveSessionId: (sessionId: string) => Promise<void>;
16
+ clearSessionState: () => Promise<void>;
17
+ switchSession: (sessionId: string) => Promise<User>;
18
+ applyLanguagePreference: (user: User) => Promise<void>;
19
+ onAuthStateChange?: (user: User | null) => void;
20
+ onError?: (error: ApiError) => void;
21
+ loginSuccess: (user: User) => void;
22
+ loginFailure: (message: string) => void;
23
+ logoutStore: () => void;
24
+ setAuthState: (state: Partial<AuthState>) => void;
25
+ logger?: (message: string, error?: unknown) => void;
26
+ }
27
+ export interface UseAuthOperationsResult {
28
+ /** Sign in with existing public key */
29
+ signIn: (publicKey: string, deviceName?: string) => Promise<User>;
30
+ /** Logout from current session */
31
+ logout: (targetSessionId?: string) => Promise<void>;
32
+ /** Logout from all sessions */
33
+ logoutAll: () => Promise<void>;
34
+ }
35
+ /**
36
+ * Authentication operations using public key cryptography.
37
+ * Accepts public key as parameter - identity management is handled by the app layer.
38
+ */
39
+ export declare const useAuthOperations: ({ oxyServices, storage, sessions, activeSessionId, setActiveSessionId, updateSessions, saveActiveSessionId, clearSessionState, switchSession, applyLanguagePreference, onAuthStateChange, onError, loginSuccess, loginFailure, logoutStore, setAuthState, logger, }: UseAuthOperationsOptions) => UseAuthOperationsResult;
@@ -0,0 +1,26 @@
1
+ import type { ApiError } from '../../../models/interfaces';
2
+ import type { OxyServices } from '../../../core';
3
+ export interface UseDeviceManagementOptions {
4
+ oxyServices: OxyServices;
5
+ activeSessionId: string | null;
6
+ onError?: (error: ApiError) => void;
7
+ clearSessionState: () => Promise<void>;
8
+ logger?: (message: string, error?: unknown) => void;
9
+ }
10
+ export interface UseDeviceManagementResult {
11
+ getDeviceSessions: () => Promise<Array<{
12
+ sessionId: string;
13
+ deviceId: string;
14
+ deviceName?: string;
15
+ lastActive?: string;
16
+ expiresAt?: string;
17
+ }>>;
18
+ logoutAllDeviceSessions: () => Promise<void>;
19
+ updateDeviceName: (deviceName: string) => Promise<void>;
20
+ }
21
+ /**
22
+ * Provide device session management helpers tied to the current active session.
23
+ *
24
+ * @param options - Device management configuration
25
+ */
26
+ export declare const useDeviceManagement: ({ oxyServices, activeSessionId, onError, clearSessionState, logger, }: UseDeviceManagementOptions) => UseDeviceManagementResult;
@@ -0,0 +1,24 @@
1
+ import type { ApiError, User } from '../../../models/interfaces';
2
+ import { type LanguageMetadata } from '../../../utils/languageUtils';
3
+ import type { StorageInterface } from '../../utils/storageHelpers';
4
+ export interface UseLanguageManagementOptions {
5
+ storage: StorageInterface | null;
6
+ languageKey: string;
7
+ onError?: (error: ApiError) => void;
8
+ logger?: (message: string, error?: unknown) => void;
9
+ }
10
+ export interface UseLanguageManagementResult {
11
+ currentLanguage: string;
12
+ metadata: LanguageMetadata | null;
13
+ languageName: string;
14
+ nativeLanguageName: string;
15
+ setLanguage: (languageId: string) => Promise<void>;
16
+ applyLanguagePreference: (user: User | null) => Promise<void>;
17
+ hydrateLanguage: () => Promise<void>;
18
+ }
19
+ /**
20
+ * Manage UI language state, persistence, and metadata derivation.
21
+ *
22
+ * @param options - Configuration for storage access and error reporting
23
+ */
24
+ export declare const useLanguageManagement: ({ storage, languageKey, onError, logger, }: UseLanguageManagementOptions) => UseLanguageManagementResult;
@@ -0,0 +1,40 @@
1
+ import type { ApiError, User } from '../../../models/interfaces';
2
+ import type { ClientSession } from '../../../models/session';
3
+ import { getStorageKeys, type StorageInterface } from '../../utils/storageHelpers';
4
+ import type { OxyServices } from '../../../core';
5
+ import type { QueryClient } from '@tanstack/react-query';
6
+ export interface UseSessionManagementOptions {
7
+ oxyServices: OxyServices;
8
+ storage: StorageInterface | null;
9
+ storageKeyPrefix?: string;
10
+ loginSuccess: (user: User) => void;
11
+ logoutStore: () => void;
12
+ applyLanguagePreference: (user: User) => Promise<void>;
13
+ onAuthStateChange?: (user: User | null) => void;
14
+ onError?: (error: ApiError) => void;
15
+ setAuthError?: (message: string | null) => void;
16
+ logger?: (message: string, error?: unknown) => void;
17
+ setTokenReady?: (ready: boolean) => void;
18
+ queryClient?: QueryClient | null;
19
+ }
20
+ export interface UseSessionManagementResult {
21
+ sessions: ClientSession[];
22
+ activeSessionId: string | null;
23
+ setActiveSessionId: (sessionId: string | null) => void;
24
+ updateSessions: (incoming: ClientSession[], options?: {
25
+ merge?: boolean;
26
+ }) => void;
27
+ switchSession: (sessionId: string) => Promise<User>;
28
+ refreshSessions: (activeUserId?: string) => Promise<void>;
29
+ clearSessionState: () => Promise<void>;
30
+ saveActiveSessionId: (sessionId: string) => Promise<void>;
31
+ trackRemovedSession: (sessionId: string) => void;
32
+ storageKeys: ReturnType<typeof getStorageKeys>;
33
+ isRefreshInFlight: boolean;
34
+ }
35
+ /**
36
+ * Manage session state, persistence, and high-level multi-session operations.
37
+ *
38
+ * @param options - Session management configuration
39
+ */
40
+ export declare const useSessionManagement: ({ oxyServices, storage, storageKeyPrefix, loginSuccess, logoutStore, applyLanguagePreference, onAuthStateChange, onError, setAuthError, logger, setTokenReady, queryClient, }: UseSessionManagementOptions) => UseSessionManagementResult;
@@ -0,0 +1,6 @@
1
+ export { useFollow, useFollowerCounts } from './useFollow';
2
+ export { useFileDownloadUrl, setOxyFileUrlInstance } from './useFileDownloadUrl';
3
+ export { useThemeStyles } from './useThemeStyles';
4
+ export { useThemeColors } from './useThemeColors';
5
+ export { useAsyncAction, executeWithToast } from './useAsyncAction';
6
+ export { useSettingToggle, useSettingToggles } from './useSettingToggle';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Mutation Hooks
3
+ *
4
+ * TanStack Query mutation hooks for updating Oxy services data.
5
+ * All mutations handle authentication, error handling, and query invalidation.
6
+ */
7
+ export { useUpdateProfile, useUploadAvatar, useUpdateAccountSettings, useUpdatePrivacySettings, useUploadFile, } from './useAccountMutations';
8
+ export { useSwitchSession, useLogoutSession, useLogoutAll, useUpdateDeviceName, useRemoveDevice, } from './useServicesMutations';