@bigbinary/neeto-commons-rn 1.8.4 → 2.0.2
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 +64 -0
- package/eslint-config/index.js +366 -0
- package/eslint-config/rules/no-dangling-constants.js +35 -0
- package/eslint-config/rules/no-redundant-string-templates.js +85 -0
- package/lib/typescript/api/app_version.d.ts +10 -0
- package/lib/typescript/api/app_version.d.ts.map +1 -0
- package/lib/typescript/api/auth.d.ts +26 -0
- package/lib/typescript/api/auth.d.ts.map +1 -0
- package/lib/typescript/api/global_roles.d.ts +10 -0
- package/lib/typescript/api/global_roles.d.ts.map +1 -0
- package/lib/typescript/api/notifications.d.ts +38 -0
- package/lib/typescript/api/notifications.d.ts.map +1 -0
- package/lib/typescript/api/organization_roles.d.ts +11 -0
- package/lib/typescript/api/organization_roles.d.ts.map +1 -0
- package/lib/typescript/api/profile.d.ts +15 -0
- package/lib/typescript/api/profile.d.ts.map +1 -0
- package/lib/typescript/api/team_members.d.ts +34 -0
- package/lib/typescript/api/team_members.d.ts.map +1 -0
- package/lib/typescript/auth/index.d.ts +3 -0
- package/lib/typescript/auth/index.d.ts.map +1 -0
- package/lib/typescript/components/AppVersion.d.ts +2 -0
- package/lib/typescript/components/AppVersion.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet.d.ts +9 -0
- package/lib/typescript/components/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheetMenu.d.ts +7 -0
- package/lib/typescript/components/BottomSheetMenu.d.ts.map +1 -0
- package/lib/typescript/components/ConfirmSheet.d.ts +15 -0
- package/lib/typescript/components/ConfirmSheet.d.ts.map +1 -0
- package/lib/typescript/components/EmptyView.d.ts +19 -0
- package/lib/typescript/components/EmptyView.d.ts.map +1 -0
- package/lib/typescript/components/Header/BaseHeader.d.ts +7 -0
- package/lib/typescript/components/Header/BaseHeader.d.ts.map +1 -0
- package/lib/typescript/components/Header/ScreenHeader.d.ts +7 -0
- package/lib/typescript/components/Header/ScreenHeader.d.ts.map +1 -0
- package/lib/typescript/components/Header.d.ts +22 -0
- package/lib/typescript/components/Header.d.ts.map +1 -0
- package/lib/typescript/components/HyperlinkText.d.ts +17 -0
- package/lib/typescript/components/HyperlinkText.d.ts.map +1 -0
- package/lib/typescript/components/LineLoader.d.ts +13 -0
- package/lib/typescript/components/LineLoader.d.ts.map +1 -0
- package/lib/typescript/components/NotificationIcon.d.ts +6 -0
- package/lib/typescript/components/NotificationIcon.d.ts.map +1 -0
- package/lib/typescript/components/NotificationPreferenceList.d.ts +14 -0
- package/lib/typescript/components/NotificationPreferenceList.d.ts.map +1 -0
- package/lib/typescript/components/OfflineScreen.d.ts +7 -0
- package/lib/typescript/components/OfflineScreen.d.ts.map +1 -0
- package/lib/typescript/components/OrganizationItem.d.ts +8 -0
- package/lib/typescript/components/OrganizationItem.d.ts.map +1 -0
- package/lib/typescript/components/SocialButton.d.ts +11 -0
- package/lib/typescript/components/SocialButton.d.ts.map +1 -0
- package/lib/typescript/components/TextWithUrl.d.ts +7 -0
- package/lib/typescript/components/TextWithUrl.d.ts.map +1 -0
- package/lib/typescript/components/ToggleSwitch.d.ts +8 -0
- package/lib/typescript/components/ToggleSwitch.d.ts.map +1 -0
- package/lib/typescript/components/WorkspaceSwitcherPane.d.ts +9 -0
- package/lib/typescript/components/WorkspaceSwitcherPane.d.ts.map +1 -0
- package/lib/typescript/components/constants.d.ts +7 -0
- package/lib/typescript/components/constants.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +14 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/config/axios/caseConversion.d.ts +4 -0
- package/lib/typescript/config/axios/caseConversion.d.ts.map +1 -0
- package/lib/typescript/config/axios/constants.d.ts +4 -0
- package/lib/typescript/config/axios/constants.d.ts.map +1 -0
- package/lib/typescript/config/axios/index.d.ts +13 -0
- package/lib/typescript/config/axios/index.d.ts.map +1 -0
- package/lib/typescript/config/axios/networkErrorHandler.d.ts +5 -0
- package/lib/typescript/config/axios/networkErrorHandler.d.ts.map +1 -0
- package/lib/typescript/config/axios/paramsSerializer.d.ts +3 -0
- package/lib/typescript/config/axios/paramsSerializer.d.ts.map +1 -0
- package/lib/typescript/config/axios/types.d.ts +10 -0
- package/lib/typescript/config/axios/types.d.ts.map +1 -0
- package/lib/typescript/config/bugsnag.d.ts +4 -0
- package/lib/typescript/config/bugsnag.d.ts.map +1 -0
- package/lib/typescript/config/dayjs.d.ts +23 -0
- package/lib/typescript/config/dayjs.d.ts.map +1 -0
- package/lib/typescript/config/googleSignin.d.ts +2 -0
- package/lib/typescript/config/googleSignin.d.ts.map +1 -0
- package/lib/typescript/config/index.d.ts +2 -0
- package/lib/typescript/config/index.d.ts.map +1 -0
- package/lib/typescript/config/validations.d.ts +2 -0
- package/lib/typescript/config/validations.d.ts.map +1 -0
- package/lib/typescript/constants/index.d.ts +8 -0
- package/lib/typescript/constants/index.d.ts.map +1 -0
- package/lib/typescript/contexts/index.d.ts +2 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -0
- package/lib/typescript/contexts/localization.d.ts +26 -0
- package/lib/typescript/contexts/localization.d.ts.map +1 -0
- package/lib/typescript/helpers/asyncStore.d.ts +6 -0
- package/lib/typescript/helpers/asyncStore.d.ts.map +1 -0
- package/lib/typescript/helpers/index.d.ts +2 -0
- package/lib/typescript/helpers/index.d.ts.map +1 -0
- package/lib/typescript/helpers/keychain.d.ts +4 -0
- package/lib/typescript/helpers/keychain.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/apnsToken.d.ts +2 -0
- package/lib/typescript/helpers/notifications/apnsToken.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/constants.d.ts +5 -0
- package/lib/typescript/helpers/notifications/constants.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/getDeviceToken.d.ts +2 -0
- package/lib/typescript/helpers/notifications/getDeviceToken.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/index.d.ts +4 -0
- package/lib/typescript/helpers/notifications/index.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/registerBackgroundHandlers.d.ts +3 -0
- package/lib/typescript/helpers/notifications/registerBackgroundHandlers.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/types.d.ts +19 -0
- package/lib/typescript/helpers/notifications/types.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/usePushNotification.d.ts +7 -0
- package/lib/typescript/helpers/notifications/usePushNotification.d.ts.map +1 -0
- package/lib/typescript/helpers/scale.d.ts +2 -0
- package/lib/typescript/helpers/scale.d.ts.map +1 -0
- package/lib/typescript/helpers/utils.d.ts +5 -0
- package/lib/typescript/helpers/utils.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts +3 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -0
- package/lib/typescript/hooks/query/queryKeys.d.ts +9 -0
- package/lib/typescript/hooks/query/queryKeys.d.ts.map +1 -0
- package/lib/typescript/hooks/query/useAppVersionApi.d.ts +2 -0
- package/lib/typescript/hooks/query/useAppVersionApi.d.ts.map +1 -0
- package/lib/typescript/hooks/query/useAuth.d.ts +27 -0
- package/lib/typescript/hooks/query/useAuth.d.ts.map +1 -0
- package/lib/typescript/hooks/query/useNotification.d.ts +19 -0
- package/lib/typescript/hooks/query/useNotification.d.ts.map +1 -0
- package/lib/typescript/hooks/query/useProfile.d.ts +9 -0
- package/lib/typescript/hooks/query/useProfile.d.ts.map +1 -0
- package/lib/typescript/hooks/query/useRolesApi.d.ts +4 -0
- package/lib/typescript/hooks/query/useRolesApi.d.ts.map +1 -0
- package/lib/typescript/hooks/query/useTeamMembersApi.d.ts +23 -0
- package/lib/typescript/hooks/query/useTeamMembersApi.d.ts.map +1 -0
- package/lib/typescript/hooks/useAppState.d.ts +2 -0
- package/lib/typescript/hooks/useAppState.d.ts.map +1 -0
- package/lib/typescript/hooks/usePushNotificationPermissions.d.ts +2 -0
- package/lib/typescript/hooks/usePushNotificationPermissions.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +9 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/initializers/index.d.ts +3 -0
- package/lib/typescript/initializers/index.d.ts.map +1 -0
- package/lib/typescript/initializers/logRocket.d.ts +2 -0
- package/lib/typescript/initializers/logRocket.d.ts.map +1 -0
- package/lib/typescript/localization/i18n.d.ts +4 -0
- package/lib/typescript/localization/i18n.d.ts.map +1 -0
- package/lib/typescript/localization/index.d.ts +7 -0
- package/lib/typescript/localization/index.d.ts.map +1 -0
- package/lib/typescript/navigation/navigationService.d.ts +14 -0
- package/lib/typescript/navigation/navigationService.d.ts.map +1 -0
- package/lib/typescript/navigation/screenNames.d.ts +10 -0
- package/lib/typescript/navigation/screenNames.d.ts.map +1 -0
- package/lib/typescript/navigation/stacks.d.ts +3 -0
- package/lib/typescript/navigation/stacks.d.ts.map +1 -0
- package/lib/typescript/navigation/types.d.ts +24 -0
- package/lib/typescript/navigation/types.d.ts.map +1 -0
- package/lib/typescript/providers/NeetoCommonsRNProvider.d.ts +14 -0
- package/lib/typescript/providers/NeetoCommonsRNProvider.d.ts.map +1 -0
- package/lib/typescript/providers/index.d.ts +2 -0
- package/lib/typescript/providers/index.d.ts.map +1 -0
- package/lib/typescript/screens/NotificationsScreen.d.ts +11 -0
- package/lib/typescript/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/screens/authentication/AuthOptions.d.ts +7 -0
- package/lib/typescript/screens/authentication/AuthOptions.d.ts.map +1 -0
- package/lib/typescript/screens/authentication/IncompleteOnboardingInfo.d.ts +4 -0
- package/lib/typescript/screens/authentication/IncompleteOnboardingInfo.d.ts.map +1 -0
- package/lib/typescript/screens/authentication/LoginScreen.d.ts +3 -0
- package/lib/typescript/screens/authentication/LoginScreen.d.ts.map +1 -0
- package/lib/typescript/screens/authentication/OTPVerificationScreen.d.ts +4 -0
- package/lib/typescript/screens/authentication/OTPVerificationScreen.d.ts.map +1 -0
- package/lib/typescript/screens/authentication/Organization.d.ts +11 -0
- package/lib/typescript/screens/authentication/Organization.d.ts.map +1 -0
- package/lib/typescript/screens/authentication/SubDomainScreen.d.ts +4 -0
- package/lib/typescript/screens/authentication/SubDomainScreen.d.ts.map +1 -0
- package/lib/typescript/screens/authentication/constants.d.ts +17 -0
- package/lib/typescript/screens/authentication/constants.d.ts.map +1 -0
- package/lib/typescript/screens/index.d.ts +11 -0
- package/lib/typescript/screens/index.d.ts.map +1 -0
- package/lib/typescript/screens/profile/ChatWidget.d.ts +3 -0
- package/lib/typescript/screens/profile/ChatWidget.d.ts.map +1 -0
- package/lib/typescript/screens/profile/ProfileScreen.d.ts +12 -0
- package/lib/typescript/screens/profile/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/screens/profile/UserData.d.ts +21 -0
- package/lib/typescript/screens/profile/UserData.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/Add.d.ts +4 -0
- package/lib/typescript/screens/team_members/Add.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/Card.d.ts +9 -0
- package/lib/typescript/screens/team_members/Card.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/Checkbox.d.ts +11 -0
- package/lib/typescript/screens/team_members/Checkbox.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/Edit.d.ts +5 -0
- package/lib/typescript/screens/team_members/Edit.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/Email.d.ts +11 -0
- package/lib/typescript/screens/team_members/Email.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/LoadingCard.d.ts +6 -0
- package/lib/typescript/screens/team_members/LoadingCard.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/ProductSelect.d.ts +11 -0
- package/lib/typescript/screens/team_members/ProductSelect.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/RolesRadioGroup.d.ts +14 -0
- package/lib/typescript/screens/team_members/RolesRadioGroup.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/SaveButtons.d.ts +10 -0
- package/lib/typescript/screens/team_members/SaveButtons.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/constants.d.ts +16 -0
- package/lib/typescript/screens/team_members/constants.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/index.d.ts +16 -0
- package/lib/typescript/screens/team_members/index.d.ts.map +1 -0
- package/lib/typescript/screens/team_members/utils.d.ts +20 -0
- package/lib/typescript/screens/team_members/utils.d.ts.map +1 -0
- package/lib/typescript/slices/auth.d.ts +31 -0
- package/lib/typescript/slices/auth.d.ts.map +1 -0
- package/lib/typescript/slices/index.d.ts +6 -0
- package/lib/typescript/slices/index.d.ts.map +1 -0
- package/lib/typescript/store/hooks.d.ts +6 -0
- package/lib/typescript/store/hooks.d.ts.map +1 -0
- package/lib/typescript/store/index.d.ts +18 -0
- package/lib/typescript/store/index.d.ts.map +1 -0
- package/lib/typescript/store/utils.d.ts +8 -0
- package/lib/typescript/store/utils.d.ts.map +1 -0
- package/lib/typescript/utils/apiHelpers.d.ts +5 -0
- package/lib/typescript/utils/apiHelpers.d.ts.map +1 -0
- package/package.json +267 -71
- package/src/api/app_version.ts +24 -0
- package/src/api/auth.ts +68 -0
- package/src/api/global_roles.ts +15 -0
- package/src/api/notifications.ts +66 -0
- package/src/api/organization_roles.ts +17 -0
- package/src/api/profile.ts +17 -0
- package/src/api/team_members.ts +39 -0
- package/src/assets/images/apple-logo.svg +3 -0
- package/src/assets/images/google-logo.svg +6 -0
- package/src/auth/index.ts +2 -0
- package/src/components/AppVersion.ts +154 -0
- package/src/components/BottomSheet.ts +9 -0
- package/src/components/BottomSheetMenu.ts +6 -0
- package/src/components/ConfirmSheet.ts +15 -0
- package/src/components/EmptyView.tsx +40 -0
- package/src/components/Header/BaseHeader.ts +6 -0
- package/src/components/Header/ScreenHeader.ts +6 -0
- package/src/components/Header.tsx +139 -0
- package/src/components/HyperlinkText.tsx +34 -0
- package/src/components/LineLoader.tsx +23 -0
- package/src/components/NotificationIcon.tsx +53 -0
- package/src/components/NotificationPreferenceList.tsx +132 -0
- package/src/components/OfflineScreen.tsx +89 -0
- package/src/components/OrganizationItem.tsx +67 -0
- package/src/components/SocialButton.tsx +78 -0
- package/src/components/TextWithUrl.ts +6 -0
- package/src/components/ToggleSwitch.tsx +89 -0
- package/src/components/WorkspaceSwitcherPane.tsx +113 -0
- package/src/components/constants.ts +16 -0
- package/src/components/index.ts +13 -0
- package/src/config/axios/caseConversion.ts +60 -0
- package/src/config/axios/constants.ts +17 -0
- package/src/config/axios/index.ts +291 -0
- package/src/config/axios/networkErrorHandler.ts +47 -0
- package/src/config/axios/paramsSerializer.ts +9 -0
- package/src/config/axios/types.ts +13 -0
- package/src/config/bugsnag.ts +48 -0
- package/src/config/dayjs.ts +42 -0
- package/src/config/googleSignin.ts +36 -0
- package/src/config/index.ts +11 -0
- package/src/config/validations.ts +15 -0
- package/src/constants/index.ts +9 -0
- package/src/contexts/index.ts +4 -0
- package/src/contexts/localization.tsx +183 -0
- package/src/helpers/asyncStore.ts +39 -0
- package/src/helpers/index.ts +1 -0
- package/src/helpers/keychain.ts +46 -0
- package/src/helpers/notifications/apnsToken.ts +69 -0
- package/src/helpers/notifications/constants.ts +34 -0
- package/src/helpers/notifications/getDeviceToken.ts +17 -0
- package/src/helpers/notifications/index.ts +3 -0
- package/src/helpers/notifications/registerBackgroundHandlers.ts +62 -0
- package/src/helpers/notifications/types.ts +27 -0
- package/src/helpers/notifications/usePushNotification.ts +208 -0
- package/src/helpers/scale.ts +4 -0
- package/src/helpers/utils.ts +68 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/query/queryKeys.ts +8 -0
- package/src/hooks/query/useAppVersionApi.ts +12 -0
- package/src/hooks/query/useAuth.ts +253 -0
- package/src/hooks/query/useNotification.ts +130 -0
- package/src/hooks/query/useProfile.ts +21 -0
- package/src/hooks/query/useRolesApi.ts +25 -0
- package/src/hooks/query/useTeamMembersApi.ts +109 -0
- package/src/hooks/useAppState.ts +16 -0
- package/src/hooks/usePushNotificationPermissions.ts +111 -0
- package/src/index.ts +8 -0
- package/src/initializers/index.ts +3 -0
- package/src/initializers/logRocket.ts +25 -0
- package/src/localization/i18n.ts +19 -0
- package/src/localization/index.ts +14 -0
- package/src/navigation/navigationService.ts +37 -0
- package/src/navigation/screenNames.ts +11 -0
- package/src/navigation/stacks.tsx +30 -0
- package/src/navigation/types.ts +19 -0
- package/src/providers/NeetoCommonsRNProvider.tsx +77 -0
- package/src/providers/index.ts +1 -0
- package/src/screens/NotificationsScreen.tsx +290 -0
- package/src/screens/authentication/AuthOptions.tsx +254 -0
- package/src/screens/authentication/IncompleteOnboardingInfo.tsx +110 -0
- package/src/screens/authentication/LoginScreen.tsx +170 -0
- package/src/screens/authentication/OTPVerificationScreen.tsx +235 -0
- package/src/screens/authentication/Organization.tsx +102 -0
- package/src/screens/authentication/SubDomainScreen.tsx +176 -0
- package/src/screens/authentication/constants.ts +30 -0
- package/src/screens/index.ts +10 -0
- package/src/screens/profile/ChatWidget.tsx +8 -0
- package/src/screens/profile/ProfileScreen.tsx +251 -0
- package/src/screens/profile/UserData.tsx +92 -0
- package/src/screens/team_members/Add.tsx +248 -0
- package/src/screens/team_members/Card.tsx +124 -0
- package/src/screens/team_members/Checkbox.tsx +88 -0
- package/src/screens/team_members/Edit.tsx +171 -0
- package/src/screens/team_members/Email.tsx +59 -0
- package/src/screens/team_members/LoadingCard.tsx +75 -0
- package/src/screens/team_members/ProductSelect.tsx +218 -0
- package/src/screens/team_members/RolesRadioGroup.tsx +135 -0
- package/src/screens/team_members/SaveButtons.tsx +62 -0
- package/src/screens/team_members/constants.ts +33 -0
- package/src/screens/team_members/index.tsx +223 -0
- package/src/screens/team_members/utils.ts +84 -0
- package/src/slices/auth.ts +86 -0
- package/src/slices/index.ts +7 -0
- package/src/store/hooks.ts +8 -0
- package/src/store/index.ts +47 -0
- package/src/store/utils.ts +36 -0
- package/src/utils/apiHelpers.ts +7 -0
- package/types/assets.d.ts +38 -0
- package/types/neeto-icons-rn.d.ts +548 -0
- package/api/app_version.js +0 -1
- package/api/auth.js +0 -1
- package/api/global_roles.js +0 -1
- package/api/notifications.js +0 -1
- package/api/organization_roles.js +0 -1
- package/api/profile.js +0 -1
- package/api/team_members.js +0 -1
- package/auth/index.d.ts +0 -9
- package/auth/index.js +0 -1
- package/components/AppVersion.js +0 -1
- package/components/BottomSheet.js +0 -1
- package/components/BottomSheetMenu.js +0 -1
- package/components/ConfirmSheet.js +0 -1
- package/components/EmptyView.js +0 -1
- package/components/Header/BaseHeader.js +0 -1
- package/components/Header/ScreenHeader.js +0 -1
- package/components/Header.js +0 -1
- package/components/HyperlinkText.js +0 -1
- package/components/LineLoader.js +0 -1
- package/components/NotificationIcon.js +0 -1
- package/components/OfflineScreen.js +0 -1
- package/components/TextWithUrl.js +0 -1
- package/components/WorkspaceSwitcherPane.js +0 -1
- package/components/constants.js +0 -1
- package/components/index.js +0 -1
- package/config/axios/caseConversion.js +0 -1
- package/config/axios/constants.js +0 -1
- package/config/axios/index.js +0 -1
- package/config/axios/networkErrorHandler.js +0 -1
- package/config/axios/paramsSerializer.js +0 -1
- package/config/bugsnag.js +0 -1
- package/config/dayjs.js +0 -1
- package/config/googleSignin.js +0 -1
- package/config/index.js +0 -1
- package/config/validations.js +0 -1
- package/constants/index.d.ts +0 -5
- package/constants/index.js +0 -1
- package/contexts/index.js +0 -0
- package/contexts/localization.js +0 -1
- package/helpers/asyncStore.js +0 -1
- package/helpers/index.d.ts +0 -13
- package/helpers/index.js +0 -1
- package/helpers/keychain.d.ts +0 -4
- package/helpers/keychain.js +0 -1
- package/helpers/notifications/index.d.ts +0 -8
- package/helpers/notifications/index.js +0 -1
- package/helpers/notifications/usePushNotification.js +0 -1
- package/helpers/scale.js +0 -1
- package/helpers/utils.js +0 -1
- package/hooks/index.d.ts +0 -11
- package/hooks/index.js +0 -1
- package/hooks/query/constants.js +0 -1
- package/hooks/query/queryKeys.js +0 -1
- package/hooks/query/useAppVersionApi.js +0 -1
- package/hooks/query/useAuth.js +0 -1
- package/hooks/query/useNotification.js +0 -1
- package/hooks/query/useProfile.js +0 -1
- package/hooks/query/useRolesApi.js +0 -1
- package/hooks/query/useTeamMembersApi.js +0 -1
- package/hooks/useAppState.js +0 -1
- package/hooks/usePushNotificationPermissions.js +0 -1
- package/initializers/index.js +0 -1
- package/initializers/logRocket.js +0 -1
- package/localization/index.js +0 -1
- package/localization/translations/it.json +0 -13
- package/navigation/navigationService.js +0 -1
- package/navigation/screenNames.js +0 -1
- package/navigation/stacks.js +0 -1
- package/providers/NeetoCommonsRNProvider.js +0 -1
- package/providers/index.d.ts +0 -16
- package/providers/index.js +0 -1
- package/screens/NotificationsScreen.js +0 -1
- package/screens/authentication/AuthOptions.js +0 -1
- package/screens/authentication/IncompleteOnboardingInfo.js +0 -1
- package/screens/authentication/LoginScreen.js +0 -1
- package/screens/authentication/OTPVerificationScreen.js +0 -1
- package/screens/authentication/Organization.js +0 -1
- package/screens/authentication/SubDomainScreen.js +0 -1
- package/screens/authentication/constants.js +0 -1
- package/screens/index.js +0 -1
- package/screens/profile/ChatWidget.js +0 -1
- package/screens/profile/ProfileScreen.js +0 -1
- package/screens/profile/UserData.js +0 -1
- package/screens/team_members/Add.js +0 -1
- package/screens/team_members/Card.js +0 -1
- package/screens/team_members/Checkbox.js +0 -1
- package/screens/team_members/Edit.js +0 -1
- package/screens/team_members/Email.js +0 -1
- package/screens/team_members/LoadingCard.js +0 -1
- package/screens/team_members/ProductSelect.js +0 -1
- package/screens/team_members/RolesRadioGroup.js +0 -1
- package/screens/team_members/SaveButtons.js +0 -1
- package/screens/team_members/constants.js +0 -1
- package/screens/team_members/index.js +0 -1
- package/screens/team_members/utils.js +0 -1
- package/slices/auth.js +0 -1
- package/slices/index.js +0 -1
- package/store/index.d.ts +0 -7
- package/store/index.js +0 -1
- package/store/utils.js +0 -1
- package/utils/apiHelpers.js +0 -1
- /package/{assets → src/assets}/images/empty.svg +0 -0
- /package/{assets → src/assets}/images/wifi.png +0 -0
- /package/{localization → src/localization}/translations/en.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const setSecureValue: (key: string, value: string) => Promise<false | null>;
|
|
2
|
+
export declare const getSecureValue: (key: string) => Promise<string | false>;
|
|
3
|
+
export declare const removeSecureValue: (key: string) => Promise<false | null>;
|
|
4
|
+
//# sourceMappingURL=keychain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keychain.d.ts","sourceRoot":"","sources":["../../../src/helpers/keychain.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,GAAU,KAAK,MAAM,EAAE,OAAO,MAAM,0BAS9D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,KAAK,MAAM,4BAkB/C,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,KAAK,MAAM,0BASlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apnsToken.d.ts","sourceRoot":"","sources":["../../../../src/helpers/notifications/apnsToken.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,YAAY,QAAO,OAAO,CAAC,MAAM,GAAG,IAAI,CAoDpD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type AndroidChannel } from "react-native-notify-kit";
|
|
2
|
+
export declare const NOTIFICATION_CHANNELS: AndroidChannel[];
|
|
3
|
+
export declare const NOTIFICATION_CHANNEL_IDS: string[];
|
|
4
|
+
export declare const DEVICE_TOKEN_TIMEOUT_MS = 10000;
|
|
5
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/helpers/notifications/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,qBAAqB,EAAE,cAAc,EAkBjD,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAEpC,CAAC;AAIF,eAAO,MAAM,uBAAuB,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDeviceToken.d.ts","sourceRoot":"","sources":["../../../../src/helpers/notifications/getDeviceToken.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,cAAc,QAAO,OAAO,CAAC,MAAM,GAAG,IAAI,CAMtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/helpers/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registerBackgroundHandlers.d.ts","sourceRoot":"","sources":["../../../../src/helpers/notifications/registerBackgroundHandlers.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAOxD,eAAO,MAAM,0BAA0B,GACrC,sBAAsB,wBAAwB,SA+C/C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface NotificationData {
|
|
2
|
+
url?: string;
|
|
3
|
+
notification_id?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface PressedNotification {
|
|
9
|
+
data?: NotificationData;
|
|
10
|
+
notification?: {
|
|
11
|
+
data?: NotificationData;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export type NotificationPressHandler = (notification?: PressedNotification) => void;
|
|
15
|
+
export interface NeetoAPNSTokenModule {
|
|
16
|
+
getToken: () => Promise<string | null>;
|
|
17
|
+
registerForRemoteNotifications: () => void;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/helpers/notifications/types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAID,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,YAAY,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,gBAAgB,CAAA;KAAE,CAAC;CAC5C;AAED,MAAM,MAAM,wBAAwB,GAAG,CACrC,YAAY,CAAC,EAAE,mBAAmB,KAC/B,IAAI,CAAC;AAIV,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACvC,8BAA8B,EAAE,MAAM,IAAI,CAAC;CAC5C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type NotificationPressHandler } from "./types";
|
|
2
|
+
interface PushNotificationOptions {
|
|
3
|
+
handleClick: NotificationPressHandler;
|
|
4
|
+
}
|
|
5
|
+
export declare const usePushNotification: (isLoggedIn: boolean, { handleClick }?: PushNotificationOptions) => never[];
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=usePushNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePushNotification.d.ts","sourceRoot":"","sources":["../../../../src/helpers/notifications/usePushNotification.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,SAAS,CAAC;AAWjB,UAAU,uBAAuB;IAC/B,WAAW,EAAE,wBAAwB,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB,GAC9B,YAAY,OAAO,EACnB,kBAAiB,uBAAmD,YAiLrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scale.d.ts","sourceRoot":"","sources":["../../../src/helpers/scale.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,SAAS,MAAM,WACd,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const toTitleCase: (str: string) => string;
|
|
2
|
+
export declare const openDeepLinkingUrl: (url?: string | null) => Promise<void>;
|
|
3
|
+
export declare const debounce: <TArgs extends unknown[]>(func: (...args: TArgs) => void, delay?: number) => (...args: TArgs) => void;
|
|
4
|
+
export declare const hasPermission: (allPermissions?: string[], requiredPermissions?: string | string[]) => boolean;
|
|
5
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/helpers/utils.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,WACyB,CAAC;AAEjE,eAAO,MAAM,kBAAkB,GAAU,MAAM,MAAM,GAAG,IAAI,kBAyB3D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,KAAK,SAAS,OAAO,EAAE,EAC9C,MAAM,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,IAAI,EAC9B,cAAW,MAIH,GAAG,MAAM,KAAK,SASvB,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,iBAAgB,MAAM,EAAO,EAC7B,sBAAsB,MAAM,GAAG,MAAM,EAAE,YASxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const queryKeys: {
|
|
2
|
+
readonly APP_VERSION: "APP_VERSION";
|
|
3
|
+
readonly PROFILE: "PROFILE";
|
|
4
|
+
readonly NOTIFICATIONS: "NOTIFICATIONS";
|
|
5
|
+
readonly TEAM_MEMBERS: "TEAM_MEMBERS";
|
|
6
|
+
readonly ROLES: "ROLES";
|
|
7
|
+
readonly GLOBAL_ROLES: "GLOBAL_ROLES";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=queryKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryKeys.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query/queryKeys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAppVersionApi.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query/useAppVersionApi.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,qBAAqB,sHAK9B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type AxiosError } from "axios";
|
|
2
|
+
import { type ApiErrorData } from "../../config/axios";
|
|
3
|
+
import { type Organization } from "../../slices/auth";
|
|
4
|
+
export declare const useAuth: () => {
|
|
5
|
+
selectOrganization: ({ organization, }: {
|
|
6
|
+
organization: Organization;
|
|
7
|
+
}) => Promise<void>;
|
|
8
|
+
useGenerateOTPMutation: () => import("@tanstack/react-query").UseMutationResult<string, AxiosError<ApiErrorData, any, any>, {
|
|
9
|
+
email: string;
|
|
10
|
+
showCodeSentToast?: boolean;
|
|
11
|
+
}, unknown>;
|
|
12
|
+
useVerifyOTPMutation: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<import("../../api/auth").OrganizationsResponse, any, {}, any>, AxiosError<ApiErrorData, any, any>, {
|
|
13
|
+
code: string;
|
|
14
|
+
userId: string;
|
|
15
|
+
}, unknown>;
|
|
16
|
+
useLoginViaGoogleMutation: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<import("../../api/auth").OrganizationsResponse, any, {}, any>, Error, {
|
|
17
|
+
serverAuthCode: string;
|
|
18
|
+
}, unknown>;
|
|
19
|
+
useLoginViaAppleMutation: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<import("../../api/auth").OrganizationsResponse, any, {}, any>, Error, {
|
|
20
|
+
authorizationCode: string;
|
|
21
|
+
identityToken: string;
|
|
22
|
+
}, unknown>;
|
|
23
|
+
useSelectOrganizationMutation: () => import("@tanstack/react-query").UseMutationResult<void, Error, {
|
|
24
|
+
organization: Organization;
|
|
25
|
+
}, unknown>;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=useAuth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query/useAuth.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAUxC,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,oBAAoB,CAAC;AASxE,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,OAAO;4CAQf;QACD,YAAY,EAAE,YAAY,CAAC;KAC5B;;eAyIc,MAAM;4BAAsB,OAAO;;;cA1E1C,MAAM;gBACJ,MAAM;;;wBAqGyC,MAAM;;;2BAapC,MAAM;uBACV,MAAM;;;sBAYP,YAAY;;CAoBnC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const useNotification: () => {
|
|
2
|
+
useRegisterTokenMutation: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, import("../../api/notifications").RegisterDevicePayload, {}, any>, Error, import("../../api/notifications").RegisterDevicePayload, unknown>;
|
|
3
|
+
useFetchNotifications: () => import("@tanstack/react-query").UseInfiniteQueryResult<{
|
|
4
|
+
unreadNotifications: number;
|
|
5
|
+
totalNotifications: number;
|
|
6
|
+
notifications: import("../../api/notifications").NotificationItem[];
|
|
7
|
+
}, Error>;
|
|
8
|
+
useMarkReadUnreadNotification: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, {
|
|
9
|
+
notification: {
|
|
10
|
+
read_at: string | null;
|
|
11
|
+
};
|
|
12
|
+
}, {}, any>, Error, {
|
|
13
|
+
notificationId: string;
|
|
14
|
+
readAt: string | null;
|
|
15
|
+
}, unknown>;
|
|
16
|
+
useDeleteTokenMutation: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, any, {}, any>, Error, string, unknown>;
|
|
17
|
+
useMarkAllReadNotification: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, any, {}, any>, Error, void, unknown>;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=useNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotification.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query/useNotification.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,eAAe;;;;;;;;;;;;wBAsEF,MAAM;gBACd,MAAM,GAAG,IAAI;;;;CAiC9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const useFetchProfileDetails: (options?: {}) => import("@tanstack/react-query").UseQueryResult<NoInfer<{
|
|
2
|
+
permissionNames: string[];
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
profile_image_url?: string | null;
|
|
7
|
+
permissions?: import("../../api/profile").Permission[];
|
|
8
|
+
}>, Error>;
|
|
9
|
+
//# sourceMappingURL=useProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useProfile.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query/useProfile.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,sBAAsB,GAAI,YAAY;;;;;;;UAalD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const useFetchRoles: (options?: {}) => import("@tanstack/react-query").UseQueryResult<NoInfer<import("../../api/organization_roles").OrganizationRole[]>, Error>;
|
|
2
|
+
declare const useFetchGlobalRoles: (options?: {}) => import("@tanstack/react-query").UseQueryResult<NoInfer<Partial<Record<string, import("../../api/global_roles").GlobalRole[]>>>, Error>;
|
|
3
|
+
export { useFetchRoles, useFetchGlobalRoles };
|
|
4
|
+
//# sourceMappingURL=useRolesApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRolesApi.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query/useRolesApi.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,aAAa,GAAI,YAAY,8HAM/B,CAAC;AAEL,QAAA,MAAM,mBAAmB,GAAI,YAAY,2IAMrC,CAAC;AAEL,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const useFetchTeamMembers: (searchTerm?: string) => import("@tanstack/react-query").UseInfiniteQueryResult<import("../../api/team_members").TeamMember[], Error>;
|
|
2
|
+
interface MutationCallbacks {
|
|
3
|
+
onSuccess?: () => void;
|
|
4
|
+
}
|
|
5
|
+
type TeamMemberPayload = Record<string, unknown>;
|
|
6
|
+
declare const useCreateMember: ({ onSuccess }: MutationCallbacks) => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, {
|
|
7
|
+
user: Record<string, unknown>;
|
|
8
|
+
}, {}, any>, Error, {
|
|
9
|
+
payload: TeamMemberPayload;
|
|
10
|
+
}, unknown>;
|
|
11
|
+
declare const useUpdateTeamMember: ({ onSuccess }: MutationCallbacks) => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, {
|
|
12
|
+
team: Record<string, unknown>;
|
|
13
|
+
}, {}, any>, Error, {
|
|
14
|
+
id: string;
|
|
15
|
+
payload: TeamMemberPayload;
|
|
16
|
+
}, unknown>;
|
|
17
|
+
declare const useRemoveTeamMember: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, {
|
|
18
|
+
team: Record<string, unknown>;
|
|
19
|
+
}, {}, any>, Error, {
|
|
20
|
+
id: string;
|
|
21
|
+
}, unknown>;
|
|
22
|
+
export { useFetchTeamMembers, useCreateMember, useUpdateTeamMember, useRemoveTeamMember, };
|
|
23
|
+
//# sourceMappingURL=useTeamMembersApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTeamMembersApi.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query/useTeamMembersApi.ts"],"names":[],"mappings":"AA0BA,QAAA,MAAM,mBAAmB,GAAI,mBAAe,iHA0BxC,CAAC;AAEL,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,KAAK,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEjD,QAAA,MAAM,eAAe,GAAI,eAAe,iBAAiB;;;aAIhB,iBAAiB;WAOzD,CAAC;AAEF,QAAA,MAAM,mBAAmB,GAAI,eAAe,iBAAiB;;;QAIrB,MAAM;aAAW,iBAAiB;WAOzE,CAAC;AAEF,QAAA,MAAM,mBAAmB;;;QAMM,MAAM;WASpC,CAAC;AAEF,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,mBAAmB,GACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAppState.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAppState.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,sEAYvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePushNotificationPermissions.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePushNotificationPermissions.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,8BAA8B,iBAgG1C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./components";
|
|
2
|
+
export * from "./store";
|
|
3
|
+
export * from "./hooks";
|
|
4
|
+
export * from "./constants";
|
|
5
|
+
export * from "./screens";
|
|
6
|
+
export * from "./slices";
|
|
7
|
+
export * from "./contexts";
|
|
8
|
+
export * from "./initializers";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/initializers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logRocket.d.ts","sourceRoot":"","sources":["../../../src/initializers/logRocket.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,YAmBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/localization/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAK7D,QAAA,MAAM,IAAI,EAAE,YAAuC,CAAC;AAapD,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/localization/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAIxC,MAAM,MAAM,cAAc,GAAG,OAAO,EAAE,CAAC;AAEvC,QAAA,MAAM,OAAO,EAAE;IAAE,EAAE,EAAE,cAAc,CAAA;CAAE,GAAG,MAAM,CAC5C,MAAM,EACN,OAAO,CAAC,cAAc,CAAC,CAGxB,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type NavigationContainerRef } from "@react-navigation/native";
|
|
3
|
+
type AnyParamList = Record<string, object | undefined>;
|
|
4
|
+
type NavigationRef = React.RefObject<NavigationContainerRef<AnyParamList> | null>;
|
|
5
|
+
interface ResetRoute {
|
|
6
|
+
name: string;
|
|
7
|
+
params?: object;
|
|
8
|
+
}
|
|
9
|
+
export declare const navigationRef: NavigationRef;
|
|
10
|
+
export declare const setHostNavigationRef: (ref?: NavigationRef | null) => void;
|
|
11
|
+
export declare function navigate(name: string, params?: object): void;
|
|
12
|
+
export declare function reset(routes: ResetRoute | ResetRoute[]): void;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=navigationService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigationService.d.ts","sourceRoot":"","sources":["../../../src/navigation/navigationService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIvE,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEvD,KAAK,aAAa,GAChB,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC;AAE/D,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa,EAAE,aAC6B,CAAC;AAM1D,eAAO,MAAM,oBAAoB,GAAI,MAAM,aAAa,GAAG,IAAI,SAE9D,CAAC;AAEF,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,QAErD;AAED,wBAAgB,KAAK,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE,QAKtD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const SCREEN_NAMES: {
|
|
2
|
+
readonly Login: "Login";
|
|
3
|
+
readonly OTPVerification: "OTPVerification";
|
|
4
|
+
readonly SubDomain: "SubDomain";
|
|
5
|
+
readonly UnBoarded: "UnBoarded";
|
|
6
|
+
readonly ChatWidget: "ChatWidget";
|
|
7
|
+
readonly AddTeamMemberScreen: "AddTeamMemberScreen";
|
|
8
|
+
readonly EditTeamMemberScreen: "EditTeamMemberScreen";
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=screenNames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screenNames.d.ts","sourceRoot":"","sources":["../../../src/navigation/screenNames.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;CAQf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stacks.d.ts","sourceRoot":"","sources":["../../../src/navigation/stacks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,eAAO,MAAM,SAAS,yBAarB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type NativeStackScreenProps } from "@react-navigation/native-stack";
|
|
2
|
+
import { type TeamMember } from "../api/team_members";
|
|
3
|
+
import { type Organization } from "../slices/auth";
|
|
4
|
+
export type CommonsParamList = {
|
|
5
|
+
Login: undefined;
|
|
6
|
+
OTPVerification: {
|
|
7
|
+
email: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
};
|
|
10
|
+
SubDomain: {
|
|
11
|
+
organizations: Organization[];
|
|
12
|
+
};
|
|
13
|
+
UnBoarded: {
|
|
14
|
+
name: string;
|
|
15
|
+
subdomain: string;
|
|
16
|
+
};
|
|
17
|
+
ChatWidget: undefined;
|
|
18
|
+
AddTeamMemberScreen: undefined;
|
|
19
|
+
EditTeamMemberScreen: {
|
|
20
|
+
member: TeamMember;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type CommonsScreenProps<T extends keyof CommonsParamList> = NativeStackScreenProps<CommonsParamList, T>;
|
|
24
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/navigation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,SAAS,EAAE;QAAE,aAAa,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;IAC7C,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/C,UAAU,EAAE,SAAS,CAAC;IACtB,mBAAmB,EAAE,SAAS,CAAC;IAC/B,oBAAoB,EAAE;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,gBAAgB,IAC7D,sBAAsB,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
import { type NavigationContainerRef } from "@react-navigation/native";
|
|
3
|
+
import { type Reducer } from "redux";
|
|
4
|
+
import { type HostStrings } from "../contexts/localization";
|
|
5
|
+
export interface NeetoCommonsRNProviderProps {
|
|
6
|
+
appName: string;
|
|
7
|
+
hostNavigationRef?: React.RefObject<NavigationContainerRef<Record<string, object | undefined>> | null>;
|
|
8
|
+
hostStrings?: HostStrings;
|
|
9
|
+
hostRootReducer: Record<string, Reducer>;
|
|
10
|
+
blacklistedReducers?: string[];
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const NeetoCommonsRNProvider: ({ appName, hostNavigationRef, hostStrings, hostRootReducer, blacklistedReducers, children, }: NeetoCommonsRNProviderProps) => React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=NeetoCommonsRNProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NeetoCommonsRNProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/NeetoCommonsRNProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAIZ,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AAIrC,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,0BAA0B,CAAC;AAWlC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CACxD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CACnC,GAAG,IAAI,CAAC,CAAC;IACV,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,sBAAsB,GAAI,8FAOpC,2BAA2B,sBA+B7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { type ComponentType } from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import { type NotificationItem } from "../api/notifications";
|
|
4
|
+
export interface NotificationsScreenProps {
|
|
5
|
+
CustomNotificationContent?: ComponentType<{
|
|
6
|
+
notification: NotificationItem;
|
|
7
|
+
}> | null;
|
|
8
|
+
itemStyles?: StyleProp<ViewStyle>;
|
|
9
|
+
}
|
|
10
|
+
export declare const NotificationsScreen: ({ CustomNotificationContent, itemStyles, }: NotificationsScreenProps) => React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=NotificationsScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/NotificationsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAW,KAAK,aAAa,EAAqB,MAAM,OAAO,CAAC;AAC9E,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAatB,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAiG7D,MAAM,WAAW,wBAAwB;IACvC,yBAAyB,CAAC,EAAE,aAAa,CAAC;QACxC,YAAY,EAAE,gBAAgB,CAAC;KAChC,CAAC,GAAG,IAAI,CAAC;IACV,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,mBAAmB,GAAI,4CAGjC,wBAAwB,sBAkH1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface AuthOptionsProps {
|
|
3
|
+
handleSubmit: () => void;
|
|
4
|
+
buttonLoading?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const AuthOptions: ({ handleSubmit, buttonLoading, }: AuthOptionsProps) => React.JSX.Element;
|
|
7
|
+
//# sourceMappingURL=AuthOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthOptions.d.ts","sourceRoot":"","sources":["../../../../src/screens/authentication/AuthOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiC1B,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,WAAW,GAAI,kCAGzB,gBAAgB,sBAiMlB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type CommonsScreenProps } from "../../navigation/types";
|
|
3
|
+
export declare const IncompleteOnboardingInfo: ({ navigation, route, }: CommonsScreenProps<"UnBoarded">) => React.JSX.Element;
|
|
4
|
+
//# sourceMappingURL=IncompleteOnboardingInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncompleteOnboardingInfo.d.ts","sourceRoot":"","sources":["../../../../src/screens/authentication/IncompleteOnboardingInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAgB3C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,wBAAwB,GAAI,wBAGtC,kBAAkB,CAAC,WAAW,CAAC,sBAkEjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/authentication/LoginScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AA2DzC,eAAO,MAAM,WAAW,yBA8GvB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type CommonsScreenProps } from "../../navigation/types";
|
|
3
|
+
export declare const OTPVerificationScreen: ({ navigation, route: { params }, }: CommonsScreenProps<"OTPVerification">) => React.JSX.Element;
|
|
4
|
+
//# sourceMappingURL=OTPVerificationScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OTPVerificationScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/authentication/OTPVerificationScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAkBxE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAMjE,eAAO,MAAM,qBAAqB,GAAI,oCAGnC,kBAAkB,CAAC,iBAAiB,CAAC,sBAuKvC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type Organization as OrganizationEntity } from "../../slices/auth";
|
|
3
|
+
export interface OrganizationProps {
|
|
4
|
+
organization: OrganizationEntity;
|
|
5
|
+
onOrganizationSelect: (args: {
|
|
6
|
+
organization: OrganizationEntity;
|
|
7
|
+
}) => void;
|
|
8
|
+
isSidePane?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const Organization: ({ organization, onOrganizationSelect, isSidePane, }: OrganizationProps) => React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=Organization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Organization.d.ts","sourceRoot":"","sources":["../../../../src/screens/authentication/Organization.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAE,KAAK,YAAY,IAAI,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5E,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,kBAAkB,CAAC;IACjC,oBAAoB,EAAE,CAAC,IAAI,EAAE;QAAE,YAAY,EAAE,kBAAkB,CAAA;KAAE,KAAK,IAAI,CAAC;IAC3E,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,GAAI,qDAI1B,iBAAiB,sBAgDnB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type CommonsScreenProps } from "../../navigation/types";
|
|
3
|
+
export declare const SubDomainScreen: ({ navigation, route: { params: { organizations }, }, }: CommonsScreenProps<"SubDomain">) => React.JSX.Element;
|
|
4
|
+
//# sourceMappingURL=SubDomainScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubDomainScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/authentication/SubDomainScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAoBrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGjE,eAAO,MAAM,eAAe,GAAI,wDAK7B,kBAAkB,CAAC,WAAW,CAAC,sBA8GjC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const MAX_RETRY_ATTEMPTS = 3;
|
|
2
|
+
export declare const GOOGLE_LOGIN_ERRORS: {
|
|
3
|
+
IN_PROGRESS: string;
|
|
4
|
+
PLAY_SERVICES_NOT_AVAILABLE: string;
|
|
5
|
+
SIGN_IN_CANCELLED: string;
|
|
6
|
+
SIGN_IN_REQUIRED: string;
|
|
7
|
+
INVALID_ACCOUNT: string;
|
|
8
|
+
RESOLUTION_REQUIRED: string;
|
|
9
|
+
NETWORK_ERROR: string;
|
|
10
|
+
INTERNAL_ERROR: string;
|
|
11
|
+
DEVELOPER_ERROR: string;
|
|
12
|
+
INTERRUPTED: string;
|
|
13
|
+
TIMEOUT: string;
|
|
14
|
+
API_NOT_CONNECTED: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const RETRYABLE_ERROR_CODES: string[];
|
|
17
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/screens/authentication/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;CAkB/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,UAKjC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { LoginScreen } from "./authentication/LoginScreen";
|
|
2
|
+
export { OTPVerificationScreen } from "./authentication/OTPVerificationScreen";
|
|
3
|
+
export { SubDomainScreen } from "./authentication/SubDomainScreen";
|
|
4
|
+
export { IncompleteOnboardingInfo } from "./authentication/IncompleteOnboardingInfo";
|
|
5
|
+
export { ProfileScreen } from "./profile/ProfileScreen";
|
|
6
|
+
export { NotificationsScreen } from "./NotificationsScreen";
|
|
7
|
+
export { ChatWidget } from "./profile/ChatWidget";
|
|
8
|
+
export { default as TeamMembersScreen } from "./team_members";
|
|
9
|
+
export { default as AddTeamMemberScreen } from "./team_members/Add";
|
|
10
|
+
export { default as EditTeamMemberScreen } from "./team_members/Edit";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatWidget.d.ts","sourceRoot":"","sources":["../../../../src/screens/profile/ChatWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,UAAU,yBAEtB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
import { type NotificationPreference } from "../../components/NotificationPreferenceList";
|
|
3
|
+
export interface ProfileScreenProps {
|
|
4
|
+
canGoBack?: boolean;
|
|
5
|
+
notificationPreferencesData?: NotificationPreference[];
|
|
6
|
+
hasNotificationPermission?: boolean;
|
|
7
|
+
isNotificationPreferencesUpdating?: boolean;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
openChatWidget?: (() => void) | null;
|
|
10
|
+
}
|
|
11
|
+
export declare const ProfileScreen: ({ canGoBack, notificationPreferencesData, hasNotificationPermission, isNotificationPreferencesUpdating, children, openChatWidget, }: ProfileScreenProps) => React.JSX.Element;
|
|
12
|
+
//# sourceMappingURL=ProfileScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/profile/ProfileScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAqB9C,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,6CAA6C,CAAC;AAWrD,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2BAA2B,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACvD,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,aAAa,GAAI,qIAO3B,kBAAkB,sBA0IpB,CAAC"}
|