@bigbinary/neeto-commons-rn 1.8.5 → 2.0.3
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 +84 -17
- package/eslint-config/rules/no-dangling-constants.js +1 -1
- 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 -70
- 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
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# neeto-commons-rn
|
|
2
|
+
|
|
3
|
+
This project is a React Native boilerplate that can be used to kickstart a
|
|
4
|
+
mobile application.
|
|
5
|
+
|
|
6
|
+
## Development Setup
|
|
7
|
+
|
|
8
|
+
1. Configure your machine for React Native development by following the
|
|
9
|
+
[official documentation](https://reactnative.dev/docs/environment-setup).
|
|
10
|
+
|
|
11
|
+
2. Clone the repo.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
git clone https://github.com/bigbinary/neeto-commons-rn.git
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
3. Navigate to the project directory.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
cd 'project-name'
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
4. Install project dependencies.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
yarn
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
5. Install iOS dependencies.
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx pod-install
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Running the app
|
|
36
|
+
|
|
37
|
+
1. To run the Android or iOS version of the app.
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
yarn <platform>:<environment>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
| param | values |
|
|
44
|
+
| ------------- | ------------------------ |
|
|
45
|
+
| `platform` | `ios`, `android` |
|
|
46
|
+
| `environment` | `dev`, `staging`, `prod` |
|
|
47
|
+
|
|
48
|
+
2. To run Android release build with the corresponding configuration,
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
yarn android:<environment>-release
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
> Execute `yarn run` command to get a list of all available scripts.
|
|
55
|
+
|
|
56
|
+
## Documentation
|
|
57
|
+
|
|
58
|
+
The project includes detailed documentation on various aspects of the
|
|
59
|
+
application:
|
|
60
|
+
|
|
61
|
+
- [Android Notifications](./docs/android-notifications.md) - Comprehensive guide
|
|
62
|
+
to the notification system for Android, including handling for Android 13+
|
|
63
|
+
permission requirements.
|
|
64
|
+
|
package/eslint-config/index.js
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
//
|
|
8
8
|
// module.exports = neetoRNConfig({ aliases });
|
|
9
9
|
//
|
|
10
|
+
// Apps with TypeScript sources pass `typescript: true` and add the
|
|
11
|
+
// `typescript-eslint` package as a devDependency; without the flag nothing
|
|
12
|
+
// TypeScript-related is required or loaded.
|
|
13
|
+
//
|
|
10
14
|
// The plugins are resolved from the consuming app's node_modules — install
|
|
11
15
|
// the packages listed under peerDependencies (lint group) as devDependencies.
|
|
12
16
|
const babelParser = require("@babel/eslint-parser");
|
|
@@ -38,14 +42,60 @@ const DEFAULT_IGNORES = [
|
|
|
38
42
|
"**/*.json",
|
|
39
43
|
];
|
|
40
44
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
// TypeScript sources reuse every shared rule. Only the parser, the unused-vars
|
|
46
|
+
// implementation, and the checks the compiler already performs differ.
|
|
47
|
+
const typescriptBlock = (javascript, aliases) => {
|
|
48
|
+
const tseslint = require("typescript-eslint");
|
|
49
|
+
|
|
50
|
+
return {
|
|
51
|
+
...javascript,
|
|
52
|
+
files: ["**/*.{ts,tsx}"],
|
|
53
|
+
languageOptions: {
|
|
54
|
+
...javascript.languageOptions,
|
|
55
|
+
parser: tseslint.parser,
|
|
56
|
+
},
|
|
57
|
+
plugins: {
|
|
58
|
+
...javascript.plugins,
|
|
59
|
+
"@typescript-eslint": tseslint.plugin,
|
|
60
|
+
},
|
|
61
|
+
settings: {
|
|
62
|
+
...javascript.settings,
|
|
63
|
+
"import/resolver": {
|
|
64
|
+
"babel-module": {
|
|
65
|
+
root: ["."],
|
|
66
|
+
alias: aliases,
|
|
67
|
+
extensions: [".ts", ".tsx", ".js", ".jsx"],
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
rules: {
|
|
72
|
+
...javascript.rules,
|
|
73
|
+
// The compiler resolves globals and reports unused bindings with an
|
|
74
|
+
// understanding of type-only syntax that these rules lack.
|
|
75
|
+
"no-undef": "off",
|
|
76
|
+
"no-unused-vars": "off",
|
|
77
|
+
"@typescript-eslint/no-unused-vars": [
|
|
78
|
+
"error",
|
|
79
|
+
{
|
|
80
|
+
args: "all",
|
|
81
|
+
argsIgnorePattern: "^_",
|
|
82
|
+
destructuredArrayIgnorePattern: "^_",
|
|
83
|
+
caughtErrors: "all",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
"@typescript-eslint/consistent-type-imports": [
|
|
87
|
+
"error",
|
|
88
|
+
{ fixStyle: "inline-type-imports" },
|
|
89
|
+
],
|
|
90
|
+
"@typescript-eslint/array-type": ["error", { default: "array-simple" }],
|
|
91
|
+
"@typescript-eslint/no-non-null-assertion": "error",
|
|
92
|
+
"@typescript-eslint/no-explicit-any": "warn",
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
module.exports = ({ aliases = {}, ignores = [], typescript = false } = {}) => {
|
|
98
|
+
const javascript = {
|
|
49
99
|
files: ["**/*.{js,jsx}"],
|
|
50
100
|
languageOptions: {
|
|
51
101
|
parser: babelParser,
|
|
@@ -80,10 +130,13 @@ module.exports = ({ aliases = {}, ignores = [] } = {}) => [
|
|
|
80
130
|
react: {
|
|
81
131
|
version: "detect",
|
|
82
132
|
},
|
|
133
|
+
"import/ignore": ["[\\/]node_modules[\\/]"],
|
|
83
134
|
"import/resolver": {
|
|
84
135
|
"babel-module": {
|
|
85
136
|
root: ["."],
|
|
86
137
|
alias: aliases,
|
|
138
|
+
// A .js file may still import a directory whose index is TypeScript.
|
|
139
|
+
extensions: [".ts", ".tsx", ".js", ".jsx"],
|
|
87
140
|
},
|
|
88
141
|
},
|
|
89
142
|
"react-native/style-sheet-object-names": ["StyleSheet"],
|
|
@@ -253,7 +306,10 @@ module.exports = ({ aliases = {}, ignores = [] } = {}) => [
|
|
|
253
306
|
prop: "ignore",
|
|
254
307
|
},
|
|
255
308
|
],
|
|
256
|
-
"react/jsx-filename-extension": [
|
|
309
|
+
"react/jsx-filename-extension": [
|
|
310
|
+
"error",
|
|
311
|
+
{ allow: "as-needed", extensions: [".jsx", ".tsx"] },
|
|
312
|
+
],
|
|
257
313
|
"react/jsx-boolean-value": "error",
|
|
258
314
|
"react/hook-use-state": "error",
|
|
259
315
|
"react/jsx-sort-props": [
|
|
@@ -288,12 +344,23 @@ module.exports = ({ aliases = {}, ignores = [] } = {}) => [
|
|
|
288
344
|
"react-native/no-raw-text": 0,
|
|
289
345
|
"react-native/no-single-element-style-arrays": 1,
|
|
290
346
|
},
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
"react-hooks/rules-of-hooks": "off",
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
return [
|
|
350
|
+
{
|
|
351
|
+
ignores: [...DEFAULT_IGNORES, ...ignores],
|
|
297
352
|
},
|
|
298
|
-
|
|
299
|
-
|
|
353
|
+
js.configs.recommended,
|
|
354
|
+
reactPlugin.configs.flat.recommended,
|
|
355
|
+
promisePlugin.configs["flat/recommended"],
|
|
356
|
+
javascript,
|
|
357
|
+
...(typescript ? [typescriptBlock(javascript, aliases)] : []),
|
|
358
|
+
{
|
|
359
|
+
files: ["*.config.js", ".prettierrc.js", "babel.config.js"],
|
|
360
|
+
rules: {
|
|
361
|
+
"import/order": "off",
|
|
362
|
+
"react-hooks/rules-of-hooks": "off",
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
];
|
|
366
|
+
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
const path = require("path");
|
|
5
5
|
|
|
6
6
|
const CONSTANT_CASE_PATTERN = /^[A-Z0-9_]*$/;
|
|
7
|
-
const CONSTANTS_FILES = [/constants\//, /.*constants
|
|
7
|
+
const CONSTANTS_FILES = [/constants\//, /.*constants\.(js|jsx|ts|tsx)$/i];
|
|
8
8
|
|
|
9
9
|
const isConstantsFile = filename =>
|
|
10
10
|
CONSTANTS_FILES.some(pattern => pattern.test(path.resolve(filename)));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface AppVersionInfo {
|
|
2
|
+
version: string;
|
|
3
|
+
force_update?: boolean;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
declare const appVersionApi: {
|
|
7
|
+
fetch: () => Promise<import("axios").AxiosResponse<AppVersionInfo, any, {}, any>>;
|
|
8
|
+
};
|
|
9
|
+
export default appVersionApi;
|
|
10
|
+
//# sourceMappingURL=app_version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app_version.d.ts","sourceRoot":"","sources":["../../../src/api/app_version.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAWD,QAAA,MAAM,aAAa;;CAAY,CAAC;AAEhC,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type Organization } from "../slices/auth";
|
|
2
|
+
export interface OrganizationsResponse {
|
|
3
|
+
organizations: Organization[];
|
|
4
|
+
}
|
|
5
|
+
export declare const generateOTPAPI: ({ email }: {
|
|
6
|
+
email: string;
|
|
7
|
+
}) => Promise<string>;
|
|
8
|
+
export declare const verifyOTPAPI: ({ code, userId, }: {
|
|
9
|
+
code: string;
|
|
10
|
+
userId: string;
|
|
11
|
+
}) => Promise<import("axios").AxiosResponse<OrganizationsResponse, any, {}, any>>;
|
|
12
|
+
export declare const loginWithGoogleAPI: ({ serverAuthCode, }: {
|
|
13
|
+
serverAuthCode: string;
|
|
14
|
+
}) => Promise<import("axios").AxiosResponse<OrganizationsResponse, any, {}, any>>;
|
|
15
|
+
export declare const loginWithAppleAPI: ({ authorizationCode, identityToken, }: {
|
|
16
|
+
authorizationCode: string;
|
|
17
|
+
identityToken: string;
|
|
18
|
+
}) => Promise<import("axios").AxiosResponse<OrganizationsResponse, any, {}, any>>;
|
|
19
|
+
export declare const fetchOrganizationDetailsAPI: ({ subdomain, }: {
|
|
20
|
+
subdomain: string;
|
|
21
|
+
}) => Promise<import("axios").AxiosResponse<{
|
|
22
|
+
organization?: {
|
|
23
|
+
is_onboard?: boolean;
|
|
24
|
+
};
|
|
25
|
+
}, any, {}, any>>;
|
|
26
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/api/auth.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKnD,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B;AAED,eAAO,MAAM,cAAc,GAAU,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,oBAQhE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,mBAG1B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,gFAGG,CAAC;AAEL,eAAO,MAAM,kBAAkB,GAAU,qBAEtC;IACD,cAAc,EAAE,MAAM,CAAC;CACxB,gFAMA,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,uCAGrC;IACD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;CACvB,gFAMA,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAU,gBAE/C;IACD,SAAS,EAAE,MAAM,CAAC;CACnB;mBACkC;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE;iBAExD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface GlobalRole {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
app_name: string;
|
|
5
|
+
}
|
|
6
|
+
declare const globalRolesApi: {
|
|
7
|
+
fetch: () => Promise<import("axios").AxiosResponse<GlobalRole[], any, {}, any>>;
|
|
8
|
+
};
|
|
9
|
+
export default globalRolesApi;
|
|
10
|
+
//# sourceMappingURL=global_roles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global_roles.d.ts","sourceRoot":"","sources":["../../../src/api/global_roles.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAID,QAAA,MAAM,cAAc;;CAEnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface NotificationItem {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
body: string;
|
|
5
|
+
read_at: string | null;
|
|
6
|
+
created_at: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
export interface NotificationsPage {
|
|
11
|
+
notifications: NotificationItem[];
|
|
12
|
+
total_count: number;
|
|
13
|
+
unread_count: number;
|
|
14
|
+
}
|
|
15
|
+
export interface RegisterDevicePayload {
|
|
16
|
+
device: {
|
|
17
|
+
device_token: string;
|
|
18
|
+
platform: string;
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare const registerDeviceTokenAPI: (payload: RegisterDevicePayload) => Promise<import("axios").AxiosResponse<any, RegisterDevicePayload, {}, any>>;
|
|
23
|
+
export declare const deleteDeviceTokenAPI: ({ notificationDeviceId, }: {
|
|
24
|
+
notificationDeviceId: string;
|
|
25
|
+
}) => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
26
|
+
export declare const fetchNotificationsAPI: ({ page }: {
|
|
27
|
+
page: number;
|
|
28
|
+
}) => Promise<import("axios").AxiosResponse<NotificationsPage, any, {}, any>>;
|
|
29
|
+
export declare const markReadUnReadNotificationAPI: ({ notificationId, readAt, }: {
|
|
30
|
+
notificationId: string;
|
|
31
|
+
readAt: string | null;
|
|
32
|
+
}) => Promise<import("axios").AxiosResponse<any, {
|
|
33
|
+
notification: {
|
|
34
|
+
read_at: string | null;
|
|
35
|
+
};
|
|
36
|
+
}, {}, any>>;
|
|
37
|
+
export declare const markAllNotificationsReadAPI: () => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
38
|
+
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../src/api/notifications.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE;QACN,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,MAAM,CAAC;QACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;CACH;AAED,eAAO,MAAM,sBAAsB,GAAU,SAAS,qBAAqB,gFACT,CAAC;AAEnE,eAAO,MAAM,oBAAoB,GAAU,2BAExC;IACD,oBAAoB,EAAE,MAAM,CAAC;CAC9B,8DAIA,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAU,UAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,4EAMnE,CAAC;AAEJ,eAAO,MAAM,6BAA6B,GAAU,6BAGjD;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;;;;YAME,CAAC;AAEJ,eAAO,MAAM,2BAA2B,iEACqC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface OrganizationRole {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
declare const organizationRolesApi: {
|
|
6
|
+
fetch: () => Promise<import("axios").AxiosResponse<{
|
|
7
|
+
organization_roles: OrganizationRole[];
|
|
8
|
+
}, any, {}, any>>;
|
|
9
|
+
};
|
|
10
|
+
export default organizationRolesApi;
|
|
11
|
+
//# sourceMappingURL=organization_roles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization_roles.d.ts","sourceRoot":"","sources":["../../../src/api/organization_roles.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAOD,QAAA,MAAM,oBAAoB;;4BAJQ,gBAAgB,EAAE;;CAMnD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Permission {
|
|
2
|
+
name: string;
|
|
3
|
+
}
|
|
4
|
+
export interface Profile {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
profile_image_url?: string | null;
|
|
9
|
+
permissions?: Permission[];
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare const getProfileApi: () => Promise<import("axios").AxiosResponse<{
|
|
13
|
+
user: Profile;
|
|
14
|
+
}, any, {}, any>>;
|
|
15
|
+
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/api/profile.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,aAAa;UACN,OAAO;iBAA6B,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface TeamMember {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
first_name?: string;
|
|
6
|
+
last_name?: string;
|
|
7
|
+
display_name?: string;
|
|
8
|
+
role?: string;
|
|
9
|
+
organization_role?: string;
|
|
10
|
+
profile_image_url?: string | null;
|
|
11
|
+
is_active?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface TeamMembersPage {
|
|
14
|
+
members: TeamMember[];
|
|
15
|
+
members_count: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const fetch: (params?: Record<string, unknown>) => Promise<import("axios").AxiosResponse<TeamMembersPage, any, {}, any>>;
|
|
18
|
+
export declare const create: (payload: Record<string, unknown>) => Promise<import("axios").AxiosResponse<any, {
|
|
19
|
+
user: Record<string, unknown>;
|
|
20
|
+
}, {}, any>>;
|
|
21
|
+
export declare const update: (id: string, payload?: Record<string, unknown>) => Promise<import("axios").AxiosResponse<any, {
|
|
22
|
+
team: Record<string, unknown>;
|
|
23
|
+
}, {}, any>>;
|
|
24
|
+
declare const teamMembersApi: {
|
|
25
|
+
fetch: (params?: Record<string, unknown>) => Promise<import("axios").AxiosResponse<TeamMembersPage, any, {}, any>>;
|
|
26
|
+
create: (payload: Record<string, unknown>) => Promise<import("axios").AxiosResponse<any, {
|
|
27
|
+
user: Record<string, unknown>;
|
|
28
|
+
}, {}, any>>;
|
|
29
|
+
update: (id: string, payload?: Record<string, unknown>) => Promise<import("axios").AxiosResponse<any, {
|
|
30
|
+
team: Record<string, unknown>;
|
|
31
|
+
}, {}, any>>;
|
|
32
|
+
};
|
|
33
|
+
export default teamMembersApi;
|
|
34
|
+
//# sourceMappingURL=team_members.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team_members.d.ts","sourceRoot":"","sources":["../../../src/api/team_members.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IAId,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,KAAK,GAAI,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,0EACW,CAAC;AAEtE,eAAO,MAAM,MAAM,GAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;YACK,CAAC;AAE7D,eAAO,MAAM,MAAM,GAAI,IAAI,MAAM,EAAE,UAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM;;YACP,CAAC;AAElE,QAAA,MAAM,cAAc;qBATU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;sBAGrB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;iBAG5B,MAAM,YAAW,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;CAOlE,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppVersion.d.ts","sourceRoot":"","sources":["../../../src/components/AppVersion.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,UAAU,YA2HtB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BottomSheet } from "@bigbinary/neetoui-rn";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Moved to @bigbinary/neetoui-rn v3 (gorhom-based, same
|
|
4
|
+
* isVisible/hide/data/ContentRow facade). This re-export keeps one
|
|
5
|
+
* deprecation cycle of compatibility and disappears in the next commons
|
|
6
|
+
* major — import BottomSheet from the UI library instead.
|
|
7
|
+
*/
|
|
8
|
+
export default BottomSheet;
|
|
9
|
+
//# sourceMappingURL=BottomSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD;;;;;GAKG;AACH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Moved to @bigbinary/neetoui-rn v3. This re-export keeps one
|
|
3
|
+
* deprecation cycle of compatibility and disappears in the next commons
|
|
4
|
+
* major — import BottomSheetMenu from the UI library instead.
|
|
5
|
+
*/
|
|
6
|
+
export { BottomSheetMenu } from "@bigbinary/neetoui-rn";
|
|
7
|
+
//# sourceMappingURL=BottomSheetMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomSheetMenu.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheetMenu.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type AlertParams } from "@bigbinary/neetoui-rn";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Collapsed into the UI library's Alert (v3 presents every
|
|
4
|
+
* confirm as this bottom sheet). Same params: { title, description,
|
|
5
|
+
* isCancelable, buttons, onDismiss }. NeetoUIProvider hosts it, so
|
|
6
|
+
* rendering <ConfirmSheet /> is a no-op kept for compatibility. Call
|
|
7
|
+
* Alert.show directly once call sites migrate; this alias disappears in
|
|
8
|
+
* the next commons major.
|
|
9
|
+
*/
|
|
10
|
+
declare const ConfirmSheet: {
|
|
11
|
+
(): null;
|
|
12
|
+
show(params: AlertParams): void;
|
|
13
|
+
};
|
|
14
|
+
export default ConfirmSheet;
|
|
15
|
+
//# sourceMappingURL=ConfirmSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmSheet.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;;;;;;GAOG;AACH,QAAA,MAAM,YAAY;;iBAEW,WAAW;CAFT,CAAC;AAIhC,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface EmptyViewProps {
|
|
3
|
+
title?: string | null;
|
|
4
|
+
showCTA?: boolean;
|
|
5
|
+
ctaLabel?: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* Historically optional even with showCTA set; the library's primaryAction
|
|
8
|
+
* requires a handler, hence the cast below.
|
|
9
|
+
*/
|
|
10
|
+
onCTAPress?: (() => void) | null;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Compat wrapper over the UI library's EmptyView: keeps the historical
|
|
14
|
+
* commons prop API (showCTA/ctaLabel/onCTAPress) and the commons empty
|
|
15
|
+
* illustration. New code should use the library EmptyView directly
|
|
16
|
+
* ({ title, description, Illustration, primaryAction }).
|
|
17
|
+
*/
|
|
18
|
+
export declare const EmptyView: ({ title, showCTA, ctaLabel, onCTAPress, }: EmptyViewProps) => React.JSX.Element;
|
|
19
|
+
//# sourceMappingURL=EmptyView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyView.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;CAClC;AAED;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,2CAKvB,cAAc,sBAUhB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Moved to @bigbinary/neetoui-rn v3. This re-export keeps one
|
|
3
|
+
* deprecation cycle of compatibility and disappears in the next commons
|
|
4
|
+
* major — import BaseHeader from the UI library instead.
|
|
5
|
+
*/
|
|
6
|
+
export { BaseHeader } from "@bigbinary/neetoui-rn";
|
|
7
|
+
//# sourceMappingURL=BaseHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Header/BaseHeader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Moved to @bigbinary/neetoui-rn v3. This re-export keeps one
|
|
3
|
+
* deprecation cycle of compatibility and disappears in the next commons
|
|
4
|
+
* major — import ScreenHeader from the UI library instead.
|
|
5
|
+
*/
|
|
6
|
+
export { ScreenHeader } from "@bigbinary/neetoui-rn";
|
|
7
|
+
//# sourceMappingURL=ScreenHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Header/ScreenHeader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { type ComponentType } from "react";
|
|
2
|
+
export interface HeaderProps {
|
|
3
|
+
title: string;
|
|
4
|
+
subTitle?: string;
|
|
5
|
+
canGoBack?: boolean;
|
|
6
|
+
onBackPress?: () => void;
|
|
7
|
+
showSideMenu?: boolean;
|
|
8
|
+
handleSearch?: () => void;
|
|
9
|
+
RightComponent?: ComponentType;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
showWorkspaceLogo?: boolean;
|
|
12
|
+
onMarkAllAsRead?: () => void;
|
|
13
|
+
showMarkAllOption?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Compat wrapper over the UI library's navigation-agnostic Header: keeps
|
|
17
|
+
* the historical commons prop API (canGoBack/showSideMenu/RightComponent/
|
|
18
|
+
* onMarkAllAsRead) and wires react-navigation + the mark-all menu on top.
|
|
19
|
+
* New code should use the library Header with onBack and slots directly.
|
|
20
|
+
*/
|
|
21
|
+
export declare const Header: ({ title, subTitle, canGoBack, onBackPress, showSideMenu, handleSearch, RightComponent, isLoading, showWorkspaceLogo, onMarkAllAsRead, showMarkAllOption, }: HeaderProps) => React.JSX.Element;
|
|
22
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAwB5D,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GAAI,4JAYpB,WAAW,sBAkFb,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
import { type StyleProp, type TextStyle } from "react-native";
|
|
3
|
+
import { type TypographyProps } from "@bigbinary/neetoui-rn";
|
|
4
|
+
export interface HyperlinkTextProps {
|
|
5
|
+
/**
|
|
6
|
+
* Rendered as Typography children, so anything `formatString` returns
|
|
7
|
+
* (a string, or a mixed string/element array) is accepted.
|
|
8
|
+
*/
|
|
9
|
+
text: ReactNode;
|
|
10
|
+
linkMapping: Record<string, string>;
|
|
11
|
+
linkStyleProps?: StyleProp<TextStyle>;
|
|
12
|
+
/** v3 Typography props — layout goes through its `style` entry. */
|
|
13
|
+
textStyleProps?: TypographyProps;
|
|
14
|
+
onPress?: (url: string, text?: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const HyperlinkText: ({ text, onPress, linkMapping, linkStyleProps, textStyleProps, }: HyperlinkTextProps) => React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=HyperlinkText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HyperlinkText.d.ts","sourceRoot":"","sources":["../../../src/components/HyperlinkText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGzE,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,mEAAmE;IACnE,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,aAAa,GAAI,iEAM3B,kBAAkB,sBAQpB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface LineLoaderProps {
|
|
3
|
+
isLoading?: boolean;
|
|
4
|
+
height?: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Absorbed by the UI library's Skeleton
|
|
8
|
+
* (<Skeleton variant="line" animated />). This shim keeps the v2 prop
|
|
9
|
+
* contract for one deprecation cycle and disappears in the next commons
|
|
10
|
+
* major.
|
|
11
|
+
*/
|
|
12
|
+
export declare const LineLoader: ({ isLoading, height, }: LineLoaderProps) => React.JSX.Element;
|
|
13
|
+
//# sourceMappingURL=LineLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineLoader.d.ts","sourceRoot":"","sources":["../../../src/components/LineLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,wBAGxB,eAAe,sBAEjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationIcon.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,eAAO,MAAM,gBAAgB,GAAI,kBAE9B,qBAAqB,sBAqBvB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { type ComponentType } from "react";
|
|
2
|
+
export interface NotificationPreference {
|
|
3
|
+
label: string;
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
LeftIcon?: ComponentType;
|
|
6
|
+
onSwitch: (item: NotificationPreference, index: number) => void;
|
|
7
|
+
}
|
|
8
|
+
export interface NotificationPreferenceListProps {
|
|
9
|
+
data?: NotificationPreference[];
|
|
10
|
+
title?: string;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const NotificationPreferenceList: ({ data, title, isLoading, }: NotificationPreferenceListProps) => React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=NotificationPreferenceList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationPreferenceList.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationPreferenceList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAgBlD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,CAAC,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjE;AAKD,MAAM,WAAW,+BAA+B;IAC9C,IAAI,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,0BAA0B,GAAI,6BAIxC,+BAA+B,sBA+CjC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface OfflineScreenProps {
|
|
3
|
+
/** NetInfo reports an unknown connection state as `null`. */
|
|
4
|
+
setIsConnected: (isConnected: boolean | null) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const OfflineScreen: ({ setIsConnected }: OfflineScreenProps) => React.JSX.Element;
|
|
7
|
+
//# sourceMappingURL=OfflineScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OfflineScreen.d.ts","sourceRoot":"","sources":["../../../src/components/OfflineScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgBzC,MAAM,WAAW,kBAAkB;IACjC,6DAA6D;IAC7D,cAAc,EAAE,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,aAAa,GAAI,oBAAoB,kBAAkB,sBA4CnE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface OrganizationItemProps {
|
|
3
|
+
name: string;
|
|
4
|
+
subdomain: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const OrganizationItem: ({ name, subdomain, label, }: OrganizationItemProps) => React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=OrganizationItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationItem.d.ts","sourceRoot":"","sources":["../../../src/components/OrganizationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,6BAI9B,qBAAqB,sBA4BvB,CAAC"}
|