Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿

feat: indicate new notifications (#6074)

authored by yoginth.com and committed by

GitHub 0e508cbb 4acfa7a9

+162 -128
+1 -1
apps/api/src/utils/lensPg.ts
··· 14 14 pg: IMain<unknown, pg.IClient>; 15 15 } 16 16 17 - type DatabaseParams = null | Record<string, unknown>; 17 + type DatabaseParams = null | Record<string, any>; 18 18 type DatabaseQuery = string; 19 19 20 20 class Database {
-112
apps/api/src/utils/redis.test.ts
··· 1 - import { afterEach, describe, expect, it, vi } from "vitest"; 2 - 3 - const setMock = vi.fn(); 4 - const getMock = vi.fn(); 5 - const delMock = vi.fn(); 6 - const connectMock = vi.fn(); 7 - const onMock = vi.fn(); 8 - 9 - const createClientMock = vi.fn(() => ({ 10 - connect: connectMock, 11 - del: delMock, 12 - get: getMock, 13 - on: onMock, 14 - set: setMock 15 - })); 16 - 17 - vi.mock("redis", () => ({ 18 - createClient: createClientMock 19 - })); 20 - 21 - const infoMock = vi.fn(); 22 - const errorMock = vi.fn(); 23 - const warnMock = vi.fn(); 24 - const debugMock = vi.fn(); 25 - 26 - vi.mock("@hey/helpers/logger", () => ({ 27 - default: { 28 - debug: debugMock, 29 - error: errorMock, 30 - info: infoMock, 31 - warn: warnMock 32 - } 33 - })); 34 - 35 - afterEach(() => { 36 - vi.clearAllMocks(); 37 - vi.restoreAllMocks(); 38 - vi.resetModules(); 39 - delete process.env.REDIS_URL; 40 - }); 41 - 42 - describe("hoursToSeconds", () => { 43 - it("converts hours to seconds", async () => { 44 - const { hoursToSeconds } = await import("./redis"); 45 - expect(hoursToSeconds(2)).toBe(7200); 46 - }); 47 - }); 48 - 49 - describe("generateSmallExpiry", () => { 50 - it("returns value between 1 and 2 days", async () => { 51 - vi.spyOn(Math, "random").mockReturnValue(0.5); 52 - const { generateSmallExpiry } = await import("./redis"); 53 - expect(generateSmallExpiry()).toBe(129600); 54 - }); 55 - }); 56 - 57 - describe("generateExtraLongExpiry", () => { 58 - it("returns value between 8 and 10 days", async () => { 59 - vi.spyOn(Math, "random").mockReturnValue(0.5); 60 - const { generateExtraLongExpiry } = await import("./redis"); 61 - expect(generateExtraLongExpiry()).toBe(777600); 62 - }); 63 - }); 64 - 65 - describe("Redis functions without client", () => { 66 - it("logs fallback when no client is available", async () => { 67 - const { setRedis, getRedis, delRedis } = await import("./redis"); 68 - 69 - await setRedis("k", "v"); 70 - await getRedis("k"); 71 - await delRedis("k"); 72 - 73 - const calls = infoMock.mock.calls.filter( 74 - (call) => call[0] === "[Redis] No Redis client, using fallback" 75 - ); 76 - expect(calls).toHaveLength(3); 77 - expect(setMock).not.toHaveBeenCalled(); 78 - expect(getMock).not.toHaveBeenCalled(); 79 - expect(delMock).not.toHaveBeenCalled(); 80 - }); 81 - }); 82 - 83 - describe("Redis functions with client", () => { 84 - it("passes parameters to redis client", async () => { 85 - process.env.REDIS_URL = "redis://localhost"; 86 - const module = await import("./redis"); 87 - const { setRedis, getRedis, delRedis } = module; 88 - 89 - setMock.mockResolvedValue("OK"); 90 - const value = { a: 1 }; 91 - const resultSet = await setRedis("key", value, 60); 92 - expect(resultSet).toBe("OK"); 93 - expect(setMock).toHaveBeenCalledWith("key", JSON.stringify(value), { 94 - EX: 60 95 - }); 96 - 97 - getMock.mockResolvedValue("VAL"); 98 - const resultGet = await getRedis("key"); 99 - expect(resultGet).toBe("VAL"); 100 - expect(getMock).toHaveBeenCalledWith("key"); 101 - 102 - delMock.mockResolvedValue(1); 103 - const resultDel = await delRedis("key"); 104 - expect(resultDel).toBe(1); 105 - expect(delMock).toHaveBeenCalledWith("key"); 106 - 107 - const calls = infoMock.mock.calls.filter( 108 - (call) => call[0] === "[Redis] No Redis client, using fallback" 109 - ); 110 - expect(calls).toHaveLength(0); 111 - }); 112 - });
+18 -1
apps/web/src/components/Notification/List.tsx
··· 5 5 NotificationType, 6 6 useNotificationsQuery 7 7 } from "@hey/indexer"; 8 - import { memo, useCallback } from "react"; 8 + import { memo, useCallback, useEffect } from "react"; 9 9 import { WindowVirtualizer } from "virtua"; 10 10 import AccountActionExecutedNotification from "@/components/Notification/Type/AccountActionExecutedNotification"; 11 11 import CommentNotification from "@/components/Notification/Type/CommentNotification"; ··· 18 18 import { Card, EmptyState, ErrorMessage } from "@/components/Shared/UI"; 19 19 import cn from "@/helpers/cn"; 20 20 import useLoadMoreOnIntersect from "@/hooks/useLoadMoreOnIntersect"; 21 + import { useNotificationStore } from "@/store/persisted/useNotificationStore"; 21 22 import { usePreferencesStore } from "@/store/persisted/usePreferencesStore"; 22 23 import NotificationShimmer from "./Shimmer"; 23 24 import TokenDistributedNotification from "./Type/TokenDistributedNotification"; ··· 40 41 41 42 const List = ({ feedType }: ListProps) => { 42 43 const { includeLowScore } = usePreferencesStore(); 44 + const { setLastSeenNotificationId } = useNotificationStore(); 43 45 44 46 const getNotificationType = useCallback(() => { 45 47 switch (feedType) { ··· 74 76 const notifications = data?.notifications?.items; 75 77 const pageInfo = data?.notifications?.pageInfo; 76 78 const hasMore = !!pageInfo?.next; 79 + 80 + useEffect(() => { 81 + const firstNotification = notifications?.[0]; 82 + if ( 83 + !firstNotification || 84 + typeof firstNotification !== "object" || 85 + !("id" in firstNotification) 86 + ) { 87 + return; 88 + } 89 + const firstId = firstNotification.id; 90 + if (firstId) { 91 + setLastSeenNotificationId(firstId); 92 + } 93 + }, [notifications, setLastSeenNotificationId]); 77 94 78 95 const handleEndReached = useCallback(async () => { 79 96 if (hasMore) {
+15 -2
apps/web/src/components/Shared/Navbar/BottomNavigation.tsx
··· 13 13 import type { MouseEvent, ReactNode } from "react"; 14 14 import { Link, useLocation } from "react-router"; 15 15 import { Image } from "@/components/Shared/UI"; 16 + import useHasNewNotifications from "@/hooks/useHasNewNotifications"; 16 17 import { useMobileDrawerModalStore } from "@/store/non-persisted/modal/useMobileDrawerModalStore"; 17 18 import { useAccountStore } from "@/store/persisted/useAccountStore"; 18 19 import MobileDrawerMenu from "./MobileDrawerMenu"; ··· 24 25 solid: ReactNode; 25 26 isActive: boolean; 26 27 onClick?: (e: MouseEvent) => void; 28 + showIndicator?: boolean; 27 29 } 28 30 29 31 const NavigationItem = ({ ··· 32 34 outline, 33 35 solid, 34 36 isActive, 35 - onClick 37 + onClick, 38 + showIndicator 36 39 }: NavigationItemProps) => ( 37 - <Link aria-label={label} className="mx-auto my-3" onClick={onClick} to={path}> 40 + <Link 41 + aria-label={label} 42 + className="relative mx-auto my-3" 43 + onClick={onClick} 44 + to={path} 45 + > 38 46 {isActive ? solid : outline} 47 + {showIndicator && ( 48 + <span className="-right-1 -top-1 absolute size-2 rounded-full bg-red-500" /> 49 + )} 39 50 </Link> 40 51 ); 41 52 ··· 44 55 const { currentAccount } = useAccountStore(); 45 56 const { show: showMobileDrawer, setShow: setShowMobileDrawer } = 46 57 useMobileDrawerModalStore(); 58 + const hasNewNotifications = useHasNewNotifications(); 47 59 48 60 const handleAccountClick = () => setShowMobileDrawer(true); 49 61 ··· 93 105 onClick={(e) => handleHomClick(path, e)} 94 106 outline={outline} 95 107 path={path} 108 + showIndicator={hasNewNotifications && path === "/notifications"} 96 109 solid={solid} 97 110 /> 98 111 ))}
+22 -11
apps/web/src/components/Shared/Navbar/index.tsx
··· 18 18 import { Link, useLocation } from "react-router"; 19 19 import Pro from "@/components/Shared/Navbar/NavItems/Pro"; 20 20 import { Image, Tooltip } from "@/components/Shared/UI"; 21 + import useHasNewNotifications from "@/hooks/useHasNewNotifications"; 21 22 import { useAuthModalStore } from "@/store/non-persisted/modal/useAuthModalStore"; 22 23 import { useAccountStore } from "@/store/persisted/useAccountStore"; 23 24 import { usePreferencesStore } from "@/store/persisted/usePreferencesStore"; ··· 59 60 60 61 const NavItems = memo(({ isLoggedIn }: { isLoggedIn: boolean }) => { 61 62 const { pathname } = useLocation(); 63 + const hasNewNotifications = useHasNewNotifications(); 62 64 const routes = [ 63 65 "/", 64 66 "/explore", ··· 67 69 68 70 return ( 69 71 <> 70 - {routes.map((route) => ( 71 - <NavItem 72 - icon={ 73 - pathname === route 74 - ? navigationItems[route as keyof typeof navigationItems].solid 75 - : navigationItems[route as keyof typeof navigationItems].outline 76 - } 77 - key={route} 78 - url={route} 79 - /> 80 - ))} 72 + {routes.map((route) => { 73 + const icon = 74 + pathname === route 75 + ? navigationItems[route as keyof typeof navigationItems].solid 76 + : navigationItems[route as keyof typeof navigationItems].outline; 77 + 78 + const iconWithIndicator = 79 + route === "/notifications" ? ( 80 + <span className="relative"> 81 + {icon} 82 + {hasNewNotifications && ( 83 + <span className="-right-1 -top-1 absolute size-2 rounded-full bg-red-500" /> 84 + )} 85 + </span> 86 + ) : ( 87 + icon 88 + ); 89 + 90 + return <NavItem icon={iconWithIndicator} key={route} url={route} />; 91 + })} 81 92 </> 82 93 ); 83 94 });
+30
apps/web/src/hooks/useHasNewNotifications.ts
··· 1 + import { 2 + NotificationOrderBy, 3 + useNotificationIndicatorQuery 4 + } from "@hey/indexer"; 5 + import { useAccountStore } from "@/store/persisted/useAccountStore"; 6 + import { useNotificationStore } from "@/store/persisted/useNotificationStore"; 7 + 8 + const useHasNewNotifications = () => { 9 + const { currentAccount } = useAccountStore(); 10 + const { lastSeenNotificationId } = useNotificationStore(); 11 + 12 + const { data } = useNotificationIndicatorQuery({ 13 + pollInterval: 10000, 14 + skip: !currentAccount, 15 + variables: { request: { orderBy: NotificationOrderBy.Default } } 16 + }); 17 + 18 + const latestNotificationWithId = data?.notifications?.items?.find( 19 + (notification) => "id" in notification 20 + ); 21 + const latestId = latestNotificationWithId?.id; 22 + 23 + if (!latestId || !currentAccount) { 24 + return false; 25 + } 26 + 27 + return latestId !== lastSeenNotificationId; 28 + }; 29 + 30 + export default useHasNewNotifications;
+18
apps/web/src/store/persisted/useNotificationStore.ts
··· 1 + import { Localstorage } from "@hey/data/storage"; 2 + import { createPersistedTrackedStore } from "@/store/createTrackedStore"; 3 + 4 + interface State { 5 + lastSeenNotificationId: string; 6 + setLastSeenNotificationId: (id: string) => void; 7 + } 8 + 9 + const { useStore: useNotificationStore } = createPersistedTrackedStore<State>( 10 + (set) => ({ 11 + lastSeenNotificationId: "0", 12 + setLastSeenNotificationId: (id) => 13 + set(() => ({ lastSeenNotificationId: id })) 14 + }), 15 + { name: Localstorage.NotificationStore } 16 + ); 17 + 18 + export { useNotificationStore };
-1
biome.json
··· 71 71 "style": { 72 72 "noInferrableTypes": "error", 73 73 "noNegationElse": "error", 74 - "noParameterAssign": "error", 75 74 "noUnusedTemplateLiteral": "error", 76 75 "noUselessElse": "error", 77 76 "useAsConstAssertion": "error",
+1
packages/data/storage.ts
··· 2 2 AccountStore: "account.store", 3 3 AuthStore: "auth.store", 4 4 HomeTabStore: "home-tab.store", 5 + NotificationStore: "notification.store", 5 6 PreferencesStore: "preferences.store", 6 7 ProStore: "pro.store", 7 8 ReloadTabs: "reload.tabs",
+33
packages/indexer/documents/queries/account/NotificationIndicator.graphql
··· 1 + query NotificationIndicator($request: NotificationRequest!) { 2 + notifications(request: $request) { 3 + items { 4 + ... on CommentNotification { 5 + id 6 + } 7 + ... on FollowNotification { 8 + id 9 + } 10 + ... on MentionNotification { 11 + id 12 + } 13 + ... on QuoteNotification { 14 + id 15 + } 16 + ... on ReactionNotification { 17 + id 18 + } 19 + ... on RepostNotification { 20 + id 21 + } 22 + ... on PostActionExecutedNotification { 23 + id 24 + } 25 + ... on AccountActionExecutedNotification { 26 + id 27 + } 28 + ... on TokenDistributedNotification { 29 + id 30 + } 31 + } 32 + } 33 + }
+24
packages/indexer/generated.ts
··· 6165 6165 export type TokenDistributedNotification = { 6166 6166 __typename?: 'TokenDistributedNotification'; 6167 6167 account: Account; 6168 + actionDate: Scalars['DateTime']['output']; 6168 6169 amount: PayableAmount; 6169 6170 id: Scalars['GeneratedNotificationId']['output']; 6170 6171 }; ··· 8379 8380 & AccountFragment 8380 8381 ) } }, proBanner?: { __typename?: 'Post', operations?: { __typename?: 'LoggedInPostOperations', dismissed: boolean } | null } | { __typename?: 'Repost' } | null }; 8381 8382 8383 + export type NotificationIndicatorQueryVariables = Exact<{ 8384 + request: NotificationRequest; 8385 + }>; 8386 + 8387 + 8388 + export type NotificationIndicatorQuery = { __typename?: 'Query', notifications: { __typename?: 'PaginatedNotificationResult', items: Array<{ __typename?: 'AccountActionExecutedNotification', id: any } | { __typename?: 'CommentNotification', id: any } | { __typename?: 'FollowNotification', id: any } | { __typename?: 'GroupMembershipRequestApprovedNotification' } | { __typename?: 'GroupMembershipRequestRejectedNotification' } | { __typename?: 'MentionNotification', id: any } | { __typename?: 'PostActionExecutedNotification', id: any } | { __typename?: 'QuoteNotification', id: any } | { __typename?: 'ReactionNotification', id: any } | { __typename?: 'RepostNotification', id: any } | { __typename?: 'TokenDistributedNotification', id: any }> } }; 8389 + 8382 8390 export type NotificationsQueryVariables = Exact<{ 8383 8391 request: NotificationRequest; 8384 8392 }>; ··· 9288 9296 export type MeQueryHookResult = ReturnType<typeof useMeQuery>; 9289 9297 export type MeLazyQueryHookResult = ReturnType<typeof useMeLazyQuery>; 9290 9298 export type MeSuspenseQueryHookResult = ReturnType<typeof useMeSuspenseQuery>; 9299 + export const NotificationIndicatorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NotificationIndicator"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"request"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationRequest"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notifications"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"request"},"value":{"kind":"Variable","name":{"kind":"Name","value":"request"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommentNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FollowNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MentionNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuoteNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReactionNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RepostNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostActionExecutedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountActionExecutedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TokenDistributedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]} as unknown as DocumentNode; 9300 + export function useNotificationIndicatorQuery(baseOptions: Apollo.QueryHookOptions<NotificationIndicatorQuery, NotificationIndicatorQueryVariables> & ({ variables: NotificationIndicatorQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { 9301 + const options = {...defaultOptions, ...baseOptions} 9302 + return Apollo.useQuery<NotificationIndicatorQuery, NotificationIndicatorQueryVariables>(NotificationIndicatorDocument, options); 9303 + } 9304 + export function useNotificationIndicatorLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<NotificationIndicatorQuery, NotificationIndicatorQueryVariables>) { 9305 + const options = {...defaultOptions, ...baseOptions} 9306 + return Apollo.useLazyQuery<NotificationIndicatorQuery, NotificationIndicatorQueryVariables>(NotificationIndicatorDocument, options); 9307 + } 9308 + export function useNotificationIndicatorSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<NotificationIndicatorQuery, NotificationIndicatorQueryVariables>) { 9309 + const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions} 9310 + return Apollo.useSuspenseQuery<NotificationIndicatorQuery, NotificationIndicatorQueryVariables>(NotificationIndicatorDocument, options); 9311 + } 9312 + export type NotificationIndicatorQueryHookResult = ReturnType<typeof useNotificationIndicatorQuery>; 9313 + export type NotificationIndicatorLazyQueryHookResult = ReturnType<typeof useNotificationIndicatorLazyQuery>; 9314 + export type NotificationIndicatorSuspenseQueryHookResult = ReturnType<typeof useNotificationIndicatorSuspenseQuery>; 9291 9315 export const NotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Notifications"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"request"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationRequest"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notifications"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"request"},"value":{"kind":"Variable","name":{"kind":"Name","value":"request"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommentNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommentNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FollowNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FollowNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MentionNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MentionNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuoteNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuoteNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReactionNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReactionNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RepostNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RepostNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostActionExecutedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostActionExecutedNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountActionExecutedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountActionExecutedNotification"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TokenDistributedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TokenDistributedNotification"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaginatedResultInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnyKeyValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnyKeyValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AddressKeyValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"address"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BigDecimalKeyValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"bigDecimal"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringKeyValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"string"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onChain"}},{"kind":"Field","name":{"kind":"Name","value":"optimistic"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Erc20Amount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Erc20Amount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"asset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contract"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"address"}}]}},{"kind":"Field","name":{"kind":"Name","value":"decimals"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"symbol"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NativeAmount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NativeAmount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"asset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contract"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"address"}}]}},{"kind":"Field","name":{"kind":"Name","value":"decimals"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"symbol"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaginatedResultInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaginatedResultInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"prev"}},{"kind":"Field","name":{"kind":"Name","value":"next"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PayableAmount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PayableAmount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Erc20Amount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Erc20Amount"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NativeAmount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NativeAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Account"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"owner"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"rules"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"anyOf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountFollowRule"}}]}},{"kind":"Field","name":{"kind":"Name","value":"required"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountFollowRule"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"operations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LoggedInAccountOperations"}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMetadata"}}]}},{"kind":"Field","name":{"kind":"Name","value":"username"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"request"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"autoResolve"},"value":{"kind":"BooleanValue","value":true}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Username"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"Permissions"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountFollowRule"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountFollowRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"config"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyKeyValue"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"bio"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"coverPicture"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LoggedInAccountOperations"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LoggedInAccountOperations"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isFollowedByMe"}},{"kind":"Field","name":{"kind":"Name","value":"isFollowingMe"}},{"kind":"Field","name":{"kind":"Name","value":"isMutedByMe"}},{"kind":"Field","name":{"kind":"Name","value":"isBlockedByMe"}},{"kind":"Field","name":{"kind":"Name","value":"hasBlockedMe"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Permissions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"hasSubscribed"},"name":{"kind":"Name","value":"isMemberOf"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"request"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"group"},"value":{"kind":"StringValue","value":"0x4BE5b4519814A57E6f9AaFC6afBB37eAEeE35aA3","block":false}}]}}]},{"kind":"Field","alias":{"kind":"Name","value":"isStaff"},"name":{"kind":"Name","value":"isMemberOf"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"request"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"group"},"value":{"kind":"StringValue","value":"0xA7f2835e54998c6d7d4A0126eC0ebE91b5E43c69","block":false}}]}}]}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Username"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Username"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"namespace"}},{"kind":"Field","name":{"kind":"Name","value":"localName"}},{"kind":"Field","name":{"kind":"Name","value":"linkedTo"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GroupMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GroupMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"coverPicture"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountActionExecutedNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountActionExecutedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TippingAccountActionExecuted"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"executedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Account"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommentNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommentNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"comment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FollowNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FollowNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"followers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Account"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MentionNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MentionNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"post"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostActionExecutedNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostActionExecutedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SimpleCollectPostActionExecuted"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"executedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Account"}}]}},{"kind":"Field","name":{"kind":"Name","value":"action"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"payToCollect"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PayToCollectConfig"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TippingPostActionExecuted"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"executedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Account"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"post"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuoteNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuoteNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quote"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReactionNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReactionNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"post"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Account"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RepostNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RepostNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"post"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reposts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Account"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TokenDistributedNotification"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TokenDistributedNotification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PayableAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountMention"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountMention"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"}},{"kind":"Field","name":{"kind":"Name","value":"namespace"}},{"kind":"Field","name":{"kind":"Name","value":"replace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GroupMention"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GroupMention"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"group"}},{"kind":"Field","name":{"kind":"Name","value":"replace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LoggedInPostOperations"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LoggedInPostOperations"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasBookmarked"}},{"kind":"Field","name":{"kind":"Name","value":"hasReacted"}},{"kind":"Field","name":{"kind":"Name","value":"hasSimpleCollected"}},{"kind":"Field","name":{"kind":"Name","value":"hasTipped"}},{"kind":"Field","name":{"kind":"Name","value":"hasReported"}},{"kind":"Field","name":{"kind":"Name","value":"isNotInterested"}},{"kind":"Field","name":{"kind":"Name","value":"hasQuoted"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanValue"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasReposted"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanValue"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canRepost"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canQuote"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canComment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReferencedPost"}},{"kind":"Field","name":{"kind":"Name","value":"root"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReferencedPost"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commentOn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReferencedPost"}}]}},{"kind":"Field","name":{"kind":"Name","value":"quoteOf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReferencedPost"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostFeedInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostFeedInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"group"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostGroupInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostGroupInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostGroupInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GroupMetadata"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostMention"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostMention"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountMention"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountMention"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GroupMention"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GroupMention"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VideoMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VideoMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArticleMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ArticleMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AudioMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AudioMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ImageMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LinkMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LinkMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LivestreamMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LivestreamMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MintMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MintMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextOnlyMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TextOnlyMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CheckingInMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CheckingInMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SpaceMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SpaceMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StoryMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StoryMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ThreeDMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ThreeDMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmbedMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"EmbedMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TransactionMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionMetadata"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"EventMetadata"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostStats"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostStats"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bookmarks"}},{"kind":"Field","name":{"kind":"Name","value":"comments"}},{"kind":"Field","name":{"kind":"Name","value":"quotes"}},{"kind":"Field","name":{"kind":"Name","value":"reactions"}},{"kind":"Field","name":{"kind":"Name","value":"reposts"}},{"kind":"Field","name":{"kind":"Name","value":"collects"}},{"kind":"Field","name":{"kind":"Name","value":"tips"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReferencedPost"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"isDeleted"}},{"kind":"Field","name":{"kind":"Name","value":"isEdited"}},{"kind":"Field","name":{"kind":"Name","value":"feed"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostFeedInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"app"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Account"}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostMetadata"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostStats"}}]}},{"kind":"Field","name":{"kind":"Name","value":"operations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LoggedInPostOperations"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"mentions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostMention"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PayToCollectConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PayToCollectConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"referralShare"}},{"kind":"Field","name":{"kind":"Name","value":"recipients"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"percent"}}]}},{"kind":"Field","name":{"kind":"Name","value":"price"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PayableAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ArticleMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArticleMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AudioMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AudioMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audio"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MediaAudio"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CheckingInMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CheckingInMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EmbedMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmbedMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MediaImage"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LinkMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LinkMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"sharingLink"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LivestreamMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LivestreamMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"playbackUrl"}},{"kind":"Field","name":{"kind":"Name","value":"liveUrl"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MetadataAttribute"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MetadataAttribute"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MintMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MintMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SpaceMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SpaceMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StoryMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StoryMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextOnlyMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextOnlyMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ThreeDMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ThreeDMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TransactionMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VideoMetadata"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VideoMetadata"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"contentWarning"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MetadataAttribute"}}]}},{"kind":"Field","name":{"kind":"Name","value":"video"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MediaVideo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnyMedia"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnyMedia"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnyMedia"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaVideo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MediaVideo"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaImage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MediaImage"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaAudio"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MediaAudio"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MediaAudio"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaAudio"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"artist"}},{"kind":"Field","name":{"kind":"Name","value":"item"}},{"kind":"Field","name":{"kind":"Name","value":"cover"}},{"kind":"Field","name":{"kind":"Name","value":"license"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MediaImage"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaImage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"item"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MediaVideo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaVideo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"item"}},{"kind":"Field","name":{"kind":"Name","value":"cover"}},{"kind":"Field","name":{"kind":"Name","value":"license"}}]}}]} as unknown as DocumentNode; 9292 9316 export function useNotificationsQuery(baseOptions: Apollo.QueryHookOptions<NotificationsQuery, NotificationsQueryVariables> & ({ variables: NotificationsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { 9293 9317 const options = {...defaultOptions, ...baseOptions}