@os-team/profile 1.2.1 → 1.2.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 +2 -2
- package/dist/@types/emotion.d.js +1 -0
- package/dist/@types/i18next.d.js +1 -0
- package/dist/@types/relay.d.js +0 -0
- package/dist/{types/components → components}/profile/ProfileButton.d.ts +1 -1
- package/dist/components/profile/ProfileButton.d.ts.map +1 -0
- package/dist/components/profile/ProfileButton.js +9 -0
- package/dist/components/profile/ProfileConfigContext.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/ProfileConfigContext.js +1 -2
- package/dist/components/profile/ProfileContext.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/ProfileContext.js +1 -2
- package/dist/{types/components → components}/profile/ProfileDrawer.d.ts +2 -2
- package/dist/components/profile/ProfileDrawer.d.ts.map +1 -0
- package/dist/components/profile/ProfileDrawer.js +28 -0
- package/dist/{types/components → components}/profile/ProfileDrawerContent.d.ts +7 -0
- package/dist/components/profile/ProfileDrawerContent.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/ProfileDrawerContent.js +66 -41
- package/dist/{types/components → components}/profile/ProfileNavigationItem.d.ts +1 -1
- package/dist/components/profile/ProfileNavigationItem.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/ProfileNavigationItem.js +8 -7
- package/dist/components/profile/ProfileUpdateNameModal.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/ProfileUpdateNameModal.js +38 -31
- package/dist/components/profile/ProfileUpdatePasswordModal.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/ProfileUpdatePasswordModal.js +40 -33
- package/dist/components/profile/ProtectedWrapper.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/ProtectedWrapper.js +19 -14
- package/dist/{types/components → components}/profile/UserAvatar.d.ts +1 -1
- package/dist/components/profile/UserAvatar.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/UserAvatar.js +7 -6
- package/dist/{types/components → components}/profile/UserAvatarAddon.d.ts +1 -1
- package/dist/components/profile/UserAvatarAddon.d.ts.map +1 -0
- package/dist/components/profile/UserAvatarAddon.js +50 -0
- package/dist/{types/components → components}/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts +5 -0
- package/dist/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js +2 -3
- package/dist/{types/components → components}/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts +5 -0
- package/dist/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js +2 -3
- package/dist/{types/components → components}/profile/__generated__/ProfileUpdateNameModalMutation.graphql.d.ts +5 -0
- package/dist/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js +2 -3
- package/dist/{types/components → components}/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.d.ts +5 -0
- package/dist/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js +2 -3
- package/dist/{types/components → components}/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts +5 -0
- package/dist/components/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/profile/__generated__/ProtectedWrapperQuery.graphql.js +2 -3
- package/dist/{types/components → components}/session/SessionDrawer.d.ts +1 -1
- package/dist/components/session/SessionDrawer.d.ts.map +1 -0
- package/dist/components/session/SessionDrawer.js +45 -0
- package/dist/components/session/SessionDrawerContent.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/SessionDrawerContent.js +12 -10
- package/dist/{types/components → components}/session/SessionList.d.ts +5 -5
- package/dist/components/session/SessionList.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/SessionList.js +33 -17
- package/dist/{types/components → components}/session/SessionListItem.d.ts +9 -9
- package/dist/components/session/SessionListItem.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/SessionListItem.js +37 -19
- package/dist/components/session/SessionListSkeleton.d.ts.map +1 -0
- package/dist/components/session/SessionListSkeleton.js +43 -0
- package/dist/{types/components → components}/session/__generated__/SessionDrawerContentQuery.graphql.d.ts +5 -0
- package/dist/components/session/__generated__/SessionDrawerContentQuery.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/__generated__/SessionDrawerContentQuery.graphql.js +2 -3
- package/dist/{types/components → components}/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.d.ts +5 -0
- package/dist/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js +2 -3
- package/dist/{types/components → components}/session/__generated__/SessionListItemDestroySessionMutation.graphql.d.ts +5 -0
- package/dist/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/__generated__/SessionListItemDestroySessionMutation.graphql.js +2 -3
- package/dist/{types/components → components}/session/__generated__/SessionListItem_session.graphql.d.ts +5 -0
- package/dist/components/session/__generated__/SessionListItem_session.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/__generated__/SessionListItem_session.graphql.js +2 -3
- package/dist/{types/components → components}/session/__generated__/SessionListRefetchQuery.graphql.d.ts +5 -0
- package/dist/components/session/__generated__/SessionListRefetchQuery.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/__generated__/SessionListRefetchQuery.graphql.js +2 -3
- package/dist/{types/components → components}/session/__generated__/SessionList_sessions.graphql.d.ts +5 -0
- package/dist/components/session/__generated__/SessionList_sessions.graphql.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/__generated__/SessionList_sessions.graphql.js +2 -3
- package/dist/{types/components → components}/session/formatDate.d.ts +1 -1
- package/dist/components/session/formatDate.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/formatDate.js +1 -2
- package/dist/components/session/getLastSeen.d.ts +3 -0
- package/dist/components/session/getLastSeen.d.ts.map +1 -0
- package/dist/{esm/components → components}/session/getLastSeen.js +1 -2
- package/dist/{types/components → components}/shared/ButtonUpdate.d.ts +1 -1
- package/dist/components/shared/ButtonUpdate.d.ts.map +1 -0
- package/dist/{esm/components → components}/shared/ButtonUpdate.js +6 -3
- package/dist/components/shared/ErrorResult.d.ts.map +1 -0
- package/dist/{esm/components → components}/shared/ErrorResult.js +4 -4
- package/dist/components/shared/FormError.d.ts.map +1 -0
- package/dist/{esm/components → components}/shared/FormError.js +6 -5
- package/dist/components/shared/MainLoader.d.ts.map +1 -0
- package/dist/{esm/components → components}/shared/MainLoader.js +5 -3
- package/dist/{types/components → components}/shared/icons/AndroidIcon.d.ts +1 -1
- package/dist/components/shared/icons/AndroidIcon.d.ts.map +1 -0
- package/dist/components/shared/icons/AndroidIcon.js +12 -0
- package/dist/{types/components → components}/shared/icons/AppleIcon.d.ts +1 -1
- package/dist/components/shared/icons/AppleIcon.d.ts.map +1 -0
- package/dist/components/shared/icons/AppleIcon.js +12 -0
- package/dist/{types/components → components}/shared/icons/BrowserIcon.d.ts +1 -1
- package/dist/components/shared/icons/BrowserIcon.d.ts.map +1 -0
- package/dist/components/shared/icons/BrowserIcon.js +12 -0
- package/dist/{types/components → components}/shared/icons/ProfileIcon.d.ts +1 -1
- package/dist/components/shared/icons/ProfileIcon.d.ts.map +1 -0
- package/dist/components/shared/icons/ProfileIcon.js +12 -0
- package/dist/{types/components → components}/shared/icons/UnknownDeviceIcon.d.ts +1 -1
- package/dist/components/shared/icons/UnknownDeviceIcon.d.ts.map +1 -0
- package/dist/components/shared/icons/UnknownDeviceIcon.js +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/utils/getError.d.ts.map +1 -0
- package/dist/{esm/utils → utils}/getError.js +1 -2
- package/dist/utils/getUserFullName.d.ts.map +1 -0
- package/dist/{esm/utils → utils}/getUserFullName.js +1 -2
- package/dist/{types/utils → utils}/handleFormErrors.d.ts +1 -1
- package/dist/utils/handleFormErrors.d.ts.map +1 -0
- package/dist/{esm/utils → utils}/handleFormErrors.js +1 -2
- package/package.json +51 -58
- package/src/@types/react-app-env.d.ts +3 -0
- package/src/App.tsx +42 -0
- package/src/AppRouter.tsx +12 -0
- package/src/components/ErrorResult.tsx +23 -0
- package/src/components/Layout.tsx +70 -0
- package/src/components/MainLoader.tsx +22 -0
- package/src/components/icons/HomeIcon.tsx +12 -0
- package/src/i18next.ts +34 -0
- package/src/index.tsx +6 -0
- package/src/lib/@types/emotion.d.ts +7 -0
- package/src/lib/@types/i18next.d.ts +12 -0
- package/src/lib/@types/relay.d.ts +3 -0
- package/src/lib/components/profile/ProfileButton.tsx +8 -0
- package/src/lib/components/profile/ProfileConfigContext.ts +16 -0
- package/src/lib/components/profile/ProfileContext.ts +20 -0
- package/src/lib/components/profile/ProfileDrawer.tsx +31 -0
- package/src/lib/components/profile/ProfileDrawerContent.tsx +276 -0
- package/src/lib/components/profile/ProfileNavigationItem.tsx +36 -0
- package/src/lib/components/profile/ProfileUpdateNameModal.tsx +117 -0
- package/src/lib/components/profile/ProfileUpdatePasswordModal.tsx +129 -0
- package/src/lib/components/profile/ProtectedWrapper.tsx +81 -0
- package/src/lib/components/profile/UserAvatar.tsx +23 -0
- package/src/lib/components/profile/UserAvatarAddon.tsx +62 -0
- package/src/lib/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.ts +74 -0
- package/src/lib/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.ts +100 -0
- package/src/lib/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.ts +124 -0
- package/src/lib/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.ts +93 -0
- package/src/lib/components/profile/__generated__/ProtectedWrapperQuery.graphql.ts +106 -0
- package/src/lib/components/session/SessionDrawer.tsx +50 -0
- package/src/lib/components/session/SessionDrawerContent.tsx +34 -0
- package/src/lib/components/session/SessionList.tsx +138 -0
- package/src/lib/components/session/SessionListItem.tsx +318 -0
- package/src/lib/components/session/SessionListSkeleton.tsx +48 -0
- package/src/lib/components/session/__generated__/SessionDrawerContentQuery.graphql.ts +181 -0
- package/src/lib/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.ts +74 -0
- package/src/lib/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.ts +92 -0
- package/src/lib/components/session/__generated__/SessionListItem_session.graphql.ts +154 -0
- package/src/lib/components/session/__generated__/SessionListRefetchQuery.graphql.ts +181 -0
- package/src/lib/components/session/__generated__/SessionList_sessions.graphql.ts +83 -0
- package/src/lib/components/session/formatDate.ts +21 -0
- package/{dist/cjs/components/session/getLastSeen.js → src/lib/components/session/getLastSeen.ts} +9 -9
- package/src/lib/components/shared/ButtonUpdate.tsx +10 -0
- package/src/lib/components/shared/ErrorResult.tsx +28 -0
- package/src/lib/components/shared/FormError.tsx +11 -0
- package/src/lib/components/shared/MainLoader.tsx +22 -0
- package/src/lib/components/shared/icons/AndroidIcon.tsx +12 -0
- package/src/lib/components/shared/icons/AppleIcon.tsx +12 -0
- package/src/lib/components/shared/icons/BrowserIcon.tsx +12 -0
- package/src/lib/components/shared/icons/ProfileIcon.tsx +12 -0
- package/src/lib/components/shared/icons/UnknownDeviceIcon.tsx +14 -0
- package/{dist/esm/index.js → src/lib/index.ts} +1 -1
- package/src/lib/utils/getError.ts +101 -0
- package/src/lib/utils/getUserFullName.ts +14 -0
- package/src/lib/utils/handleFormErrors.ts +16 -0
- package/src/pages/HomePage.tsx +11 -0
- package/src/schema.graphql +2494 -0
- package/src/utils/createRelayEnvironment.ts +22 -0
- package/src/utils/getError.ts +101 -0
- package/dist/cjs/@types/emotion.d.js +0 -4
- package/dist/cjs/@types/emotion.d.js.map +0 -1
- package/dist/cjs/@types/i18next.d.js +0 -4
- package/dist/cjs/@types/i18next.d.js.map +0 -1
- package/dist/cjs/components/profile/ProfileButton.js +0 -16
- package/dist/cjs/components/profile/ProfileButton.js.map +0 -1
- package/dist/cjs/components/profile/ProfileConfigContext.js +0 -17
- package/dist/cjs/components/profile/ProfileConfigContext.js.map +0 -1
- package/dist/cjs/components/profile/ProfileContext.js +0 -18
- package/dist/cjs/components/profile/ProfileContext.js.map +0 -1
- package/dist/cjs/components/profile/ProfileDrawer.js +0 -35
- package/dist/cjs/components/profile/ProfileDrawer.js.map +0 -1
- package/dist/cjs/components/profile/ProfileDrawerContent.js +0 -167
- package/dist/cjs/components/profile/ProfileDrawerContent.js.map +0 -1
- package/dist/cjs/components/profile/ProfileNavigationItem.js +0 -35
- package/dist/cjs/components/profile/ProfileNavigationItem.js.map +0 -1
- package/dist/cjs/components/profile/ProfileUpdateNameModal.js +0 -106
- package/dist/cjs/components/profile/ProfileUpdateNameModal.js.map +0 -1
- package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js +0 -106
- package/dist/cjs/components/profile/ProfileUpdatePasswordModal.js.map +0 -1
- package/dist/cjs/components/profile/ProtectedWrapper.js +0 -54
- package/dist/cjs/components/profile/ProtectedWrapper.js.map +0 -1
- package/dist/cjs/components/profile/UserAvatar.js +0 -42
- package/dist/cjs/components/profile/UserAvatar.js.map +0 -1
- package/dist/cjs/components/profile/UserAvatarAddon.js +0 -41
- package/dist/cjs/components/profile/UserAvatarAddon.js.map +0 -1
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js +0 -63
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js.map +0 -1
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js +0 -78
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js.map +0 -1
- package/dist/cjs/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js +0 -95
- package/dist/cjs/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js.map +0 -1
- package/dist/cjs/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js +0 -72
- package/dist/cjs/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js.map +0 -1
- package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js +0 -87
- package/dist/cjs/components/profile/__generated__/ProtectedWrapperQuery.graphql.js.map +0 -1
- package/dist/cjs/components/session/SessionDrawer.js +0 -46
- package/dist/cjs/components/session/SessionDrawer.js.map +0 -1
- package/dist/cjs/components/session/SessionDrawerContent.js +0 -39
- package/dist/cjs/components/session/SessionDrawerContent.js.map +0 -1
- package/dist/cjs/components/session/SessionList.js +0 -73
- package/dist/cjs/components/session/SessionList.js.map +0 -1
- package/dist/cjs/components/session/SessionListItem.js +0 -150
- package/dist/cjs/components/session/SessionListItem.js.map +0 -1
- package/dist/cjs/components/session/SessionListSkeleton.js +0 -31
- package/dist/cjs/components/session/SessionListSkeleton.js.map +0 -1
- package/dist/cjs/components/session/__generated__/SessionDrawerContentQuery.graphql.js +0 -154
- package/dist/cjs/components/session/__generated__/SessionDrawerContentQuery.graphql.js.map +0 -1
- package/dist/cjs/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js +0 -63
- package/dist/cjs/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js.map +0 -1
- package/dist/cjs/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js +0 -72
- package/dist/cjs/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js.map +0 -1
- package/dist/cjs/components/session/__generated__/SessionListItem_session.graphql.js +0 -118
- package/dist/cjs/components/session/__generated__/SessionListItem_session.graphql.js.map +0 -1
- package/dist/cjs/components/session/__generated__/SessionListRefetchQuery.graphql.js +0 -154
- package/dist/cjs/components/session/__generated__/SessionListRefetchQuery.graphql.js.map +0 -1
- package/dist/cjs/components/session/__generated__/SessionList_sessions.graphql.js +0 -65
- package/dist/cjs/components/session/__generated__/SessionList_sessions.graphql.js.map +0 -1
- package/dist/cjs/components/session/formatDate.js +0 -19
- package/dist/cjs/components/session/formatDate.js.map +0 -1
- package/dist/cjs/components/session/getLastSeen.js.map +0 -1
- package/dist/cjs/components/shared/ButtonUpdate.js +0 -18
- package/dist/cjs/components/shared/ButtonUpdate.js.map +0 -1
- package/dist/cjs/components/shared/ErrorResult.js +0 -31
- package/dist/cjs/components/shared/ErrorResult.js.map +0 -1
- package/dist/cjs/components/shared/FormError.js +0 -21
- package/dist/cjs/components/shared/FormError.js.map +0 -1
- package/dist/cjs/components/shared/MainLoader.js +0 -17
- package/dist/cjs/components/shared/MainLoader.js.map +0 -1
- package/dist/cjs/components/shared/icons/AndroidIcon.js +0 -18
- package/dist/cjs/components/shared/icons/AndroidIcon.js.map +0 -1
- package/dist/cjs/components/shared/icons/AppleIcon.js +0 -18
- package/dist/cjs/components/shared/icons/AppleIcon.js.map +0 -1
- package/dist/cjs/components/shared/icons/BrowserIcon.js +0 -18
- package/dist/cjs/components/shared/icons/BrowserIcon.js.map +0 -1
- package/dist/cjs/components/shared/icons/ProfileIcon.js +0 -18
- package/dist/cjs/components/shared/icons/ProfileIcon.js.map +0 -1
- package/dist/cjs/components/shared/icons/UnknownDeviceIcon.js +0 -18
- package/dist/cjs/components/shared/icons/UnknownDeviceIcon.js.map +0 -1
- package/dist/cjs/index.js +0 -142
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/utils/getError.js +0 -59
- package/dist/cjs/utils/getError.js.map +0 -1
- package/dist/cjs/utils/getUserFullName.js +0 -19
- package/dist/cjs/utils/getUserFullName.js.map +0 -1
- package/dist/cjs/utils/handleFormErrors.js +0 -25
- package/dist/cjs/utils/handleFormErrors.js.map +0 -1
- package/dist/esm/@types/emotion.d.js +0 -2
- package/dist/esm/@types/emotion.d.js.map +0 -1
- package/dist/esm/@types/i18next.d.js +0 -2
- package/dist/esm/@types/i18next.d.js.map +0 -1
- package/dist/esm/components/profile/ProfileButton.js +0 -9
- package/dist/esm/components/profile/ProfileButton.js.map +0 -1
- package/dist/esm/components/profile/ProfileConfigContext.js.map +0 -1
- package/dist/esm/components/profile/ProfileContext.js.map +0 -1
- package/dist/esm/components/profile/ProfileDrawer.js +0 -25
- package/dist/esm/components/profile/ProfileDrawer.js.map +0 -1
- package/dist/esm/components/profile/ProfileDrawerContent.js.map +0 -1
- package/dist/esm/components/profile/ProfileNavigationItem.js.map +0 -1
- package/dist/esm/components/profile/ProfileUpdateNameModal.js.map +0 -1
- package/dist/esm/components/profile/ProfileUpdatePasswordModal.js.map +0 -1
- package/dist/esm/components/profile/ProtectedWrapper.js.map +0 -1
- package/dist/esm/components/profile/UserAvatar.js.map +0 -1
- package/dist/esm/components/profile/UserAvatarAddon.js +0 -47
- package/dist/esm/components/profile/UserAvatarAddon.js.map +0 -1
- package/dist/esm/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js.map +0 -1
- package/dist/esm/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js.map +0 -1
- package/dist/esm/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.js.map +0 -1
- package/dist/esm/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.js.map +0 -1
- package/dist/esm/components/profile/__generated__/ProtectedWrapperQuery.graphql.js.map +0 -1
- package/dist/esm/components/session/SessionDrawer.js +0 -39
- package/dist/esm/components/session/SessionDrawer.js.map +0 -1
- package/dist/esm/components/session/SessionDrawerContent.js.map +0 -1
- package/dist/esm/components/session/SessionList.js.map +0 -1
- package/dist/esm/components/session/SessionListItem.js.map +0 -1
- package/dist/esm/components/session/SessionListSkeleton.js +0 -31
- package/dist/esm/components/session/SessionListSkeleton.js.map +0 -1
- package/dist/esm/components/session/__generated__/SessionDrawerContentQuery.graphql.js.map +0 -1
- package/dist/esm/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.js.map +0 -1
- package/dist/esm/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js.map +0 -1
- package/dist/esm/components/session/__generated__/SessionListItem_session.graphql.js.map +0 -1
- package/dist/esm/components/session/__generated__/SessionListRefetchQuery.graphql.js.map +0 -1
- package/dist/esm/components/session/__generated__/SessionList_sessions.graphql.js.map +0 -1
- package/dist/esm/components/session/formatDate.js.map +0 -1
- package/dist/esm/components/session/getLastSeen.js.map +0 -1
- package/dist/esm/components/shared/ButtonUpdate.js.map +0 -1
- package/dist/esm/components/shared/ErrorResult.js.map +0 -1
- package/dist/esm/components/shared/FormError.js.map +0 -1
- package/dist/esm/components/shared/MainLoader.js.map +0 -1
- package/dist/esm/components/shared/icons/AndroidIcon.js +0 -11
- package/dist/esm/components/shared/icons/AndroidIcon.js.map +0 -1
- package/dist/esm/components/shared/icons/AppleIcon.js +0 -11
- package/dist/esm/components/shared/icons/AppleIcon.js.map +0 -1
- package/dist/esm/components/shared/icons/BrowserIcon.js +0 -11
- package/dist/esm/components/shared/icons/BrowserIcon.js.map +0 -1
- package/dist/esm/components/shared/icons/ProfileIcon.js +0 -11
- package/dist/esm/components/shared/icons/ProfileIcon.js.map +0 -1
- package/dist/esm/components/shared/icons/UnknownDeviceIcon.js +0 -11
- package/dist/esm/components/shared/icons/UnknownDeviceIcon.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/utils/getError.js.map +0 -1
- package/dist/esm/utils/getUserFullName.js.map +0 -1
- package/dist/esm/utils/handleFormErrors.js.map +0 -1
- package/dist/types/components/profile/ProfileButton.d.ts.map +0 -1
- package/dist/types/components/profile/ProfileConfigContext.d.ts.map +0 -1
- package/dist/types/components/profile/ProfileContext.d.ts.map +0 -1
- package/dist/types/components/profile/ProfileDrawer.d.ts.map +0 -1
- package/dist/types/components/profile/ProfileDrawerContent.d.ts.map +0 -1
- package/dist/types/components/profile/ProfileNavigationItem.d.ts.map +0 -1
- package/dist/types/components/profile/ProfileUpdateNameModal.d.ts.map +0 -1
- package/dist/types/components/profile/ProfileUpdatePasswordModal.d.ts.map +0 -1
- package/dist/types/components/profile/ProtectedWrapper.d.ts.map +0 -1
- package/dist/types/components/profile/UserAvatar.d.ts.map +0 -1
- package/dist/types/components/profile/UserAvatarAddon.d.ts.map +0 -1
- package/dist/types/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts.map +0 -1
- package/dist/types/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts.map +0 -1
- package/dist/types/components/profile/__generated__/ProfileUpdateNameModalMutation.graphql.d.ts.map +0 -1
- package/dist/types/components/profile/__generated__/ProfileUpdatePasswordModalMutation.graphql.d.ts.map +0 -1
- package/dist/types/components/profile/__generated__/ProtectedWrapperQuery.graphql.d.ts.map +0 -1
- package/dist/types/components/session/SessionDrawer.d.ts.map +0 -1
- package/dist/types/components/session/SessionDrawerContent.d.ts.map +0 -1
- package/dist/types/components/session/SessionList.d.ts.map +0 -1
- package/dist/types/components/session/SessionListItem.d.ts.map +0 -1
- package/dist/types/components/session/SessionListSkeleton.d.ts.map +0 -1
- package/dist/types/components/session/__generated__/SessionDrawerContentQuery.graphql.d.ts.map +0 -1
- package/dist/types/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.d.ts.map +0 -1
- package/dist/types/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.d.ts.map +0 -1
- package/dist/types/components/session/__generated__/SessionListItem_session.graphql.d.ts.map +0 -1
- package/dist/types/components/session/__generated__/SessionListRefetchQuery.graphql.d.ts.map +0 -1
- package/dist/types/components/session/__generated__/SessionList_sessions.graphql.d.ts.map +0 -1
- package/dist/types/components/session/formatDate.d.ts.map +0 -1
- package/dist/types/components/session/getLastSeen.d.ts +0 -3
- package/dist/types/components/session/getLastSeen.d.ts.map +0 -1
- package/dist/types/components/shared/ButtonUpdate.d.ts.map +0 -1
- package/dist/types/components/shared/ErrorResult.d.ts.map +0 -1
- package/dist/types/components/shared/FormError.d.ts.map +0 -1
- package/dist/types/components/shared/MainLoader.d.ts.map +0 -1
- package/dist/types/components/shared/icons/AndroidIcon.d.ts.map +0 -1
- package/dist/types/components/shared/icons/AppleIcon.d.ts.map +0 -1
- package/dist/types/components/shared/icons/BrowserIcon.d.ts.map +0 -1
- package/dist/types/components/shared/icons/ProfileIcon.d.ts.map +0 -1
- package/dist/types/components/shared/icons/UnknownDeviceIcon.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/utils/getError.d.ts.map +0 -1
- package/dist/types/utils/getUserFullName.d.ts.map +0 -1
- package/dist/types/utils/handleFormErrors.d.ts.map +0 -1
- /package/dist/{types/components → components}/profile/ProfileConfigContext.d.ts +0 -0
- /package/dist/{types/components → components}/profile/ProfileContext.d.ts +0 -0
- /package/dist/{types/components → components}/profile/ProfileUpdateNameModal.d.ts +0 -0
- /package/dist/{types/components → components}/profile/ProfileUpdatePasswordModal.d.ts +0 -0
- /package/dist/{types/components → components}/profile/ProtectedWrapper.d.ts +0 -0
- /package/dist/{types/components → components}/session/SessionDrawerContent.d.ts +0 -0
- /package/dist/{types/components → components}/session/SessionListSkeleton.d.ts +0 -0
- /package/dist/{types/components → components}/shared/ErrorResult.d.ts +0 -0
- /package/dist/{types/components → components}/shared/FormError.d.ts +0 -0
- /package/dist/{types/components → components}/shared/MainLoader.d.ts +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/utils → utils}/getError.d.ts +0 -0
- /package/dist/{types/utils → utils}/getUserFullName.d.ts +0 -0
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactI18next = require("react-i18next");
|
|
9
|
-
var _core = require("@os-design/core");
|
|
10
|
-
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
11
|
-
var _SessionListItem = require("./SessionListItem");
|
|
12
|
-
var _SessionList = require("./SessionList");
|
|
13
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
14
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
16
|
-
const IconSkeleton = (0, _styled.default)(_core.Skeleton)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 1.82em;\n height: 1.82em;\n"])));
|
|
17
|
-
const ContainerSkeleton = (0, _styled.default)(_SessionListItem.Container)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: 0.8em 0;\n"])));
|
|
18
|
-
const TitleSkeleton = (0, _styled.default)(_core.Skeleton)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n height: ", "em;\n"])), p => p.theme.sizes.small);
|
|
19
|
-
const InfoSkeleton = (0, _styled.default)(TitleSkeleton)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-top: 0.3em;\n"])));
|
|
20
|
-
const SessionListSkeleton = () => {
|
|
21
|
-
const {
|
|
22
|
-
t
|
|
23
|
-
} = (0, _reactI18next.useTranslation)(['profile']);
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_SessionList.Title, null, t('profile:sessions.current')), /*#__PURE__*/_react.default.createElement(_SessionList.List, null, /*#__PURE__*/_react.default.createElement(ContainerSkeleton, null, /*#__PURE__*/_react.default.createElement(_SessionListItem.IconContainer, null, /*#__PURE__*/_react.default.createElement(IconSkeleton, null)), /*#__PURE__*/_react.default.createElement(_SessionListItem.Content, null, /*#__PURE__*/_react.default.createElement(TitleSkeleton, {
|
|
25
|
-
width: "50%"
|
|
26
|
-
}), /*#__PURE__*/_react.default.createElement(InfoSkeleton, null), /*#__PURE__*/_react.default.createElement(InfoSkeleton, {
|
|
27
|
-
width: "90%"
|
|
28
|
-
})))));
|
|
29
|
-
};
|
|
30
|
-
var _default = exports.default = SessionListSkeleton;
|
|
31
|
-
//# sourceMappingURL=SessionListSkeleton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SessionListSkeleton.js","names":["_react","_interopRequireDefault","require","_reactI18next","_core","_styled","_SessionListItem","_SessionList","_templateObject","_templateObject2","_templateObject3","_templateObject4","e","__esModule","default","_taggedTemplateLiteral","t","slice","Object","freeze","defineProperties","raw","value","IconSkeleton","styled","Skeleton","ContainerSkeleton","Container","TitleSkeleton","p","theme","sizes","small","InfoSkeleton","SessionListSkeleton","useTranslation","createElement","Fragment","Title","List","IconContainer","Content","width","_default","exports"],"sources":["../../../../src/lib/components/session/SessionListSkeleton.tsx"],"sourcesContent":["import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Skeleton } from '@os-design/core';\nimport styled from '@emotion/styled';\nimport { Container, Content, IconContainer } from './SessionListItem';\nimport { Title, List } from './SessionList';\n\nconst IconSkeleton = styled(Skeleton)`\n width: 1.82em;\n height: 1.82em;\n`;\n\nconst ContainerSkeleton = styled(Container)`\n padding: 0.8em 0;\n`;\n\nconst TitleSkeleton = styled(Skeleton)`\n height: ${(p) => p.theme.sizes.small}em;\n`;\n\nconst InfoSkeleton = styled(TitleSkeleton)`\n margin-top: 0.3em;\n`;\n\nconst SessionListSkeleton: React.FC = () => {\n const { t } = useTranslation(['profile']);\n\n return (\n <>\n <Title>{t('profile:sessions.current')}</Title>\n <List>\n <ContainerSkeleton>\n <IconContainer>\n <IconSkeleton />\n </IconContainer>\n\n <Content>\n <TitleSkeleton width='50%' />\n <InfoSkeleton />\n <InfoSkeleton width='90%' />\n </Content>\n </ContainerSkeleton>\n </List>\n </>\n );\n};\n\nexport default SessionListSkeleton;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAA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CAAAc,OAAA,CAAAsB,aAAA,CAAApC,MAAA,CAAAc,OAAA,CAAAuB,QAAA,qBACErC,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAAC7B,YAAA,CAAA+B,KAAK,QAAEtB,CAAC,CAAC,0BAA0B,CAAS,CAAC,eAC9ChB,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAAC7B,YAAA,CAAAgC,IAAI,qBACHvC,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAACV,iBAAiB,qBAChB1B,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAAC9B,gBAAA,CAAAkC,aAAa,qBACZxC,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAACb,YAAY,MAAE,CACF,CAAC,eAEhBvB,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAAC9B,gBAAA,CAAAmC,OAAO,qBACNzC,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAACR,aAAa;IAACc,KAAK,EAAC;EAAK,CAAE,CAAC,eAC7B1C,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAACH,YAAY,MAAE,CAAC,eAChBjC,MAAA,CAAAc,OAAA,CAAAsB,aAAA,CAACH,YAAY;IAACS,KAAK,EAAC;EAAK,CAAE,CACpB,CACQ,CACf,CACN,CAAC;AAEP,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA9B,OAAA,GAEaoB,mBAAmB","ignoreList":[]}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* @generated SignedSource<<d218bfec45daa388d75c95b9d58d8e97>>
|
|
9
|
-
* @lightSyntaxTransform
|
|
10
|
-
* @nogrep
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* tslint:disable */
|
|
14
|
-
/* eslint-disable */
|
|
15
|
-
// @ts-nocheck
|
|
16
|
-
|
|
17
|
-
const node = {
|
|
18
|
-
"fragment": {
|
|
19
|
-
"argumentDefinitions": [],
|
|
20
|
-
"kind": "Fragment",
|
|
21
|
-
"metadata": null,
|
|
22
|
-
"name": "SessionDrawerContentQuery",
|
|
23
|
-
"selections": [{
|
|
24
|
-
"args": null,
|
|
25
|
-
"kind": "FragmentSpread",
|
|
26
|
-
"name": "SessionList_sessions"
|
|
27
|
-
}],
|
|
28
|
-
"type": "Query",
|
|
29
|
-
"abstractKey": null
|
|
30
|
-
},
|
|
31
|
-
"kind": "Request",
|
|
32
|
-
"operation": {
|
|
33
|
-
"argumentDefinitions": [],
|
|
34
|
-
"kind": "Operation",
|
|
35
|
-
"name": "SessionDrawerContentQuery",
|
|
36
|
-
"selections": [{
|
|
37
|
-
"alias": null,
|
|
38
|
-
"args": null,
|
|
39
|
-
"concreteType": "SessionPayload",
|
|
40
|
-
"kind": "LinkedField",
|
|
41
|
-
"name": "sessions",
|
|
42
|
-
"plural": true,
|
|
43
|
-
"selections": [{
|
|
44
|
-
"alias": null,
|
|
45
|
-
"args": null,
|
|
46
|
-
"kind": "ScalarField",
|
|
47
|
-
"name": "id",
|
|
48
|
-
"storageKey": null
|
|
49
|
-
}, {
|
|
50
|
-
"alias": null,
|
|
51
|
-
"args": null,
|
|
52
|
-
"kind": "ScalarField",
|
|
53
|
-
"name": "current",
|
|
54
|
-
"storageKey": null
|
|
55
|
-
}, {
|
|
56
|
-
"alias": null,
|
|
57
|
-
"args": null,
|
|
58
|
-
"kind": "ScalarField",
|
|
59
|
-
"name": "lastSeenAt",
|
|
60
|
-
"storageKey": null
|
|
61
|
-
}, {
|
|
62
|
-
"alias": null,
|
|
63
|
-
"args": null,
|
|
64
|
-
"kind": "ScalarField",
|
|
65
|
-
"name": "isApp",
|
|
66
|
-
"storageKey": null
|
|
67
|
-
}, {
|
|
68
|
-
"alias": null,
|
|
69
|
-
"args": null,
|
|
70
|
-
"kind": "ScalarField",
|
|
71
|
-
"name": "browserName",
|
|
72
|
-
"storageKey": null
|
|
73
|
-
}, {
|
|
74
|
-
"alias": null,
|
|
75
|
-
"args": null,
|
|
76
|
-
"kind": "ScalarField",
|
|
77
|
-
"name": "browserVersion",
|
|
78
|
-
"storageKey": null
|
|
79
|
-
}, {
|
|
80
|
-
"alias": null,
|
|
81
|
-
"args": null,
|
|
82
|
-
"kind": "ScalarField",
|
|
83
|
-
"name": "osName",
|
|
84
|
-
"storageKey": null
|
|
85
|
-
}, {
|
|
86
|
-
"alias": null,
|
|
87
|
-
"args": null,
|
|
88
|
-
"kind": "ScalarField",
|
|
89
|
-
"name": "osVersion",
|
|
90
|
-
"storageKey": null
|
|
91
|
-
}, {
|
|
92
|
-
"alias": null,
|
|
93
|
-
"args": null,
|
|
94
|
-
"kind": "ScalarField",
|
|
95
|
-
"name": "deviceType",
|
|
96
|
-
"storageKey": null
|
|
97
|
-
}, {
|
|
98
|
-
"alias": null,
|
|
99
|
-
"args": null,
|
|
100
|
-
"kind": "ScalarField",
|
|
101
|
-
"name": "deviceName",
|
|
102
|
-
"storageKey": null
|
|
103
|
-
}, {
|
|
104
|
-
"alias": null,
|
|
105
|
-
"args": null,
|
|
106
|
-
"kind": "ScalarField",
|
|
107
|
-
"name": "deviceManufacturer",
|
|
108
|
-
"storageKey": null
|
|
109
|
-
}, {
|
|
110
|
-
"alias": null,
|
|
111
|
-
"args": null,
|
|
112
|
-
"kind": "ScalarField",
|
|
113
|
-
"name": "deviceBrand",
|
|
114
|
-
"storageKey": null
|
|
115
|
-
}, {
|
|
116
|
-
"alias": null,
|
|
117
|
-
"args": null,
|
|
118
|
-
"kind": "ScalarField",
|
|
119
|
-
"name": "deviceModel",
|
|
120
|
-
"storageKey": null
|
|
121
|
-
}, {
|
|
122
|
-
"alias": null,
|
|
123
|
-
"args": null,
|
|
124
|
-
"kind": "ScalarField",
|
|
125
|
-
"name": "ip",
|
|
126
|
-
"storageKey": null
|
|
127
|
-
}, {
|
|
128
|
-
"alias": null,
|
|
129
|
-
"args": null,
|
|
130
|
-
"kind": "ScalarField",
|
|
131
|
-
"name": "country",
|
|
132
|
-
"storageKey": null
|
|
133
|
-
}, {
|
|
134
|
-
"alias": null,
|
|
135
|
-
"args": null,
|
|
136
|
-
"kind": "ScalarField",
|
|
137
|
-
"name": "city",
|
|
138
|
-
"storageKey": null
|
|
139
|
-
}],
|
|
140
|
-
"storageKey": null
|
|
141
|
-
}]
|
|
142
|
-
},
|
|
143
|
-
"params": {
|
|
144
|
-
"cacheID": "cc7ef83584759c724bbad21b528477c2",
|
|
145
|
-
"id": null,
|
|
146
|
-
"metadata": {},
|
|
147
|
-
"name": "SessionDrawerContentQuery",
|
|
148
|
-
"operationKind": "query",
|
|
149
|
-
"text": "query SessionDrawerContentQuery {\n ...SessionList_sessions\n}\n\nfragment SessionListItem_session on SessionPayload {\n id\n isApp\n browserName\n browserVersion\n osName\n osVersion\n deviceType\n deviceName\n deviceManufacturer\n deviceBrand\n deviceModel\n ip\n country\n city\n lastSeenAt\n}\n\nfragment SessionList_sessions on Query {\n sessions {\n id\n current\n lastSeenAt\n ...SessionListItem_session\n }\n}\n"
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
node.hash = "1643ac6b9bd324d389dab9011e55b1ba";
|
|
153
|
-
var _default = exports.default = node;
|
|
154
|
-
//# sourceMappingURL=SessionDrawerContentQuery.graphql.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SessionDrawerContentQuery.graphql.js","names":["node","hash","_default","exports","default"],"sources":["../../../../../src/lib/components/session/__generated__/SessionDrawerContentQuery.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<d218bfec45daa388d75c95b9d58d8e97>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Query } from 'relay-runtime';\nimport { FragmentRefs } from \"relay-runtime\";\nexport type SessionDrawerContentQuery$variables = Record<PropertyKey, never>;\nexport type SessionDrawerContentQuery$data = {\n readonly \" $fragmentSpreads\": FragmentRefs<\"SessionList_sessions\">;\n};\nexport type SessionDrawerContentQuery = {\n response: SessionDrawerContentQuery$data;\n variables: SessionDrawerContentQuery$variables;\n};\n\nconst node: ConcreteRequest = {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"SessionDrawerContentQuery\",\n \"selections\": [\n {\n \"args\": null,\n \"kind\": \"FragmentSpread\",\n \"name\": \"SessionList_sessions\"\n }\n ],\n \"type\": \"Query\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"SessionDrawerContentQuery\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"SessionPayload\",\n \"kind\": \"LinkedField\",\n \"name\": \"sessions\",\n \"plural\": true,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"current\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastSeenAt\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"isApp\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"browserName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"browserVersion\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"osName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"osVersion\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceType\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceManufacturer\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceBrand\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceModel\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ip\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"country\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"city\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n ]\n },\n \"params\": {\n \"cacheID\": \"cc7ef83584759c724bbad21b528477c2\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"SessionDrawerContentQuery\",\n \"operationKind\": \"query\",\n \"text\": \"query SessionDrawerContentQuery {\\n ...SessionList_sessions\\n}\\n\\nfragment SessionListItem_session on SessionPayload {\\n id\\n isApp\\n browserName\\n browserVersion\\n osName\\n osVersion\\n deviceType\\n deviceName\\n deviceManufacturer\\n deviceBrand\\n deviceModel\\n ip\\n country\\n city\\n lastSeenAt\\n}\\n\\nfragment SessionList_sessions on Query {\\n sessions {\\n id\\n current\\n lastSeenAt\\n ...SessionListItem_session\\n }\\n}\\n\"\n }\n};\n\n(node as any).hash = \"1643ac6b9bd324d389dab9011e55b1ba\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA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AM,EAAE,IAAI;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,SAAS;QACjB,YAAY,EAAE;MAChB,CAAC,EACD;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,MAAM;QACd,YAAY,EAAE;MAChB,CAAC,CACF;MACD,YAAY,EAAE;IAChB,CAAC;EAEL,CAAC;EACD,QAAQ,EAAE;IACR,SAAS,EAAE,kCAAkC;IAC7C,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,CAAC,CAAC;IACd,MAAM,EAAE,2BAA2B;IACnC,eAAe,EAAE,OAAO;IACxB,MAAM,EAAE;EACV;AACF,CAAC;AAEAA,IAAI,CAASC,IAAI,GAAG,kCAAkC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEzCJ,IAAI","ignoreList":[]}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* @generated SignedSource<<a64c6c324728223ca8178497d7f1a000>>
|
|
9
|
-
* @lightSyntaxTransform
|
|
10
|
-
* @nogrep
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* tslint:disable */
|
|
14
|
-
/* eslint-disable */
|
|
15
|
-
// @ts-nocheck
|
|
16
|
-
|
|
17
|
-
const node = function () {
|
|
18
|
-
var v0 = [{
|
|
19
|
-
"alias": null,
|
|
20
|
-
"args": null,
|
|
21
|
-
"concreteType": "StatusPayload",
|
|
22
|
-
"kind": "LinkedField",
|
|
23
|
-
"name": "destroyAllOtherSessions",
|
|
24
|
-
"plural": false,
|
|
25
|
-
"selections": [{
|
|
26
|
-
"alias": null,
|
|
27
|
-
"args": null,
|
|
28
|
-
"kind": "ScalarField",
|
|
29
|
-
"name": "ok",
|
|
30
|
-
"storageKey": null
|
|
31
|
-
}],
|
|
32
|
-
"storageKey": null
|
|
33
|
-
}];
|
|
34
|
-
return {
|
|
35
|
-
"fragment": {
|
|
36
|
-
"argumentDefinitions": [],
|
|
37
|
-
"kind": "Fragment",
|
|
38
|
-
"metadata": null,
|
|
39
|
-
"name": "SessionListDestroyAllOtherSessionsMutation",
|
|
40
|
-
"selections": v0 /*: any*/,
|
|
41
|
-
"type": "Mutation",
|
|
42
|
-
"abstractKey": null
|
|
43
|
-
},
|
|
44
|
-
"kind": "Request",
|
|
45
|
-
"operation": {
|
|
46
|
-
"argumentDefinitions": [],
|
|
47
|
-
"kind": "Operation",
|
|
48
|
-
"name": "SessionListDestroyAllOtherSessionsMutation",
|
|
49
|
-
"selections": v0 /*: any*/
|
|
50
|
-
},
|
|
51
|
-
"params": {
|
|
52
|
-
"cacheID": "c6f556336ccb31f27b1c2f13c2ea9c06",
|
|
53
|
-
"id": null,
|
|
54
|
-
"metadata": {},
|
|
55
|
-
"name": "SessionListDestroyAllOtherSessionsMutation",
|
|
56
|
-
"operationKind": "mutation",
|
|
57
|
-
"text": "mutation SessionListDestroyAllOtherSessionsMutation {\n destroyAllOtherSessions {\n ok\n }\n}\n"
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
}();
|
|
61
|
-
node.hash = "016b6b5e7ae228f7df552d97fa43bd40";
|
|
62
|
-
var _default = exports.default = node;
|
|
63
|
-
//# sourceMappingURL=SessionListDestroyAllOtherSessionsMutation.graphql.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SessionListDestroyAllOtherSessionsMutation.graphql.js","names":["node","v0","hash","_default","exports","default"],"sources":["../../../../../src/lib/components/session/__generated__/SessionListDestroyAllOtherSessionsMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<a64c6c324728223ca8178497d7f1a000>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type SessionListDestroyAllOtherSessionsMutation$variables = Record<PropertyKey, never>;\nexport type SessionListDestroyAllOtherSessionsMutation$data = {\n readonly destroyAllOtherSessions: {\n readonly ok: boolean;\n };\n};\nexport type SessionListDestroyAllOtherSessionsMutation = {\n response: SessionListDestroyAllOtherSessionsMutation$data;\n variables: SessionListDestroyAllOtherSessionsMutation$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"alias\": null,\n \"args\": null,\n \"concreteType\": \"StatusPayload\",\n \"kind\": \"LinkedField\",\n \"name\": \"destroyAllOtherSessions\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ok\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"SessionListDestroyAllOtherSessionsMutation\",\n \"selections\": (v0/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": [],\n \"kind\": \"Operation\",\n \"name\": \"SessionListDestroyAllOtherSessionsMutation\",\n \"selections\": (v0/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"c6f556336ccb31f27b1c2f13c2ea9c06\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"SessionListDestroyAllOtherSessionsMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation SessionListDestroyAllOtherSessionsMutation {\\n destroyAllOtherSessions {\\n ok\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"016b6b5e7ae228f7df552d97fa43bd40\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAcA,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,eAAe;IAC/B,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,yBAAyB;IACjC,QAAQ,EAAE,KAAK;IACf,YAAY,EAAE,CACZ;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,IAAI;MACZ,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,IAAI;MACZ,YAAY,EAAE;IAChB,CAAC,CACF;IACD,YAAY,EAAE;EAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,4CAA4C;MACpD,YAAY,EAAGA,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAE,EAAE;MACzB,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,4CAA4C;MACpD,YAAY,EAAGA,EAAE;IACnB,CAAC;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,4CAA4C;MACpD,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHD,IAAI,CAASE,IAAI,GAAG,kCAAkC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEzCL,IAAI","ignoreList":[]}
|
package/dist/cjs/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* @generated SignedSource<<18abf6e996d326f8baadb8c340dc8b9d>>
|
|
9
|
-
* @lightSyntaxTransform
|
|
10
|
-
* @nogrep
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* tslint:disable */
|
|
14
|
-
/* eslint-disable */
|
|
15
|
-
// @ts-nocheck
|
|
16
|
-
|
|
17
|
-
const node = function () {
|
|
18
|
-
var v0 = [{
|
|
19
|
-
"defaultValue": null,
|
|
20
|
-
"kind": "LocalArgument",
|
|
21
|
-
"name": "input"
|
|
22
|
-
}],
|
|
23
|
-
v1 = [{
|
|
24
|
-
"alias": null,
|
|
25
|
-
"args": [{
|
|
26
|
-
"kind": "Variable",
|
|
27
|
-
"name": "input",
|
|
28
|
-
"variableName": "input"
|
|
29
|
-
}],
|
|
30
|
-
"concreteType": "StatusPayload",
|
|
31
|
-
"kind": "LinkedField",
|
|
32
|
-
"name": "destroySession",
|
|
33
|
-
"plural": false,
|
|
34
|
-
"selections": [{
|
|
35
|
-
"alias": null,
|
|
36
|
-
"args": null,
|
|
37
|
-
"kind": "ScalarField",
|
|
38
|
-
"name": "ok",
|
|
39
|
-
"storageKey": null
|
|
40
|
-
}],
|
|
41
|
-
"storageKey": null
|
|
42
|
-
}];
|
|
43
|
-
return {
|
|
44
|
-
"fragment": {
|
|
45
|
-
"argumentDefinitions": v0 /*: any*/,
|
|
46
|
-
"kind": "Fragment",
|
|
47
|
-
"metadata": null,
|
|
48
|
-
"name": "SessionListItemDestroySessionMutation",
|
|
49
|
-
"selections": v1 /*: any*/,
|
|
50
|
-
"type": "Mutation",
|
|
51
|
-
"abstractKey": null
|
|
52
|
-
},
|
|
53
|
-
"kind": "Request",
|
|
54
|
-
"operation": {
|
|
55
|
-
"argumentDefinitions": v0 /*: any*/,
|
|
56
|
-
"kind": "Operation",
|
|
57
|
-
"name": "SessionListItemDestroySessionMutation",
|
|
58
|
-
"selections": v1 /*: any*/
|
|
59
|
-
},
|
|
60
|
-
"params": {
|
|
61
|
-
"cacheID": "e967c31f65aa17e8ed5d6184f1f37c9d",
|
|
62
|
-
"id": null,
|
|
63
|
-
"metadata": {},
|
|
64
|
-
"name": "SessionListItemDestroySessionMutation",
|
|
65
|
-
"operationKind": "mutation",
|
|
66
|
-
"text": "mutation SessionListItemDestroySessionMutation(\n $input: DestroySessionInput!\n) {\n destroySession(input: $input) {\n ok\n }\n}\n"
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}();
|
|
70
|
-
node.hash = "ad6c0d1313a70dd63c0baccc2f7abd6e";
|
|
71
|
-
var _default = exports.default = node;
|
|
72
|
-
//# sourceMappingURL=SessionListItemDestroySessionMutation.graphql.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SessionListItemDestroySessionMutation.graphql.js","names":["node","v0","v1","hash","_default","exports","default"],"sources":["../../../../../src/lib/components/session/__generated__/SessionListItemDestroySessionMutation.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<18abf6e996d326f8baadb8c340dc8b9d>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { ConcreteRequest, Mutation } from 'relay-runtime';\nexport type DestroySessionInput = {\n id: string;\n};\nexport type SessionListItemDestroySessionMutation$variables = {\n input: DestroySessionInput;\n};\nexport type SessionListItemDestroySessionMutation$data = {\n readonly destroySession: {\n readonly ok: boolean;\n };\n};\nexport type SessionListItemDestroySessionMutation = {\n response: SessionListItemDestroySessionMutation$data;\n variables: SessionListItemDestroySessionMutation$variables;\n};\n\nconst node: ConcreteRequest = (function(){\nvar v0 = [\n {\n \"defaultValue\": null,\n \"kind\": \"LocalArgument\",\n \"name\": \"input\"\n }\n],\nv1 = [\n {\n \"alias\": null,\n \"args\": [\n {\n \"kind\": \"Variable\",\n \"name\": \"input\",\n \"variableName\": \"input\"\n }\n ],\n \"concreteType\": \"StatusPayload\",\n \"kind\": \"LinkedField\",\n \"name\": \"destroySession\",\n \"plural\": false,\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ok\",\n \"storageKey\": null\n }\n ],\n \"storageKey\": null\n }\n];\nreturn {\n \"fragment\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"SessionListItemDestroySessionMutation\",\n \"selections\": (v1/*: any*/),\n \"type\": \"Mutation\",\n \"abstractKey\": null\n },\n \"kind\": \"Request\",\n \"operation\": {\n \"argumentDefinitions\": (v0/*: any*/),\n \"kind\": \"Operation\",\n \"name\": \"SessionListItemDestroySessionMutation\",\n \"selections\": (v1/*: any*/)\n },\n \"params\": {\n \"cacheID\": \"e967c31f65aa17e8ed5d6184f1f37c9d\",\n \"id\": null,\n \"metadata\": {},\n \"name\": \"SessionListItemDestroySessionMutation\",\n \"operationKind\": \"mutation\",\n \"text\": \"mutation SessionListItemDestroySessionMutation(\\n $input: DestroySessionInput!\\n) {\\n destroySession(input: $input) {\\n ok\\n }\\n}\\n\"\n }\n};\n})();\n\n(node as any).hash = \"ad6c0d1313a70dd63c0baccc2f7abd6e\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAmBA,MAAMA,IAAqB,GAAI,YAAU;EACzC,IAAIC,EAAE,GAAG,CACP;MACE,cAAc,EAAE,IAAI;MACpB,MAAM,EAAE,eAAe;MACvB,MAAM,EAAE;IACV,CAAC,CACF;IACDC,EAAE,GAAG,CACH;MACE,OAAO,EAAE,IAAI;MACb,MAAM,EAAE,CACN;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,OAAO;QACf,cAAc,EAAE;MAClB,CAAC,CACF;MACD,cAAc,EAAE,eAAe;MAC/B,MAAM,EAAE,aAAa;MACrB,MAAM,EAAE,gBAAgB;MACxB,QAAQ,EAAE,KAAK;MACf,YAAY,EAAE,CACZ;QACE,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE;MAChB,CAAC,CACF;MACD,YAAY,EAAE;IAChB,CAAC,CACF;EACD,OAAO;IACL,UAAU,EAAE;MACV,qBAAqB,EAAGD,EAAE,UAAU;MACpC,MAAM,EAAE,UAAU;MAClB,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,uCAAuC;MAC/C,YAAY,EAAGC,EAAE,UAAU;MAC3B,MAAM,EAAE,UAAU;MAClB,aAAa,EAAE;IACjB,CAAC;IACD,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE;MACX,qBAAqB,EAAGD,EAAE,UAAU;MACpC,MAAM,EAAE,WAAW;MACnB,MAAM,EAAE,uCAAuC;MAC/C,YAAY,EAAGC,EAAE;IACnB,CAAC;IACD,QAAQ,EAAE;MACR,SAAS,EAAE,kCAAkC;MAC7C,IAAI,EAAE,IAAI;MACV,UAAU,EAAE,CAAC,CAAC;MACd,MAAM,EAAE,uCAAuC;MAC/C,eAAe,EAAE,UAAU;MAC3B,MAAM,EAAE;IACV;EACF,CAAC;AACD,CAAC,CAAE,CAAC;AAEHF,IAAI,CAASG,IAAI,GAAG,kCAAkC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEzCN,IAAI","ignoreList":[]}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* @generated SignedSource<<2950cc38daba4257c0f7660d1363004d>>
|
|
9
|
-
* @lightSyntaxTransform
|
|
10
|
-
* @nogrep
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* tslint:disable */
|
|
14
|
-
/* eslint-disable */
|
|
15
|
-
// @ts-nocheck
|
|
16
|
-
|
|
17
|
-
const node = {
|
|
18
|
-
"argumentDefinitions": [],
|
|
19
|
-
"kind": "Fragment",
|
|
20
|
-
"metadata": null,
|
|
21
|
-
"name": "SessionListItem_session",
|
|
22
|
-
"selections": [{
|
|
23
|
-
"alias": null,
|
|
24
|
-
"args": null,
|
|
25
|
-
"kind": "ScalarField",
|
|
26
|
-
"name": "id",
|
|
27
|
-
"storageKey": null
|
|
28
|
-
}, {
|
|
29
|
-
"alias": null,
|
|
30
|
-
"args": null,
|
|
31
|
-
"kind": "ScalarField",
|
|
32
|
-
"name": "isApp",
|
|
33
|
-
"storageKey": null
|
|
34
|
-
}, {
|
|
35
|
-
"alias": null,
|
|
36
|
-
"args": null,
|
|
37
|
-
"kind": "ScalarField",
|
|
38
|
-
"name": "browserName",
|
|
39
|
-
"storageKey": null
|
|
40
|
-
}, {
|
|
41
|
-
"alias": null,
|
|
42
|
-
"args": null,
|
|
43
|
-
"kind": "ScalarField",
|
|
44
|
-
"name": "browserVersion",
|
|
45
|
-
"storageKey": null
|
|
46
|
-
}, {
|
|
47
|
-
"alias": null,
|
|
48
|
-
"args": null,
|
|
49
|
-
"kind": "ScalarField",
|
|
50
|
-
"name": "osName",
|
|
51
|
-
"storageKey": null
|
|
52
|
-
}, {
|
|
53
|
-
"alias": null,
|
|
54
|
-
"args": null,
|
|
55
|
-
"kind": "ScalarField",
|
|
56
|
-
"name": "osVersion",
|
|
57
|
-
"storageKey": null
|
|
58
|
-
}, {
|
|
59
|
-
"alias": null,
|
|
60
|
-
"args": null,
|
|
61
|
-
"kind": "ScalarField",
|
|
62
|
-
"name": "deviceType",
|
|
63
|
-
"storageKey": null
|
|
64
|
-
}, {
|
|
65
|
-
"alias": null,
|
|
66
|
-
"args": null,
|
|
67
|
-
"kind": "ScalarField",
|
|
68
|
-
"name": "deviceName",
|
|
69
|
-
"storageKey": null
|
|
70
|
-
}, {
|
|
71
|
-
"alias": null,
|
|
72
|
-
"args": null,
|
|
73
|
-
"kind": "ScalarField",
|
|
74
|
-
"name": "deviceManufacturer",
|
|
75
|
-
"storageKey": null
|
|
76
|
-
}, {
|
|
77
|
-
"alias": null,
|
|
78
|
-
"args": null,
|
|
79
|
-
"kind": "ScalarField",
|
|
80
|
-
"name": "deviceBrand",
|
|
81
|
-
"storageKey": null
|
|
82
|
-
}, {
|
|
83
|
-
"alias": null,
|
|
84
|
-
"args": null,
|
|
85
|
-
"kind": "ScalarField",
|
|
86
|
-
"name": "deviceModel",
|
|
87
|
-
"storageKey": null
|
|
88
|
-
}, {
|
|
89
|
-
"alias": null,
|
|
90
|
-
"args": null,
|
|
91
|
-
"kind": "ScalarField",
|
|
92
|
-
"name": "ip",
|
|
93
|
-
"storageKey": null
|
|
94
|
-
}, {
|
|
95
|
-
"alias": null,
|
|
96
|
-
"args": null,
|
|
97
|
-
"kind": "ScalarField",
|
|
98
|
-
"name": "country",
|
|
99
|
-
"storageKey": null
|
|
100
|
-
}, {
|
|
101
|
-
"alias": null,
|
|
102
|
-
"args": null,
|
|
103
|
-
"kind": "ScalarField",
|
|
104
|
-
"name": "city",
|
|
105
|
-
"storageKey": null
|
|
106
|
-
}, {
|
|
107
|
-
"alias": null,
|
|
108
|
-
"args": null,
|
|
109
|
-
"kind": "ScalarField",
|
|
110
|
-
"name": "lastSeenAt",
|
|
111
|
-
"storageKey": null
|
|
112
|
-
}],
|
|
113
|
-
"type": "SessionPayload",
|
|
114
|
-
"abstractKey": null
|
|
115
|
-
};
|
|
116
|
-
node.hash = "c73c341c5f6e75f7bef7402186ce242b";
|
|
117
|
-
var _default = exports.default = node;
|
|
118
|
-
//# sourceMappingURL=SessionListItem_session.graphql.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SessionListItem_session.graphql.js","names":["node","hash","_default","exports","default"],"sources":["../../../../../src/lib/components/session/__generated__/SessionListItem_session.graphql.ts"],"sourcesContent":["/**\n * @generated SignedSource<<2950cc38daba4257c0f7660d1363004d>>\n * @lightSyntaxTransform\n * @nogrep\n */\n\n/* tslint:disable */\n/* eslint-disable */\n// @ts-nocheck\n\nimport { Fragment, ReaderFragment } from 'relay-runtime';\nimport { FragmentRefs } from \"relay-runtime\";\nexport type SessionListItem_session$data = {\n readonly browserName: string | null | undefined;\n readonly browserVersion: string | null | undefined;\n readonly city: string | null | undefined;\n readonly country: string | null | undefined;\n readonly deviceBrand: string | null | undefined;\n readonly deviceManufacturer: string | null | undefined;\n readonly deviceModel: string | null | undefined;\n readonly deviceName: string | null | undefined;\n readonly deviceType: string | null | undefined;\n readonly id: string;\n readonly ip: string | null | undefined;\n readonly isApp: boolean;\n readonly lastSeenAt: number;\n readonly osName: string | null | undefined;\n readonly osVersion: string | null | undefined;\n readonly \" $fragmentType\": \"SessionListItem_session\";\n};\nexport type SessionListItem_session$key = {\n readonly \" $data\"?: SessionListItem_session$data;\n readonly \" $fragmentSpreads\": FragmentRefs<\"SessionListItem_session\">;\n};\n\nconst node: ReaderFragment = {\n \"argumentDefinitions\": [],\n \"kind\": \"Fragment\",\n \"metadata\": null,\n \"name\": \"SessionListItem_session\",\n \"selections\": [\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"id\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"isApp\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"browserName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"browserVersion\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"osName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"osVersion\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceType\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceName\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceManufacturer\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceBrand\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"deviceModel\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"ip\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"country\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"city\",\n \"storageKey\": null\n },\n {\n \"alias\": null,\n \"args\": null,\n \"kind\": \"ScalarField\",\n \"name\": \"lastSeenAt\",\n \"storageKey\": null\n }\n ],\n \"type\": \"SessionPayload\",\n \"abstractKey\": null\n};\n\n(node as any).hash = \"c73c341c5f6e75f7bef7402186ce242b\";\n\nexport default node;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AA2BA,MAAMA,IAAoB,GAAG;EAC3B,qBAAqB,EAAE,EAAE;EACzB,MAAM,EAAE,UAAU;EAClB,UAAU,EAAE,IAAI;EAChB,MAAM,EAAE,yBAAyB;EACjC,YAAY,EAAE,CACZ;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,IAAI;IACZ,YAAY,EAAE;EAChB,CAAC,EACD;IACE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,OAAO;IACf,YAAY,EAAE;EAChB,CAAC,EACD;IACE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