@oxy.so/services 14.24.3 → 15.0.1
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.
- package/README.md +7 -6
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +5 -14
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +5 -14
- package/lib/commonjs/index.js +80 -211
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +3 -2
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/commonjs/ui/client.js +31 -95
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +14 -2
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/commonjs/ui/components/AccountLanguageBoundary.js +1 -1
- package/lib/commonjs/ui/components/AccountLanguageBoundary.js.map +1 -1
- package/lib/commonjs/ui/components/AvatarCameraBadge.js +10 -4
- package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -1
- package/lib/commonjs/ui/components/BenefitList.js +0 -4
- package/lib/commonjs/ui/components/BenefitList.js.map +1 -1
- package/lib/commonjs/ui/components/DisplayCurrencySelector.js +2 -2
- package/lib/commonjs/ui/components/DisplayCurrencySelector.js.map +1 -1
- package/lib/commonjs/ui/components/ExpoImage.macos.js +2 -6
- package/lib/commonjs/ui/components/ExpoImage.macos.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +10 -14
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +4 -4
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +9 -13
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +5 -4
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +64 -142
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +2 -9
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +4 -7
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +2 -9
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +2 -2
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/accountSettings/AccountCategoriesSection.js +12 -2
- package/lib/commonjs/ui/components/accountSettings/AccountCategoriesSection.js.map +1 -1
- package/lib/commonjs/ui/components/accountSettings/AccountSettings.js +110 -66
- package/lib/commonjs/ui/components/accountSettings/AccountSettings.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +88 -22
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js +33 -13
- package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +61 -16
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +174 -45
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +93 -16
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +29 -6
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +78 -84
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +32 -41
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +93 -91
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +35 -32
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +33 -44
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/setupFlow/OxySetupFlow.js +44 -13
- package/lib/commonjs/ui/components/setupFlow/OxySetupFlow.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +14 -6
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +104 -26
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +3 -8
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js +68 -17
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailPanel.js +7 -11
- package/lib/commonjs/ui/components/signIn/OxyEmailPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +3 -8
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +15 -12
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInSecurityPanel.js +5 -5
- package/lib/commonjs/ui/components/signIn/OxySignInSecurityPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/SessionsSection.js +55 -30
- package/lib/commonjs/ui/components/signIn/SessionsSection.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountSecurityState.js +4 -4
- package/lib/commonjs/ui/components/signIn/accountSecurityState.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +7 -14
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +61 -118
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/OxyHostedContext.js +41 -60
- package/lib/commonjs/ui/context/OxyHostedContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/data/account.js +570 -0
- package/lib/commonjs/ui/data/account.js.map +1 -0
- package/lib/commonjs/ui/data/accountData.js +75 -0
- package/lib/commonjs/ui/data/accountData.js.map +1 -0
- package/lib/commonjs/ui/data/answer.js +65 -0
- package/lib/commonjs/ui/data/answer.js.map +1 -0
- package/lib/commonjs/ui/data/assets.js +194 -0
- package/lib/commonjs/ui/data/assets.js.map +1 -0
- package/lib/commonjs/ui/data/deviceStorage.js +158 -0
- package/lib/commonjs/ui/data/deviceStorage.js.map +1 -0
- package/lib/commonjs/ui/data/displayRates.js +40 -0
- package/lib/commonjs/ui/data/displayRates.js.map +1 -0
- package/lib/commonjs/ui/data/domains.js +52 -0
- package/lib/commonjs/ui/data/domains.js.map +1 -0
- package/lib/commonjs/ui/data/files.js +399 -0
- package/lib/commonjs/ui/data/files.js.map +1 -0
- package/lib/commonjs/ui/data/follow.js +616 -0
- package/lib/commonjs/ui/data/follow.js.map +1 -0
- package/lib/commonjs/ui/data/organizations.js +205 -0
- package/lib/commonjs/ui/data/organizations.js.map +1 -0
- package/lib/commonjs/ui/data/payments.js +83 -0
- package/lib/commonjs/ui/data/payments.js.map +1 -0
- package/lib/commonjs/ui/data/persister.js +17 -0
- package/lib/commonjs/ui/data/persister.js.map +1 -0
- package/lib/commonjs/ui/data/persister.native.js +24 -0
- package/lib/commonjs/ui/data/persister.native.js.map +1 -0
- package/lib/commonjs/ui/data/readOptions.js +57 -0
- package/lib/commonjs/ui/data/readOptions.js.map +1 -0
- package/lib/commonjs/ui/data/security.js +122 -0
- package/lib/commonjs/ui/data/security.js.map +1 -0
- package/lib/commonjs/ui/data/sessions.js +252 -0
- package/lib/commonjs/ui/data/sessions.js.map +1 -0
- package/lib/commonjs/ui/data/supervision.js +106 -0
- package/lib/commonjs/ui/data/supervision.js.map +1 -0
- package/lib/commonjs/ui/data/trust.js +70 -0
- package/lib/commonjs/ui/data/trust.js.map +1 -0
- package/lib/commonjs/ui/data/user.js +103 -0
- package/lib/commonjs/ui/data/user.js.map +1 -0
- package/lib/commonjs/ui/{hooks/queries/userCache.js → data/userRecord.js} +31 -144
- package/lib/commonjs/ui/data/userRecord.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +118 -657
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +45 -155
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +84 -243
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +13 -28
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +97 -159
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +33 -108
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +6 -18
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +12 -59
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +18 -108
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSupervision.js +26 -36
- package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAccountColor.js +3 -3
- package/lib/commonjs/ui/hooks/useAccountColor.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAccountTheme.js +45 -55
- package/lib/commonjs/ui/hooks/useAccountTheme.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +86 -76
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +9 -8
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js +24 -44
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayPrice.js +19 -16
- package/lib/commonjs/ui/hooks/useDisplayPrice.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +156 -245
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +53 -105
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useMutationStatus.js +12 -68
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +7 -11
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +3 -3
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +15 -70
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +8 -74
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +0 -9
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/index.js +3 -9
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +39 -17
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/commonjs/ui/oauth/browserBridge.js +15 -1
- package/lib/commonjs/ui/oauth/browserBridge.js.map +1 -1
- package/lib/commonjs/ui/runtime/activeRuntime.js +35 -0
- package/lib/commonjs/ui/runtime/activeRuntime.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +0 -3
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +242 -194
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +71 -11
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +8 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +37 -74
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +13 -2
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +42 -16
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +60 -12
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +84 -65
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +25 -4
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +8 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +178 -97
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +67 -33
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +7 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +14 -2
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +26 -7
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +40 -7
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +7 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +34 -7
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +9 -3
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +23 -4
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +11 -5
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +39 -48
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileLinkForm.js +19 -3
- package/lib/commonjs/ui/screens/ProfileLinkForm.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +68 -69
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ReportBugScreen.js +14 -2
- package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +12 -5
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignInSecurityScreen.js +7 -1
- package/lib/commonjs/ui/screens/SignInSecurityScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +50 -118
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +55 -14
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +16 -8
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +25 -7
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +51 -15
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +103 -15
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +28 -5
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +14 -13
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +47 -9
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +61 -30
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +26 -4
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +55 -14
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +118 -42
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +25 -12
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +1 -4
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/utils/netConnectivity.js +9 -17
- package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +6 -72
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +5 -14
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +5 -14
- package/lib/module/index.js +23 -36
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/boot/runProviderColdBoot.js +4 -3
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/module/ui/client.js +12 -12
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js +14 -2
- package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/module/ui/components/AccountLanguageBoundary.js +1 -1
- package/lib/module/ui/components/AccountLanguageBoundary.js.map +1 -1
- package/lib/module/ui/components/AvatarCameraBadge.js +10 -3
- package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -1
- package/lib/module/ui/components/BenefitList.js +0 -4
- package/lib/module/ui/components/BenefitList.js.map +1 -1
- package/lib/module/ui/components/DisplayCurrencySelector.js +2 -2
- package/lib/module/ui/components/DisplayCurrencySelector.js.map +1 -1
- package/lib/module/ui/components/ExpoImage.macos.js +2 -6
- package/lib/module/ui/components/ExpoImage.macos.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +10 -14
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/FollowTargetButton.js +4 -4
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +9 -13
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyAuthPrompt.js +5 -4
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +65 -143
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +2 -9
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +1 -4
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js +2 -9
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +2 -2
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/accountSettings/AccountCategoriesSection.js +13 -3
- package/lib/module/ui/components/accountSettings/AccountCategoriesSection.js.map +1 -1
- package/lib/module/ui/components/accountSettings/AccountSettings.js +111 -66
- package/lib/module/ui/components/accountSettings/AccountSettings.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +78 -12
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileAppAccessSection.js +34 -13
- package/lib/module/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +62 -16
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +175 -45
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +94 -16
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +30 -6
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +79 -85
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js +32 -41
- package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +94 -92
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js +36 -33
- package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +33 -44
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/setupFlow/OxySetupFlow.js +40 -9
- package/lib/module/ui/components/setupFlow/OxySetupFlow.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +14 -5
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthScreen.js +98 -21
- package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +3 -8
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +64 -12
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailPanel.js +7 -11
- package/lib/module/ui/components/signIn/OxyEmailPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +3 -8
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js +16 -13
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInSecurityPanel.js +5 -5
- package/lib/module/ui/components/signIn/OxySignInSecurityPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/SessionsSection.js +55 -30
- package/lib/module/ui/components/signIn/SessionsSection.js.map +1 -1
- package/lib/module/ui/components/signIn/accountSecurityState.js +4 -4
- package/lib/module/ui/components/signIn/accountSecurityState.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +7 -14
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +62 -119
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/OxyHostedContext.js +41 -60
- package/lib/module/ui/context/OxyHostedContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/data/account.js +563 -0
- package/lib/module/ui/data/account.js.map +1 -0
- package/lib/module/ui/data/accountData.js +69 -0
- package/lib/module/ui/data/accountData.js.map +1 -0
- package/lib/module/ui/data/answer.js +59 -0
- package/lib/module/ui/data/answer.js.map +1 -0
- package/lib/module/ui/data/assets.js +176 -0
- package/lib/module/ui/data/assets.js.map +1 -0
- package/lib/module/ui/data/deviceStorage.js +152 -0
- package/lib/module/ui/data/deviceStorage.js.map +1 -0
- package/lib/module/ui/data/displayRates.js +36 -0
- package/lib/module/ui/data/displayRates.js.map +1 -0
- package/lib/module/ui/data/domains.js +47 -0
- package/lib/module/ui/data/domains.js.map +1 -0
- package/lib/module/ui/data/files.js +380 -0
- package/lib/module/ui/data/files.js.map +1 -0
- package/lib/module/ui/data/follow.js +585 -0
- package/lib/module/ui/data/follow.js.map +1 -0
- package/lib/module/ui/data/organizations.js +198 -0
- package/lib/module/ui/data/organizations.js.map +1 -0
- package/lib/module/ui/data/payments.js +78 -0
- package/lib/module/ui/data/payments.js.map +1 -0
- package/lib/module/ui/data/persister.js +14 -0
- package/lib/module/ui/data/persister.js.map +1 -0
- package/lib/module/ui/data/persister.native.js +20 -0
- package/lib/module/ui/data/persister.native.js.map +1 -0
- package/lib/module/ui/data/readOptions.js +51 -0
- package/lib/module/ui/data/readOptions.js.map +1 -0
- package/lib/module/ui/data/security.js +117 -0
- package/lib/module/ui/data/security.js.map +1 -0
- package/lib/module/ui/data/sessions.js +247 -0
- package/lib/module/ui/data/sessions.js.map +1 -0
- package/lib/module/ui/data/supervision.js +103 -0
- package/lib/module/ui/data/supervision.js.map +1 -0
- package/lib/module/ui/data/trust.js +66 -0
- package/lib/module/ui/data/trust.js.map +1 -0
- package/lib/module/ui/data/user.js +96 -0
- package/lib/module/ui/data/user.js.map +1 -0
- package/lib/module/ui/{hooks/queries/userCache.js → data/userRecord.js} +31 -146
- package/lib/module/ui/data/userRecord.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +116 -654
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +45 -155
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +80 -238
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +13 -28
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +93 -149
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +34 -108
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js +6 -18
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +13 -59
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +18 -108
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js +26 -34
- package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/module/ui/hooks/useAccountColor.js +3 -3
- package/lib/module/ui/hooks/useAccountColor.js.map +1 -1
- package/lib/module/ui/hooks/useAccountTheme.js +45 -55
- package/lib/module/ui/hooks/useAccountTheme.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +87 -77
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +9 -8
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js +25 -45
- package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayPrice.js +20 -17
- package/lib/module/ui/hooks/useDisplayPrice.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +153 -243
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +50 -103
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useMutationStatus.js +13 -69
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -1
- package/lib/module/ui/hooks/useOnlineStatus.js +7 -11
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -1
- package/lib/module/ui/hooks/useProfileEditing.js +3 -3
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/module/ui/hooks/useResolvedFileUrls.js +15 -69
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +9 -75
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/icons/subsetGlyphMaps.js +0 -9
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/index.js +2 -8
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +38 -17
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/module/ui/oauth/browserBridge.js +14 -0
- package/lib/module/ui/oauth/browserBridge.js.map +1 -1
- package/lib/module/ui/runtime/activeRuntime.js +30 -0
- package/lib/module/ui/runtime/activeRuntime.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +0 -3
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +244 -195
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +73 -12
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +9 -2
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +37 -74
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +14 -3
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +43 -16
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +61 -12
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +85 -65
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +26 -5
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +9 -2
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +178 -97
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +69 -35
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +8 -2
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +15 -2
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +27 -7
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +41 -7
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +8 -2
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +35 -7
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +10 -4
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +25 -5
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PreferencesScreen.js +12 -6
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +41 -49
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileLinkForm.js +20 -4
- package/lib/module/ui/screens/ProfileLinkForm.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +70 -70
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/ReportBugScreen.js +14 -2
- package/lib/module/ui/screens/ReportBugScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +13 -6
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SignInSecurityScreen.js +8 -2
- package/lib/module/ui/screens/SignInSecurityScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +51 -119
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +57 -15
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +18 -9
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +26 -8
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +52 -16
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +104 -16
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +29 -6
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +14 -13
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +49 -10
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +62 -30
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +26 -4
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +57 -15
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +120 -43
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +26 -12
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js +0 -3
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/utils/netConnectivity.js +9 -16
- package/lib/module/ui/utils/netConnectivity.js.map +1 -1
- package/lib/module/ui/utils/storageHelpers.js +5 -70
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +16 -14
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +11 -10
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AccountInvitationAcceptance.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BenefitList.d.ts +0 -2
- package/lib/typescript/commonjs/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ExpoImage.macos.d.ts +1 -3
- package/lib/typescript/commonjs/ui/components/ExpoImage.macos.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -7
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/accountSettings/AccountSettings.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/accountSettings/AccountSettings.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationClaims.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/organizations/OrganizationSettings.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/setupFlow/OxySetupFlow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts +9 -5
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyEmailAccountChoice.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyEmailPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/SessionsSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/accountSecurityState.d.ts +3 -3
- package/lib/typescript/commonjs/ui/components/signIn/accountSecurityState.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/supervision/PersonPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyHostedContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +1 -2
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +0 -9
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/data/account.d.ts +261 -0
- package/lib/typescript/commonjs/ui/data/account.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/accountData.d.ts +24 -0
- package/lib/typescript/commonjs/ui/data/accountData.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/answer.d.ts +43 -0
- package/lib/typescript/commonjs/ui/data/answer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/assets.d.ts +49 -0
- package/lib/typescript/commonjs/ui/data/assets.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/deviceStorage.d.ts +41 -0
- package/lib/typescript/commonjs/ui/data/deviceStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/displayRates.d.ts +14 -0
- package/lib/typescript/commonjs/ui/data/displayRates.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/domains.d.ts +23 -0
- package/lib/typescript/commonjs/ui/data/domains.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/files.d.ts +216 -0
- package/lib/typescript/commonjs/ui/data/files.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/follow.d.ts +135 -0
- package/lib/typescript/commonjs/ui/data/follow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/organizations.d.ts +157 -0
- package/lib/typescript/commonjs/ui/data/organizations.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/payments.d.ts +85 -0
- package/lib/typescript/commonjs/ui/data/payments.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/persister.d.ts +9 -0
- package/lib/typescript/commonjs/ui/data/persister.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/persister.native.d.ts +13 -0
- package/lib/typescript/commonjs/ui/data/persister.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/readOptions.d.ts +22 -0
- package/lib/typescript/commonjs/ui/data/readOptions.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/security.d.ts +27 -0
- package/lib/typescript/commonjs/ui/data/security.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/sessions.d.ts +40 -0
- package/lib/typescript/commonjs/ui/data/sessions.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/supervision.d.ts +133 -0
- package/lib/typescript/commonjs/ui/data/supervision.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/trust.d.ts +22 -0
- package/lib/typescript/commonjs/ui/data/trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/data/user.d.ts +21 -0
- package/lib/typescript/commonjs/ui/data/user.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/{hooks/queries/userCache.d.ts → data/userRecord.d.ts} +47 -52
- package/lib/typescript/commonjs/ui/data/userRecord.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +34 -304
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +13 -23
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +45 -57
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +12 -185
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +43 -65
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +13 -45
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts +6 -6
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +13 -11
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +18 -23
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSupervision.d.ts +37 -482
- package/lib/typescript/commonjs/ui/hooks/queries/useSupervision.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAccountTheme.d.ts +3 -3
- package/lib/typescript/commonjs/ui/hooks/useAccountTheme.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +2 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +3 -4
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDisplayCurrency.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/useDisplayCurrency.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDisplayPrice.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +23 -83
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +2 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +11 -3
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +8 -10
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +4 -4
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +18 -20
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +6 -13
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +0 -9
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +2 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +13 -4
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts +4 -0
- package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/runtime/activeRuntime.d.ts +9 -0
- package/lib/typescript/commonjs/ui/runtime/activeRuntime.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +0 -3
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileTrashScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SupervisionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts +0 -1
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -13
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +8 -9
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +3 -4
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +16 -14
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +11 -10
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AccountInvitationAcceptance.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BenefitList.d.ts +0 -2
- package/lib/typescript/module/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ExpoImage.macos.d.ts +1 -3
- package/lib/typescript/module/ui/components/ExpoImage.macos.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +1 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -7
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/accountSettings/AccountSettings.d.ts +2 -2
- package/lib/typescript/module/ui/components/accountSettings/AccountSettings.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationClaims.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/organizations/OrganizationSettings.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/setupFlow/OxySetupFlow.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts +9 -5
- package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyEmailAccountChoice.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyEmailPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/SessionsSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/accountSecurityState.d.ts +3 -3
- package/lib/typescript/module/ui/components/signIn/accountSecurityState.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/supervision/PersonPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyHostedContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +1 -2
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +0 -9
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/data/account.d.ts +261 -0
- package/lib/typescript/module/ui/data/account.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/accountData.d.ts +24 -0
- package/lib/typescript/module/ui/data/accountData.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/answer.d.ts +43 -0
- package/lib/typescript/module/ui/data/answer.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/assets.d.ts +49 -0
- package/lib/typescript/module/ui/data/assets.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/deviceStorage.d.ts +41 -0
- package/lib/typescript/module/ui/data/deviceStorage.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/displayRates.d.ts +14 -0
- package/lib/typescript/module/ui/data/displayRates.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/domains.d.ts +23 -0
- package/lib/typescript/module/ui/data/domains.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/files.d.ts +216 -0
- package/lib/typescript/module/ui/data/files.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/follow.d.ts +135 -0
- package/lib/typescript/module/ui/data/follow.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/organizations.d.ts +157 -0
- package/lib/typescript/module/ui/data/organizations.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/payments.d.ts +85 -0
- package/lib/typescript/module/ui/data/payments.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/persister.d.ts +9 -0
- package/lib/typescript/module/ui/data/persister.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/persister.native.d.ts +13 -0
- package/lib/typescript/module/ui/data/persister.native.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/readOptions.d.ts +22 -0
- package/lib/typescript/module/ui/data/readOptions.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/security.d.ts +27 -0
- package/lib/typescript/module/ui/data/security.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/sessions.d.ts +40 -0
- package/lib/typescript/module/ui/data/sessions.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/supervision.d.ts +133 -0
- package/lib/typescript/module/ui/data/supervision.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/trust.d.ts +22 -0
- package/lib/typescript/module/ui/data/trust.d.ts.map +1 -0
- package/lib/typescript/module/ui/data/user.d.ts +21 -0
- package/lib/typescript/module/ui/data/user.d.ts.map +1 -0
- package/lib/typescript/module/ui/{hooks/queries/userCache.d.ts → data/userRecord.d.ts} +47 -52
- package/lib/typescript/module/ui/data/userRecord.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +34 -304
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +13 -23
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +45 -57
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +12 -185
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +43 -65
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +13 -45
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts +6 -6
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +13 -11
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +18 -23
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSupervision.d.ts +37 -482
- package/lib/typescript/module/ui/hooks/queries/useSupervision.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAccountTheme.d.ts +3 -3
- package/lib/typescript/module/ui/hooks/useAccountTheme.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +2 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +3 -4
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useDisplayCurrency.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/useDisplayCurrency.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useDisplayPrice.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +23 -83
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +2 -1
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +11 -3
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +8 -10
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +4 -4
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +18 -20
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +6 -13
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +0 -9
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +2 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +13 -4
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/browserBridge.d.ts +4 -0
- package/lib/typescript/module/ui/oauth/browserBridge.d.ts.map +1 -1
- package/lib/typescript/module/ui/runtime/activeRuntime.d.ts +9 -0
- package/lib/typescript/module/ui/runtime/activeRuntime.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +0 -3
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileTrashScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SupervisionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts +0 -1
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +0 -13
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts +8 -9
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +3 -4
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -1
- package/lib/typescript/types/react-native-web-style.d.ts +1 -1
- package/package.json +32 -46
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +5 -14
- package/src/index.ts +26 -70
- package/src/types/react-native-web-style.d.ts +1 -1
- package/src/ui/boot/runProviderColdBoot.ts +4 -3
- package/src/ui/client.ts +13 -31
- package/src/ui/components/AccountInvitationAcceptance.tsx +9 -2
- package/src/ui/components/AccountLanguageBoundary.tsx +4 -4
- package/src/ui/components/AvatarCameraBadge.tsx +8 -3
- package/src/ui/components/BenefitList.tsx +0 -6
- package/src/ui/components/DisplayCurrencySelector.tsx +2 -2
- package/src/ui/components/ExpoImage.macos.tsx +1 -3
- package/src/ui/components/FollowButton.tsx +10 -22
- package/src/ui/components/FollowTargetButton.tsx +13 -5
- package/src/ui/components/OxyAuthChooser.tsx +9 -13
- package/src/ui/components/OxyAuthPrompt.tsx +3 -4
- package/src/ui/components/OxyProvider.tsx +72 -164
- package/src/ui/components/OxySignInButton.tsx +2 -5
- package/src/ui/components/ProfileButton.tsx +1 -11
- package/src/ui/components/RequireOxyAuth.tsx +3 -8
- package/src/ui/components/SurfaceScreen.tsx +2 -3
- package/src/ui/components/__tests__/AccountLanguageBoundary.test.tsx +11 -11
- package/src/ui/components/__tests__/followTargetButton.test.ts +1 -1
- package/src/ui/components/accountSettings/AccountCategoriesSection.tsx +8 -3
- package/src/ui/components/accountSettings/AccountSettings.tsx +121 -83
- package/src/ui/components/accountSettings/__tests__/AccountSettings.test.tsx +4 -4
- package/src/ui/components/authChooser/AccountsMenuView.tsx +53 -16
- package/src/ui/components/fileManagement/FileAppAccessSection.tsx +20 -17
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +55 -32
- package/src/ui/components/fileManagement/FileViewer.tsx +117 -60
- package/src/ui/components/fileManagement/UploadPreview.tsx +46 -23
- package/src/ui/components/modals/DeleteAccountModal.tsx +13 -4
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +110 -88
- package/src/ui/components/organizations/OrganizationClaims.tsx +46 -43
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +114 -102
- package/src/ui/components/organizations/OrganizationSettings.tsx +33 -29
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +29 -51
- package/src/ui/components/setupFlow/OxySetupFlow.tsx +23 -9
- package/src/ui/components/signIn/OxyAccountPicker.tsx +17 -4
- package/src/ui/components/signIn/OxyAuthScreen.tsx +65 -22
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +3 -7
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +2 -2
- package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +28 -17
- package/src/ui/components/signIn/OxyEmailPanel.tsx +7 -7
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +2 -2
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +3 -7
- package/src/ui/components/signIn/OxySignInPanel.tsx +18 -13
- package/src/ui/components/signIn/OxySignInSecurityPanel.tsx +5 -5
- package/src/ui/components/signIn/SessionsSection.tsx +64 -38
- package/src/ui/components/signIn/accountSecurityState.tsx +6 -6
- package/src/ui/components/supervision/PersonPicker.tsx +10 -12
- package/src/ui/context/OxyContext.tsx +66 -138
- package/src/ui/context/OxyHostedContext.tsx +40 -67
- package/src/ui/context/hooks/useAuthOperations.ts +0 -4
- package/src/ui/context/oxyContextTypes.ts +0 -9
- package/src/ui/data/__tests__/accountData.test.tsx +50 -0
- package/src/ui/data/__tests__/assets.test.ts +63 -0
- package/src/ui/data/__tests__/deviceStorage.test.ts +72 -0
- package/src/ui/data/__tests__/files.test.ts +91 -0
- package/src/ui/data/__tests__/follow.test.ts +310 -0
- package/src/ui/data/__tests__/security.test.tsx +147 -0
- package/src/ui/data/__tests__/sessions.test.tsx +349 -0
- package/src/ui/data/__tests__/storeUsers.test.ts +187 -0
- package/src/ui/{hooks/queries/__tests__/userCacheClear.test.ts → data/__tests__/storeUsersClear.test.ts} +55 -110
- package/src/ui/data/__tests__/trust.test.tsx +69 -0
- package/src/ui/data/__tests__/user.test.ts +143 -0
- package/src/ui/data/account.ts +654 -0
- package/src/ui/data/accountData.ts +80 -0
- package/src/ui/data/answer.ts +79 -0
- package/src/ui/data/assets.ts +181 -0
- package/src/ui/data/deviceStorage.ts +152 -0
- package/src/ui/data/displayRates.ts +31 -0
- package/src/ui/data/domains.ts +45 -0
- package/src/ui/data/files.ts +461 -0
- package/src/ui/data/follow.ts +629 -0
- package/src/ui/data/organizations.ts +191 -0
- package/src/ui/data/payments.ts +96 -0
- package/src/ui/data/persister.native.ts +21 -0
- package/src/ui/data/persister.ts +12 -0
- package/src/ui/data/readOptions.ts +52 -0
- package/src/ui/data/security.ts +106 -0
- package/src/ui/data/sessions.ts +258 -0
- package/src/ui/data/supervision.ts +105 -0
- package/src/ui/data/trust.ts +75 -0
- package/src/ui/data/user.ts +103 -0
- package/src/ui/{hooks/queries/userCache.ts → data/userRecord.ts} +33 -164
- package/src/ui/hooks/mutations/useAccountMutations.ts +146 -714
- package/src/ui/hooks/mutations/useServicesMutations.ts +103 -155
- package/src/ui/hooks/queries/__tests__/useSupervision.test.tsx +57 -22
- package/src/ui/hooks/queries/useAccountQueries.ts +149 -253
- package/src/ui/hooks/queries/useAuthMethods.ts +32 -29
- package/src/ui/hooks/queries/useFileQueries.ts +113 -207
- package/src/ui/hooks/queries/usePaymentQueries.ts +34 -97
- package/src/ui/hooks/queries/usePersonalPlans.ts +11 -20
- package/src/ui/hooks/queries/useSecurityQueries.ts +34 -69
- package/src/ui/hooks/queries/useServicesQueries.ts +73 -126
- package/src/ui/hooks/queries/useSupervision.ts +30 -34
- package/src/ui/hooks/useAccountColor.ts +3 -3
- package/src/ui/hooks/useAccountTheme.ts +37 -54
- package/src/ui/hooks/useAssets.ts +145 -91
- package/src/ui/hooks/useAvatarPicker.ts +7 -13
- package/src/ui/hooks/useDisplayCurrency.ts +30 -48
- package/src/ui/hooks/useDisplayPrice.ts +16 -13
- package/src/ui/hooks/useFollow.ts +210 -332
- package/src/ui/hooks/useFollow.types.ts +4 -3
- package/src/ui/hooks/useFollowTarget.ts +87 -130
- package/src/ui/hooks/useMutationStatus.ts +20 -94
- package/src/ui/hooks/useOnlineStatus.ts +7 -11
- package/src/ui/hooks/useProfileEditing.ts +3 -3
- package/src/ui/hooks/useResolvedFileUrls.ts +19 -82
- package/src/ui/hooks/useSessionManagement.ts +8 -93
- package/src/ui/icons/subsetGlyphMaps.ts +0 -9
- package/src/ui/index.ts +2 -8
- package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +1 -1
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +16 -16
- package/src/ui/navigation/surfaceNavStack.ts +52 -23
- package/src/ui/oauth/__tests__/browserBridge.test.ts +6 -0
- package/src/ui/oauth/browserBridge.ts +13 -0
- package/src/ui/runtime/activeRuntime.ts +29 -0
- package/src/ui/runtime/createOxyRuntime.ts +1 -13
- package/src/ui/screens/AccountMembersScreen.tsx +196 -209
- package/src/ui/screens/AccountVerificationScreen.tsx +46 -11
- package/src/ui/screens/AppInfoScreen.tsx +6 -2
- package/src/ui/screens/AvatarCropScreen.tsx +39 -71
- package/src/ui/screens/ChangeAvatarScreen.tsx +8 -3
- package/src/ui/screens/ConnectedAppsScreen.tsx +30 -16
- package/src/ui/screens/CreateAccountScreen.tsx +38 -14
- package/src/ui/screens/DomainsScreen.tsx +94 -62
- package/src/ui/screens/EditProfileFieldScreen.tsx +12 -5
- package/src/ui/screens/EditProfileScreen.tsx +6 -2
- package/src/ui/screens/FileManagementScreen.tsx +130 -122
- package/src/ui/screens/FileTrashScreen.tsx +42 -40
- package/src/ui/screens/HelpSupportScreen.tsx +6 -2
- package/src/ui/screens/HistoryViewScreen.tsx +9 -4
- package/src/ui/screens/LanguageSelectorScreen.tsx +22 -9
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +24 -10
- package/src/ui/screens/LegalDocumentsScreen.tsx +6 -2
- package/src/ui/screens/ManageAccountScreen.tsx +18 -9
- package/src/ui/screens/NotificationsScreen.tsx +8 -4
- package/src/ui/screens/PaymentGatewayScreen.tsx +20 -4
- package/src/ui/screens/PreferencesScreen.tsx +10 -6
- package/src/ui/screens/PrivacySettingsScreen.tsx +32 -61
- package/src/ui/screens/ProfileLinkForm.tsx +10 -4
- package/src/ui/screens/ProfileScreen.tsx +48 -65
- package/src/ui/screens/ReportBugScreen.tsx +9 -2
- package/src/ui/screens/SearchSettingsScreen.tsx +12 -5
- package/src/ui/screens/SignInSecurityScreen.tsx +6 -2
- package/src/ui/screens/SupervisionScreen.tsx +106 -142
- package/src/ui/screens/UserListScreen.tsx +24 -10
- package/src/ui/screens/WelcomeNewUserScreen.tsx +12 -11
- package/src/ui/screens/fileManagement/FileLibraryError.tsx +10 -14
- package/src/ui/screens/fileManagement/FileListSection.tsx +24 -15
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +68 -24
- package/src/ui/screens/fileManagement/UploadBar.tsx +17 -12
- package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +17 -15
- package/src/ui/screens/trust/TrustAboutScreen.tsx +26 -9
- package/src/ui/screens/trust/TrustCenterScreen.tsx +46 -36
- package/src/ui/screens/trust/TrustFAQScreen.tsx +13 -4
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +25 -13
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +72 -46
- package/src/ui/screens/trust/TrustRulesScreen.tsx +23 -16
- package/src/ui/server.ts +0 -3
- package/src/ui/types/navigation.ts +0 -13
- package/src/ui/utils/netConnectivity.ts +9 -18
- package/src/ui/utils/storageHelpers.ts +6 -76
- package/lib/commonjs/ui/hooks/accountQueryPersistence.js +0 -249
- package/lib/commonjs/ui/hooks/accountQueryPersistence.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +0 -183
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +0 -44
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/persistedQueryCache.js +0 -219
- package/lib/commonjs/ui/hooks/persistedQueryCache.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -249
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +0 -31
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/commonjs/ui/hooks/queryClient.js +0 -216
- package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +0 -20
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +0 -252
- package/lib/commonjs/ui/stores/assetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/authStore.js +0 -169
- package/lib/commonjs/ui/stores/authStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js +0 -566
- package/lib/commonjs/ui/stores/followStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followTargetStore.js +0 -162
- package/lib/commonjs/ui/stores/followTargetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +0 -21
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +0 -43
- package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/persistedDataVersion.js +0 -16
- package/lib/commonjs/ui/utils/persistedDataVersion.js.map +0 -1
- package/lib/module/ui/hooks/accountQueryPersistence.js +0 -244
- package/lib/module/ui/hooks/accountQueryPersistence.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -179
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationKeys.js +0 -40
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/module/ui/hooks/persistedQueryCache.js +0 -209
- package/lib/module/ui/hooks/persistedQueryCache.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +0 -234
- package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCacheRelationship.js +0 -27
- package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/module/ui/hooks/queryClient.js +0 -207
- package/lib/module/ui/hooks/queryClient.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -15
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +0 -239
- package/lib/module/ui/stores/assetStore.js.map +0 -1
- package/lib/module/ui/stores/authStore.js +0 -165
- package/lib/module/ui/stores/authStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +0 -561
- package/lib/module/ui/stores/followStore.js.map +0 -1
- package/lib/module/ui/stores/followTargetStore.js +0 -152
- package/lib/module/ui/stores/followTargetStore.js.map +0 -1
- package/lib/module/ui/stores/resetSessionScopedStores.js +0 -18
- package/lib/module/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/module/ui/utils/avatarUtils.js +0 -40
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/persistedDataVersion.js +0 -12
- package/lib/module/ui/utils/persistedDataVersion.js.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/accountQueryPersistence.d.ts +0 -145
- package/lib/typescript/commonjs/ui/hooks/accountQueryPersistence.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +0 -90
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +0 -33
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/persistedQueryCache.d.ts +0 -98
- package/lib/typescript/commonjs/ui/hooks/persistedQueryCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +0 -162
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +0 -76
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +0 -61
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +0 -61
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +0 -32
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +0 -88
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +0 -16
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/persistedDataVersion.d.ts +0 -10
- package/lib/typescript/commonjs/ui/utils/persistedDataVersion.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/accountQueryPersistence.d.ts +0 -145
- package/lib/typescript/module/ui/hooks/accountQueryPersistence.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +0 -90
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +0 -33
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/persistedQueryCache.d.ts +0 -98
- package/lib/typescript/module/ui/hooks/persistedQueryCache.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +0 -162
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +0 -76
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts +0 -61
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/authStore.d.ts +0 -61
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followStore.d.ts +0 -32
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts +0 -88
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +0 -16
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/persistedDataVersion.d.ts +0 -10
- package/lib/typescript/module/ui/utils/persistedDataVersion.d.ts.map +0 -1
- package/lib/typescript/nativewind-env.d.ts +0 -1
- package/lib/typescript/types/react-native-classname.d.ts +0 -39
- package/src/nativewind-env.d.ts +0 -1
- package/src/types/react-native-classname.d.ts +0 -39
- package/src/ui/hooks/accountQueryPersistence.ts +0 -407
- package/src/ui/hooks/mutations/mutationFactory.ts +0 -234
- package/src/ui/hooks/mutations/mutationKeys.ts +0 -44
- package/src/ui/hooks/persistedQueryCache.ts +0 -293
- package/src/ui/hooks/queries/__tests__/fileQueries.test.ts +0 -70
- package/src/ui/hooks/queries/__tests__/userCache.test.ts +0 -482
- package/src/ui/hooks/queries/queryKeys.ts +0 -252
- package/src/ui/hooks/queries/userCacheRelationship.ts +0 -33
- package/src/ui/hooks/queryClient.ts +0 -240
- package/src/ui/hooks/useQueryClient.ts +0 -16
- package/src/ui/stores/__tests__/followStore.test.ts +0 -254
- package/src/ui/stores/__tests__/resetSessionScopedStores.test.ts +0 -23
- package/src/ui/stores/assetStore.ts +0 -309
- package/src/ui/stores/authStore.ts +0 -191
- package/src/ui/stores/followStore.ts +0 -499
- package/src/ui/stores/followTargetStore.ts +0 -165
- package/src/ui/stores/resetSessionScopedStores.ts +0 -15
- package/src/ui/utils/avatarUtils.ts +0 -57
- package/src/ui/utils/persistedDataVersion.ts +0 -9
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.verifyDomain = exports.requestDomainVerification = exports.removeDomain = exports.domains = exports.Domains = exports.Domain = void 0;
|
|
7
|
+
var _bloomData = require("@oxy.so/bloom-data");
|
|
8
|
+
var _answer = require("./answer.js");
|
|
9
|
+
var _readOptions = require("./readOptions.js");
|
|
10
|
+
/**
|
|
11
|
+
* The web domains the signed-in identity has proved it controls, held in its
|
|
12
|
+
* `@oxy.so/bloom-data` store (`oxy.identity.domains.*`), and the writes that
|
|
13
|
+
* prove and drop them. Memory only, as their query was.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
const Domain = exports.Domain = (0, _bloomData.entity)('oxy.verified-domain', {
|
|
17
|
+
id: domain => domain.domain
|
|
18
|
+
});
|
|
19
|
+
const Domains = exports.Domains = (0, _bloomData.list)('oxy.verified-domains', {
|
|
20
|
+
of: Domain
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
/** The identity's verified domains: one list per account, under `ACCOUNT`. */
|
|
24
|
+
const domains = exports.domains = (0, _bloomData.source)(Domains, {
|
|
25
|
+
..._readOptions.sdkRead,
|
|
26
|
+
key: _oxy => _answer.ACCOUNT,
|
|
27
|
+
stale: 5 * 60_000,
|
|
28
|
+
gcTime: 30 * 60_000,
|
|
29
|
+
load: async (_request, oxy) => ({
|
|
30
|
+
items: await oxy.identity.domains.list()
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/** Starts proving a domain: resolves with the DNS record and the file to publish. */
|
|
35
|
+
const requestDomainVerification = exports.requestDomainVerification = (0, _bloomData.action)({
|
|
36
|
+
run: (oxy, domain) => oxy.identity.domains.requestVerification(domain)
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
/** Checks the published proof; a domain it verified is listed. */
|
|
40
|
+
const verifyDomain = exports.verifyDomain = (0, _bloomData.action)({
|
|
41
|
+
run: (oxy, domain) => oxy.identity.domains.verify(domain),
|
|
42
|
+
settle: (result, oxy) => {
|
|
43
|
+
if (result.verified) void domains.refresh(oxy);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
const removeDomain = exports.removeDomain = (0, _bloomData.action)({
|
|
47
|
+
run: (oxy, domain) => oxy.identity.domains.remove(domain),
|
|
48
|
+
settle: (_result, oxy) => {
|
|
49
|
+
void domains.refresh(oxy);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=domains.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_bloomData","require","_answer","_readOptions","Domain","exports","entity","id","domain","Domains","list","of","domains","source","sdkRead","key","_oxy","ACCOUNT","stale","gcTime","load","_request","oxy","items","identity","requestDomainVerification","action","run","requestVerification","verifyDomain","verify","settle","result","verified","refresh","removeDomain","remove","_result"],"sour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ACkB,MAAM,CAACtB,MAAM,CAAC;EAC9EuB,MAAM,EAAEA,CAACC,MAAM,EAAEV,GAAG,KAAK;IACvB,IAAIU,MAAM,CAACC,QAAQ,EAAE,KAAKrB,OAAO,CAACsB,OAAO,CAACZ,GAAG,CAAC;EAChD;AACF,CAAC,CAAC;AAEK,MAAMa,YAAY,GAAA9B,OAAA,CAAA8B,YAAA,GAAG,IAAAT,iBAAM,EAAC;EACjCC,GAAG,EAAEA,CAACL,GAAgB,EAAEd,MAAc,KAAKc,GAAG,CAACE,QAAQ,CAACZ,OAAO,CAACwB,MAAM,CAAC5B,MAAM,CAAC;EAC9EuB,MAAM,EAAEA,CAACM,OAAO,EAAEf,GAAG,KAAK;IACxB,KAAKV,OAAO,CAACsB,OAAO,CAACZ,GAAG,CAAC;EAC3B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.fileAppAccess = exports.avatarCropSource = exports.UserFiles = exports.UserFile = exports.PhotoSizeBatches = exports.PhotoSize = exports.ImageSize = exports.FileUrlBatches = exports.FileUrl = exports.FileAppAccess = exports.FILES_PAGE_SIZE = exports.AvatarCropSource = void 0;
|
|
7
|
+
exports.fileUrlId = fileUrlId;
|
|
8
|
+
exports.fileUrls = void 0;
|
|
9
|
+
exports.fileUrlsKey = fileUrlsKey;
|
|
10
|
+
exports.imageSize = void 0;
|
|
11
|
+
exports.mapRawFileToMetadata = mapRawFileToMetadata;
|
|
12
|
+
exports.patchUserFileMetadata = patchUserFileMetadata;
|
|
13
|
+
exports.photoSizes = void 0;
|
|
14
|
+
exports.prependUserFile = prependUserFile;
|
|
15
|
+
exports.refreshUserFiles = refreshUserFiles;
|
|
16
|
+
exports.removeUserFile = removeUserFile;
|
|
17
|
+
exports.replaceUserFile = replaceUserFile;
|
|
18
|
+
exports.revokeFileAppAccess = void 0;
|
|
19
|
+
exports.toUserFilesPage = toUserFilesPage;
|
|
20
|
+
exports.userFiles = exports.uploadFile = void 0;
|
|
21
|
+
exports.userFilesKey = userFilesKey;
|
|
22
|
+
var _bloomData = require("@oxy.so/bloom-data");
|
|
23
|
+
var _core = require("@oxy.so/core");
|
|
24
|
+
var _imageSize = require("../utils/imageSize");
|
|
25
|
+
var _readOptions = require("./readOptions.js");
|
|
26
|
+
/**
|
|
27
|
+
* The person's files (`@oxy.so/bloom-data`), held in the store of the account
|
|
28
|
+
* that reads them, in memory only (the SDK never wrote its file reads to disk).
|
|
29
|
+
*
|
|
30
|
+
* - `UserFile`: each file by id; `UserFiles` orders a library or a trash, per
|
|
31
|
+
* owner, filled page by page by `userFiles`.
|
|
32
|
+
* - `FileAppAccess`: the applications that can open one file (ADR 0043 stage
|
|
33
|
+
* 4c), read by `fileAppAccess` and changed by `revokeFileAppAccess`.
|
|
34
|
+
* - `uploadFile`: puts a file in the person's library.
|
|
35
|
+
* - `FileUrl`: signed thumbnail URLs, read a page at a time by `fileUrls`.
|
|
36
|
+
* - `PhotoSize`, `ImageSize` and `AvatarCropSource`: image measurements and the
|
|
37
|
+
* URL the avatar cropper loads.
|
|
38
|
+
*
|
|
39
|
+
* Signed URLs expire, and measurements follow them, so none of these is ever
|
|
40
|
+
* written to disk: a restored one would serve an expired URL.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
// ── The library and the trash ─────────────────────────────────────────────
|
|
44
|
+
|
|
45
|
+
/** Files read per page. */
|
|
46
|
+
const FILES_PAGE_SIZE = exports.FILES_PAGE_SIZE = 40;
|
|
47
|
+
|
|
48
|
+
/** Raw file record as returned by `oxyServices.assets.list` / `assetUpload`. */
|
|
49
|
+
|
|
50
|
+
/** One page of a file listing. */
|
|
51
|
+
|
|
52
|
+
/** Normalize a raw API file record into the client `FileMetadata` shape. */
|
|
53
|
+
function mapRawFileToMetadata(raw) {
|
|
54
|
+
return {
|
|
55
|
+
id: raw.id,
|
|
56
|
+
filename: raw.originalName ?? raw.sha256 ?? '',
|
|
57
|
+
contentType: raw.mime ?? '',
|
|
58
|
+
length: raw.size ?? 0,
|
|
59
|
+
chunkSize: 0,
|
|
60
|
+
uploadDate: raw.createdAt ?? '',
|
|
61
|
+
...(typeof raw.inUse === 'boolean' ? {
|
|
62
|
+
inUse: raw.inUse
|
|
63
|
+
} : {}),
|
|
64
|
+
...(raw.status === 'active' || raw.status === 'trash' || raw.status === 'blocked' || raw.status === 'lost' ? {
|
|
65
|
+
status: raw.status
|
|
66
|
+
} : {}),
|
|
67
|
+
...(typeof raw.trashedAt === 'string' ? {
|
|
68
|
+
trashedAt: raw.trashedAt
|
|
69
|
+
} : {}),
|
|
70
|
+
metadata: raw.metadata ?? {},
|
|
71
|
+
variants: raw.variants ?? []
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** Which of the owner's files a listing holds: the library, or the trash (ADR 0043 D5). */
|
|
76
|
+
|
|
77
|
+
/** Map one `oxyServices.assets.list` response onto a page. */
|
|
78
|
+
function toUserFilesPage(response, offset) {
|
|
79
|
+
const files = (response.files ?? []).map(mapRawFileToMetadata);
|
|
80
|
+
return {
|
|
81
|
+
files,
|
|
82
|
+
total: response.total ?? offset + files.length,
|
|
83
|
+
hasMore: Boolean(response.hasMore),
|
|
84
|
+
nextOffset: offset + FILES_PAGE_SIZE
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
const UserFile = exports.UserFile = (0, _bloomData.entity)('userFile', {
|
|
88
|
+
id: file => file.id
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
/** The files of one owner's library or trash, in the server's order. */
|
|
92
|
+
const UserFiles = exports.UserFiles = (0, _bloomData.list)('userFiles', {
|
|
93
|
+
of: UserFile
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
/** The `UserFiles` key of an owner's listing. */
|
|
97
|
+
function userFilesKey(ownerId, listing) {
|
|
98
|
+
return `${listing}:${ownerId}`;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* An owner's library (active files, and blocked ones shown as removed after a
|
|
103
|
+
* claim) or, with `trash`, what they moved to trash, most recently trashed
|
|
104
|
+
* first. Read again every time a screen opens it (`stale: 0`); the next page
|
|
105
|
+
* starts at the offset the last one named.
|
|
106
|
+
*/
|
|
107
|
+
const userFiles = exports.userFiles = (0, _bloomData.source)(UserFiles, {
|
|
108
|
+
key: (_oxy, ownerId, listing) => userFilesKey(ownerId, listing),
|
|
109
|
+
load: async ({
|
|
110
|
+
cursor
|
|
111
|
+
}, oxy, _ownerId, listing) => {
|
|
112
|
+
const offset = cursor === undefined ? 0 : Number(cursor);
|
|
113
|
+
const page = toUserFilesPage(await oxy.assets.list({
|
|
114
|
+
limit: FILES_PAGE_SIZE,
|
|
115
|
+
offset,
|
|
116
|
+
...(listing === 'trash' ? {
|
|
117
|
+
status: 'trash'
|
|
118
|
+
} : {})
|
|
119
|
+
}), offset);
|
|
120
|
+
return {
|
|
121
|
+
items: page.files,
|
|
122
|
+
next: page.hasMore ? String(page.nextOffset) : null
|
|
123
|
+
};
|
|
124
|
+
},
|
|
125
|
+
stale: 0,
|
|
126
|
+
..._readOptions.sdkRead
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Puts a file (an upload still in flight) at the top of the owner's library,
|
|
131
|
+
* when the library has been read.
|
|
132
|
+
*/
|
|
133
|
+
function prependUserFile(ownerId, file) {
|
|
134
|
+
UserFile.put(file);
|
|
135
|
+
UserFiles.prepend(userFilesKey(ownerId, 'library'), [file.id]);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/** Takes a file out of the owner's library, or out of the trash. */
|
|
139
|
+
function removeUserFile(ownerId, fileId, listing = 'library') {
|
|
140
|
+
UserFiles.set(userFilesKey(ownerId, listing), held => held?.ids.includes(fileId) ? {
|
|
141
|
+
...held,
|
|
142
|
+
ids: held.ids.filter(id => id !== fileId)
|
|
143
|
+
} : held);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** Swaps an upload in flight (by its temporary id) for the file the server stored. */
|
|
147
|
+
function replaceUserFile(ownerId, temporaryId, file) {
|
|
148
|
+
UserFile.put(file);
|
|
149
|
+
UserFiles.set(userFilesKey(ownerId, 'library'), held => held?.ids.includes(temporaryId) ? {
|
|
150
|
+
...held,
|
|
151
|
+
ids: held.ids.map(id => id === temporaryId ? file.id : id)
|
|
152
|
+
} : held);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** Merges a metadata change (a new visibility, say) into a held file. */
|
|
156
|
+
function patchUserFileMetadata(fileId, metadata) {
|
|
157
|
+
UserFile.merge(fileId, {
|
|
158
|
+
metadata
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Reads the owner's listings again: the library, or both the library and the
|
|
164
|
+
* trash after a change that moves a file between them. A listing no screen
|
|
165
|
+
* has read is left alone; it is read when one opens it.
|
|
166
|
+
*/
|
|
167
|
+
function refreshUserFiles(oxy, ownerId, listings = ['library', 'trash']) {
|
|
168
|
+
for (const listing of listings) {
|
|
169
|
+
if (UserFiles.get(userFilesKey(ownerId, listing))) {
|
|
170
|
+
void userFiles.refresh(oxy, ownerId, listing);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// ── Applications with access (ADR 0043 stage 4c) ─────────────────────────
|
|
176
|
+
|
|
177
|
+
/** The applications that can open one of the owner's files. */
|
|
178
|
+
|
|
179
|
+
const FileAppAccess = exports.FileAppAccess = (0, _bloomData.entity)('fileAppAccess', {
|
|
180
|
+
id: access => access.id
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The applications that can open one of the owner's files with their own
|
|
185
|
+
* token: one that stored it for the person, or one the person attached it to.
|
|
186
|
+
* Read every time the details open (`stale: 0`), since an application can gain
|
|
187
|
+
* access at any time (a new upload on the person's behalf).
|
|
188
|
+
*/
|
|
189
|
+
const fileAppAccess = exports.fileAppAccess = (0, _bloomData.source)(FileAppAccess, {
|
|
190
|
+
key: (_oxy, fileId) => fileId,
|
|
191
|
+
load: async (_request, oxy, fileId) => ({
|
|
192
|
+
id: fileId,
|
|
193
|
+
apps: await oxy.assets.listAppAccess(fileId)
|
|
194
|
+
}),
|
|
195
|
+
stale: 0,
|
|
196
|
+
..._readOptions.sdkRead
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Takes an application's access to one of the person's files away: the
|
|
201
|
+
* application leaves the list at once and comes back if the revoke fails.
|
|
202
|
+
* The caller reads the list again either way.
|
|
203
|
+
*/
|
|
204
|
+
const revokeFileAppAccess = exports.revokeFileAppAccess = (0, _bloomData.action)({
|
|
205
|
+
optimistic: (_oxy, _sessionId, fileId, applicationId) => {
|
|
206
|
+
FileAppAccess.patch(fileId, held => ({
|
|
207
|
+
apps: held.apps.filter(app => app.applicationId !== applicationId)
|
|
208
|
+
}));
|
|
209
|
+
},
|
|
210
|
+
run: (oxy, sessionId, fileId, applicationId) => (0, _core.authenticatedApiCall)(oxy, sessionId, () => oxy.assets.revokeAppAccess(fileId, applicationId))
|
|
211
|
+
});
|
|
212
|
+
|
|
213
|
+
// ── Signed thumbnail URLs ─────────────────────────────────────────────────
|
|
214
|
+
|
|
215
|
+
// ── Uploads ────────────────────────────────────────────────────────────
|
|
216
|
+
|
|
217
|
+
/** What an upload answers: one file, or a batch. */
|
|
218
|
+
|
|
219
|
+
/** Uploads a file to the person's library. */
|
|
220
|
+
const uploadFile = exports.uploadFile = (0, _bloomData.action)({
|
|
221
|
+
run: (oxy, sessionId, input) => (0, _core.authenticatedApiCall)(oxy, sessionId, () => oxy.assets.upload(input.file, {
|
|
222
|
+
visibility: input.visibility,
|
|
223
|
+
metadata: input.metadata,
|
|
224
|
+
onProgress: input.onProgress
|
|
225
|
+
}))
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* The variant-aware batch resolver contract (`@oxy.so/core`).
|
|
230
|
+
*
|
|
231
|
+
* `urls` takes a per-file `{ fileId, variant }` list and returns a map keyed
|
|
232
|
+
* by `fileId`; ids that are denied or missing are OMITTED (never an empty
|
|
233
|
+
* string), and PRIVATE assets resolve to a working scoped-media-token stream
|
|
234
|
+
* URL. Typed here rather than `Pick<OxyServices, …>` so this file states the
|
|
235
|
+
* exact contract it depends on.
|
|
236
|
+
*/
|
|
237
|
+
|
|
238
|
+
/** One file's resolved URL for one variant. */
|
|
239
|
+
|
|
240
|
+
function fileUrlId(fileId, variant) {
|
|
241
|
+
return `${fileId}:${variant ?? ''}`;
|
|
242
|
+
}
|
|
243
|
+
const FileUrl = exports.FileUrl = (0, _bloomData.entity)('fileUrl', {
|
|
244
|
+
id: entry => entry.id
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
/** The URLs one batch of files resolved to. */
|
|
248
|
+
const FileUrlBatches = exports.FileUrlBatches = (0, _bloomData.list)('fileUrlBatches', {
|
|
249
|
+
of: FileUrl
|
|
250
|
+
});
|
|
251
|
+
|
|
252
|
+
/** Server media-token lifetime asked for each resolved URL (seconds). */
|
|
253
|
+
const ASSET_URL_TTL_SECONDS = 600; // 10 minutes
|
|
254
|
+
/** Server-side batch cap for `POST /assets/batch-access`: chunk beyond this. */
|
|
255
|
+
const BATCH_CAP = 100;
|
|
256
|
+
|
|
257
|
+
/** The `fileUrls` key of a request set: its content, sorted, so ordering churn reads nothing again. */
|
|
258
|
+
function fileUrlsKey(requests) {
|
|
259
|
+
return requests.map(request => fileUrlId(request.fileId, request.variant)).sort().join('|');
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Resolves a set of files' thumbnail URLs in one (chunked) batch request.
|
|
264
|
+
* Read again after 5 minutes, below the token's 10-minute lifetime, so a tile
|
|
265
|
+
* never shows a URL whose token has expired.
|
|
266
|
+
*/
|
|
267
|
+
const fileUrls = exports.fileUrls = (0, _bloomData.source)(FileUrlBatches, {
|
|
268
|
+
key: (_oxy, requests) => fileUrlsKey(requests),
|
|
269
|
+
load: async (_request, oxy, requests) => {
|
|
270
|
+
const items = [];
|
|
271
|
+
for (let i = 0; i < requests.length; i += BATCH_CAP) {
|
|
272
|
+
const chunk = requests.slice(i, i + BATCH_CAP);
|
|
273
|
+
const urls = await oxy.assets.urls([...chunk], {
|
|
274
|
+
expiresIn: ASSET_URL_TTL_SECONDS
|
|
275
|
+
});
|
|
276
|
+
for (const request of chunk) {
|
|
277
|
+
const url = urls[request.fileId];
|
|
278
|
+
if (typeof url === 'string' && url.length > 0) {
|
|
279
|
+
items.push({
|
|
280
|
+
id: fileUrlId(request.fileId, request.variant),
|
|
281
|
+
url
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
return {
|
|
287
|
+
items
|
|
288
|
+
};
|
|
289
|
+
},
|
|
290
|
+
stale: 5 * 60_000,
|
|
291
|
+
gcTime: 30 * 60_000,
|
|
292
|
+
..._readOptions.sdkRead
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
// ── Image measurements ────────────────────────────────────────────────────
|
|
296
|
+
|
|
297
|
+
/** A photo's intrinsic size, by file id. */
|
|
298
|
+
|
|
299
|
+
const PhotoSize = exports.PhotoSize = (0, _bloomData.entity)('photoSize', {
|
|
300
|
+
id: size => size.id
|
|
301
|
+
});
|
|
302
|
+
|
|
303
|
+
/** The sizes one set of photo URLs measured. */
|
|
304
|
+
const PhotoSizeBatches = exports.PhotoSizeBatches = (0, _bloomData.list)('photoSizeBatches', {
|
|
305
|
+
of: PhotoSize
|
|
306
|
+
});
|
|
307
|
+
|
|
308
|
+
/** A photo to measure: its file id and its resolved URL. */
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Measures every photo whose URL has resolved (`getImageSize`, expo-image on a
|
|
312
|
+
* device). A photo that fails to load measures 1×1 (the 4/3 default). Keyed by
|
|
313
|
+
* every photo id with its URL, so a URL that resolves later is measured then;
|
|
314
|
+
* a measurement never goes stale.
|
|
315
|
+
*/
|
|
316
|
+
const photoSizes = exports.photoSizes = (0, _bloomData.source)(PhotoSizeBatches, {
|
|
317
|
+
key: photos => photos.map(photo => `${photo.id}:${photo.url}`).join('|'),
|
|
318
|
+
load: async (_request, photos) => ({
|
|
319
|
+
items: await Promise.all(photos.map(async photo => {
|
|
320
|
+
try {
|
|
321
|
+
return {
|
|
322
|
+
id: photo.id,
|
|
323
|
+
...(await (0, _imageSize.getImageSize)(photo.url))
|
|
324
|
+
};
|
|
325
|
+
} catch {
|
|
326
|
+
return {
|
|
327
|
+
id: photo.id,
|
|
328
|
+
width: 1,
|
|
329
|
+
height: 1
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
}))
|
|
333
|
+
}),
|
|
334
|
+
stale: Number.POSITIVE_INFINITY,
|
|
335
|
+
..._readOptions.sdkRead
|
|
336
|
+
});
|
|
337
|
+
|
|
338
|
+
/** An image's intrinsic size, by its URI. */
|
|
339
|
+
|
|
340
|
+
const ImageSize = exports.ImageSize = (0, _bloomData.entity)('imageSize', {
|
|
341
|
+
id: size => size.id
|
|
342
|
+
});
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* The intrinsic size of the image at `uri`. Fails (no retry) on a load error
|
|
346
|
+
* or degenerate dimensions, so the cropper can say it could not measure it.
|
|
347
|
+
*/
|
|
348
|
+
const imageSize = exports.imageSize = (0, _bloomData.source)(ImageSize, {
|
|
349
|
+
key: uri => uri,
|
|
350
|
+
load: async (_request, uri) => {
|
|
351
|
+
let size;
|
|
352
|
+
try {
|
|
353
|
+
size = await (0, _imageSize.getImageSize)(uri);
|
|
354
|
+
} catch {
|
|
355
|
+
throw new Error('Image measurement failed');
|
|
356
|
+
}
|
|
357
|
+
const {
|
|
358
|
+
width,
|
|
359
|
+
height
|
|
360
|
+
} = size;
|
|
361
|
+
if (!Number.isFinite(width) || !Number.isFinite(height) || width <= 0 || height <= 0) {
|
|
362
|
+
throw new Error('Image reported invalid dimensions');
|
|
363
|
+
}
|
|
364
|
+
return {
|
|
365
|
+
id: uri,
|
|
366
|
+
width,
|
|
367
|
+
height
|
|
368
|
+
};
|
|
369
|
+
},
|
|
370
|
+
stale: Number.POSITIVE_INFINITY,
|
|
371
|
+
retry: 0,
|
|
372
|
+
refetchOnFocus: false
|
|
373
|
+
});
|
|
374
|
+
|
|
375
|
+
/** The URL the avatar cropper loads for one of the person's files. */
|
|
376
|
+
|
|
377
|
+
const AvatarCropSource = exports.AvatarCropSource = (0, _bloomData.entity)('avatarCropSource', {
|
|
378
|
+
id: entry => entry.id
|
|
379
|
+
});
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Resolves a file id to a URL the cropper can load (usually private, so
|
|
383
|
+
* through the SDK). Fails at once (no retry) when no URL comes back.
|
|
384
|
+
*/
|
|
385
|
+
const avatarCropSource = exports.avatarCropSource = (0, _bloomData.source)(AvatarCropSource, {
|
|
386
|
+
key: (_oxy, fileId) => fileId,
|
|
387
|
+
load: async (_request, oxy, fileId) => {
|
|
388
|
+
const url = await oxy.assets.url(fileId);
|
|
389
|
+
if (!url) throw new Error('No download URL returned for the selected image');
|
|
390
|
+
return {
|
|
391
|
+
id: fileId,
|
|
392
|
+
url
|
|
393
|
+
};
|
|
394
|
+
},
|
|
395
|
+
stale: Number.POSITIVE_INFINITY,
|
|
396
|
+
retry: 0,
|
|
397
|
+
refetchOnFocus: false
|
|
398
|
+
});
|
|
399
|
+
//# sourceMappingURL=files.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_bloomData","require","_core","_imageSize","_readOptions","FILES_PAGE_SIZE","exports","mapRawFileToMetadata","raw","id","filename","originalName","sha256","contentType","mime","length","size","chunkSize","uploadDate","createdAt","inUse","status","trashedAt","metadata","variants","toUserFilesPage","response","offset","files","map","total","hasMore","Boolean","nextOffset","UserFile","entity","file","UserFiles","list","of","userFilesKey","ownerId","listing","userFiles","source","key","_oxy","load","cursor","oxy","_ownerId","undefined","Number","page","assets","limit","items","next","String","stale","sdkRead","prependUserFile","put","prepend","removeUserFile","fileId","set","held","ids","includes","filter","replaceUserFile","temporaryId","patchUserFileMetadata","merge","refreshUserFiles","listings","get","refresh","FileAppAccess","access","fileAppAccess","_request","apps","listAppAccess","revokeFileAppAccess","action","optimistic","_sessionId","applicationId","patch","app","run","sessionId","authenticatedApiCall","revokeAppAccess","uploadFile","input","upload","visibility","onProgress","fileUrlId","variant","FileUrl","entry","FileUrlBatches","ASSET_URL_TTL_SECONDS","BATCH_CAP","fileUrlsKey","requests","request","sort","join","fileUrls","i","chunk","slice","urls","expiresIn","url","push","gcTime","PhotoSize","PhotoSizeBatches","photoSizes","photos","photo","Promise","all","getImageSize","width","height","POSITIVE_INFINITY","ImageSize","imageSize","uri","Error","isFinite","retry","refetchOnFocus","AvatarCropSource","avatarCropSource"],"sourceRoot":"../../../../src","sources":["ui/data/files.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAgBA,IAAAA,UAAA,GAAAC,OAAA;AAQA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AA1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAaA;;AAEA;AACO,MAAMI,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAG,EAAE;;AAEjC;;AAkBA;;AAQA;AACO,SAASE,oBAAoBA,CAACC,GAAgB,EAAgB;EACnE,OAAO;IACLC,EAAE,EAAED,GAAG,CAACC,EAAE;IACVC,QAAQ,EAAEF,GAAG,CAACG,YAAY,IAAIH,GAAG,CAACI,MAAM,IAAI,EAAE;IAC9CC,WAAW,EAAEL,GAAG,CAACM,IAAI,IAAI,EAAE;IAC3BC,MAAM,EAAEP,GAAG,CAACQ,IAAI,IAAI,CAAC;IACrBC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