diff --git a/src/components/molecules/AuthModal.tsx b/src/components/molecules/AuthModal.tsx index 8ab158964..1986b384b 100644 --- a/src/components/molecules/AuthModal.tsx +++ b/src/components/molecules/AuthModal.tsx @@ -28,9 +28,7 @@ import { } from '../../utils' import { Caption } from '../typography' -interface IAuthModal { - isOpen: boolean - onClose: () => void +export type AuthModalAdditionalprops = { title?: string description?: string showTwitter?: boolean @@ -41,6 +39,10 @@ interface IAuthModal { showGithub?: boolean privateRoute?: boolean } +type AuthModalProps = { + isOpen: boolean + onClose: () => void +} & AuthModalAdditionalprops const ConnectAccounts = ({ onClose, @@ -107,7 +109,7 @@ const ConnectAccounts = ({ ) } -export const AuthModal = (authModalProps: IAuthModal) => { +export const AuthModal = (authModalProps: AuthModalProps) => { const { t } = useTranslation() const isMobile = useMobileMode() const { diff --git a/src/modules/navigation/platformNavBar/PlatformNavBar.tsx b/src/modules/navigation/platformNavBar/PlatformNavBar.tsx index 793ca8656..165295fc4 100644 --- a/src/modules/navigation/platformNavBar/PlatformNavBar.tsx +++ b/src/modules/navigation/platformNavBar/PlatformNavBar.tsx @@ -23,7 +23,7 @@ import { ProfileNav } from './profileNav/ProfileNav' export const PlatformNavBar = () => { const { isLoggedIn, logout, queryCurrentUser } = useAuthContext() - const { loginIsOpen, loginOnClose } = useAuthModal() + const { loginIsOpen, loginOnClose, loginModalAdditionalProps } = useAuthModal() const isMobileMode = useMobileMode() @@ -122,6 +122,7 @@ export const PlatformNavBar = () => { onLoginAlertModalClose() emailPromptOnOpen() }} + {...loginModalAdditionalProps} /> diff --git a/src/modules/navigation/platformNavBar/components/LoggedOutModal.tsx b/src/modules/navigation/platformNavBar/components/LoggedOutModal.tsx index acb365473..0870f31db 100644 --- a/src/modules/navigation/platformNavBar/components/LoggedOutModal.tsx +++ b/src/modules/navigation/platformNavBar/components/LoggedOutModal.tsx @@ -30,7 +30,7 @@ export const LoggedOutModal = ({ isOpen, onClose }: UseModalProps) => { {t('Please log back in with your profile, or press continue if want to stay anonymous.')} - ) diff --git a/src/modules/project/API/useProjectGrantApplicationsAPI.ts b/src/modules/project/API/useProjectGrantApplicationsAPI.ts new file mode 100644 index 000000000..a510d6b01 --- /dev/null +++ b/src/modules/project/API/useProjectGrantApplicationsAPI.ts @@ -0,0 +1,53 @@ +import { useAtom, useSetAtom } from 'jotai' +import { useEffect } from 'react' + +import { ProjectGrantApplicationsWhereInputEnum, useProjectGrantApplicationsLazyQuery } from '../../../types' +import { useProjectAtom } from '../hooks/useProjectAtom' +import { initialProjectGrantApplicationsLoadAtom, partialUpdateProjectAtom } from '../state/projectAtom' + +/** + * Query project grant applications for project context + * @param load - Load project grant applications on mount + */ +export const useProjectGrantApplicationsAPI = (load?: boolean) => { + const partialUpdateProject = useSetAtom(partialUpdateProjectAtom) + const [initialProjectGrantApplicationsLoad, setInitialProjectGrantApplicationsLoad] = useAtom( + initialProjectGrantApplicationsLoadAtom, + ) + + const { project, loading } = useProjectAtom() + + const [queryProjectGrantApplications, queryProjectGrantApplicationsOptions] = useProjectGrantApplicationsLazyQuery({ + variables: { + where: { id: project.id }, + input: { + where: { + grantStatus: ProjectGrantApplicationsWhereInputEnum.FundingOpen, + }, + }, + }, + fetchPolicy: 'cache-first', + + onCompleted(data) { + if (!data.projectGet) { + return + } + + partialUpdateProject(data.projectGet) + setInitialProjectGrantApplicationsLoad(true) + }, + }) + + useEffect(() => { + if (project.id && !loading && load && !initialProjectGrantApplicationsLoad) { + queryProjectGrantApplications() + } + }, [project.id, loading, load, queryProjectGrantApplications, initialProjectGrantApplicationsLoad]) + + return { + queryProjectGrantApplications: { + execute: queryProjectGrantApplications, + ...queryProjectGrantApplicationsOptions, + }, + } +} diff --git a/src/modules/project/graphql/fragments/grantFragment.ts b/src/modules/project/graphql/fragments/grantFragment.ts new file mode 100644 index 000000000..fcfea9305 --- /dev/null +++ b/src/modules/project/graphql/fragments/grantFragment.ts @@ -0,0 +1,18 @@ +import { gql } from '@apollo/client' + +export const FRAGMENT_PROJECT_GRANT_APPLICANT = gql` + fragment ProjectGrantApplicant on GrantApplicant { + id + status + grant { + ... on CommunityVoteGrant { + id + votingSystem + type + name + title + status + } + } + } +` diff --git a/src/modules/project/graphql/queries/projectQuery.ts b/src/modules/project/graphql/queries/projectQuery.ts index 885a8cda4..7aaab8fa7 100644 --- a/src/modules/project/graphql/queries/projectQuery.ts +++ b/src/modules/project/graphql/queries/projectQuery.ts @@ -1,5 +1,6 @@ import { gql } from '@apollo/client' +import { FRAGMENT_PROJECT_GRANT_APPLICANT } from '../fragments/grantFragment' import { FRAGMENT_PROJECT_HEADER_SUMMARY, FRAGMENT_PROJECT_PAGE_BODY, @@ -25,6 +26,17 @@ export const QUERY_PROJECT_PAGE_DETAILS = gql` } ` +export const QUERY_PROJECT_GRANT_APPLICATION = gql` + ${FRAGMENT_PROJECT_GRANT_APPLICANT} + query ProjectGrantApplications($where: UniqueProjectQueryInput!, $input: ProjectGrantApplicationsInput) { + projectGet(where: $where) { + grantApplications(input: $input) { + ...ProjectGrantApplicant + } + } + } +` + export const QUERY_PROJECT_HEADER_SUMMARY = gql` ${FRAGMENT_PROJECT_HEADER_SUMMARY} query ProjectPageHeaderSummary($where: UniqueProjectQueryInput!) { diff --git a/src/modules/project/pages1/projectFunding/views/fundingDetails/sections/FundingDetailsUserComment.tsx b/src/modules/project/pages1/projectFunding/views/fundingDetails/sections/FundingDetailsUserComment.tsx index ff52dc120..d4b501b42 100644 --- a/src/modules/project/pages1/projectFunding/views/fundingDetails/sections/FundingDetailsUserComment.tsx +++ b/src/modules/project/pages1/projectFunding/views/fundingDetails/sections/FundingDetailsUserComment.tsx @@ -73,7 +73,7 @@ export const FundingDetailsUserComment = () => { {'Funding anonymously. '} loginOnOpen()} color="primary.600" fontWeight="bold" _hover={{ cursor: 'pointer' }} @@ -93,7 +93,7 @@ export const FundingDetailsUserComment = () => { {isAnonymous || !user ? ( - + loginOnOpen()} avatarOnly /> ) : ( diff --git a/src/modules/project/pages1/projectView/views/body/components/ContributeButton.tsx b/src/modules/project/pages1/projectView/views/body/components/ContributeButton.tsx index 109e8384e..2181c9891 100644 --- a/src/modules/project/pages1/projectView/views/body/components/ContributeButton.tsx +++ b/src/modules/project/pages1/projectView/views/body/components/ContributeButton.tsx @@ -2,7 +2,11 @@ import { Button, ButtonProps } from '@chakra-ui/react' import { useTranslation } from 'react-i18next' import { useNavigate } from 'react-router-dom' +import { useProjectGrantApplicationsAPI } from '@/modules/project/API/useProjectGrantApplicationsAPI' import { getPath } from '@/shared/constants' +import { useModal } from '@/shared/hooks' +import { VotingInfoModal } from '@/shared/molecules/VotingInfoModal' +import { CommunityVoteGrant, GrantStatusEnum, VotingSystem } from '@/types' import { isActive } from '../../../../../../../utils' import { useProjectAtom } from '../../../../../hooks/useProjectAtom' @@ -12,24 +16,55 @@ export const ContributeButton = (props: ButtonProps) => { const navigate = useNavigate() + const votingInfoModal = useModal() + + const { queryProjectGrantApplications } = useProjectGrantApplicationsAPI(true) + const { project } = useProjectAtom() if (!project) { return null } + const communityVotingGrant = + project?.grantApplications && + project.grantApplications.length > 0 && + (project.grantApplications.find( + (application) => + application.grant.__typename === 'CommunityVoteGrant' && + application.grant.status === GrantStatusEnum.FundingOpen, + )?.grant as CommunityVoteGrant) + + const isStepVoting = communityVotingGrant ? communityVotingGrant.votingSystem === VotingSystem.StepLog_10 : false + const isFundingDisabled = !isActive(project.status) return ( - + <> + {communityVotingGrant && isStepVoting && ( + + )} + + ) } diff --git a/src/modules/project/state/projectAtom.ts b/src/modules/project/state/projectAtom.ts index fe809a589..cd2a3701a 100644 --- a/src/modules/project/state/projectAtom.ts +++ b/src/modules/project/state/projectAtom.ts @@ -4,7 +4,12 @@ import { useCallback } from 'react' import { toInt } from '@/utils' import { authUserAtom } from '../../../pages/auth/state' -import { ProjectHeaderSummaryFragment, ProjectPageBodyFragment, ProjectPageDetailsFragment } from '../../../types' +import { + ProjectGrantApplicantFragment, + ProjectHeaderSummaryFragment, + ProjectPageBodyFragment, + ProjectPageDetailsFragment, +} from '../../../types' import { resetRewardsAtom } from '../pages1/projectDashboard/views/sales/state/rewardsAtom' import { affiliateAtomReset } from './affiliateAtom' import { contributionAtomReset } from './contributionsAtom' @@ -14,7 +19,9 @@ import { projectFormAtomReset } from './projectFormAtom' import { rewardsAtomReset } from './rewardsAtom' import { walletAtomReset } from './walletAtom' -export type ProjectState = ProjectPageBodyFragment & ProjectHeaderSummaryFragment & ProjectPageDetailsFragment +export type ProjectState = ProjectPageBodyFragment & + ProjectHeaderSummaryFragment & + ProjectPageDetailsFragment & { grantApplications?: ProjectGrantApplicantFragment[] } /** Project atom is the root project store */ export const projectAtom = atom({} as ProjectState) @@ -81,11 +88,15 @@ export const projectOwnerAtom = atom((get) => { /** Initial load for project details, set to true after loaded */ export const initialProjectDetailsLoadAtom = atom(false) +/** Initial load for project grant applications, set to true after loaded */ +export const initialProjectGrantApplicationsLoadAtom = atom(false) + /** Reset all real-atoms in this file to it's initial State */ export const projectAtomReset = atom(null, (get, set) => { set(projectAtom, {} as ProjectState) set(projectLoadingAtom, true) set(initialProjectDetailsLoadAtom, false) + set(initialProjectGrantApplicationsLoadAtom, false) }) export const useProjectReset = () => { diff --git a/src/pages/auth/hooks/useAuthModal.ts b/src/pages/auth/hooks/useAuthModal.ts index 640519040..1cec9d68f 100644 --- a/src/pages/auth/hooks/useAuthModal.ts +++ b/src/pages/auth/hooks/useAuthModal.ts @@ -1,13 +1,25 @@ -import { useAtom } from 'jotai' +import { useAtom, useSetAtom } from 'jotai' -import { isLoginModalOpenAtom } from '../state' +import { AuthModalAdditionalprops } from '@/components/molecules' + +import { isLoginModalOpenAtom, loginModalAdditionalPropsAtom, resetLoginModalAdditionalPropsAtom } from '../state' export const useAuthModal = () => { const [loginIsOpen, setLoginIsOpen] = useAtom(isLoginModalOpenAtom) + const [loginModalAdditionalProps, setLoginModalAdditionalProps] = useAtom(loginModalAdditionalPropsAtom) + const resetLoginModalAdditionalProps = useSetAtom(resetLoginModalAdditionalPropsAtom) - const loginOnOpen = () => setLoginIsOpen(true) + const loginOnOpen = (props?: AuthModalAdditionalprops) => { + setLoginIsOpen(true) + if (props) { + setLoginModalAdditionalProps(props) + } + } - const loginOnClose = () => setLoginIsOpen(false) + const loginOnClose = () => { + setLoginIsOpen(false) + resetLoginModalAdditionalProps() + } - return { loginIsOpen, loginOnOpen, loginOnClose } + return { loginIsOpen, loginOnOpen, loginOnClose, loginModalAdditionalProps } } diff --git a/src/pages/auth/state/authAtom.ts b/src/pages/auth/state/authAtom.ts index 8d294ac11..70b6fcca1 100644 --- a/src/pages/auth/state/authAtom.ts +++ b/src/pages/auth/state/authAtom.ts @@ -1,6 +1,8 @@ import { atom, useAtomValue } from 'jotai' import { atomWithStorage } from 'jotai/utils' +import { AuthModalAdditionalprops } from '@/components/molecules' + import { Project, UserMeFragment } from '../../../types' import { ExternalAccountType, SocialAccountType } from '../type' @@ -15,6 +17,18 @@ export const defaultUser: UserMeFragment = { hasSocialAccount: false, } +export const defaultLoginAdditionalProps: AuthModalAdditionalprops = { + title: '', + description: '', + showTwitter: true, + showNostr: true, + showLightning: true, + showFacebook: true, + showGoogle: true, + showGithub: true, + privateRoute: false, +} + /** Primary user that is logged in */ export const authUserAtom = atom(defaultUser) @@ -31,5 +45,13 @@ export const useFollowedProjectsValue = () => useAtomValue(followedProjectsAtom) /** Used to open login modal from any place */ export const isLoginModalOpenAtom = atom(false) +/** Additional props for the login modal */ +export const loginModalAdditionalPropsAtom = atom(defaultLoginAdditionalProps) + +/** Reset the additional props for the login modal */ +export const resetLoginModalAdditionalPropsAtom = atom(null, (_get, set) => { + set(loginModalAdditionalPropsAtom, defaultLoginAdditionalProps) +}) + /** Login method used by the current User */ export const loginMethodAtom = atomWithStorage('loginMethod', '') diff --git a/src/pages/grants/grantsPage/GrantPage.tsx b/src/pages/grants/grantsPage/GrantPage.tsx index 7a2dd597e..3b90e5e2d 100644 --- a/src/pages/grants/grantsPage/GrantPage.tsx +++ b/src/pages/grants/grantsPage/GrantPage.tsx @@ -71,28 +71,12 @@ export const GrantPage = () => { .sort((a, b) => Number(userProjectIds.has(b.project.id)) - Number(userProjectIds.has(a.project.id))) : [] - const fundingOpenStatus = grant.statuses.find((s) => s.status === GrantStatusEnum.FundingOpen) - if (grant.name === 'grant-round-001') { - return ( - - ) + return } if (grant.name === 'grant-round-002') { - return ( - - ) + return } const winnerAnnouncement = GrantAnnouncements[grant.name] @@ -199,12 +183,9 @@ export const GrantPage = () => { applicants={applicants} grantHasVoting={grantHasVoting} grantStatus={grant.status} - fundingOpenEndDate={fundingOpenStatus?.endAt} - fundingOpenStartDate={fundingOpenStatus?.startAt} isClosed={grant.status === GrantStatusEnum.Closed} isCompetitionVote={isCompetitionVote} votingSystem={grant.__typename === 'CommunityVoteGrant' ? grant.votingSystem : undefined} - grant={grant} /> diff --git a/src/pages/grants/grantsPage/GrantsRoundOne.tsx b/src/pages/grants/grantsPage/GrantsRoundOne.tsx index e3458674a..00b04a26e 100644 --- a/src/pages/grants/grantsPage/GrantsRoundOne.tsx +++ b/src/pages/grants/grantsPage/GrantsRoundOne.tsx @@ -55,13 +55,9 @@ const grants = [ export const GrantsRoundOne = ({ applicants, - fundingOpenStartDate, - fundingOpenEndDate, isCompetitionVote, }: { applicants?: GrantApplicant[] - fundingOpenStartDate: number - fundingOpenEndDate: number isCompetitionVote: boolean }) => { const { t } = useTranslation() @@ -192,8 +188,6 @@ export const GrantsRoundOne = ({ grantHasVoting={false} grantStatus={GrantStatusEnum.Closed} isClosed={true} - fundingOpenEndDate={fundingOpenEndDate} - fundingOpenStartDate={fundingOpenStartDate} isCompetitionVote={isCompetitionVote} /> diff --git a/src/pages/grants/grantsPage/GrantsRoundTwo.tsx b/src/pages/grants/grantsPage/GrantsRoundTwo.tsx index d4c2ff724..0ebe5efe9 100644 --- a/src/pages/grants/grantsPage/GrantsRoundTwo.tsx +++ b/src/pages/grants/grantsPage/GrantsRoundTwo.tsx @@ -27,13 +27,9 @@ export type GrantSponsor = { } export const GrantsRoundTwo = ({ - fundingOpenStartDate, - fundingOpenEndDate, applicants, isCompetitionVote, }: { - fundingOpenStartDate: number - fundingOpenEndDate: number applicants?: GrantApplicant[] isCompetitionVote: boolean }) => { @@ -127,8 +123,6 @@ export const GrantsRoundTwo = ({ grantHasVoting={false} grantStatus={GrantStatusEnum.Closed} isClosed={true} - fundingOpenEndDate={fundingOpenEndDate} - fundingOpenStartDate={fundingOpenStartDate} isCompetitionVote={isCompetitionVote} /> diff --git a/src/pages/grants/grantsPage/components/GrantApplicantCard.tsx b/src/pages/grants/grantsPage/components/GrantApplicantCard.tsx index 4e758c2a8..853db19f9 100644 --- a/src/pages/grants/grantsPage/components/GrantApplicantCard.tsx +++ b/src/pages/grants/grantsPage/components/GrantApplicantCard.tsx @@ -1,26 +1,16 @@ -import { - Avatar, - AvatarGroup, - Box, - Button, - HStack, - ListItem, - Text, - UnorderedList, - useDisclosure, - useTheme, - VStack, -} from '@chakra-ui/react' +import { Avatar, AvatarGroup, Box, Button, HStack, Text, useDisclosure, useTheme, VStack } from '@chakra-ui/react' import classNames from 'classnames' import { useTranslation } from 'react-i18next' import { createUseStyles } from 'react-jss' -import { Link, useNavigate } from 'react-router-dom' +import { Link } from 'react-router-dom' +import { useAuthModal } from '@/pages/auth/hooks' import { H3 } from '@/shared/components/typography' import { AvatarElement } from '@/shared/molecules/AvatarElement' +import { VotingInfoModal } from '@/shared/molecules/VotingInfoModal' import { ImageWithReload } from '../../../../components/ui' -import { CardLayout, Modal } from '../../../../shared/components/layouts' +import { CardLayout } from '../../../../shared/components/layouts' import { getPath } from '../../../../shared/constants' import { fonts } from '../../../../shared/styles' import { @@ -44,10 +34,8 @@ interface GrantApplicantCardProps { isClosed: boolean isCompetitionVote: boolean canVote: boolean - fundingModalProps: any grantStatus: GrantStatusEnum isLoggedIn: boolean - onOpenLoginModal: () => void currentUser: UserMeFragment | null votingSystem?: VotingSystem } @@ -199,15 +187,15 @@ export const GrantApplicantCard = ({ isClosed, isCompetitionVote, canVote, - fundingModalProps, grantStatus, isLoggedIn, - onOpenLoginModal, currentUser, votingSystem, }: GrantApplicantCardProps) => { const { t } = useTranslation() const isMobile = useMobileMode() + const { loginOnOpen } = useAuthModal() + const classes = useStyles() const projectLink = getPath('project', project.name) const { isOpen, onOpen, onClose } = useDisclosure() @@ -263,7 +251,11 @@ export const GrantApplicantCard = ({ - - - - ) - } - - return ( - - - - - {t('This grant uses ')} - {t('Proportional Voting')} - {t(' to enable more funding to go towards projects. This means:')} - - - - {t('1 Sat = 1 Vote. Each Sat is one Vote.')} - - - {t('You can send Sats to multiple projects and multiple times')} - - - {t('You can send Sats anonymously')} - - - - - - - - - - ) -} diff --git a/src/pages/grants/grantsPage/components/useProjectFundingModal.tsx b/src/pages/grants/grantsPage/components/useProjectFundingModal.tsx deleted file mode 100644 index 6eafa7d13..000000000 --- a/src/pages/grants/grantsPage/components/useProjectFundingModal.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import { useModal } from '../../../../shared/hooks/useModal' -import { Project } from '../../../../types' - -export type ProjectFundingModalProps = ReturnType - -export const useProjectFundingModal = () => { - return { ...useModal<{ project?: Project }>() } -} diff --git a/src/pages/grants/grantsPage/sections/CommunityVoting.tsx b/src/pages/grants/grantsPage/sections/CommunityVoting.tsx index 4349eb7d1..a84f085a7 100644 --- a/src/pages/grants/grantsPage/sections/CommunityVoting.tsx +++ b/src/pages/grants/grantsPage/sections/CommunityVoting.tsx @@ -1,14 +1,11 @@ -import { useDisclosure } from '@chakra-ui/react' import { useTranslation } from 'react-i18next' import { H3 } from '@/shared/components/typography' -import { AuthModal } from '../../../../components/molecules' import { useAuthContext } from '../../../../context' import { CardLayout } from '../../../../shared/components/layouts' -import { Grant, GrantApplicant, GrantStatusEnum, VotingSystem } from '../../../../types' +import { GrantApplicant, GrantStatusEnum, VotingSystem } from '../../../../types' import { GrantApplicantCard } from '../components/GrantApplicantCard' -import { useProjectFundingModal } from '../components/useProjectFundingModal' interface Props { applicants: Array @@ -16,16 +13,11 @@ interface Props { grantStatus: string title: string isClosed?: boolean - fundingOpenStartDate: number - fundingOpenEndDate: number isCompetitionVote: boolean votingSystem?: VotingSystem - grant?: Grant } export const CommunityVoting = ({ - fundingOpenStartDate, - fundingOpenEndDate, applicants, grantHasVoting, grantStatus, @@ -33,11 +25,8 @@ export const CommunityVoting = ({ isClosed, isCompetitionVote, votingSystem, - grant, }: Props) => { const { t } = useTranslation() - const fundingModalProps = useProjectFundingModal() - const { onOpen, onClose, isOpen } = useDisclosure() const { user, isLoggedIn } = useAuthContext() if (!applicants) { @@ -83,22 +72,12 @@ export const CommunityVoting = ({ isLoggedIn={isLoggedIn} isClosed={isClosed || false} isCompetitionVote={isCompetitionVote || false} - fundingModalProps={fundingModalProps} canVote={canVote || false} - onOpenLoginModal={onOpen} currentUser={user} votingSystem={votingSystem} /> ) })} - - ) diff --git a/src/shared/molecules/Feedback.tsx b/src/shared/molecules/Feedback.tsx index fa29374c4..266c371ec 100644 --- a/src/shared/molecules/Feedback.tsx +++ b/src/shared/molecules/Feedback.tsx @@ -19,6 +19,7 @@ type FeedbackProps = { text?: string | React.ReactNode children?: React.ReactNode icon?: React.ReactNode + noIcon?: boolean } & StackProps const icons = { @@ -29,7 +30,7 @@ const icons = { [FeedBackVariant.NEUTRAL]: PiInfo, } -export const Feedback = ({ variant, text, children, icon, ...props }: FeedbackProps) => { +export const Feedback = ({ variant, text, children, icon, noIcon, ...props }: FeedbackProps) => { const { colors } = useCustomTheme() const feedbackColors = useMemo( @@ -81,7 +82,7 @@ export const Feedback = ({ variant, text, children, icon, ...props }: FeedbackPr color={feedbackColor.color} {...props} > - {icon ? icon : } + {noIcon ? null : icon ? icon : } {children ? ( children ) : ( diff --git a/src/shared/molecules/VotingInfoModal.tsx b/src/shared/molecules/VotingInfoModal.tsx new file mode 100644 index 000000000..4241c9674 --- /dev/null +++ b/src/shared/molecules/VotingInfoModal.tsx @@ -0,0 +1,184 @@ +import { Button, Divider, HStack, ListItem, UnorderedList, VStack } from '@chakra-ui/react' +import { Trans, useTranslation } from 'react-i18next' +import { useNavigate } from 'react-router-dom' + +import { useAuthContext } from '@/context' +import { useAuthModal } from '@/pages/auth/hooks' +import { Project, VotingSystem } from '@/types' + +import { CardLayout, Modal } from '../components/layouts' +import { Body } from '../components/typography' +import { getPath } from '../constants' +import { Feedback, FeedBackVariant } from './Feedback' + +type VotingInfoModalProps = { + isOpen: boolean + onClose: () => void + votingSystem?: VotingSystem + project: Pick + modalTitle?: string + grantName?: string +} + +export const VotingInfoModal = ({ + isOpen, + onClose, + votingSystem, + project, + modalTitle, + grantName, +}: VotingInfoModalProps) => { + const { t } = useTranslation() + const navigate = useNavigate() + + const { isLoggedIn } = useAuthContext() + const { loginOnOpen } = useAuthModal() + + const isStepVoting = votingSystem === VotingSystem.StepLog_10 + + const modalBody = () => { + if (isStepVoting) { + return ( + <> + {grantName && ( + + + + {'This project is seeking funding through the '} + {'{{grantName}}'} + { + "To support the project with your vote, please log in with a linked social media account (Lightning accounts are not eligible for voting). You're welcome to contribute even without logging in, but it won't count as a vote." + } + + + + )} + + + + {t('This Grant uses Incremental Voting to ensure that all votes can have an impact. It works like this:')} + + + + {t('You can vote by sending Sats')} + + + {t('You can vote multiple times and towards multiple projects')} + + + + {t('You can cast up to 3 votes per project based on the cumulative amounts sent to each project:')} + + + + + + + + + {t('1 vote')}: + + + {t('From 1,000 to 9,999 sats')} + + + + + + {t('2 votes')}: + + + {t('From 10,000 to 99,999 sats')} + + + + + + {t('3 votes')}: + + + {t('Above 100k sats')} + + + + + ) + } + + return ( + + + {t('This Grant uses Proportional Voting to enable more funding to go towards projects. This means:')} + + + + {t('1 Sat = 1 Vote. Each Sat is one Vote.')} + + + {t('You can send Sats to multiple projects and multiple times')} + + + {t('You can send Sats anonymously')} + + + + ) + } + + return ( + + {modalBody()} + + {isLoggedIn || !isStepVoting ? ( + + ) : ( + <> + + + + )} + + + ) +} diff --git a/src/types/generated/graphql.ts b/src/types/generated/graphql.ts index 68df31cd7..34c5a0ec1 100644 --- a/src/types/generated/graphql.ts +++ b/src/types/generated/graphql.ts @@ -1,605 +1,603 @@ -import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql' -import { gql } from '@apollo/client' -import * as Apollo from '@apollo/client' -export type Maybe = T | null -export type InputMaybe = Maybe -export type Exact = { [K in keyof T]: T[K] } -export type MakeOptional = Omit & { [SubKey in K]?: Maybe } -export type MakeMaybe = Omit & { [SubKey in K]: Maybe } -export type MakeEmpty = { [_ in K]?: never } -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never } -export type Omit = Pick> -export type RequireFields = Omit & { [P in K]-?: NonNullable } -const defaultOptions = {} as const +import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; +import { gql } from '@apollo/client'; +import * as Apollo from '@apollo/client'; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type MakeEmpty = { [_ in K]?: never }; +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Omit = Pick>; +export type RequireFields = Omit & { [P in K]-?: NonNullable }; +const defaultOptions = {} as const; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string } - String: { input: string; output: string } - Boolean: { input: boolean; output: boolean } - Int: { input: number; output: number } - Float: { input: number; output: number } - /** Add BigInt functionality */ - BigInt: { input: any; output: any } - /** Date custom scalar type */ - Date: { input: any; output: any } -} + ID: { input: string; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } + BigInt: { input: any; output: any; } + Date: { input: any; output: any; } +}; export type ActivitiesCountGroupedByProjectInput = { - createdAt: DateRangeInput - feed: ActivityFeedName -} + createdAt: DateRangeInput; + feed: ActivityFeedName; +}; export type ActivitiesGetResponse = { - __typename?: 'ActivitiesGetResponse' - activities: Array - pagination?: Maybe -} + __typename?: 'ActivitiesGetResponse'; + activities: Array; + pagination?: Maybe; +}; export type Activity = { - __typename?: 'Activity' - activityType: Scalars['String']['output'] - createdAt: Scalars['Date']['output'] - id: Scalars['String']['output'] - project: Project - resource: ActivityResource -} + __typename?: 'Activity'; + activityType: Scalars['String']['output']; + createdAt: Scalars['Date']['output']; + id: Scalars['String']['output']; + project: Project; + resource: ActivityResource; +}; export type ActivityCreatedSubscriptionInput = { - where?: InputMaybe -} + where?: InputMaybe; +}; export type ActivityCreatedSubscriptionWhereInput = { - countryCode?: InputMaybe - feed?: InputMaybe - projectIds?: InputMaybe> - region?: InputMaybe - resourceType?: InputMaybe - tagIds?: InputMaybe> - userIds?: InputMaybe> -} + countryCode?: InputMaybe; + feed?: InputMaybe; + projectIds?: InputMaybe>; + region?: InputMaybe; + resourceType?: InputMaybe; + tagIds?: InputMaybe>; + userIds?: InputMaybe>; +}; export enum ActivityFeedName { FollowedProjects = 'FOLLOWED_PROJECTS', GlobalProjects = 'GLOBAL_PROJECTS', - MyProjects = 'MY_PROJECTS', + MyProjects = 'MY_PROJECTS' } -export type ActivityResource = Entry | FundingTx | Project | ProjectGoal | ProjectReward +export type ActivityResource = Entry | FundingTx | Project | ProjectGoal | ProjectReward; export enum ActivityResourceType { Entry = 'entry', FundingTx = 'funding_tx', Project = 'project', ProjectGoal = 'project_goal', - ProjectReward = 'project_reward', + ProjectReward = 'project_reward' } export type AffiliateLink = { - __typename?: 'AffiliateLink' - affiliateFeePercentage: Scalars['Int']['output'] - affiliateId?: Maybe - createdAt: Scalars['Date']['output'] - disabled?: Maybe - disabledAt?: Maybe - email: Scalars['String']['output'] - id: Scalars['BigInt']['output'] - label?: Maybe - lightningAddress: Scalars['String']['output'] - projectId: Scalars['BigInt']['output'] - stats?: Maybe -} + __typename?: 'AffiliateLink'; + affiliateFeePercentage: Scalars['Int']['output']; + affiliateId?: Maybe; + createdAt: Scalars['Date']['output']; + disabled?: Maybe; + disabledAt?: Maybe; + email: Scalars['String']['output']; + id: Scalars['BigInt']['output']; + label?: Maybe; + lightningAddress: Scalars['String']['output']; + projectId: Scalars['BigInt']['output']; + stats?: Maybe; +}; export type AffiliateLinkCreateInput = { - affiliateFeePercentage: Scalars['Int']['input'] - affiliateId?: InputMaybe - email: Scalars['String']['input'] - label: Scalars['String']['input'] - lightningAddress: Scalars['String']['input'] - projectId: Scalars['BigInt']['input'] -} + affiliateFeePercentage: Scalars['Int']['input']; + affiliateId?: InputMaybe; + email: Scalars['String']['input']; + label: Scalars['String']['input']; + lightningAddress: Scalars['String']['input']; + projectId: Scalars['BigInt']['input']; +}; export type AffiliatePaymentConfirmResponse = { - __typename?: 'AffiliatePaymentConfirmResponse' - message?: Maybe - success: Scalars['Boolean']['output'] -} + __typename?: 'AffiliatePaymentConfirmResponse'; + message?: Maybe; + success: Scalars['Boolean']['output']; +}; export type AffiliatePayoutsStats = { - __typename?: 'AffiliatePayoutsStats' - count: Scalars['Int']['output'] - total: Scalars['Int']['output'] -} + __typename?: 'AffiliatePayoutsStats'; + count: Scalars['Int']['output']; + total: Scalars['Int']['output']; +}; export type AffiliateSalesStats = { - __typename?: 'AffiliateSalesStats' - count: Scalars['Int']['output'] - total: Scalars['Int']['output'] -} + __typename?: 'AffiliateSalesStats'; + count: Scalars['Int']['output']; + total: Scalars['Int']['output']; +}; export type AffiliateStats = { - __typename?: 'AffiliateStats' - payouts: AffiliatePayoutsStats - sales: AffiliateSalesStats -} + __typename?: 'AffiliateStats'; + payouts: AffiliatePayoutsStats; + sales: AffiliateSalesStats; +}; export enum AffiliateStatus { Paid = 'PAID', - Unpaid = 'UNPAID', + Unpaid = 'UNPAID' } export type Ambassador = { - __typename?: 'Ambassador' - confirmed: Scalars['Boolean']['output'] - id: Scalars['BigInt']['output'] - user: User -} + __typename?: 'Ambassador'; + confirmed: Scalars['Boolean']['output']; + id: Scalars['BigInt']['output']; + user: User; +}; export type AmountSummary = { - __typename?: 'AmountSummary' - donationAmount: Scalars['Int']['output'] - rewardsCost: Scalars['Int']['output'] - shippingCost: Scalars['Int']['output'] - total: Scalars['Int']['output'] -} + __typename?: 'AmountSummary'; + donationAmount: Scalars['Int']['output']; + rewardsCost: Scalars['Int']['output']; + shippingCost: Scalars['Int']['output']; + total: Scalars['Int']['output']; +}; export enum AnalyticsGroupByInterval { Day = 'day', Month = 'month', Week = 'week', - Year = 'year', + Year = 'year' } export type Badge = { - __typename?: 'Badge' - createdAt: Scalars['Date']['output'] - description: Scalars['String']['output'] - id: Scalars['String']['output'] - image: Scalars['String']['output'] - name: Scalars['String']['output'] - thumb: Scalars['String']['output'] - uniqueName: Scalars['String']['output'] -} + __typename?: 'Badge'; + createdAt: Scalars['Date']['output']; + description: Scalars['String']['output']; + id: Scalars['String']['output']; + image: Scalars['String']['output']; + name: Scalars['String']['output']; + thumb: Scalars['String']['output']; + uniqueName: Scalars['String']['output']; +}; export type BadgeClaimInput = { - userBadgeId: Scalars['BigInt']['input'] -} + userBadgeId: Scalars['BigInt']['input']; +}; export type BadgesGetInput = { - where?: InputMaybe -} + where?: InputMaybe; +}; export type BadgesGetWhereInput = { - fundingTxId?: InputMaybe - userId?: InputMaybe -} + fundingTxId?: InputMaybe; + userId?: InputMaybe; +}; export enum BaseCurrency { - Btc = 'BTC', + Btc = 'BTC' } export type BitcoinQuote = { - __typename?: 'BitcoinQuote' - quote: Scalars['Float']['output'] - quoteCurrency: QuoteCurrency -} + __typename?: 'BitcoinQuote'; + quote: Scalars['Float']['output']; + quoteCurrency: QuoteCurrency; +}; export type BoardVoteGrant = { - __typename?: 'BoardVoteGrant' - applicants: Array - balance: Scalars['Int']['output'] - boardMembers: Array - description?: Maybe - id: Scalars['BigInt']['output'] - image?: Maybe - name: Scalars['String']['output'] - shortDescription: Scalars['String']['output'] - sponsors: Array - status: GrantStatusEnum - statuses: Array - title: Scalars['String']['output'] - type: GrantType -} + __typename?: 'BoardVoteGrant'; + applicants: Array; + balance: Scalars['Int']['output']; + boardMembers: Array; + description?: Maybe; + id: Scalars['BigInt']['output']; + image?: Maybe; + name: Scalars['String']['output']; + shortDescription: Scalars['String']['output']; + sponsors: Array; + status: GrantStatusEnum; + statuses: Array; + title: Scalars['String']['output']; + type: GrantType; +}; + export type BoardVoteGrantApplicantsArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; export type CommunityVoteGrant = { - __typename?: 'CommunityVoteGrant' - applicants: Array - balance: Scalars['Int']['output'] - description?: Maybe - distributionSystem: DistributionSystem - id: Scalars['BigInt']['output'] - image?: Maybe - name: Scalars['String']['output'] - shortDescription: Scalars['String']['output'] - sponsors: Array - status: GrantStatusEnum - statuses: Array - title: Scalars['String']['output'] - type: GrantType - votes: CompetitionVoteGrantVoteSummary - votingSystem: VotingSystem -} + __typename?: 'CommunityVoteGrant'; + applicants: Array; + balance: Scalars['Int']['output']; + description?: Maybe; + distributionSystem: DistributionSystem; + id: Scalars['BigInt']['output']; + image?: Maybe; + name: Scalars['String']['output']; + shortDescription: Scalars['String']['output']; + sponsors: Array; + status: GrantStatusEnum; + statuses: Array; + title: Scalars['String']['output']; + type: GrantType; + votes: CompetitionVoteGrantVoteSummary; + votingSystem: VotingSystem; +}; + export type CommunityVoteGrantApplicantsArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; export type CompetitionVoteGrantVoteSummary = { - __typename?: 'CompetitionVoteGrantVoteSummary' - voteCount: Scalars['Int']['output'] - voterCount: Scalars['Int']['output'] -} + __typename?: 'CompetitionVoteGrantVoteSummary'; + voteCount: Scalars['Int']['output']; + voterCount: Scalars['Int']['output']; +}; -export type ConnectionDetails = - | LightningAddressConnectionDetails - | LndConnectionDetailsPrivate - | LndConnectionDetailsPublic +export type ConnectionDetails = LightningAddressConnectionDetails | LndConnectionDetailsPrivate | LndConnectionDetailsPublic; export type Country = { - __typename?: 'Country' - code: Scalars['String']['output'] - name: Scalars['String']['output'] -} + __typename?: 'Country'; + code: Scalars['String']['output']; + name: Scalars['String']['output']; +}; export type CreateEntryInput = { - content?: InputMaybe + content?: InputMaybe; /** Short description of the Entry. */ - description: Scalars['String']['input'] + description: Scalars['String']['input']; /** Header image of the Entry. */ - image?: InputMaybe - projectId: Scalars['BigInt']['input'] + image?: InputMaybe; + projectId: Scalars['BigInt']['input']; /** Title of the Entry. */ - title: Scalars['String']['input'] - type: EntryType -} + title: Scalars['String']['input']; + type: EntryType; +}; export type CreateProjectInput = { /** Project ISO3166 country code */ - countryCode?: InputMaybe + countryCode?: InputMaybe; /** A short description of the project. */ - description: Scalars['String']['input'] - email: Scalars['String']['input'] + description: Scalars['String']['input']; + email: Scalars['String']['input']; /** Main project image. */ - image?: InputMaybe - name: Scalars['String']['input'] + image?: InputMaybe; + name: Scalars['String']['input']; /** Project region */ - region?: InputMaybe + region?: InputMaybe; /** The currency used to price rewards for the project. Currently only USDCENT supported. */ - rewardCurrency?: InputMaybe - shortDescription?: InputMaybe - thumbnailImage?: InputMaybe + rewardCurrency?: InputMaybe; + shortDescription?: InputMaybe; + thumbnailImage?: InputMaybe; /** Public title of the project. */ - title: Scalars['String']['input'] - type?: InputMaybe -} + title: Scalars['String']['input']; + type?: InputMaybe; +}; export type CreateProjectRewardInput = { - category?: InputMaybe + category?: InputMaybe; /** Cost of the reward, currently only in USD cents */ - cost: Scalars['Int']['input'] - description?: InputMaybe - estimatedAvailabilityDate?: InputMaybe - estimatedDeliveryInWeeks?: InputMaybe - hasShipping: Scalars['Boolean']['input'] - image?: InputMaybe - isAddon?: InputMaybe - isHidden?: InputMaybe - maxClaimable?: InputMaybe - name: Scalars['String']['input'] - preOrder?: InputMaybe - projectId: Scalars['BigInt']['input'] -} + cost: Scalars['Int']['input']; + description?: InputMaybe; + estimatedAvailabilityDate?: InputMaybe; + estimatedDeliveryInWeeks?: InputMaybe; + hasShipping: Scalars['Boolean']['input']; + image?: InputMaybe; + isAddon?: InputMaybe; + isHidden?: InputMaybe; + maxClaimable?: InputMaybe; + name: Scalars['String']['input']; + preOrder?: InputMaybe; + projectId: Scalars['BigInt']['input']; +}; export type CreateWalletInput = { - feePercentage: Scalars['Float']['input'] - lightningAddressConnectionDetailsInput?: InputMaybe - lndConnectionDetailsInput?: InputMaybe - name?: InputMaybe - resourceInput: WalletResourceInput -} + feePercentage: Scalars['Float']['input']; + lightningAddressConnectionDetailsInput?: InputMaybe; + lndConnectionDetailsInput?: InputMaybe; + name?: InputMaybe; + resourceInput: WalletResourceInput; +}; export type CreatorNotificationSettings = { - __typename?: 'CreatorNotificationSettings' - notificationSettings: Array - project: CreatorNotificationSettingsProject - userId: Scalars['BigInt']['output'] -} + __typename?: 'CreatorNotificationSettings'; + notificationSettings: Array; + project: CreatorNotificationSettingsProject; + userId: Scalars['BigInt']['output']; +}; export type CreatorNotificationSettingsProject = { - __typename?: 'CreatorNotificationSettingsProject' - id: Scalars['BigInt']['output'] - image?: Maybe - title: Scalars['String']['output'] -} + __typename?: 'CreatorNotificationSettingsProject'; + id: Scalars['BigInt']['output']; + image?: Maybe; + title: Scalars['String']['output']; +}; export enum Currency { - Usdcent = 'USDCENT', + Usdcent = 'USDCENT' } export type CurrencyQuoteGetInput = { - baseCurrency: BaseCurrency - quoteCurrency: QuoteCurrency -} + baseCurrency: BaseCurrency; + quoteCurrency: QuoteCurrency; +}; export type CurrencyQuoteGetResponse = { - __typename?: 'CurrencyQuoteGetResponse' - baseCurrency: BaseCurrency - quote: Scalars['Float']['output'] - quoteCurrency: QuoteCurrency - timestamp: Scalars['Date']['output'] -} + __typename?: 'CurrencyQuoteGetResponse'; + baseCurrency: BaseCurrency; + quote: Scalars['Float']['output']; + quoteCurrency: QuoteCurrency; + timestamp: Scalars['Date']['output']; +}; export type CursorInput = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; export type CursorInputString = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; export type CursorPaginationResponse = { - __typename?: 'CursorPaginationResponse' - count?: Maybe - cursor?: Maybe - take?: Maybe -} + __typename?: 'CursorPaginationResponse'; + count?: Maybe; + cursor?: Maybe; + take?: Maybe; +}; export type DateRangeInput = { - endDateTime?: InputMaybe - startDateTime?: InputMaybe -} + endDateTime?: InputMaybe; + startDateTime?: InputMaybe; +}; export type DatetimeRange = { - __typename?: 'DatetimeRange' + __typename?: 'DatetimeRange'; /** The end datetime for filtering the data, default is now. */ - endDateTime?: Maybe + endDateTime?: Maybe; /** The start datetime for filtering the data. */ - startDateTime: Scalars['Date']['output'] -} + startDateTime: Scalars['Date']['output']; +}; export type DeleteProjectInput = { - projectId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; +}; export type DeleteProjectRewardInput = { - projectRewardId: Scalars['BigInt']['input'] -} + projectRewardId: Scalars['BigInt']['input']; +}; export type DeleteUserResponse = MutationResponse & { - __typename?: 'DeleteUserResponse' - message?: Maybe - success: Scalars['Boolean']['output'] -} + __typename?: 'DeleteUserResponse'; + message?: Maybe; + success: Scalars['Boolean']['output']; +}; export enum DistributionSystem { None = 'NONE', Proportional = 'PROPORTIONAL', - WinnerTakeAll = 'WINNER_TAKE_ALL', + WinnerTakeAll = 'WINNER_TAKE_ALL' } export type EmailVerifyInput = { - otp: Scalars['Int']['input'] - otpVerificationToken: Scalars['String']['input'] -} + otp: Scalars['Int']['input']; + otpVerificationToken: Scalars['String']['input']; +}; export type Entry = { - __typename?: 'Entry' + __typename?: 'Entry'; /** Total amount of satoshis funded from the Entry page. */ - amountFunded: Scalars['Int']['output'] - content?: Maybe - createdAt: Scalars['String']['output'] + amountFunded: Scalars['Int']['output']; + content?: Maybe; + createdAt: Scalars['String']['output']; /** User that created the Entry. */ - creator: User + creator: User; /** Short description of the Entry. */ - description: Scalars['String']['output'] + description: Scalars['String']['output']; /** Number of funders that were created from the Entry's page. */ - fundersCount: Scalars['Int']['output'] + fundersCount: Scalars['Int']['output']; /** Funding transactions that were created from the Entry's page. */ - fundingTxs: Array - id: Scalars['BigInt']['output'] + fundingTxs: Array; + id: Scalars['BigInt']['output']; /** Header image of the Entry. */ - image?: Maybe + image?: Maybe; /** Project within which the Entry was created. */ - project?: Maybe - publishedAt?: Maybe - status: EntryStatus + project?: Maybe; + publishedAt?: Maybe; + status: EntryStatus; /** Title of the Entry. */ - title: Scalars['String']['output'] - type: EntryType - updatedAt: Scalars['String']['output'] -} + title: Scalars['String']['output']; + type: EntryType; + updatedAt: Scalars['String']['output']; +}; export type EntryPublishedSubscriptionResponse = { - __typename?: 'EntryPublishedSubscriptionResponse' - entry: Entry -} + __typename?: 'EntryPublishedSubscriptionResponse'; + entry: Entry; +}; export enum EntryStatus { Deleted = 'deleted', Published = 'published', - Unpublished = 'unpublished', + Unpublished = 'unpublished' } export enum EntryType { Article = 'article', Podcast = 'podcast', - Video = 'video', + Video = 'video' } export type ExternalAccount = { - __typename?: 'ExternalAccount' - accountType: Scalars['String']['output'] - externalId: Scalars['String']['output'] - externalUsername: Scalars['String']['output'] - id: Scalars['BigInt']['output'] - public: Scalars['Boolean']['output'] -} + __typename?: 'ExternalAccount'; + accountType: Scalars['String']['output']; + externalId: Scalars['String']['output']; + externalUsername: Scalars['String']['output']; + id: Scalars['BigInt']['output']; + public: Scalars['Boolean']['output']; +}; export type FileUploadInput = { - name?: InputMaybe + name?: InputMaybe; /** MIME type of the file. Currently only supports image types. */ - type?: InputMaybe -} + type?: InputMaybe; +}; /** The Funder type contains a User's funding details over a particular project. */ export type Funder = { - __typename?: 'Funder' + __typename?: 'Funder'; /** Aggregate amount funded by a Funder over all his (confirmed) funding transactions for a particular project, in satoshis. */ - amountFunded?: Maybe + amountFunded?: Maybe; /** Boolean value indicating whether at least one of the funding transactions of the Funder were confirmed. */ - confirmed: Scalars['Boolean']['output'] + confirmed: Scalars['Boolean']['output']; /** Time at which the first confirmed funding transactions of the Funder was confirmed. */ - confirmedAt?: Maybe + confirmedAt?: Maybe; /** Funder's funding txs. */ - fundingTxs: Array - id: Scalars['BigInt']['output'] - orders: Array + fundingTxs: Array; + id: Scalars['BigInt']['output']; + orders: Array; /** Contributor's rank in the project. */ - rank?: Maybe + rank?: Maybe; /** Number of (confirmed) times a Funder funded a particular project. */ - timesFunded?: Maybe - user?: Maybe -} + timesFunded?: Maybe; + user?: Maybe; +}; + /** The Funder type contains a User's funding details over a particular project. */ export type FunderFundingTxsArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; export type FunderRewardGraphSum = GraphSumData & { - __typename?: 'FunderRewardGraphSum' - dateTime: Scalars['Date']['output'] - rewardId: Scalars['BigInt']['output'] - rewardName: Scalars['String']['output'] - sum: Scalars['Int']['output'] -} + __typename?: 'FunderRewardGraphSum'; + dateTime: Scalars['Date']['output']; + rewardId: Scalars['BigInt']['output']; + rewardName: Scalars['String']['output']; + sum: Scalars['Int']['output']; +}; export type FundingCancelInput = { - address?: InputMaybe - failureReason?: InputMaybe - id?: InputMaybe - invoiceId?: InputMaybe -} + address?: InputMaybe; + failureReason?: InputMaybe; + id?: InputMaybe; + invoiceId?: InputMaybe; +}; export type FundingCancelResponse = { - __typename?: 'FundingCancelResponse' - id: Scalars['BigInt']['output'] - success: Scalars['Boolean']['output'] -} + __typename?: 'FundingCancelResponse'; + id: Scalars['BigInt']['output']; + success: Scalars['Boolean']['output']; +}; export type FundingConfirmInput = { - amount: Scalars['Int']['input'] - offChain?: InputMaybe - onChain?: InputMaybe - paidAt: Scalars['Date']['input'] -} + amount: Scalars['Int']['input']; + offChain?: InputMaybe; + onChain?: InputMaybe; + paidAt: Scalars['Date']['input']; +}; export type FundingConfirmOffChainBolt11Input = { - invoiceId: Scalars['String']['input'] - settleIndex?: InputMaybe -} + invoiceId: Scalars['String']['input']; + settleIndex?: InputMaybe; +}; export type FundingConfirmOffChainInput = { - bolt11: FundingConfirmOffChainBolt11Input -} + bolt11: FundingConfirmOffChainBolt11Input; +}; export type FundingConfirmOnChainInput = { - address: Scalars['String']['input'] - tx?: InputMaybe -} + address: Scalars['String']['input']; + tx?: InputMaybe; +}; export type FundingConfirmResponse = { - __typename?: 'FundingConfirmResponse' - id: Scalars['BigInt']['output'] - missedSettleEvents?: Maybe - success: Scalars['Boolean']['output'] -} + __typename?: 'FundingConfirmResponse'; + id: Scalars['BigInt']['output']; + missedSettleEvents?: Maybe; + success: Scalars['Boolean']['output']; +}; export type FundingCreateFromPodcastKeysendInput = { - amount: Scalars['Int']['input'] - appName: Scalars['String']['input'] - comment?: InputMaybe - externalId?: InputMaybe - externalUsername?: InputMaybe - paidAt: Scalars['Date']['input'] - projectId: Scalars['BigInt']['input'] -} + amount: Scalars['Int']['input']; + appName: Scalars['String']['input']; + comment?: InputMaybe; + externalId?: InputMaybe; + externalUsername?: InputMaybe; + paidAt: Scalars['Date']['input']; + projectId: Scalars['BigInt']['input']; +}; export type FundingInput = { - affiliateId?: InputMaybe + affiliateId?: InputMaybe; /** Set to true if the funder wishes to remain anonymous. The user will still be associated to the funding transaction. */ - anonymous: Scalars['Boolean']['input'] + anonymous: Scalars['Boolean']['input']; /** The donation amount, in satoshis. */ - donationAmount: Scalars['Int']['input'] - metadataInput?: InputMaybe - orderInput?: InputMaybe + donationAmount: Scalars['Int']['input']; + metadataInput?: InputMaybe; + orderInput?: InputMaybe; /** The ProjectGoal linked to this funding transaction. */ - projectGoalId?: InputMaybe - projectId: Scalars['BigInt']['input'] + projectGoalId?: InputMaybe; + projectId: Scalars['BigInt']['input']; /** The resource from which the funding transaction is being created. */ - sourceResourceInput: ResourceInput - swapPublicKey?: InputMaybe -} + sourceResourceInput: ResourceInput; + swapPublicKey?: InputMaybe; +}; export type FundingMetadataInput = { - comment?: InputMaybe - email?: InputMaybe - media?: InputMaybe -} + comment?: InputMaybe; + email?: InputMaybe; + media?: InputMaybe; +}; export enum FundingMethod { GeyserQr = 'geyser_qr', LnAddress = 'ln_address', LnurlPay = 'lnurl_pay', Nip57Zap = 'nip57_zap', - PodcastKeysend = 'podcast_keysend', + PodcastKeysend = 'podcast_keysend' } export type FundingMutationResponse = { - __typename?: 'FundingMutationResponse' - fundingTx?: Maybe - swap?: Maybe -} + __typename?: 'FundingMutationResponse'; + fundingTx?: Maybe; + swap?: Maybe; +}; export type FundingPendingInput = { - amount: Scalars['Int']['input'] - offChain?: InputMaybe - onChain?: InputMaybe -} + amount: Scalars['Int']['input']; + offChain?: InputMaybe; + onChain?: InputMaybe; +}; export type FundingPendingOffChainBolt11Input = { - invoiceId: Scalars['String']['input'] -} + invoiceId: Scalars['String']['input']; +}; export type FundingPendingOffChainInput = { - bolt11: FundingPendingOffChainBolt11Input -} + bolt11: FundingPendingOffChainBolt11Input; +}; export type FundingPendingOnChainInput = { - address: Scalars['String']['input'] - tx?: InputMaybe -} + address: Scalars['String']['input']; + tx?: InputMaybe; +}; export type FundingPendingResponse = { - __typename?: 'FundingPendingResponse' - id: Scalars['BigInt']['output'] - success: Scalars['Boolean']['output'] -} + __typename?: 'FundingPendingResponse'; + id: Scalars['BigInt']['output']; + success: Scalars['Boolean']['output']; +}; export type FundingQueryResponse = { - __typename?: 'FundingQueryResponse' - fundingTx?: Maybe - message: Scalars['String']['output'] - success: Scalars['Boolean']['output'] -} + __typename?: 'FundingQueryResponse'; + fundingTx?: Maybe; + message: Scalars['String']['output']; + success: Scalars['Boolean']['output']; +}; export enum FundingResourceType { Entry = 'entry', Project = 'project', - User = 'user', + User = 'user' } export enum FundingStatus { @@ -607,953 +605,1003 @@ export enum FundingStatus { Paid = 'paid', PartiallyPaid = 'partially_paid', Pending = 'pending', - Unpaid = 'unpaid', + Unpaid = 'unpaid' } export type FundingTx = { - __typename?: 'FundingTx' - address?: Maybe - affiliateFeeInSats?: Maybe - amount: Scalars['Int']['output'] - amountPaid: Scalars['Int']['output'] - bitcoinQuote?: Maybe - comment?: Maybe - createdAt?: Maybe + __typename?: 'FundingTx'; + address?: Maybe; + affiliateFeeInSats?: Maybe; + amount: Scalars['Int']['output']; + amountPaid: Scalars['Int']['output']; + bitcoinQuote?: Maybe; + comment?: Maybe; + createdAt?: Maybe; /** Creator's email address. Only visible to the contributor. */ - creatorEmail?: Maybe - donationAmount: Scalars['Int']['output'] + creatorEmail?: Maybe; + donationAmount: Scalars['Int']['output']; /** Contributor's email address. Only visible to the project owner. */ - email?: Maybe - funder: Funder - fundingType: FundingType - id: Scalars['BigInt']['output'] - invoiceId?: Maybe - invoiceStatus: InvoiceStatus - isAnonymous: Scalars['Boolean']['output'] - media?: Maybe - method?: Maybe - onChain: Scalars['Boolean']['output'] - onChainTxId?: Maybe - order?: Maybe - paidAt?: Maybe - paymentRequest?: Maybe - projectGoalId?: Maybe - projectId: Scalars['BigInt']['output'] - source: Scalars['String']['output'] - sourceResource?: Maybe - status: FundingStatus + email?: Maybe; + funder: Funder; + fundingType: FundingType; + id: Scalars['BigInt']['output']; + invoiceId?: Maybe; + invoiceStatus: InvoiceStatus; + isAnonymous: Scalars['Boolean']['output']; + media?: Maybe; + method?: Maybe; + onChain: Scalars['Boolean']['output']; + onChainTxId?: Maybe; + order?: Maybe; + paidAt?: Maybe; + paymentRequest?: Maybe; + projectGoalId?: Maybe; + projectId: Scalars['BigInt']['output']; + source: Scalars['String']['output']; + sourceResource?: Maybe; + status: FundingStatus; /** Private reference code viewable only by the Funder and the ProjectOwner related to this FundingTx */ - uuid?: Maybe -} + uuid?: Maybe; +}; export type FundingTxAmountGraph = GraphSumData & { - __typename?: 'FundingTxAmountGraph' - dateTime: Scalars['Date']['output'] - sum: Scalars['Int']['output'] -} + __typename?: 'FundingTxAmountGraph'; + dateTime: Scalars['Date']['output']; + sum: Scalars['Int']['output']; +}; export type FundingTxEmailUpdateInput = { - email: Scalars['String']['input'] - fundingTxId: Scalars['BigInt']['input'] -} + email: Scalars['String']['input']; + fundingTxId: Scalars['BigInt']['input']; +}; export enum FundingTxInvoiceSanctionCheckStatus { Failed = 'FAILED', Passed = 'PASSED', - Pending = 'PENDING', + Pending = 'PENDING' } export type FundingTxInvoiceSanctionCheckStatusGetInput = { - invoiceId: Scalars['String']['input'] -} + invoiceId: Scalars['String']['input']; +}; export type FundingTxInvoiceSanctionCheckStatusResponse = { - __typename?: 'FundingTxInvoiceSanctionCheckStatusResponse' - status: FundingTxInvoiceSanctionCheckStatus -} + __typename?: 'FundingTxInvoiceSanctionCheckStatusResponse'; + status: FundingTxInvoiceSanctionCheckStatus; +}; export type FundingTxMethodCount = { - __typename?: 'FundingTxMethodCount' - count: Scalars['Int']['output'] - method?: Maybe -} + __typename?: 'FundingTxMethodCount'; + count: Scalars['Int']['output']; + method?: Maybe; +}; export type FundingTxMethodSum = { - __typename?: 'FundingTxMethodSum' - method?: Maybe - sum: Scalars['Int']['output'] -} + __typename?: 'FundingTxMethodSum'; + method?: Maybe; + sum: Scalars['Int']['output']; +}; export type FundingTxStatusUpdatedInput = { - fundingTxId?: InputMaybe - projectId?: InputMaybe -} + fundingTxId?: InputMaybe; + projectId?: InputMaybe; +}; export type FundingTxStatusUpdatedSubscriptionResponse = { - __typename?: 'FundingTxStatusUpdatedSubscriptionResponse' - fundingTx: FundingTx -} + __typename?: 'FundingTxStatusUpdatedSubscriptionResponse'; + fundingTx: FundingTx; +}; export type FundingTxsGetResponse = { - __typename?: 'FundingTxsGetResponse' - fundingTxs: Array - pagination?: Maybe -} + __typename?: 'FundingTxsGetResponse'; + fundingTxs: Array; + pagination?: Maybe; +}; export enum FundingTxsWhereFundingStatus { Paid = 'paid', PartiallyPaid = 'partially_paid', - Pending = 'pending', + Pending = 'pending' } export enum FundingType { Donation = 'DONATION', - Purchase = 'PURCHASE', + Purchase = 'PURCHASE' } export type FundinginvoiceCancel = { - __typename?: 'FundinginvoiceCancel' - id: Scalars['BigInt']['output'] - success: Scalars['Boolean']['output'] -} + __typename?: 'FundinginvoiceCancel'; + id: Scalars['BigInt']['output']; + success: Scalars['Boolean']['output']; +}; export type GenerateAffiliatePaymentRequestResponse = { - __typename?: 'GenerateAffiliatePaymentRequestResponse' - affiliatePaymentId: Scalars['BigInt']['output'] - paymentRequest: Scalars['String']['output'] -} + __typename?: 'GenerateAffiliatePaymentRequestResponse'; + affiliatePaymentId: Scalars['BigInt']['output']; + paymentRequest: Scalars['String']['output']; +}; export type GenerateAffiliatePaymentRequestsInput = { /** The invoice ID of the Hodl invoice for the associated funding tx. */ - invoiceId: Scalars['String']['input'] -} + invoiceId: Scalars['String']['input']; +}; export type GetActivitiesInput = { - pagination?: InputMaybe - where?: InputMaybe -} + pagination?: InputMaybe; + where?: InputMaybe; +}; export type GetActivityOrderByInput = { - createdAt?: InputMaybe -} + createdAt?: InputMaybe; +}; export type GetActivityPaginationInput = { - cursor?: InputMaybe - take?: InputMaybe -} + cursor?: InputMaybe; + take?: InputMaybe; +}; export type GetActivityWhereInput = { - countryCode?: InputMaybe - createdAt?: InputMaybe - feed?: InputMaybe - projectIds?: InputMaybe> - region?: InputMaybe - resourceType?: InputMaybe - tagIds?: InputMaybe> - userIds?: InputMaybe> -} + countryCode?: InputMaybe; + createdAt?: InputMaybe; + feed?: InputMaybe; + projectIds?: InputMaybe>; + region?: InputMaybe; + resourceType?: InputMaybe; + tagIds?: InputMaybe>; + userIds?: InputMaybe>; +}; export type GetAffiliateLinksInput = { - where: GetAffiliateLinksWhereInput -} + where: GetAffiliateLinksWhereInput; +}; export type GetAffiliateLinksWhereInput = { - projectId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; +}; export type GetContributorInput = { - projectId: Scalars['BigInt']['input'] - userId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; + userId: Scalars['BigInt']['input']; +}; export type GetDashboardFundersWhereInput = { - confirmed?: InputMaybe - projectId?: InputMaybe - sourceResourceInput?: InputMaybe -} + confirmed?: InputMaybe; + projectId?: InputMaybe; + sourceResourceInput?: InputMaybe; +}; export type GetEntriesInput = { - orderBy?: InputMaybe - pagination?: InputMaybe - where?: InputMaybe -} + orderBy?: InputMaybe; + pagination?: InputMaybe; + where?: InputMaybe; +}; export type GetEntriesOrderByInput = { - publishedAt?: InputMaybe -} + publishedAt?: InputMaybe; +}; export type GetEntriesWhereInput = { - projectId?: InputMaybe -} + projectId?: InputMaybe; +}; export type GetFunderFundingTxsInput = { - where?: InputMaybe -} + where?: InputMaybe; +}; export type GetFunderFundingTxsWhereInput = { - method?: InputMaybe - status?: InputMaybe -} + method?: InputMaybe; + status?: InputMaybe; +}; export type GetFunderWhereInput = { - anonymous?: InputMaybe - confirmed?: InputMaybe - dateRange?: InputMaybe - projectId?: InputMaybe - sourceResourceInput?: InputMaybe -} + anonymous?: InputMaybe; + confirmed?: InputMaybe; + dateRange?: InputMaybe; + projectId?: InputMaybe; + sourceResourceInput?: InputMaybe; +}; export type GetFundersInput = { - orderBy?: InputMaybe - pagination?: InputMaybe - where?: InputMaybe -} + orderBy?: InputMaybe; + pagination?: InputMaybe; + where?: InputMaybe; +}; /** only one sort field can be used at one time */ export type GetFundersOrderByInput = { - amountFunded?: InputMaybe - confirmedAt?: InputMaybe -} + amountFunded?: InputMaybe; + confirmedAt?: InputMaybe; +}; export type GetFundingTxsInput = { - orderBy?: InputMaybe - pagination?: InputMaybe - where?: InputMaybe -} + orderBy?: InputMaybe; + pagination?: InputMaybe; + where?: InputMaybe; +}; export type GetFundingTxsOrderByInput = { - createdAt: OrderByOptions - /** @deprecated Use createdAt instead. */ - paidAt?: InputMaybe -} + createdAt: OrderByOptions; +}; export type GetFundingTxsWhereInput = { - NOT?: InputMaybe - OR?: InputMaybe>> - dateRange?: InputMaybe - funderId?: InputMaybe - method?: InputMaybe - projectId?: InputMaybe - sourceResourceInput?: InputMaybe - status?: InputMaybe -} + NOT?: InputMaybe; + OR?: InputMaybe>>; + dateRange?: InputMaybe; + funderId?: InputMaybe; + method?: InputMaybe; + projectId?: InputMaybe; + sourceResourceInput?: InputMaybe; + status?: InputMaybe; +}; export type GetProjectGoalsInput = { - projectId: Scalars['BigInt']['input'] - receivedContributionsInDatetimeRange?: InputMaybe -} + projectId: Scalars['BigInt']['input']; + receivedContributionsInDatetimeRange?: InputMaybe; +}; export type GetProjectOrdersStatsInput = { - where: GetProjectOrdersStatsWhereInput -} + where: GetProjectOrdersStatsWhereInput; +}; export type GetProjectOrdersStatsWhereInput = { - projectId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; +}; export type GetProjectRewardInput = { - where: GetProjectRewardWhereInput -} + where: GetProjectRewardWhereInput; +}; export type GetProjectRewardWhereInput = { - dateRange?: InputMaybe - deleted?: InputMaybe - projectId: Scalars['BigInt']['input'] -} + dateRange?: InputMaybe; + deleted?: InputMaybe; + projectId: Scalars['BigInt']['input']; +}; export type GetProjectStatsInput = { - where: GetProjectStatsWhereInput -} + where: GetProjectStatsWhereInput; +}; export type GetProjectStatsWhereInput = { - dateRange?: InputMaybe - groupBy?: InputMaybe - projectId: Scalars['BigInt']['input'] -} + dateRange?: InputMaybe; + groupBy?: InputMaybe; + projectId: Scalars['BigInt']['input']; +}; export type GlobalContributorLeaderboardRow = { - __typename?: 'GlobalContributorLeaderboardRow' - contributionsCount: Scalars['Int']['output'] - contributionsTotal: Scalars['Int']['output'] - contributionsTotalUsd: Scalars['Float']['output'] - projectsContributedCount: Scalars['Int']['output'] - userId: Scalars['BigInt']['output'] - userImageUrl?: Maybe - username: Scalars['String']['output'] -} + __typename?: 'GlobalContributorLeaderboardRow'; + contributionsCount: Scalars['Int']['output']; + contributionsTotal: Scalars['Int']['output']; + contributionsTotalUsd: Scalars['Float']['output']; + projectsContributedCount: Scalars['Int']['output']; + userId: Scalars['BigInt']['output']; + userImageUrl?: Maybe; + username: Scalars['String']['output']; +}; export type GlobalProjectLeaderboardRow = { - __typename?: 'GlobalProjectLeaderboardRow' - contributionsCount: Scalars['Int']['output'] - contributionsTotal: Scalars['Int']['output'] - contributionsTotalUsd: Scalars['Float']['output'] - contributorsCount: Scalars['Int']['output'] - projectName: Scalars['String']['output'] - projectThumbnailUrl?: Maybe - projectTitle: Scalars['String']['output'] -} - -export type Grant = BoardVoteGrant | CommunityVoteGrant + __typename?: 'GlobalProjectLeaderboardRow'; + contributionsCount: Scalars['Int']['output']; + contributionsTotal: Scalars['Int']['output']; + contributionsTotalUsd: Scalars['Float']['output']; + contributorsCount: Scalars['Int']['output']; + projectName: Scalars['String']['output']; + projectThumbnailUrl?: Maybe; + projectTitle: Scalars['String']['output']; +}; + +export type Grant = BoardVoteGrant | CommunityVoteGrant; export type GrantApplicant = { - __typename?: 'GrantApplicant' - contributors: Array - contributorsCount: Scalars['Int']['output'] - funding: GrantApplicantFunding - grant: Grant - id: Scalars['BigInt']['output'] - project: Project - status: GrantApplicantStatus - voteCount: Scalars['Int']['output'] -} + __typename?: 'GrantApplicant'; + contributors: Array; + contributorsCount: Scalars['Int']['output']; + funding: GrantApplicantFunding; + grant: Grant; + id: Scalars['BigInt']['output']; + project: Project; + status: GrantApplicantStatus; + voteCount: Scalars['Int']['output']; +}; + export type GrantApplicantContributorsArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; export type GrantApplicantContributor = { - __typename?: 'GrantApplicantContributor' - amount: Scalars['Int']['output'] - timesContributed: Scalars['Int']['output'] - user?: Maybe - voteCount: Scalars['Int']['output'] -} + __typename?: 'GrantApplicantContributor'; + amount: Scalars['Int']['output']; + timesContributed: Scalars['Int']['output']; + user?: Maybe; + voteCount: Scalars['Int']['output']; +}; export type GrantApplicantContributorInput = { - pagination?: InputMaybe - where?: InputMaybe -} + pagination?: InputMaybe; + where?: InputMaybe; +}; export type GrantApplicantContributorWhereInput = { - userId: Scalars['BigInt']['input'] -} + userId: Scalars['BigInt']['input']; +}; export type GrantApplicantFunding = { - __typename?: 'GrantApplicantFunding' + __typename?: 'GrantApplicantFunding'; /** The amount of funding the grant applicant has received from the community. */ - communityFunding: Scalars['Int']['output'] + communityFunding: Scalars['Int']['output']; /** The amount of grant funding the applicant is elligible for. */ - grantAmount: Scalars['Int']['output'] + grantAmount: Scalars['Int']['output']; /** * The amount of funding that the Grant applicant has been confirmed to receive. Can only be confirmed after the * grant has been closed. */ - grantAmountDistributed: Scalars['Int']['output'] -} + grantAmountDistributed: Scalars['Int']['output']; +}; export enum GrantApplicantStatus { Accepted = 'ACCEPTED', Canceled = 'CANCELED', Funded = 'FUNDED', Pending = 'PENDING', - Rejected = 'REJECTED', + Rejected = 'REJECTED' } export enum GrantApplicantStatusFilter { Accepted = 'ACCEPTED', - Funded = 'FUNDED', + Funded = 'FUNDED' } export type GrantApplicantsGetInput = { - orderBy?: InputMaybe> - pagination?: InputMaybe - where: GrantApplicantsGetWhereInput -} + orderBy?: InputMaybe>; + pagination?: InputMaybe; + where: GrantApplicantsGetWhereInput; +}; export type GrantApplicantsGetOrderByInput = { - direction: OrderByDirection - field: GrantApplicantsOrderByField -} + direction: OrderByDirection; + field: GrantApplicantsOrderByField; +}; export type GrantApplicantsGetWhereInput = { - status?: InputMaybe -} + status?: InputMaybe; +}; export enum GrantApplicantsOrderByField { - VoteCount = 'voteCount', + VoteCount = 'voteCount' } export type GrantApplyInput = { - grantId: Scalars['BigInt']['input'] - projectId: Scalars['BigInt']['input'] -} + grantId: Scalars['BigInt']['input']; + projectId: Scalars['BigInt']['input']; +}; export type GrantBoardMember = { - __typename?: 'GrantBoardMember' - user: User -} + __typename?: 'GrantBoardMember'; + user: User; +}; export type GrantGetInput = { - where: GrantGetWhereInput -} + where: GrantGetWhereInput; +}; export type GrantGetWhereInput = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; export type GrantStatistics = { - __typename?: 'GrantStatistics' + __typename?: 'GrantStatistics'; /** Statistic about the grant applicants */ - applicants?: Maybe + applicants?: Maybe; /** Statistic about the grants */ - grants?: Maybe -} + grants?: Maybe; +}; export type GrantStatisticsApplicant = { - __typename?: 'GrantStatisticsApplicant' + __typename?: 'GrantStatisticsApplicant'; /** Count of applicants that have been funded */ - countFunded: Scalars['Int']['output'] -} + countFunded: Scalars['Int']['output']; +}; export type GrantStatisticsGrant = { - __typename?: 'GrantStatisticsGrant' + __typename?: 'GrantStatisticsGrant'; /** Total amount sent to grants (in sats) */ - amountFunded: Scalars['Int']['output'] + amountFunded: Scalars['Int']['output']; /** Total amount granted to projects (in sats) */ - amountGranted: Scalars['Int']['output'] + amountGranted: Scalars['Int']['output']; /** Total rounds of grants */ - count: Scalars['Int']['output'] -} + count: Scalars['Int']['output']; +}; export type GrantStatus = { - __typename?: 'GrantStatus' - endAt?: Maybe - startAt: Scalars['Date']['output'] - status: GrantStatusEnum -} + __typename?: 'GrantStatus'; + endAt?: Maybe; + startAt: Scalars['Date']['output']; + status: GrantStatusEnum; +}; export enum GrantStatusEnum { ApplicationsOpen = 'APPLICATIONS_OPEN', Closed = 'CLOSED', - FundingOpen = 'FUNDING_OPEN', + FundingOpen = 'FUNDING_OPEN' } export enum GrantType { BoardVote = 'BOARD_VOTE', - CommunityVote = 'COMMUNITY_VOTE', + CommunityVote = 'COMMUNITY_VOTE' } export type GraphSumData = { - dateTime: Scalars['Date']['output'] - sum: Scalars['Int']['output'] -} + dateTime: Scalars['Date']['output']; + sum: Scalars['Int']['output']; +}; export enum InvoiceStatus { Canceled = 'canceled', Paid = 'paid', - Unpaid = 'unpaid', + Unpaid = 'unpaid' } export type LeaderboardGlobalContributorsGetInput = { /** The period to return the leaderboard for. */ - period: LeaderboardPeriod + period: LeaderboardPeriod; /** The number of top contributors to return. */ - top: Scalars['Int']['input'] -} + top: Scalars['Int']['input']; +}; export type LeaderboardGlobalProjectsGetInput = { /** The period to return the leaderboard for. */ - period: LeaderboardPeriod + period: LeaderboardPeriod; /** The number of top projects to return. */ - top: Scalars['Int']['input'] -} + top: Scalars['Int']['input']; +}; export enum LeaderboardPeriod { AllTime = 'ALL_TIME', - Month = 'MONTH', + Month = 'MONTH' } export type LightningAddressConnectionDetails = { - __typename?: 'LightningAddressConnectionDetails' - lightningAddress: Scalars['String']['output'] -} + __typename?: 'LightningAddressConnectionDetails'; + lightningAddress: Scalars['String']['output']; +}; export type LightningAddressConnectionDetailsCreateInput = { - lightningAddress: Scalars['String']['input'] -} + lightningAddress: Scalars['String']['input']; +}; export type LightningAddressConnectionDetailsUpdateInput = { - lightningAddress: Scalars['String']['input'] -} + lightningAddress: Scalars['String']['input']; +}; export type LightningAddressContributionLimits = { - __typename?: 'LightningAddressContributionLimits' - max?: Maybe - min?: Maybe -} + __typename?: 'LightningAddressContributionLimits'; + max?: Maybe; + min?: Maybe; +}; export type LightningAddressVerifyResponse = { - __typename?: 'LightningAddressVerifyResponse' - limits?: Maybe - reason?: Maybe - valid: Scalars['Boolean']['output'] -} + __typename?: 'LightningAddressVerifyResponse'; + limits?: Maybe; + reason?: Maybe; + valid: Scalars['Boolean']['output']; +}; export type LndConnectionDetails = { /** Port where the gRPC calls should be made. */ - grpcPort: Scalars['Int']['output'] + grpcPort: Scalars['Int']['output']; /** Hostname where the gRPC calls should be made. */ - hostname: Scalars['String']['output'] - lndNodeType: LndNodeType + hostname: Scalars['String']['output']; + lndNodeType: LndNodeType; /** Invoice macaroon for authenticating gRPC calls to the LND node. */ - macaroon: Scalars['String']['output'] + macaroon: Scalars['String']['output']; /** TLS certificate for the LND node (optional for Voltage nodes). */ - tlsCertificate?: Maybe -} + tlsCertificate?: Maybe; +}; export type LndConnectionDetailsCreateInput = { /** Port where the gRPC calls should be made. */ - grpcPort: Scalars['Int']['input'] + grpcPort: Scalars['Int']['input']; /** Hostname where the gRPC calls should be made. */ - hostname: Scalars['String']['input'] - lndNodeType: LndNodeType + hostname: Scalars['String']['input']; + lndNodeType: LndNodeType; /** Invoice macaroon for authenticating gRPC calls to the LND node. */ - macaroon: Scalars['String']['input'] + macaroon: Scalars['String']['input']; /** Public key of the LND node. */ - pubkey?: InputMaybe + pubkey?: InputMaybe; /** TLS certificate for the LND node (optional for Voltage nodes). */ - tlsCertificate?: InputMaybe -} + tlsCertificate?: InputMaybe; +}; /** Private node details that can only be queried by the wallet owner. */ export type LndConnectionDetailsPrivate = { - __typename?: 'LndConnectionDetailsPrivate' + __typename?: 'LndConnectionDetailsPrivate'; /** Port where the gRPC calls should be made. */ - grpcPort: Scalars['Int']['output'] + grpcPort: Scalars['Int']['output']; /** Hostname where the gRPC calls should be made. */ - hostname: Scalars['String']['output'] + hostname: Scalars['String']['output']; /** Type of the LND node used. */ - lndNodeType: LndNodeType + lndNodeType: LndNodeType; /** Invoice macaroon for authenticating gRPC calls to the LND node. */ - macaroon: Scalars['String']['output'] + macaroon: Scalars['String']['output']; /** Public key of the LND node. */ - pubkey?: Maybe + pubkey?: Maybe; /** TLS certificate for the LND node (optional for Voltage nodes). */ - tlsCertificate?: Maybe -} + tlsCertificate?: Maybe; +}; /** Public node details visible by anyone. */ export type LndConnectionDetailsPublic = { - __typename?: 'LndConnectionDetailsPublic' - pubkey?: Maybe -} + __typename?: 'LndConnectionDetailsPublic'; + pubkey?: Maybe; +}; export type LndConnectionDetailsUpdateInput = { /** Port where the gRPC calls should be made. */ - grpcPort?: InputMaybe + grpcPort?: InputMaybe; /** Hostname where the gRPC calls should be made. */ - hostname?: InputMaybe + hostname?: InputMaybe; /** Type of the LND node. */ - lndNodeType?: InputMaybe + lndNodeType?: InputMaybe; /** Invoice macaroon for authenticating gRPC calls to the LND node. */ - macaroon?: InputMaybe + macaroon?: InputMaybe; /** Public key of the LND node. */ - pubkey?: InputMaybe + pubkey?: InputMaybe; /** TLS certificate for the LND node (optional for Voltage nodes). */ - tlsCertificate?: InputMaybe -} + tlsCertificate?: InputMaybe; +}; export enum LndNodeType { Custom = 'custom', Geyser = 'geyser', - Voltage = 'voltage', + Voltage = 'voltage' } export type Location = { - __typename?: 'Location' - country?: Maybe - region?: Maybe -} + __typename?: 'Location'; + country?: Maybe; + region?: Maybe; +}; export enum MfaAction { Login = 'LOGIN', ProjectWalletUpdate = 'PROJECT_WALLET_UPDATE', UserEmailUpdate = 'USER_EMAIL_UPDATE', - UserEmailVerification = 'USER_EMAIL_VERIFICATION', + UserEmailVerification = 'USER_EMAIL_VERIFICATION' } export type Milestone = { - __typename?: 'Milestone' - amount: Scalars['Int']['output'] - description: Scalars['String']['output'] - id: Scalars['BigInt']['output'] - name: Scalars['String']['output'] - reached?: Maybe -} + __typename?: 'Milestone'; + amount: Scalars['Int']['output']; + description: Scalars['String']['output']; + id: Scalars['BigInt']['output']; + name: Scalars['String']['output']; + reached?: Maybe; +}; export type Mutation = { - __typename?: 'Mutation' - _?: Maybe - affiliateLinkCreate: AffiliateLink - affiliateLinkDisable: AffiliateLink - affiliateLinkLabelUpdate: AffiliateLink - affiliatePaymentConfirm: AffiliatePaymentConfirmResponse - affiliatePaymentRequestGenerate: GenerateAffiliatePaymentRequestResponse - claimBadge: UserBadge - createEntry: Entry - createProject: Project - creatorNotificationConfigurationValueUpdate?: Maybe - deleteEntry: Entry - fund: FundingMutationResponse - fundingCancel: FundingCancelResponse - fundingClaimAnonymous: FundingMutationResponse - fundingConfirm: FundingConfirmResponse - fundingCreateFromPodcastKeysend: FundingTx - fundingInvoiceCancel: FundinginvoiceCancel - fundingInvoiceRefresh: FundingTx - fundingPend: FundingPendingResponse - fundingTxEmailUpdate: FundingTx - grantApply: GrantApplicant - orderStatusUpdate?: Maybe - projectDelete: ProjectDeleteResponse - projectFollow: Scalars['Boolean']['output'] - projectGoalCreate: Array - projectGoalDelete: ProjectGoalDeleteResponse + __typename?: 'Mutation'; + _?: Maybe; + affiliateLinkCreate: AffiliateLink; + affiliateLinkDisable: AffiliateLink; + affiliateLinkLabelUpdate: AffiliateLink; + affiliatePaymentConfirm: AffiliatePaymentConfirmResponse; + affiliatePaymentRequestGenerate: GenerateAffiliatePaymentRequestResponse; + claimBadge: UserBadge; + createEntry: Entry; + createProject: Project; + creatorNotificationConfigurationValueUpdate?: Maybe; + deleteEntry: Entry; + fund: FundingMutationResponse; + fundingCancel: FundingCancelResponse; + fundingClaimAnonymous: FundingMutationResponse; + fundingConfirm: FundingConfirmResponse; + fundingCreateFromPodcastKeysend: FundingTx; + fundingInvoiceCancel: FundinginvoiceCancel; + fundingInvoiceRefresh: FundingTx; + fundingPend: FundingPendingResponse; + fundingTxEmailUpdate: FundingTx; + grantApply: GrantApplicant; + orderStatusUpdate?: Maybe; + projectDelete: ProjectDeleteResponse; + projectFollow: Scalars['Boolean']['output']; + projectGoalCreate: Array; + projectGoalDelete: ProjectGoalDeleteResponse; /** Only returns ProjectGoals that are in progress */ - projectGoalOrderingUpdate: Array - projectGoalUpdate: ProjectGoal - projectPublish: Project - projectRewardCreate: ProjectReward - projectRewardCurrencyUpdate: Array + projectGoalOrderingUpdate: Array; + projectGoalUpdate: ProjectGoal; + projectPublish: Project; + projectRewardCreate: ProjectReward; + projectRewardCurrencyUpdate: Array; /** Soft deletes the reward. */ - projectRewardDelete: Scalars['Boolean']['output'] - projectRewardUpdate: ProjectReward - projectStatusUpdate: Project - projectTagAdd: Array - projectTagRemove: Array - projectUnfollow: Scalars['Boolean']['output'] + projectRewardDelete: Scalars['Boolean']['output']; + projectRewardUpdate: ProjectReward; + projectStatusUpdate: Project; + projectTagAdd: Array; + projectTagRemove: Array; + projectUnfollow: Scalars['Boolean']['output']; /** Makes the Entry public. */ - publishEntry: Entry + publishEntry: Entry; /** * Sends an OTP to the user's email address and responds with a token that can be used, together with the OTP, to two-factor authenticate * a request made by the client. */ - sendOTPByEmail: OtpResponse - tagCreate: Tag - unlinkExternalAccount: User - updateEntry: Entry - updateProject: Project - updateUser: User - updateWalletState: Wallet - userBadgeAward: UserBadge - userDelete: DeleteUserResponse - userEmailUpdate: User - userEmailVerify: Scalars['Boolean']['output'] - userNotificationConfigurationValueUpdate?: Maybe - walletCreate: Wallet - walletDelete: Scalars['Boolean']['output'] + sendOTPByEmail: OtpResponse; + tagCreate: Tag; + unlinkExternalAccount: User; + updateEntry: Entry; + updateProject: Project; + updateUser: User; + updateWalletState: Wallet; + userBadgeAward: UserBadge; + userDelete: DeleteUserResponse; + userEmailUpdate: User; + userEmailVerify: Scalars['Boolean']['output']; + userNotificationConfigurationValueUpdate?: Maybe; + walletCreate: Wallet; + walletDelete: Scalars['Boolean']['output']; /** This operation is currently not supported. */ - walletUpdate: Wallet -} + walletUpdate: Wallet; +}; + export type MutationAffiliateLinkCreateArgs = { - input: AffiliateLinkCreateInput -} + input: AffiliateLinkCreateInput; +}; + export type MutationAffiliateLinkDisableArgs = { - affiliateLinkId: Scalars['BigInt']['input'] -} + affiliateLinkId: Scalars['BigInt']['input']; +}; + export type MutationAffiliateLinkLabelUpdateArgs = { - affiliateLinkId: Scalars['BigInt']['input'] - label: Scalars['String']['input'] -} + affiliateLinkId: Scalars['BigInt']['input']; + label: Scalars['String']['input']; +}; + export type MutationAffiliatePaymentConfirmArgs = { - affiliatePaymentId: Scalars['BigInt']['input'] -} + affiliatePaymentId: Scalars['BigInt']['input']; +}; + export type MutationAffiliatePaymentRequestGenerateArgs = { - input: GenerateAffiliatePaymentRequestsInput -} + input: GenerateAffiliatePaymentRequestsInput; +}; + export type MutationClaimBadgeArgs = { - input: BadgeClaimInput -} + input: BadgeClaimInput; +}; + export type MutationCreateEntryArgs = { - input: CreateEntryInput -} + input: CreateEntryInput; +}; + export type MutationCreateProjectArgs = { - input: CreateProjectInput -} + input: CreateProjectInput; +}; + export type MutationCreatorNotificationConfigurationValueUpdateArgs = { - creatorNotificationConfigurationId: Scalars['BigInt']['input'] - value: Scalars['String']['input'] -} + creatorNotificationConfigurationId: Scalars['BigInt']['input']; + value: Scalars['String']['input']; +}; + export type MutationDeleteEntryArgs = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; + export type MutationFundArgs = { - input: FundingInput -} + input: FundingInput; +}; + export type MutationFundingCancelArgs = { - input: FundingCancelInput -} + input: FundingCancelInput; +}; + export type MutationFundingClaimAnonymousArgs = { - uuid: Scalars['String']['input'] -} + uuid: Scalars['String']['input']; +}; + export type MutationFundingConfirmArgs = { - input: FundingConfirmInput -} + input: FundingConfirmInput; +}; + export type MutationFundingCreateFromPodcastKeysendArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type MutationFundingInvoiceCancelArgs = { - invoiceId: Scalars['String']['input'] -} + invoiceId: Scalars['String']['input']; +}; + export type MutationFundingInvoiceRefreshArgs = { - fundingTxId: Scalars['BigInt']['input'] -} + fundingTxId: Scalars['BigInt']['input']; +}; + export type MutationFundingPendArgs = { - input: FundingPendingInput -} + input: FundingPendingInput; +}; + export type MutationFundingTxEmailUpdateArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type MutationGrantApplyArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type MutationOrderStatusUpdateArgs = { - input: OrderStatusUpdateInput -} + input: OrderStatusUpdateInput; +}; + export type MutationProjectDeleteArgs = { - input: DeleteProjectInput -} + input: DeleteProjectInput; +}; + export type MutationProjectFollowArgs = { - input: ProjectFollowMutationInput -} + input: ProjectFollowMutationInput; +}; + export type MutationProjectGoalCreateArgs = { - input: ProjectGoalCreateInput -} + input: ProjectGoalCreateInput; +}; + export type MutationProjectGoalDeleteArgs = { - projectGoalId: Scalars['BigInt']['input'] -} + projectGoalId: Scalars['BigInt']['input']; +}; + export type MutationProjectGoalOrderingUpdateArgs = { - input: ProjectGoalOrderingUpdateInput -} + input: ProjectGoalOrderingUpdateInput; +}; + export type MutationProjectGoalUpdateArgs = { - input: ProjectGoalUpdateInput -} + input: ProjectGoalUpdateInput; +}; + export type MutationProjectPublishArgs = { - input: ProjectPublishMutationInput -} + input: ProjectPublishMutationInput; +}; + export type MutationProjectRewardCreateArgs = { - input: CreateProjectRewardInput -} + input: CreateProjectRewardInput; +}; + export type MutationProjectRewardCurrencyUpdateArgs = { - input: ProjectRewardCurrencyUpdate -} + input: ProjectRewardCurrencyUpdate; +}; + export type MutationProjectRewardDeleteArgs = { - input: DeleteProjectRewardInput -} + input: DeleteProjectRewardInput; +}; + export type MutationProjectRewardUpdateArgs = { - input: UpdateProjectRewardInput -} + input: UpdateProjectRewardInput; +}; + export type MutationProjectStatusUpdateArgs = { - input: ProjectStatusUpdate -} + input: ProjectStatusUpdate; +}; + export type MutationProjectTagAddArgs = { - input: ProjectTagMutationInput -} + input: ProjectTagMutationInput; +}; + export type MutationProjectTagRemoveArgs = { - input: ProjectTagMutationInput -} + input: ProjectTagMutationInput; +}; + export type MutationProjectUnfollowArgs = { - input: ProjectFollowMutationInput -} + input: ProjectFollowMutationInput; +}; + export type MutationPublishEntryArgs = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; + export type MutationSendOtpByEmailArgs = { - input: SendOtpByEmailInput -} + input: SendOtpByEmailInput; +}; + export type MutationTagCreateArgs = { - input: TagCreateInput -} + input: TagCreateInput; +}; + export type MutationUnlinkExternalAccountArgs = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; + export type MutationUpdateEntryArgs = { - input: UpdateEntryInput -} + input: UpdateEntryInput; +}; + export type MutationUpdateProjectArgs = { - input: UpdateProjectInput -} + input: UpdateProjectInput; +}; + export type MutationUpdateUserArgs = { - input: UpdateUserInput -} + input: UpdateUserInput; +}; + export type MutationUpdateWalletStateArgs = { - input: UpdateWalletStateInput -} + input: UpdateWalletStateInput; +}; + export type MutationUserBadgeAwardArgs = { - userBadgeId: Scalars['BigInt']['input'] -} + userBadgeId: Scalars['BigInt']['input']; +}; + export type MutationUserEmailUpdateArgs = { - input: UserEmailUpdateInput -} + input: UserEmailUpdateInput; +}; + export type MutationUserEmailVerifyArgs = { - input: EmailVerifyInput -} + input: EmailVerifyInput; +}; + export type MutationUserNotificationConfigurationValueUpdateArgs = { - userNotificationConfigurationId: Scalars['BigInt']['input'] - value: Scalars['String']['input'] -} + userNotificationConfigurationId: Scalars['BigInt']['input']; + value: Scalars['String']['input']; +}; + export type MutationWalletCreateArgs = { - input: CreateWalletInput -} + input: CreateWalletInput; +}; + export type MutationWalletDeleteArgs = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; + export type MutationWalletUpdateArgs = { - input: UpdateWalletInput -} + input: UpdateWalletInput; +}; export type MutationResponse = { - message?: Maybe - success: Scalars['Boolean']['output'] -} + message?: Maybe; + success: Scalars['Boolean']['output']; +}; export type NostrKeys = { - __typename?: 'NostrKeys' - privateKey?: Maybe - publicKey: NostrPublicKey -} + __typename?: 'NostrKeys'; + privateKey?: Maybe; + publicKey: NostrPublicKey; +}; export type NostrPrivateKey = { - __typename?: 'NostrPrivateKey' - hex: Scalars['String']['output'] - nsec: Scalars['String']['output'] -} + __typename?: 'NostrPrivateKey'; + hex: Scalars['String']['output']; + nsec: Scalars['String']['output']; +}; export type NostrPublicKey = { - __typename?: 'NostrPublicKey' - hex: Scalars['String']['output'] - npub: Scalars['String']['output'] -} + __typename?: 'NostrPublicKey'; + hex: Scalars['String']['output']; + npub: Scalars['String']['output']; +}; export enum NotificationChannel { - Email = 'EMAIL', + Email = 'EMAIL' } export type NotificationConfiguration = { - __typename?: 'NotificationConfiguration' - description?: Maybe - id: Scalars['BigInt']['output'] - name: Scalars['String']['output'] - options: Array - type?: Maybe - value: Scalars['String']['output'] -} + __typename?: 'NotificationConfiguration'; + description?: Maybe; + id: Scalars['BigInt']['output']; + name: Scalars['String']['output']; + options: Array; + type?: Maybe; + value: Scalars['String']['output']; +}; export type NotificationSettings = { - __typename?: 'NotificationSettings' - channel?: Maybe - configurations: Array - isEnabled: Scalars['Boolean']['output'] - notificationType: Scalars['String']['output'] -} + __typename?: 'NotificationSettings'; + channel?: Maybe; + configurations: Array; + isEnabled: Scalars['Boolean']['output']; + notificationType: Scalars['String']['output']; +}; export type OtpInput = { - otp: Scalars['Int']['input'] - otpVerificationToken: Scalars['String']['input'] -} + otp: Scalars['Int']['input']; + otpVerificationToken: Scalars['String']['input']; +}; export type OtpLoginInput = { - otp: Scalars['Int']['input'] - otpVerificationToken: Scalars['String']['input'] -} + otp: Scalars['Int']['input']; + otpVerificationToken: Scalars['String']['input']; +}; export type OtpResponse = { - __typename?: 'OTPResponse' + __typename?: 'OTPResponse'; /** Expiration time of the OTP. Can be used to display a countdown to the user. */ - expiresAt: Scalars['Date']['output'] + expiresAt: Scalars['Date']['output']; /** Encrypted token containing the OTP 2FA details, such as the action to be authorised and the factor used (eg: email). */ - otpVerificationToken: Scalars['String']['output'] -} + otpVerificationToken: Scalars['String']['output']; +}; export type OffsetBasedPaginationInput = { - skip?: InputMaybe - take?: InputMaybe -} + skip?: InputMaybe; + take?: InputMaybe; +}; export type OnChainTxInput = { - id: Scalars['String']['input'] -} + id: Scalars['String']['input']; +}; export type Order = { - __typename?: 'Order' - confirmedAt?: Maybe - createdAt: Scalars['Date']['output'] - deliveredAt?: Maybe - fundingTx: FundingTx - id: Scalars['BigInt']['output'] - items: Array - referenceCode: Scalars['String']['output'] - shippedAt?: Maybe - status: Scalars['String']['output'] - totalInSats: Scalars['Int']['output'] - updatedAt: Scalars['Date']['output'] - user?: Maybe -} + __typename?: 'Order'; + confirmedAt?: Maybe; + createdAt: Scalars['Date']['output']; + deliveredAt?: Maybe; + fundingTx: FundingTx; + id: Scalars['BigInt']['output']; + items: Array; + referenceCode: Scalars['String']['output']; + shippedAt?: Maybe; + status: Scalars['String']['output']; + totalInSats: Scalars['Int']['output']; + updatedAt: Scalars['Date']['output']; + user?: Maybe; +}; export type OrderBitcoinQuoteInput = { - quote: Scalars['Float']['input'] - quoteCurrency: QuoteCurrency -} + quote: Scalars['Float']['input']; + quoteCurrency: QuoteCurrency; +}; export enum OrderByDirection { Asc = 'asc', - Desc = 'desc', + Desc = 'desc' } export enum OrderByOptions { Asc = 'asc', - Desc = 'desc', + Desc = 'desc' } export type OrderFundingInput = { @@ -1561,520 +1609,522 @@ export type OrderFundingInput = { * Quote used client-side to compute the order total. That quote will be used unless the slippage exceeds * a pre-defined threshold. */ - bitcoinQuote?: InputMaybe - items: Array -} + bitcoinQuote?: InputMaybe; + items: Array; +}; export type OrderItem = { - __typename?: 'OrderItem' - item: ProjectReward - quantity: Scalars['Int']['output'] - unitPriceInSats: Scalars['Int']['output'] -} + __typename?: 'OrderItem'; + item: ProjectReward; + quantity: Scalars['Int']['output']; + unitPriceInSats: Scalars['Int']['output']; +}; export type OrderItemInput = { - itemId: Scalars['BigInt']['input'] - itemType: OrderItemType + itemId: Scalars['BigInt']['input']; + itemType: OrderItemType; /** Number of times a reward was selected. */ - quantity: Scalars['Int']['input'] -} + quantity: Scalars['Int']['input']; +}; export enum OrderItemType { - ProjectReward = 'PROJECT_REWARD', + ProjectReward = 'PROJECT_REWARD' } export type OrderStatusUpdateInput = { - orderId?: InputMaybe - status?: InputMaybe -} + orderId?: InputMaybe; + status?: InputMaybe; +}; export type OrdersGetInput = { - orderBy?: InputMaybe> - pagination?: InputMaybe - where: OrdersGetWhereInput -} + orderBy?: InputMaybe>; + pagination?: InputMaybe; + where: OrdersGetWhereInput; +}; export enum OrdersGetOrderByField { ConfirmedAt = 'confirmedAt', DeliveredAt = 'deliveredAt', - ShippedAt = 'shippedAt', + ShippedAt = 'shippedAt' } export type OrdersGetOrderByInput = { - direction: OrderByDirection - field: OrdersGetOrderByField -} + direction: OrderByDirection; + field: OrdersGetOrderByField; +}; export type OrdersGetResponse = { - __typename?: 'OrdersGetResponse' - orders: Array - pagination?: Maybe -} + __typename?: 'OrdersGetResponse'; + orders: Array; + pagination?: Maybe; +}; export enum OrdersGetStatus { AwaitingPayment = 'AWAITING_PAYMENT', Confirmed = 'CONFIRMED', Delivered = 'DELIVERED', - Shipped = 'SHIPPED', + Shipped = 'SHIPPED' } export type OrdersGetWhereInput = { - projectId?: InputMaybe - status?: InputMaybe -} + projectId?: InputMaybe; + status?: InputMaybe; +}; export type OrdersStatsBase = { - __typename?: 'OrdersStatsBase' - projectRewards: ProjectRewardsStats - projectRewardsGroupedByProjectRewardId: Array -} + __typename?: 'OrdersStatsBase'; + projectRewards: ProjectRewardsStats; + projectRewardsGroupedByProjectRewardId: Array; +}; export type Owner = { - __typename?: 'Owner' - id: Scalars['BigInt']['output'] - user: User -} + __typename?: 'Owner'; + id: Scalars['BigInt']['output']; + user: User; +}; export type OwnerOf = { - __typename?: 'OwnerOf' - owner?: Maybe - project?: Maybe -} + __typename?: 'OwnerOf'; + owner?: Maybe; + project?: Maybe; +}; export type PageViewCountGraph = { - __typename?: 'PageViewCountGraph' - dateTime: Scalars['Date']['output'] - viewCount: Scalars['Int']['output'] - visitorCount: Scalars['Int']['output'] -} + __typename?: 'PageViewCountGraph'; + dateTime: Scalars['Date']['output']; + viewCount: Scalars['Int']['output']; + visitorCount: Scalars['Int']['output']; +}; export type PaginationCursor = { - __typename?: 'PaginationCursor' - id?: Maybe -} + __typename?: 'PaginationCursor'; + id?: Maybe; +}; /** Cursor pagination input. */ export type PaginationInput = { - cursor?: InputMaybe - take?: InputMaybe -} + cursor?: InputMaybe; + take?: InputMaybe; +}; export type ProfileNotificationSettings = { - __typename?: 'ProfileNotificationSettings' - creatorSettings: Array - userSettings: UserNotificationSettings -} + __typename?: 'ProfileNotificationSettings'; + creatorSettings: Array; + userSettings: UserNotificationSettings; +}; export type Project = { - __typename?: 'Project' - /** @deprecated Field no longer supported */ - ambassadors: Array + __typename?: 'Project'; + /** @deprecated No longer supported */ + ambassadors: Array; /** Total amount raised by the project, in satoshis. */ - balance: Scalars['Int']['output'] - balanceUsdCent: Scalars['Int']['output'] + balance: Scalars['Int']['output']; + balanceUsdCent: Scalars['Int']['output']; /** Boolean flag to indicate if the project can be deleted. */ - canDelete: Scalars['Boolean']['output'] - createdAt: Scalars['String']['output'] - defaultGoalId?: Maybe + canDelete: Scalars['Boolean']['output']; + createdAt: Scalars['String']['output']; + defaultGoalId?: Maybe; /** Description of the project. */ - description?: Maybe + description?: Maybe; /** * By default, returns all the entries of a project, both published and unpublished but not deleted. * To filter the result set, an explicit input can be passed that specifies a value of true or false for the published field. * An unpublished entry is only returned if the requesting user is the creator of the entry. */ - entries: Array - entriesCount?: Maybe - followers: Array - followersCount?: Maybe - funders: Array - fundersCount?: Maybe - fundingTxs: Array - fundingTxsCount?: Maybe - goalsCount?: Maybe + entries: Array; + entriesCount?: Maybe; + followers: Array; + followersCount?: Maybe; + funders: Array; + fundersCount?: Maybe; + fundingTxs: Array; + fundingTxsCount?: Maybe; + goalsCount?: Maybe; /** Returns the project's grant applications. */ - grantApplications: Array - id: Scalars['BigInt']['output'] - image?: Maybe - keys: ProjectKeys - links: Array - location?: Maybe + grantApplications: Array; + id: Scalars['BigInt']['output']; + image?: Maybe; + keys: ProjectKeys; + links: Array; + location?: Maybe; /** @deprecated milestones are deprecated, use the goals instead */ - milestones: Array + milestones: Array; /** Unique name for the project. Used for the project URL and lightning address. */ - name: Scalars['String']['output'] - owners: Array - rewardCurrency?: Maybe - rewards: Array - rewardsCount?: Maybe + name: Scalars['String']['output']; + owners: Array; + rewardCurrency?: Maybe; + rewards: Array; + rewardsCount?: Maybe; /** Short description of the project. */ - shortDescription?: Maybe - /** @deprecated Field no longer supported */ - sponsors: Array + shortDescription?: Maybe; + /** @deprecated No longer supported */ + sponsors: Array; /** Returns summary statistics on the Project views and visitors. */ - statistics?: Maybe - status?: Maybe - tags: Array + statistics?: Maybe; + status?: Maybe; + tags: Array; /** Main project image. */ - thumbnailImage?: Maybe + thumbnailImage?: Maybe; /** Public title of the project. */ - title: Scalars['String']['output'] - type: ProjectType - updatedAt: Scalars['String']['output'] + title: Scalars['String']['output']; + type: ProjectType; + updatedAt: Scalars['String']['output']; /** Wallets linked to a Project. */ - wallets: Array -} + wallets: Array; +}; + export type ProjectEntriesArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type ProjectGrantApplicationsArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; export type ProjectActivatedSubscriptionResponse = { - __typename?: 'ProjectActivatedSubscriptionResponse' - project: Project -} + __typename?: 'ProjectActivatedSubscriptionResponse'; + project: Project; +}; export type ProjectActivitiesCount = { - __typename?: 'ProjectActivitiesCount' - count: Scalars['Int']['output'] - project: Project -} + __typename?: 'ProjectActivitiesCount'; + count: Scalars['Int']['output']; + project: Project; +}; export type ProjectContributionsGroupedByMethodStats = StatsInterface & { - __typename?: 'ProjectContributionsGroupedByMethodStats' - count: Scalars['Int']['output'] - method: Scalars['String']['output'] - total: Scalars['Int']['output'] - totalUsd: Scalars['Float']['output'] -} + __typename?: 'ProjectContributionsGroupedByMethodStats'; + count: Scalars['Int']['output']; + method: Scalars['String']['output']; + total: Scalars['Int']['output']; + totalUsd: Scalars['Float']['output']; +}; export type ProjectContributionsStats = StatsInterface & { - __typename?: 'ProjectContributionsStats' - count: Scalars['Int']['output'] - total: Scalars['Int']['output'] - totalUsd: Scalars['Float']['output'] -} + __typename?: 'ProjectContributionsStats'; + count: Scalars['Int']['output']; + total: Scalars['Int']['output']; + totalUsd: Scalars['Float']['output']; +}; export type ProjectContributionsStatsBase = { - __typename?: 'ProjectContributionsStatsBase' - contributions: ProjectContributionsStats - contributionsGroupedByMethod: Array -} + __typename?: 'ProjectContributionsStatsBase'; + contributions: ProjectContributionsStats; + contributionsGroupedByMethod: Array; +}; export type ProjectCountriesGetResult = { - __typename?: 'ProjectCountriesGetResult' - count: Scalars['Int']['output'] - country: Country -} + __typename?: 'ProjectCountriesGetResult'; + count: Scalars['Int']['output']; + country: Country; +}; export type ProjectDeleteResponse = MutationResponse & { - __typename?: 'ProjectDeleteResponse' - message?: Maybe - success: Scalars['Boolean']['output'] -} + __typename?: 'ProjectDeleteResponse'; + message?: Maybe; + success: Scalars['Boolean']['output']; +}; export type ProjectEntriesGetInput = { - where?: InputMaybe -} + where?: InputMaybe; +}; export type ProjectEntriesGetWhereInput = { - published?: InputMaybe -} + published?: InputMaybe; +}; export type ProjectFollowMutationInput = { - projectId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; +}; export type ProjectFollowerStats = { - __typename?: 'ProjectFollowerStats' - count: Scalars['Int']['output'] -} + __typename?: 'ProjectFollowerStats'; + count: Scalars['Int']['output']; +}; export type ProjectFunderRewardStats = { - __typename?: 'ProjectFunderRewardStats' + __typename?: 'ProjectFunderRewardStats'; /** Project rewards sold count over the given datetime range grouped by day, or month. */ - quantityGraph?: Maybe>> + quantityGraph?: Maybe>>; /** Project rewards sold count in the given datetime range. */ - quantitySum: Scalars['Int']['output'] -} + quantitySum: Scalars['Int']['output']; +}; export type ProjectFunderStats = { - __typename?: 'ProjectFunderStats' + __typename?: 'ProjectFunderStats'; /** Project contributors count in the given datetime range. */ - count: Scalars['Int']['output'] -} + count: Scalars['Int']['output']; +}; export type ProjectFundingTxStats = { - __typename?: 'ProjectFundingTxStats' + __typename?: 'ProjectFundingTxStats'; /** Project contribution over the given datetime range grouped by day, or month. */ - amountGraph?: Maybe>> + amountGraph?: Maybe>>; /** Project contribution amount in the given datetime range. */ - amountSum?: Maybe + amountSum?: Maybe; /** Project contribution amount in USD in the given datetime range. */ - amountSumUsd?: Maybe + amountSumUsd?: Maybe; /** Project contribution count in the given datetime range. */ - count: Scalars['Int']['output'] + count: Scalars['Int']['output']; /** Project contribution count of each Funding Method in the given datetime range. */ - methodCount?: Maybe>> + methodCount?: Maybe>>; /** Project contribution amount of each Funding Method in the given datetime range. */ - methodSum?: Maybe>> -} + methodSum?: Maybe>>; +}; export type ProjectGoal = { - __typename?: 'ProjectGoal' - amountContributed: Scalars['Int']['output'] - completedAt?: Maybe - createdAt: Scalars['Date']['output'] - currency: ProjectGoalCurrency - description?: Maybe - emojiUnifiedCode?: Maybe - hasReceivedContribution: Scalars['Boolean']['output'] - id: Scalars['BigInt']['output'] - projectId: Scalars['BigInt']['output'] - status: ProjectGoalStatus - targetAmount: Scalars['Int']['output'] - title: Scalars['String']['output'] - updatedAt: Scalars['Date']['output'] -} + __typename?: 'ProjectGoal'; + amountContributed: Scalars['Int']['output']; + completedAt?: Maybe; + createdAt: Scalars['Date']['output']; + currency: ProjectGoalCurrency; + description?: Maybe; + emojiUnifiedCode?: Maybe; + hasReceivedContribution: Scalars['Boolean']['output']; + id: Scalars['BigInt']['output']; + projectId: Scalars['BigInt']['output']; + status: ProjectGoalStatus; + targetAmount: Scalars['Int']['output']; + title: Scalars['String']['output']; + updatedAt: Scalars['Date']['output']; +}; export type ProjectGoalCreateInput = { - currency: ProjectGoalCurrency - description?: InputMaybe - emojiUnifiedCode?: InputMaybe - projectId: Scalars['BigInt']['input'] - targetAmount: Scalars['Int']['input'] - title: Scalars['String']['input'] -} + currency: ProjectGoalCurrency; + description?: InputMaybe; + emojiUnifiedCode?: InputMaybe; + projectId: Scalars['BigInt']['input']; + targetAmount: Scalars['Int']['input']; + title: Scalars['String']['input']; +}; export enum ProjectGoalCurrency { Btcsat = 'BTCSAT', - Usdcent = 'USDCENT', + Usdcent = 'USDCENT' } export type ProjectGoalDeleteResponse = MutationResponse & { - __typename?: 'ProjectGoalDeleteResponse' - message?: Maybe - success: Scalars['Boolean']['output'] -} + __typename?: 'ProjectGoalDeleteResponse'; + message?: Maybe; + success: Scalars['Boolean']['output']; +}; export type ProjectGoalOrderingUpdateInput = { - projectGoalIdsOrder: Array - projectId: Scalars['BigInt']['input'] -} + projectGoalIdsOrder: Array; + projectId: Scalars['BigInt']['input']; +}; export enum ProjectGoalStatus { Completed = 'COMPLETED', - InProgress = 'IN_PROGRESS', + InProgress = 'IN_PROGRESS' } export enum ProjectGoalStatusInCreate { Inactive = 'INACTIVE', - InProgress = 'IN_PROGRESS', + InProgress = 'IN_PROGRESS' } export type ProjectGoalUpdateInput = { - currency?: InputMaybe - description?: InputMaybe - emojiUnifiedCode?: InputMaybe - projectGoalId: Scalars['BigInt']['input'] - targetAmount?: InputMaybe - title?: InputMaybe -} + currency?: InputMaybe; + description?: InputMaybe; + emojiUnifiedCode?: InputMaybe; + projectGoalId: Scalars['BigInt']['input']; + targetAmount?: InputMaybe; + title?: InputMaybe; +}; export type ProjectGoals = { - __typename?: 'ProjectGoals' - completed: Array - inProgress: Array -} + __typename?: 'ProjectGoals'; + completed: Array; + inProgress: Array; +}; export type ProjectGrantApplicationsInput = { - where: ProjectGrantApplicationsWhereInput -} + where: ProjectGrantApplicationsWhereInput; +}; export type ProjectGrantApplicationsWhereInput = { - grantStatus: ProjectGrantApplicationsWhereInputEnum -} + grantStatus: ProjectGrantApplicationsWhereInputEnum; +}; export enum ProjectGrantApplicationsWhereInputEnum { - FundingOpen = 'FUNDING_OPEN', + FundingOpen = 'FUNDING_OPEN' } export type ProjectKeys = { - __typename?: 'ProjectKeys' - nostrKeys: NostrKeys -} + __typename?: 'ProjectKeys'; + nostrKeys: NostrKeys; +}; export type ProjectLeaderboardContributorsGetInput = { - period: ProjectLeaderboardPeriod - projectId: Scalars['BigInt']['input'] - top: Scalars['Int']['input'] -} + period: ProjectLeaderboardPeriod; + projectId: Scalars['BigInt']['input']; + top: Scalars['Int']['input']; +}; export type ProjectLeaderboardContributorsRow = { - __typename?: 'ProjectLeaderboardContributorsRow' - commentsCount: Scalars['Int']['output'] - contributionsCount: Scalars['Int']['output'] - contributionsTotal: Scalars['Int']['output'] - contributionsTotalUsd: Scalars['Float']['output'] - funderId: Scalars['BigInt']['output'] - user?: Maybe -} + __typename?: 'ProjectLeaderboardContributorsRow'; + commentsCount: Scalars['Int']['output']; + contributionsCount: Scalars['Int']['output']; + contributionsTotal: Scalars['Int']['output']; + contributionsTotalUsd: Scalars['Float']['output']; + funderId: Scalars['BigInt']['output']; + user?: Maybe; +}; export enum ProjectLeaderboardPeriod { AllTime = 'ALL_TIME', Month = 'MONTH', - Week = 'WEEK', + Week = 'WEEK' } export type ProjectLinkMutationInput = { - link: Scalars['String']['input'] - projectId: Scalars['BigInt']['input'] -} + link: Scalars['String']['input']; + projectId: Scalars['BigInt']['input']; +}; export type ProjectMostFunded = { - __typename?: 'ProjectMostFunded' + __typename?: 'ProjectMostFunded'; /** The project details */ - project: Project -} + project: Project; +}; export type ProjectMostFundedByTag = { - __typename?: 'ProjectMostFundedByTag' - projects: Array - tagId: Scalars['Int']['output'] -} + __typename?: 'ProjectMostFundedByTag'; + projects: Array; + tagId: Scalars['Int']['output']; +}; export type ProjectPublishMutationInput = { - projectId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; +}; export type ProjectRegionsGetResult = { - __typename?: 'ProjectRegionsGetResult' - count: Scalars['Int']['output'] - region: Scalars['String']['output'] -} + __typename?: 'ProjectRegionsGetResult'; + count: Scalars['Int']['output']; + region: Scalars['String']['output']; +}; export type ProjectReward = { - __typename?: 'ProjectReward' + __typename?: 'ProjectReward'; /** * Number of people that purchased the Project Reward. * @deprecated Use sold instead */ - backersCount: Scalars['Int']['output'] + backersCount: Scalars['Int']['output']; /** Category of ProjectReward */ - category?: Maybe + category?: Maybe; /** Cost of the reward, priced in USD cents. */ - cost: Scalars['Int']['output'] + cost: Scalars['Int']['output']; /** The date the creator created the reward */ - createdAt: Scalars['Date']['output'] + createdAt: Scalars['Date']['output']; /** * Whether the reward is deleted or not. Deleted rewards should not appear in the funding flow. Moreover, deleted * rewards should only be visible by the project owner and the users that purchased it. */ - deleted: Scalars['Boolean']['output'] + deleted: Scalars['Boolean']['output']; /** Internally used to track whether a reward was soft deleted */ - deletedAt?: Maybe + deletedAt?: Maybe; /** Short description of the reward. */ - description?: Maybe + description?: Maybe; /** Estimated availability date of a reward that is in development */ - estimatedAvailabilityDate?: Maybe - estimatedDeliveryDate?: Maybe + estimatedAvailabilityDate?: Maybe; + estimatedDeliveryDate?: Maybe; /** Estimated delivery time from the time of purchase */ - estimatedDeliveryInWeeks?: Maybe + estimatedDeliveryInWeeks?: Maybe; /** Boolean value to indicate whether this reward requires shipping */ - hasShipping: Scalars['Boolean']['output'] - id: Scalars['BigInt']['output'] + hasShipping: Scalars['Boolean']['output']; + id: Scalars['BigInt']['output']; /** Image of the reward. */ - image?: Maybe + image?: Maybe; /** Boolean value to indicate whether this reward is an addon */ - isAddon: Scalars['Boolean']['output'] + isAddon: Scalars['Boolean']['output']; /** Boolean value to indicate whether this reward is hidden */ - isHidden: Scalars['Boolean']['output'] + isHidden: Scalars['Boolean']['output']; /** Maximum times the item can be purchased */ - maxClaimable?: Maybe + maxClaimable?: Maybe; /** Name of the reward. */ - name: Scalars['String']['output'] + name: Scalars['String']['output']; /** Boolean value to indicate whether this reward is in development or ready to ship */ - preOrder: Scalars['Boolean']['output'] + preOrder: Scalars['Boolean']['output']; /** Boolean value to indicate whether this reward requires shipping */ - project: Project + project: Project; /** Currency in which the reward cost is stored. */ - rewardCurrency: RewardCurrency - rewardType?: Maybe + rewardCurrency: RewardCurrency; + rewardType?: Maybe; /** Number of times this Project Reward was sold. */ - sold: Scalars['Int']['output'] + sold: Scalars['Int']['output']; /** Tracks the stock of the reward */ - stock?: Maybe + stock?: Maybe; /** The last date when the creator has updated the reward */ - updatedAt: Scalars['Date']['output'] + updatedAt: Scalars['Date']['output']; /** UUID for the reward, it stays consistent throughout the project reward updates (the ID does not) */ - uuid: Scalars['String']['output'] -} + uuid: Scalars['String']['output']; +}; export type ProjectRewardCurrencyUpdate = { - projectId: Scalars['BigInt']['input'] - rewardCurrency: RewardCurrency -} + projectId: Scalars['BigInt']['input']; + rewardCurrency: RewardCurrency; +}; export type ProjectRewardCurrencyUpdateRewardsInput = { - cost: Scalars['Int']['input'] - rewardId: Scalars['BigInt']['input'] -} + cost: Scalars['Int']['input']; + rewardId: Scalars['BigInt']['input']; +}; export type ProjectRewardTrendingWeeklyGetRow = { - __typename?: 'ProjectRewardTrendingWeeklyGetRow' - count: Scalars['Int']['output'] - projectReward: ProjectReward -} + __typename?: 'ProjectRewardTrendingWeeklyGetRow'; + count: Scalars['Int']['output']; + projectReward: ProjectReward; +}; export type ProjectRewardsGroupedByRewardIdStats = { - __typename?: 'ProjectRewardsGroupedByRewardIdStats' - count: Scalars['Int']['output'] - projectReward: ProjectRewardsGroupedByRewardIdStatsProjectReward -} + __typename?: 'ProjectRewardsGroupedByRewardIdStats'; + count: Scalars['Int']['output']; + projectReward: ProjectRewardsGroupedByRewardIdStatsProjectReward; +}; export type ProjectRewardsGroupedByRewardIdStatsProjectReward = { - __typename?: 'ProjectRewardsGroupedByRewardIdStatsProjectReward' - id: Scalars['BigInt']['output'] - image?: Maybe - name: Scalars['String']['output'] -} + __typename?: 'ProjectRewardsGroupedByRewardIdStatsProjectReward'; + id: Scalars['BigInt']['output']; + image?: Maybe; + name: Scalars['String']['output']; +}; export type ProjectRewardsStats = { - __typename?: 'ProjectRewardsStats' - count: Scalars['Int']['output'] -} + __typename?: 'ProjectRewardsStats'; + count: Scalars['Int']['output']; +}; export type ProjectStatistics = { - __typename?: 'ProjectStatistics' - totalPageviews: Scalars['Int']['output'] - totalVisitors: Scalars['Int']['output'] -} + __typename?: 'ProjectStatistics'; + totalPageviews: Scalars['Int']['output']; + totalVisitors: Scalars['Int']['output']; +}; export type ProjectStats = { - __typename?: 'ProjectStats' - current?: Maybe - datetimeRange: DatetimeRange - prevTimeRange?: Maybe -} + __typename?: 'ProjectStats'; + current?: Maybe; + datetimeRange: DatetimeRange; + prevTimeRange?: Maybe; +}; export type ProjectStatsBase = { - __typename?: 'ProjectStatsBase' - projectContributionsStats?: Maybe + __typename?: 'ProjectStatsBase'; + projectContributionsStats?: Maybe; /** @deprecated will be deprecated */ - projectFollowers?: Maybe + projectFollowers?: Maybe; /** @deprecated will be deprecated */ - projectFunderRewards?: Maybe + projectFunderRewards?: Maybe; /** @deprecated will be deprecated */ - projectFunders?: Maybe + projectFunders?: Maybe; /** @deprecated Use projectContributionsStats instead */ - projectFundingTxs?: Maybe + projectFundingTxs?: Maybe; /** @deprecated will be deprecated */ - projectViews?: Maybe -} + projectViews?: Maybe; +}; export enum ProjectStatus { Active = 'active', @@ -2082,47 +2132,47 @@ export enum ProjectStatus { Deleted = 'deleted', Draft = 'draft', InReview = 'in_review', - Inactive = 'inactive', + Inactive = 'inactive' } export type ProjectStatusUpdate = { - projectId: Scalars['BigInt']['input'] - status: ProjectStatus -} + projectId: Scalars['BigInt']['input']; + status: ProjectStatus; +}; export type ProjectTagMutationInput = { - projectId: Scalars['BigInt']['input'] - tagId: Scalars['Int']['input'] -} + projectId: Scalars['BigInt']['input']; + tagId: Scalars['Int']['input']; +}; export enum ProjectType { Donation = 'donation', Grant = 'grant', - Reward = 'reward', + Reward = 'reward' } export type ProjectViewBaseStats = { - __typename?: 'ProjectViewBaseStats' - value: Scalars['String']['output'] - viewCount: Scalars['Int']['output'] - visitorCount: Scalars['Int']['output'] -} + __typename?: 'ProjectViewBaseStats'; + value: Scalars['String']['output']; + viewCount: Scalars['Int']['output']; + visitorCount: Scalars['Int']['output']; +}; export type ProjectViewStats = { - __typename?: 'ProjectViewStats' + __typename?: 'ProjectViewStats'; /** Project view/visitor count of each viewing country in the given datetime range. */ - countries: Array + countries: Array; /** Project view/visitor count of each refferal platform in the given datetime range. */ - referrers: Array + referrers: Array; /** Project view/visitor count of each viewing region in the given datetime range. */ - regions: Array + regions: Array; /** Project view count in the given datetime range. */ - viewCount: Scalars['Int']['output'] + viewCount: Scalars['Int']['output']; /** Project visitor count in the given datetime range. */ - visitorCount: Scalars['Int']['output'] + visitorCount: Scalars['Int']['output']; /** Project views/visitors count over the given datetime range grouped by day, or month. */ - visitorGraph: Array> -} + visitorGraph: Array>; +}; export type ProjectsGetQueryInput = { /** @@ -2130,657 +2180,696 @@ export type ProjectsGetQueryInput = { * be passed in a separate object in the array. This ensures consistent ordering of the orderBy options in the * result set. */ - orderBy?: InputMaybe> - pagination?: InputMaybe - where: ProjectsGetWhereInput -} + orderBy?: InputMaybe>; + pagination?: InputMaybe; + where: ProjectsGetWhereInput; +}; export type ProjectsGetWhereInput = { - countryCode?: InputMaybe - id?: InputMaybe - ids?: InputMaybe> + countryCode?: InputMaybe; + id?: InputMaybe; + ids?: InputMaybe>; /** Unique name for the project. Used for the project URL and lightning address. */ - name?: InputMaybe - region?: InputMaybe - search?: InputMaybe - status?: InputMaybe - tagIds?: InputMaybe> - type?: InputMaybe -} + name?: InputMaybe; + region?: InputMaybe; + search?: InputMaybe; + status?: InputMaybe; + tagIds?: InputMaybe>; + type?: InputMaybe; +}; export type ProjectsMostFundedByTagInput = { - range: ProjectsMostFundedByTagRange - tagIds: Array - take?: InputMaybe -} + range: ProjectsMostFundedByTagRange; + tagIds: Array; + take?: InputMaybe; +}; export enum ProjectsMostFundedByTagRange { - Week = 'WEEK', + Week = 'WEEK' } export enum ProjectsOrderByField { - Balance = 'balance', + Balance = 'balance' } export type ProjectsOrderByInput = { - direction: OrderByDirection - field: ProjectsOrderByField -} + direction: OrderByDirection; + field: ProjectsOrderByField; +}; export type ProjectsResponse = { - __typename?: 'ProjectsResponse' - projects: Array - summary?: Maybe -} + __typename?: 'ProjectsResponse'; + projects: Array; + summary?: Maybe; +}; export type ProjectsSummary = { - __typename?: 'ProjectsSummary' + __typename?: 'ProjectsSummary'; /** Total of satoshis raised by projects on the platform. */ - fundedTotal?: Maybe + fundedTotal?: Maybe; /** Total number of funders on the platform. */ - fundersCount?: Maybe + fundersCount?: Maybe; /** Total number of projects ever created on the platform. */ - projectsCount?: Maybe -} + projectsCount?: Maybe; +}; export type Query = { - __typename?: 'Query' - _?: Maybe - activitiesCountGroupedByProject: Array + __typename?: 'Query'; + _?: Maybe; + activitiesCountGroupedByProject: Array; /** Returns all activities. */ - activitiesGet: ActivitiesGetResponse + activitiesGet: ActivitiesGetResponse; /** Returns all affiliate links of a project. */ - affiliateLinksGet: Array - badges: Array - contributor: Funder - currencyQuoteGet: CurrencyQuoteGetResponse - entry?: Maybe - fundersGet: Array - fundingTx: FundingTx - fundingTxInvoiceSanctionCheckStatusGet: FundingTxInvoiceSanctionCheckStatusResponse - fundingTxsGet?: Maybe - getDashboardFunders: Array + affiliateLinksGet: Array; + badges: Array; + contributor: Funder; + currencyQuoteGet: CurrencyQuoteGetResponse; + entry?: Maybe; + fundersGet: Array; + fundingTx: FundingTx; + fundingTxInvoiceSanctionCheckStatusGet: FundingTxInvoiceSanctionCheckStatusResponse; + fundingTxsGet?: Maybe; + getDashboardFunders: Array; /** Returns all published entries. */ - getEntries: Array + getEntries: Array; /** Returns the public key of the Lightning node linked to a project, if there is one. */ - getProjectPubkey?: Maybe - getProjectReward: ProjectReward - getSignedUploadUrl: SignedUploadUrl - getWallet: Wallet - grant: Grant - grantStatistics: GrantStatistics - grants: Array - leaderboardGlobalContributorsGet: Array - leaderboardGlobalProjectsGet: Array - lightningAddressVerify: LightningAddressVerifyResponse - me?: Maybe - orderGet?: Maybe - ordersGet?: Maybe - ordersStatsGet: OrdersStatsBase - projectCountriesGet: Array - projectGet?: Maybe - projectGoals: ProjectGoals - projectLeaderboardContributorsGet: Array - projectNotificationSettingsGet: CreatorNotificationSettings - projectRegionsGet: Array - projectRewardCategoriesGet: Array - projectRewardsGet: Array - projectRewardsTrendingWeeklyGet: Array - projectStatsGet: ProjectStats + getProjectPubkey?: Maybe; + getProjectReward: ProjectReward; + getSignedUploadUrl: SignedUploadUrl; + getWallet: Wallet; + grant: Grant; + grantStatistics: GrantStatistics; + grants: Array; + leaderboardGlobalContributorsGet: Array; + leaderboardGlobalProjectsGet: Array; + lightningAddressVerify: LightningAddressVerifyResponse; + me?: Maybe; + orderGet?: Maybe; + ordersGet?: Maybe; + ordersStatsGet: OrdersStatsBase; + projectCountriesGet: Array; + projectGet?: Maybe; + projectGoals: ProjectGoals; + projectLeaderboardContributorsGet: Array; + projectNotificationSettingsGet: CreatorNotificationSettings; + projectRegionsGet: Array; + projectRewardCategoriesGet: Array; + projectRewardsGet: Array; + projectRewardsTrendingWeeklyGet: Array; + projectStatsGet: ProjectStats; /** By default, returns a list of all active projects. */ - projectsGet: ProjectsResponse - projectsMostFundedByTag: Array + projectsGet: ProjectsResponse; + projectsMostFundedByTag: Array; /** Returns summary statistics of all projects, both current and past. */ - projectsSummary: ProjectsSummary - statusCheck: Scalars['Boolean']['output'] - tagsGet: Array - tagsMostFundedGet: Array - user: User - userBadge?: Maybe - userBadges: Array - userNotificationSettingsGet: ProfileNotificationSettings -} + projectsSummary: ProjectsSummary; + statusCheck: Scalars['Boolean']['output']; + tagsGet: Array; + tagsMostFundedGet: Array; + user: User; + userBadge?: Maybe; + userBadges: Array; + userNotificationSettingsGet: ProfileNotificationSettings; +}; + export type QueryActivitiesCountGroupedByProjectArgs = { - input: ActivitiesCountGroupedByProjectInput -} + input: ActivitiesCountGroupedByProjectInput; +}; + export type QueryActivitiesGetArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type QueryAffiliateLinksGetArgs = { - input: GetAffiliateLinksInput -} + input: GetAffiliateLinksInput; +}; + export type QueryContributorArgs = { - input: GetContributorInput -} + input: GetContributorInput; +}; + export type QueryCurrencyQuoteGetArgs = { - input: CurrencyQuoteGetInput -} + input: CurrencyQuoteGetInput; +}; + export type QueryEntryArgs = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; + export type QueryFundersGetArgs = { - input: GetFundersInput -} + input: GetFundersInput; +}; + export type QueryFundingTxArgs = { - id?: InputMaybe - swapId?: InputMaybe -} + id?: InputMaybe; + swapId?: InputMaybe; +}; + export type QueryFundingTxInvoiceSanctionCheckStatusGetArgs = { - input: FundingTxInvoiceSanctionCheckStatusGetInput -} + input: FundingTxInvoiceSanctionCheckStatusGetInput; +}; + export type QueryFundingTxsGetArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type QueryGetDashboardFundersArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type QueryGetEntriesArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type QueryGetProjectPubkeyArgs = { - projectId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; +}; + export type QueryGetProjectRewardArgs = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; + export type QueryGetSignedUploadUrlArgs = { - input: FileUploadInput -} + input: FileUploadInput; +}; + export type QueryGetWalletArgs = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; + export type QueryGrantArgs = { - input: GrantGetInput -} + input: GrantGetInput; +}; + export type QueryLeaderboardGlobalContributorsGetArgs = { - input: LeaderboardGlobalContributorsGetInput -} + input: LeaderboardGlobalContributorsGetInput; +}; + export type QueryLeaderboardGlobalProjectsGetArgs = { - input: LeaderboardGlobalProjectsGetInput -} + input: LeaderboardGlobalProjectsGetInput; +}; + export type QueryLightningAddressVerifyArgs = { - lightningAddress?: InputMaybe -} + lightningAddress?: InputMaybe; +}; + export type QueryOrderGetArgs = { - where: UniqueOrderInput -} + where: UniqueOrderInput; +}; + export type QueryOrdersGetArgs = { - input: OrdersGetInput -} + input: OrdersGetInput; +}; + export type QueryOrdersStatsGetArgs = { - input: GetProjectOrdersStatsInput -} + input: GetProjectOrdersStatsInput; +}; + export type QueryProjectGetArgs = { - where: UniqueProjectQueryInput -} + where: UniqueProjectQueryInput; +}; + export type QueryProjectGoalsArgs = { - input: GetProjectGoalsInput -} + input: GetProjectGoalsInput; +}; + export type QueryProjectLeaderboardContributorsGetArgs = { - input: ProjectLeaderboardContributorsGetInput -} + input: ProjectLeaderboardContributorsGetInput; +}; + export type QueryProjectNotificationSettingsGetArgs = { - projectId: Scalars['BigInt']['input'] -} + projectId: Scalars['BigInt']['input']; +}; + export type QueryProjectRewardsGetArgs = { - input: GetProjectRewardInput -} + input: GetProjectRewardInput; +}; + export type QueryProjectStatsGetArgs = { - input: GetProjectStatsInput -} + input: GetProjectStatsInput; +}; + export type QueryProjectsGetArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type QueryProjectsMostFundedByTagArgs = { - input: ProjectsMostFundedByTagInput -} + input: ProjectsMostFundedByTagInput; +}; + export type QueryUserArgs = { - where: UserGetInput -} + where: UserGetInput; +}; + export type QueryUserBadgeArgs = { - userBadgeId: Scalars['BigInt']['input'] -} + userBadgeId: Scalars['BigInt']['input']; +}; + export type QueryUserBadgesArgs = { - input: BadgesGetInput -} + input: BadgesGetInput; +}; + export type QueryUserNotificationSettingsGetArgs = { - userId: Scalars['BigInt']['input'] -} + userId: Scalars['BigInt']['input']; +}; export enum QuoteCurrency { - Usd = 'USD', + Usd = 'USD' } export type ResourceInput = { - resourceId: Scalars['BigInt']['input'] - resourceType: FundingResourceType -} + resourceId: Scalars['BigInt']['input']; + resourceType: FundingResourceType; +}; export enum RewardCurrency { Btcsat = 'BTCSAT', - Usdcent = 'USDCENT', + Usdcent = 'USDCENT' } export type SendOtpByEmailInput = { - action: MfaAction - email?: InputMaybe -} + action: MfaAction; + email?: InputMaybe; +}; export enum SettingValueType { Boolean = 'BOOLEAN', Enum = 'ENUM', Integer = 'INTEGER', - String = 'STRING', + String = 'STRING' } export enum ShippingDestination { International = 'international', - National = 'national', + National = 'national' } export type SignedUploadUrl = { - __typename?: 'SignedUploadUrl' + __typename?: 'SignedUploadUrl'; /** Distribution URL from which the image will be served */ - distributionUrl: Scalars['String']['output'] + distributionUrl: Scalars['String']['output']; /** Signed URL used by the client to upload an image */ - uploadUrl: Scalars['String']['output'] -} + uploadUrl: Scalars['String']['output']; +}; -export type SourceResource = Entry | Project +export type SourceResource = Entry | Project; export type Sponsor = { - __typename?: 'Sponsor' - createdAt: Scalars['Date']['output'] - id: Scalars['BigInt']['output'] - image?: Maybe - name: Scalars['String']['output'] - status: SponsorStatus - url?: Maybe - user?: Maybe -} + __typename?: 'Sponsor'; + createdAt: Scalars['Date']['output']; + id: Scalars['BigInt']['output']; + image?: Maybe; + name: Scalars['String']['output']; + status: SponsorStatus; + url?: Maybe; + user?: Maybe; +}; export enum SponsorStatus { Accepted = 'ACCEPTED', Canceled = 'CANCELED', Confirmed = 'CONFIRMED', Pending = 'PENDING', - Rejected = 'REJECTED', + Rejected = 'REJECTED' } export type StatsInterface = { - count: Scalars['Int']['output'] - total: Scalars['Int']['output'] - totalUsd: Scalars['Float']['output'] -} + count: Scalars['Int']['output']; + total: Scalars['Int']['output']; + totalUsd: Scalars['Float']['output']; +}; export type Subscription = { - __typename?: 'Subscription' - _?: Maybe - activityCreated: Activity - entryPublished: EntryPublishedSubscriptionResponse - fundingTxStatusUpdated: FundingTxStatusUpdatedSubscriptionResponse - projectActivated: ProjectActivatedSubscriptionResponse -} + __typename?: 'Subscription'; + _?: Maybe; + activityCreated: Activity; + entryPublished: EntryPublishedSubscriptionResponse; + fundingTxStatusUpdated: FundingTxStatusUpdatedSubscriptionResponse; + projectActivated: ProjectActivatedSubscriptionResponse; +}; + export type SubscriptionActivityCreatedArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type SubscriptionFundingTxStatusUpdatedArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; export type Swap = { - __typename?: 'Swap' - json: Scalars['String']['output'] -} + __typename?: 'Swap'; + json: Scalars['String']['output']; +}; export type TotpInput = { - totp: Scalars['Int']['input'] -} + totp: Scalars['Int']['input']; +}; export type Tag = { - __typename?: 'Tag' - id: Scalars['Int']['output'] - label: Scalars['String']['output'] -} + __typename?: 'Tag'; + id: Scalars['Int']['output']; + label: Scalars['String']['output']; +}; export type TagCreateInput = { - label: Scalars['String']['input'] -} + label: Scalars['String']['input']; +}; export type TagsGetResult = { - __typename?: 'TagsGetResult' - count: Scalars['Int']['output'] - id: Scalars['Int']['output'] - label: Scalars['String']['output'] -} + __typename?: 'TagsGetResult'; + count: Scalars['Int']['output']; + id: Scalars['Int']['output']; + label: Scalars['String']['output']; +}; export type TagsMostFundedGetResult = { - __typename?: 'TagsMostFundedGetResult' - id: Scalars['Int']['output'] - label: Scalars['String']['output'] -} + __typename?: 'TagsMostFundedGetResult'; + id: Scalars['Int']['output']; + label: Scalars['String']['output']; +}; export type TwoFaInput = { - OTP?: InputMaybe + OTP?: InputMaybe; /** TOTP is not supported yet. */ - TOTP?: InputMaybe -} + TOTP?: InputMaybe; +}; export type UniqueOrderInput = { - id?: InputMaybe -} + id?: InputMaybe; +}; export type UniqueProjectQueryInput = { - id?: InputMaybe + id?: InputMaybe; /** Unique name for the project. Used for the project URL and lightning address. */ - name?: InputMaybe + name?: InputMaybe; /** Project's Nostr Public Key in HEX format */ - nostrPublicKey?: InputMaybe -} + nostrPublicKey?: InputMaybe; +}; export enum UpdatableOrderStatus { Confirmed = 'CONFIRMED', Delivered = 'DELIVERED', - Shipped = 'SHIPPED', + Shipped = 'SHIPPED' } export type UpdateEntryInput = { - content?: InputMaybe - description?: InputMaybe - entryId: Scalars['BigInt']['input'] + content?: InputMaybe; + description?: InputMaybe; + entryId: Scalars['BigInt']['input']; /** Header image of the Entry. */ - image?: InputMaybe - title?: InputMaybe -} + image?: InputMaybe; + title?: InputMaybe; +}; export type UpdateProjectInput = { /** Project ISO3166 country code */ - countryCode?: InputMaybe + countryCode?: InputMaybe; /** Description of the project. */ - description?: InputMaybe + description?: InputMaybe; /** Main project image. */ - image?: InputMaybe + image?: InputMaybe; /** Project links */ - links?: InputMaybe> + links?: InputMaybe>; /** Project name, used both for the project URL, project lightning address and NIP05. */ - name?: InputMaybe - projectId: Scalars['BigInt']['input'] + name?: InputMaybe; + projectId: Scalars['BigInt']['input']; /** Project region */ - region?: InputMaybe + region?: InputMaybe; /** The currency used to price rewards for the project. Currently only USDCENT supported. Should become an Enum. */ - rewardCurrency?: InputMaybe + rewardCurrency?: InputMaybe; /** A short description of the project. */ - shortDescription?: InputMaybe + shortDescription?: InputMaybe; /** Project header image. */ - thumbnailImage?: InputMaybe + thumbnailImage?: InputMaybe; /** Public title of the project. */ - title?: InputMaybe - type?: InputMaybe -} + title?: InputMaybe; + type?: InputMaybe; +}; export type UpdateProjectRewardInput = { - category?: InputMaybe + category?: InputMaybe; /** Cost of the reward, priced in USD cents */ - cost?: InputMaybe - description?: InputMaybe - estimatedAvailabilityDate?: InputMaybe - estimatedDeliveryInWeeks?: InputMaybe - hasShipping?: InputMaybe - image?: InputMaybe - isAddon?: InputMaybe - isHidden?: InputMaybe - maxClaimable?: InputMaybe - name?: InputMaybe - preOrder?: InputMaybe - projectRewardId: Scalars['BigInt']['input'] -} + cost?: InputMaybe; + description?: InputMaybe; + estimatedAvailabilityDate?: InputMaybe; + estimatedDeliveryInWeeks?: InputMaybe; + hasShipping?: InputMaybe; + image?: InputMaybe; + isAddon?: InputMaybe; + isHidden?: InputMaybe; + maxClaimable?: InputMaybe; + name?: InputMaybe; + preOrder?: InputMaybe; + projectRewardId: Scalars['BigInt']['input']; +}; export type UpdateUserInput = { - bio?: InputMaybe - id: Scalars['BigInt']['input'] - imageUrl?: InputMaybe - username?: InputMaybe -} + bio?: InputMaybe; + id: Scalars['BigInt']['input']; + imageUrl?: InputMaybe; + username?: InputMaybe; +}; export type UpdateWalletInput = { - feePercentage?: InputMaybe - id: Scalars['BigInt']['input'] - lightningAddressConnectionDetailsInput?: InputMaybe - lndConnectionDetailsInput?: InputMaybe - name?: InputMaybe - twoFAInput?: InputMaybe -} + feePercentage?: InputMaybe; + id: Scalars['BigInt']['input']; + lightningAddressConnectionDetailsInput?: InputMaybe; + lndConnectionDetailsInput?: InputMaybe; + name?: InputMaybe; + twoFAInput?: InputMaybe; +}; export type UpdateWalletStateInput = { - status: WalletStatus - statusCode: WalletStatusCode - walletId: Scalars['BigInt']['input'] -} + status: WalletStatus; + statusCode: WalletStatusCode; + walletId: Scalars['BigInt']['input']; +}; export type User = { - __typename?: 'User' - badges: Array - bio?: Maybe + __typename?: 'User'; + badges: Array; + bio?: Maybe; /** Details on the participation of a User in a project. */ - contributions: Array - email?: Maybe - emailVerifiedAt?: Maybe + contributions: Array; + email?: Maybe; + emailVerifiedAt?: Maybe; /** * By default, returns all the entries of a user, both published and unpublished but not deleted. * To filter the result set, an explicit input can be passed that specifies a value of true or false for the published field. * An unpublished entry is only returned if the requesting user is the creator of the entry. */ - entries: Array + entries: Array; /** * External accounts linked to the User. It can be a twitter account if the User linked their account. For anonymous * users, this field can contain the wallet or app from which they funded, eg: Fountain, Breeze, etc. */ - externalAccounts: Array + externalAccounts: Array; /** Returns a user's funding transactions accross all projects. */ - fundingTxs: Array - hasSocialAccount: Scalars['Boolean']['output'] - id: Scalars['BigInt']['output'] - imageUrl?: Maybe - isEmailVerified: Scalars['Boolean']['output'] - orders?: Maybe> - ownerOf: Array - projectFollows: Array + fundingTxs: Array; + hasSocialAccount: Scalars['Boolean']['output']; + id: Scalars['BigInt']['output']; + imageUrl?: Maybe; + isEmailVerified: Scalars['Boolean']['output']; + orders?: Maybe>; + ownerOf: Array; + projectFollows: Array; /** * Returns the projects of a user. By default, this field returns all the projects for that user, both draft and non-draft. * To filter the result set, an explicit input can be passed that specifies a value of the status field. */ - projects: Array - ranking?: Maybe - username: Scalars['String']['output'] - wallet?: Maybe -} + projects: Array; + ranking?: Maybe; + username: Scalars['String']['output']; + wallet?: Maybe; +}; + export type UserEntriesArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; + export type UserProjectsArgs = { - input?: InputMaybe -} + input?: InputMaybe; +}; export type UserBadge = { - __typename?: 'UserBadge' - badge: Badge - badgeAwardEventId?: Maybe - createdAt: Scalars['Date']['output'] - fundingTxId?: Maybe - id: Scalars['BigInt']['output'] - status?: Maybe - updatedAt: Scalars['Date']['output'] - userId: Scalars['BigInt']['output'] -} + __typename?: 'UserBadge'; + badge: Badge; + badgeAwardEventId?: Maybe; + createdAt: Scalars['Date']['output']; + fundingTxId?: Maybe; + id: Scalars['BigInt']['output']; + status?: Maybe; + updatedAt: Scalars['Date']['output']; + userId: Scalars['BigInt']['output']; +}; export enum UserBadgeStatus { Accepted = 'ACCEPTED', - Pending = 'PENDING', + Pending = 'PENDING' } export type UserEmailUpdateInput = { - email: Scalars['String']['input'] + email: Scalars['String']['input']; /** The two-factor authentication input is required if the user already has an email set. */ - twoFAInput?: InputMaybe -} + twoFAInput?: InputMaybe; +}; export type UserEntriesGetInput = { - where?: InputMaybe -} + where?: InputMaybe; +}; export type UserEntriesGetWhereInput = { - published?: InputMaybe -} + published?: InputMaybe; +}; export type UserGetInput = { - id: Scalars['BigInt']['input'] -} + id: Scalars['BigInt']['input']; +}; export type UserNotificationSettings = { - __typename?: 'UserNotificationSettings' - notificationSettings: Array - userId: Scalars['BigInt']['output'] -} + __typename?: 'UserNotificationSettings'; + notificationSettings: Array; + userId: Scalars['BigInt']['output']; +}; export type UserProjectContribution = { - __typename?: 'UserProjectContribution' + __typename?: 'UserProjectContribution'; /** Funder linked to the funding contribution. Only present if the contribution was a funding contribution. */ - funder?: Maybe + funder?: Maybe; /** * Boolean value indicating if the User was an ambassador of the project. - * @deprecated Field no longer supported + * @deprecated No longer supported */ - isAmbassador: Scalars['Boolean']['output'] + isAmbassador: Scalars['Boolean']['output']; /** Boolean value indicating if the User funded the project. */ - isFunder: Scalars['Boolean']['output'] + isFunder: Scalars['Boolean']['output']; /** * Boolean value indicating if the User was a sponsor for the project. - * @deprecated Field no longer supported + * @deprecated No longer supported */ - isSponsor: Scalars['Boolean']['output'] + isSponsor: Scalars['Boolean']['output']; /** Project linked to the contributions. */ - project: Project -} + project: Project; +}; export type UserProjectsGetInput = { - where?: InputMaybe -} + where?: InputMaybe; +}; export type UserProjectsGetWhereInput = { - status?: InputMaybe -} + status?: InputMaybe; +}; export enum VotingSystem { OneToOne = 'ONE_TO_ONE', - StepLog_10 = 'STEP_LOG_10', + StepLog_10 = 'STEP_LOG_10' } export type Wallet = { - __typename?: 'Wallet' - connectionDetails: ConnectionDetails + __typename?: 'Wallet'; + connectionDetails: ConnectionDetails; /** The fee percentage applied to contributions going to this wallet. */ - feePercentage?: Maybe - id: Scalars['BigInt']['output'] + feePercentage?: Maybe; + id: Scalars['BigInt']['output']; /** Funding limits on this wallet */ - limits?: Maybe + limits?: Maybe; /** Wallet name */ - name?: Maybe - state: WalletState -} + name?: Maybe; + state: WalletState; +}; export type WalletContributionLimits = { - __typename?: 'WalletContributionLimits' - max?: Maybe - min?: Maybe - offChain?: Maybe - onChain?: Maybe -} + __typename?: 'WalletContributionLimits'; + max?: Maybe; + min?: Maybe; + offChain?: Maybe; + onChain?: Maybe; +}; export type WalletLimits = { - __typename?: 'WalletLimits' - contribution?: Maybe -} + __typename?: 'WalletLimits'; + contribution?: Maybe; +}; export type WalletOffChainContributionLimits = { - __typename?: 'WalletOffChainContributionLimits' - max?: Maybe - min?: Maybe -} + __typename?: 'WalletOffChainContributionLimits'; + max?: Maybe; + min?: Maybe; +}; export type WalletOnChainContributionLimits = { - __typename?: 'WalletOnChainContributionLimits' - max?: Maybe - min?: Maybe -} + __typename?: 'WalletOnChainContributionLimits'; + max?: Maybe; + min?: Maybe; +}; export type WalletResourceInput = { - resourceId: Scalars['BigInt']['input'] - resourceType: WalletResourceType -} + resourceId: Scalars['BigInt']['input']; + resourceType: WalletResourceType; +}; export enum WalletResourceType { Project = 'project', - User = 'user', + User = 'user' } export type WalletState = { - __typename?: 'WalletState' + __typename?: 'WalletState'; /** * The status field is meant to be displayed in the the public view of a project to provide insight to the user * that wants to contribute to the project. */ - status: WalletStatus + status: WalletStatus; /** * The status code is a more descriptive field about the wallet status. It is meant to be displayed to the * project creator to help them understand what is wrong with their wallet connection. The field can only be queried * by the project creator. */ - statusCode: WalletStatusCode -} + statusCode: WalletStatusCode; +}; export enum WalletStatus { Inactive = 'INACTIVE', Ok = 'OK', - Unstable = 'UNSTABLE', + Unstable = 'UNSTABLE' } export enum WalletStatusCode { @@ -2789,6664 +2878,4418 @@ export enum WalletStatusCode { Ok = 'OK', Unknown = 'UNKNOWN', Unreachable = 'UNREACHABLE', - WalletLocked = 'WALLET_LOCKED', + WalletLocked = 'WALLET_LOCKED' } export type DashboardFundersGetInput = { - orderBy?: InputMaybe - pagination?: InputMaybe - where?: InputMaybe -} + orderBy?: InputMaybe; + pagination?: InputMaybe; + where?: InputMaybe; +}; + + + +export type ResolverTypeWrapper = Promise | T; -export type ResolverTypeWrapper = Promise | T export type ResolverWithResolve = { - resolve: ResolverFn -} -export type Resolver = - | ResolverFn - | ResolverWithResolve + resolve: ResolverFn; +}; +export type Resolver = ResolverFn | ResolverWithResolve; export type ResolverFn = ( parent: TParent, args: TArgs, context: TContext, - info: GraphQLResolveInfo, -) => Promise | TResult + info: GraphQLResolveInfo +) => Promise | TResult; export type SubscriptionSubscribeFn = ( parent: TParent, args: TArgs, context: TContext, - info: GraphQLResolveInfo, -) => AsyncIterable | Promise> + info: GraphQLResolveInfo +) => AsyncIterable | Promise>; export type SubscriptionResolveFn = ( parent: TParent, args: TArgs, context: TContext, - info: GraphQLResolveInfo, -) => TResult | Promise + info: GraphQLResolveInfo +) => TResult | Promise; export interface SubscriptionSubscriberObject { - subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs> - resolve?: SubscriptionResolveFn + subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>; + resolve?: SubscriptionResolveFn; } export interface SubscriptionResolverObject { - subscribe: SubscriptionSubscribeFn - resolve: SubscriptionResolveFn + subscribe: SubscriptionSubscribeFn; + resolve: SubscriptionResolveFn; } export type SubscriptionObject = | SubscriptionSubscriberObject - | SubscriptionResolverObject + | SubscriptionResolverObject; export type SubscriptionResolver = | ((...args: any[]) => SubscriptionObject) - | SubscriptionObject + | SubscriptionObject; export type TypeResolveFn = ( parent: TParent, context: TContext, - info: GraphQLResolveInfo, -) => Maybe | Promise> + info: GraphQLResolveInfo +) => Maybe | Promise>; -export type IsTypeOfResolverFn = ( - obj: T, - context: TContext, - info: GraphQLResolveInfo, -) => boolean | Promise +export type IsTypeOfResolverFn = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise; -export type NextResolverFn = () => Promise +export type NextResolverFn = () => Promise; export type DirectiveResolverFn = ( next: NextResolverFn, parent: TParent, args: TArgs, context: TContext, - info: GraphQLResolveInfo, -) => TResult | Promise + info: GraphQLResolveInfo +) => TResult | Promise; /** Mapping of union types */ export type ResolversUnionTypes> = { - ActivityResource: - | Entry - | (Omit & { sourceResource?: Maybe }) - | Project - | ProjectGoal - | ProjectReward - ConnectionDetails: LightningAddressConnectionDetails | LndConnectionDetailsPrivate | LndConnectionDetailsPublic - Grant: BoardVoteGrant | CommunityVoteGrant - SourceResource: Entry | Project -} + ActivityResource: ( Entry ) | ( Omit & { sourceResource?: Maybe } ) | ( Project ) | ( ProjectGoal ) | ( ProjectReward ); + ConnectionDetails: ( LightningAddressConnectionDetails ) | ( LndConnectionDetailsPrivate ) | ( LndConnectionDetailsPublic ); + Grant: ( BoardVoteGrant ) | ( CommunityVoteGrant ); + SourceResource: ( Entry ) | ( Project ); +}; /** Mapping of interface types */ export type ResolversInterfaceTypes> = { - GraphSumData: FunderRewardGraphSum | FundingTxAmountGraph - LndConnectionDetails: never - MutationResponse: DeleteUserResponse | ProjectDeleteResponse | ProjectGoalDeleteResponse - StatsInterface: ProjectContributionsGroupedByMethodStats | ProjectContributionsStats -} + GraphSumData: ( FunderRewardGraphSum ) | ( FundingTxAmountGraph ); + LndConnectionDetails: never; + MutationResponse: ( DeleteUserResponse ) | ( ProjectDeleteResponse ) | ( ProjectGoalDeleteResponse ); + StatsInterface: ( ProjectContributionsGroupedByMethodStats ) | ( ProjectContributionsStats ); +}; /** Mapping between all available schema types and the resolvers types */ export type ResolversTypes = { - ActivitiesCountGroupedByProjectInput: ActivitiesCountGroupedByProjectInput - ActivitiesGetResponse: ResolverTypeWrapper - Activity: ResolverTypeWrapper & { resource: ResolversTypes['ActivityResource'] }> - ActivityCreatedSubscriptionInput: ActivityCreatedSubscriptionInput - ActivityCreatedSubscriptionWhereInput: ActivityCreatedSubscriptionWhereInput - ActivityFeedName: ActivityFeedName - ActivityResource: ResolverTypeWrapper['ActivityResource']> - ActivityResourceType: ActivityResourceType - AffiliateLink: ResolverTypeWrapper - AffiliateLinkCreateInput: AffiliateLinkCreateInput - AffiliatePaymentConfirmResponse: ResolverTypeWrapper - AffiliatePayoutsStats: ResolverTypeWrapper - AffiliateSalesStats: ResolverTypeWrapper - AffiliateStats: ResolverTypeWrapper - AffiliateStatus: AffiliateStatus - Ambassador: ResolverTypeWrapper - AmountSummary: ResolverTypeWrapper - AnalyticsGroupByInterval: AnalyticsGroupByInterval - Badge: ResolverTypeWrapper - BadgeClaimInput: BadgeClaimInput - BadgesGetInput: BadgesGetInput - BadgesGetWhereInput: BadgesGetWhereInput - BaseCurrency: BaseCurrency - BigInt: ResolverTypeWrapper - BitcoinQuote: ResolverTypeWrapper - BoardVoteGrant: ResolverTypeWrapper - Boolean: ResolverTypeWrapper - CommunityVoteGrant: ResolverTypeWrapper - CompetitionVoteGrantVoteSummary: ResolverTypeWrapper - ConnectionDetails: ResolverTypeWrapper['ConnectionDetails']> - Country: ResolverTypeWrapper - CreateEntryInput: CreateEntryInput - CreateProjectInput: CreateProjectInput - CreateProjectRewardInput: CreateProjectRewardInput - CreateWalletInput: CreateWalletInput - CreatorNotificationSettings: ResolverTypeWrapper - CreatorNotificationSettingsProject: ResolverTypeWrapper - Currency: Currency - CurrencyQuoteGetInput: CurrencyQuoteGetInput - CurrencyQuoteGetResponse: ResolverTypeWrapper - CursorInput: CursorInput - CursorInputString: CursorInputString - CursorPaginationResponse: ResolverTypeWrapper - Date: ResolverTypeWrapper - DateRangeInput: DateRangeInput - DatetimeRange: ResolverTypeWrapper - DeleteProjectInput: DeleteProjectInput - DeleteProjectRewardInput: DeleteProjectRewardInput - DeleteUserResponse: ResolverTypeWrapper - DistributionSystem: DistributionSystem - EmailVerifyInput: EmailVerifyInput - Entry: ResolverTypeWrapper - EntryPublishedSubscriptionResponse: ResolverTypeWrapper - EntryStatus: EntryStatus - EntryType: EntryType - ExternalAccount: ResolverTypeWrapper - FileUploadInput: FileUploadInput - Float: ResolverTypeWrapper - Funder: ResolverTypeWrapper - FunderRewardGraphSum: ResolverTypeWrapper - FundingCancelInput: FundingCancelInput - FundingCancelResponse: ResolverTypeWrapper - FundingConfirmInput: FundingConfirmInput - FundingConfirmOffChainBolt11Input: FundingConfirmOffChainBolt11Input - FundingConfirmOffChainInput: FundingConfirmOffChainInput - FundingConfirmOnChainInput: FundingConfirmOnChainInput - FundingConfirmResponse: ResolverTypeWrapper - FundingCreateFromPodcastKeysendInput: FundingCreateFromPodcastKeysendInput - FundingInput: FundingInput - FundingMetadataInput: FundingMetadataInput - FundingMethod: FundingMethod - FundingMutationResponse: ResolverTypeWrapper - FundingPendingInput: FundingPendingInput - FundingPendingOffChainBolt11Input: FundingPendingOffChainBolt11Input - FundingPendingOffChainInput: FundingPendingOffChainInput - FundingPendingOnChainInput: FundingPendingOnChainInput - FundingPendingResponse: ResolverTypeWrapper - FundingQueryResponse: ResolverTypeWrapper - FundingResourceType: FundingResourceType - FundingStatus: FundingStatus - FundingTx: ResolverTypeWrapper< - Omit & { sourceResource?: Maybe } - > - FundingTxAmountGraph: ResolverTypeWrapper - FundingTxEmailUpdateInput: FundingTxEmailUpdateInput - FundingTxInvoiceSanctionCheckStatus: FundingTxInvoiceSanctionCheckStatus - FundingTxInvoiceSanctionCheckStatusGetInput: FundingTxInvoiceSanctionCheckStatusGetInput - FundingTxInvoiceSanctionCheckStatusResponse: ResolverTypeWrapper - FundingTxMethodCount: ResolverTypeWrapper - FundingTxMethodSum: ResolverTypeWrapper - FundingTxStatusUpdatedInput: FundingTxStatusUpdatedInput - FundingTxStatusUpdatedSubscriptionResponse: ResolverTypeWrapper - FundingTxsGetResponse: ResolverTypeWrapper - FundingTxsWhereFundingStatus: FundingTxsWhereFundingStatus - FundingType: FundingType - FundinginvoiceCancel: ResolverTypeWrapper - GenerateAffiliatePaymentRequestResponse: ResolverTypeWrapper - GenerateAffiliatePaymentRequestsInput: GenerateAffiliatePaymentRequestsInput - GetActivitiesInput: GetActivitiesInput - GetActivityOrderByInput: GetActivityOrderByInput - GetActivityPaginationInput: GetActivityPaginationInput - GetActivityWhereInput: GetActivityWhereInput - GetAffiliateLinksInput: GetAffiliateLinksInput - GetAffiliateLinksWhereInput: GetAffiliateLinksWhereInput - GetContributorInput: GetContributorInput - GetDashboardFundersWhereInput: GetDashboardFundersWhereInput - GetEntriesInput: GetEntriesInput - GetEntriesOrderByInput: GetEntriesOrderByInput - GetEntriesWhereInput: GetEntriesWhereInput - GetFunderFundingTxsInput: GetFunderFundingTxsInput - GetFunderFundingTxsWhereInput: GetFunderFundingTxsWhereInput - GetFunderWhereInput: GetFunderWhereInput - GetFundersInput: GetFundersInput - GetFundersOrderByInput: GetFundersOrderByInput - GetFundingTxsInput: GetFundingTxsInput - GetFundingTxsOrderByInput: GetFundingTxsOrderByInput - GetFundingTxsWhereInput: GetFundingTxsWhereInput - GetProjectGoalsInput: GetProjectGoalsInput - GetProjectOrdersStatsInput: GetProjectOrdersStatsInput - GetProjectOrdersStatsWhereInput: GetProjectOrdersStatsWhereInput - GetProjectRewardInput: GetProjectRewardInput - GetProjectRewardWhereInput: GetProjectRewardWhereInput - GetProjectStatsInput: GetProjectStatsInput - GetProjectStatsWhereInput: GetProjectStatsWhereInput - GlobalContributorLeaderboardRow: ResolverTypeWrapper - GlobalProjectLeaderboardRow: ResolverTypeWrapper - Grant: ResolverTypeWrapper['Grant']> - GrantApplicant: ResolverTypeWrapper & { grant: ResolversTypes['Grant'] }> - GrantApplicantContributor: ResolverTypeWrapper - GrantApplicantContributorInput: GrantApplicantContributorInput - GrantApplicantContributorWhereInput: GrantApplicantContributorWhereInput - GrantApplicantFunding: ResolverTypeWrapper - GrantApplicantStatus: GrantApplicantStatus - GrantApplicantStatusFilter: GrantApplicantStatusFilter - GrantApplicantsGetInput: GrantApplicantsGetInput - GrantApplicantsGetOrderByInput: GrantApplicantsGetOrderByInput - GrantApplicantsGetWhereInput: GrantApplicantsGetWhereInput - GrantApplicantsOrderByField: GrantApplicantsOrderByField - GrantApplyInput: GrantApplyInput - GrantBoardMember: ResolverTypeWrapper - GrantGetInput: GrantGetInput - GrantGetWhereInput: GrantGetWhereInput - GrantStatistics: ResolverTypeWrapper - GrantStatisticsApplicant: ResolverTypeWrapper - GrantStatisticsGrant: ResolverTypeWrapper - GrantStatus: ResolverTypeWrapper - GrantStatusEnum: GrantStatusEnum - GrantType: GrantType - GraphSumData: ResolverTypeWrapper['GraphSumData']> - Int: ResolverTypeWrapper - InvoiceStatus: InvoiceStatus - LeaderboardGlobalContributorsGetInput: LeaderboardGlobalContributorsGetInput - LeaderboardGlobalProjectsGetInput: LeaderboardGlobalProjectsGetInput - LeaderboardPeriod: LeaderboardPeriod - LightningAddressConnectionDetails: ResolverTypeWrapper - LightningAddressConnectionDetailsCreateInput: LightningAddressConnectionDetailsCreateInput - LightningAddressConnectionDetailsUpdateInput: LightningAddressConnectionDetailsUpdateInput - LightningAddressContributionLimits: ResolverTypeWrapper - LightningAddressVerifyResponse: ResolverTypeWrapper - LndConnectionDetails: ResolverTypeWrapper['LndConnectionDetails']> - LndConnectionDetailsCreateInput: LndConnectionDetailsCreateInput - LndConnectionDetailsPrivate: ResolverTypeWrapper - LndConnectionDetailsPublic: ResolverTypeWrapper - LndConnectionDetailsUpdateInput: LndConnectionDetailsUpdateInput - LndNodeType: LndNodeType - Location: ResolverTypeWrapper - MFAAction: MfaAction - Milestone: ResolverTypeWrapper - Mutation: ResolverTypeWrapper<{}> - MutationResponse: ResolverTypeWrapper['MutationResponse']> - NostrKeys: ResolverTypeWrapper - NostrPrivateKey: ResolverTypeWrapper - NostrPublicKey: ResolverTypeWrapper - NotificationChannel: NotificationChannel - NotificationConfiguration: ResolverTypeWrapper - NotificationSettings: ResolverTypeWrapper - OTPInput: OtpInput - OTPLoginInput: OtpLoginInput - OTPResponse: ResolverTypeWrapper - OffsetBasedPaginationInput: OffsetBasedPaginationInput - OnChainTxInput: OnChainTxInput - Order: ResolverTypeWrapper - OrderBitcoinQuoteInput: OrderBitcoinQuoteInput - OrderByDirection: OrderByDirection - OrderByOptions: OrderByOptions - OrderFundingInput: OrderFundingInput - OrderItem: ResolverTypeWrapper - OrderItemInput: OrderItemInput - OrderItemType: OrderItemType - OrderStatusUpdateInput: OrderStatusUpdateInput - OrdersGetInput: OrdersGetInput - OrdersGetOrderByField: OrdersGetOrderByField - OrdersGetOrderByInput: OrdersGetOrderByInput - OrdersGetResponse: ResolverTypeWrapper - OrdersGetStatus: OrdersGetStatus - OrdersGetWhereInput: OrdersGetWhereInput - OrdersStatsBase: ResolverTypeWrapper - Owner: ResolverTypeWrapper - OwnerOf: ResolverTypeWrapper - PageViewCountGraph: ResolverTypeWrapper - PaginationCursor: ResolverTypeWrapper - PaginationInput: PaginationInput - ProfileNotificationSettings: ResolverTypeWrapper - Project: ResolverTypeWrapper - ProjectActivatedSubscriptionResponse: ResolverTypeWrapper - ProjectActivitiesCount: ResolverTypeWrapper - ProjectContributionsGroupedByMethodStats: ResolverTypeWrapper - ProjectContributionsStats: ResolverTypeWrapper - ProjectContributionsStatsBase: ResolverTypeWrapper - ProjectCountriesGetResult: ResolverTypeWrapper - ProjectDeleteResponse: ResolverTypeWrapper - ProjectEntriesGetInput: ProjectEntriesGetInput - ProjectEntriesGetWhereInput: ProjectEntriesGetWhereInput - ProjectFollowMutationInput: ProjectFollowMutationInput - ProjectFollowerStats: ResolverTypeWrapper - ProjectFunderRewardStats: ResolverTypeWrapper - ProjectFunderStats: ResolverTypeWrapper - ProjectFundingTxStats: ResolverTypeWrapper - ProjectGoal: ResolverTypeWrapper - ProjectGoalCreateInput: ProjectGoalCreateInput - ProjectGoalCurrency: ProjectGoalCurrency - ProjectGoalDeleteResponse: ResolverTypeWrapper - ProjectGoalOrderingUpdateInput: ProjectGoalOrderingUpdateInput - ProjectGoalStatus: ProjectGoalStatus - ProjectGoalStatusInCreate: ProjectGoalStatusInCreate - ProjectGoalUpdateInput: ProjectGoalUpdateInput - ProjectGoals: ResolverTypeWrapper - ProjectGrantApplicationsInput: ProjectGrantApplicationsInput - ProjectGrantApplicationsWhereInput: ProjectGrantApplicationsWhereInput - ProjectGrantApplicationsWhereInputEnum: ProjectGrantApplicationsWhereInputEnum - ProjectKeys: ResolverTypeWrapper - ProjectLeaderboardContributorsGetInput: ProjectLeaderboardContributorsGetInput - ProjectLeaderboardContributorsRow: ResolverTypeWrapper - ProjectLeaderboardPeriod: ProjectLeaderboardPeriod - ProjectLinkMutationInput: ProjectLinkMutationInput - ProjectMostFunded: ResolverTypeWrapper - ProjectMostFundedByTag: ResolverTypeWrapper - ProjectPublishMutationInput: ProjectPublishMutationInput - ProjectRegionsGetResult: ResolverTypeWrapper - ProjectReward: ResolverTypeWrapper - ProjectRewardCurrencyUpdate: ProjectRewardCurrencyUpdate - ProjectRewardCurrencyUpdateRewardsInput: ProjectRewardCurrencyUpdateRewardsInput - ProjectRewardTrendingWeeklyGetRow: ResolverTypeWrapper - ProjectRewardsGroupedByRewardIdStats: ResolverTypeWrapper - ProjectRewardsGroupedByRewardIdStatsProjectReward: ResolverTypeWrapper - ProjectRewardsStats: ResolverTypeWrapper - ProjectStatistics: ResolverTypeWrapper - ProjectStats: ResolverTypeWrapper - ProjectStatsBase: ResolverTypeWrapper - ProjectStatus: ProjectStatus - ProjectStatusUpdate: ProjectStatusUpdate - ProjectTagMutationInput: ProjectTagMutationInput - ProjectType: ProjectType - ProjectViewBaseStats: ResolverTypeWrapper - ProjectViewStats: ResolverTypeWrapper - ProjectsGetQueryInput: ProjectsGetQueryInput - ProjectsGetWhereInput: ProjectsGetWhereInput - ProjectsMostFundedByTagInput: ProjectsMostFundedByTagInput - ProjectsMostFundedByTagRange: ProjectsMostFundedByTagRange - ProjectsOrderByField: ProjectsOrderByField - ProjectsOrderByInput: ProjectsOrderByInput - ProjectsResponse: ResolverTypeWrapper - ProjectsSummary: ResolverTypeWrapper - Query: ResolverTypeWrapper<{}> - QuoteCurrency: QuoteCurrency - ResourceInput: ResourceInput - RewardCurrency: RewardCurrency - SendOtpByEmailInput: SendOtpByEmailInput - SettingValueType: SettingValueType - ShippingDestination: ShippingDestination - SignedUploadUrl: ResolverTypeWrapper - SourceResource: ResolverTypeWrapper['SourceResource']> - Sponsor: ResolverTypeWrapper - SponsorStatus: SponsorStatus - StatsInterface: ResolverTypeWrapper['StatsInterface']> - String: ResolverTypeWrapper - Subscription: ResolverTypeWrapper<{}> - Swap: ResolverTypeWrapper - TOTPInput: TotpInput - Tag: ResolverTypeWrapper - TagCreateInput: TagCreateInput - TagsGetResult: ResolverTypeWrapper - TagsMostFundedGetResult: ResolverTypeWrapper - TwoFAInput: TwoFaInput - UniqueOrderInput: UniqueOrderInput - UniqueProjectQueryInput: UniqueProjectQueryInput - UpdatableOrderStatus: UpdatableOrderStatus - UpdateEntryInput: UpdateEntryInput - UpdateProjectInput: UpdateProjectInput - UpdateProjectRewardInput: UpdateProjectRewardInput - UpdateUserInput: UpdateUserInput - UpdateWalletInput: UpdateWalletInput - UpdateWalletStateInput: UpdateWalletStateInput - User: ResolverTypeWrapper - UserBadge: ResolverTypeWrapper - UserBadgeStatus: UserBadgeStatus - UserEmailUpdateInput: UserEmailUpdateInput - UserEntriesGetInput: UserEntriesGetInput - UserEntriesGetWhereInput: UserEntriesGetWhereInput - UserGetInput: UserGetInput - UserNotificationSettings: ResolverTypeWrapper - UserProjectContribution: ResolverTypeWrapper - UserProjectsGetInput: UserProjectsGetInput - UserProjectsGetWhereInput: UserProjectsGetWhereInput - VotingSystem: VotingSystem - Wallet: ResolverTypeWrapper< - Omit & { connectionDetails: ResolversTypes['ConnectionDetails'] } - > - WalletContributionLimits: ResolverTypeWrapper - WalletLimits: ResolverTypeWrapper - WalletOffChainContributionLimits: ResolverTypeWrapper - WalletOnChainContributionLimits: ResolverTypeWrapper - WalletResourceInput: WalletResourceInput - WalletResourceType: WalletResourceType - WalletState: ResolverTypeWrapper - WalletStatus: WalletStatus - WalletStatusCode: WalletStatusCode - dashboardFundersGetInput: DashboardFundersGetInput -} + ActivitiesCountGroupedByProjectInput: ActivitiesCountGroupedByProjectInput; + ActivitiesGetResponse: ResolverTypeWrapper; + Activity: ResolverTypeWrapper & { resource: ResolversTypes['ActivityResource'] }>; + ActivityCreatedSubscriptionInput: ActivityCreatedSubscriptionInput; + ActivityCreatedSubscriptionWhereInput: ActivityCreatedSubscriptionWhereInput; + ActivityFeedName: ActivityFeedName; + ActivityResource: ResolverTypeWrapper['ActivityResource']>; + ActivityResourceType: ActivityResourceType; + AffiliateLink: ResolverTypeWrapper; + AffiliateLinkCreateInput: AffiliateLinkCreateInput; + AffiliatePaymentConfirmResponse: ResolverTypeWrapper; + AffiliatePayoutsStats: ResolverTypeWrapper; + AffiliateSalesStats: ResolverTypeWrapper; + AffiliateStats: ResolverTypeWrapper; + AffiliateStatus: AffiliateStatus; + Ambassador: ResolverTypeWrapper; + AmountSummary: ResolverTypeWrapper; + AnalyticsGroupByInterval: AnalyticsGroupByInterval; + Badge: ResolverTypeWrapper; + BadgeClaimInput: BadgeClaimInput; + BadgesGetInput: BadgesGetInput; + BadgesGetWhereInput: BadgesGetWhereInput; + BaseCurrency: BaseCurrency; + BigInt: ResolverTypeWrapper; + BitcoinQuote: ResolverTypeWrapper; + BoardVoteGrant: ResolverTypeWrapper; + Boolean: ResolverTypeWrapper; + CommunityVoteGrant: ResolverTypeWrapper; + CompetitionVoteGrantVoteSummary: ResolverTypeWrapper; + ConnectionDetails: ResolverTypeWrapper['ConnectionDetails']>; + Country: ResolverTypeWrapper; + CreateEntryInput: CreateEntryInput; + CreateProjectInput: CreateProjectInput; + CreateProjectRewardInput: CreateProjectRewardInput; + CreateWalletInput: CreateWalletInput; + CreatorNotificationSettings: ResolverTypeWrapper; + CreatorNotificationSettingsProject: ResolverTypeWrapper; + Currency: Currency; + CurrencyQuoteGetInput: CurrencyQuoteGetInput; + CurrencyQuoteGetResponse: ResolverTypeWrapper; + CursorInput: CursorInput; + CursorInputString: CursorInputString; + CursorPaginationResponse: ResolverTypeWrapper; + Date: ResolverTypeWrapper; + DateRangeInput: DateRangeInput; + DatetimeRange: ResolverTypeWrapper; + DeleteProjectInput: DeleteProjectInput; + DeleteProjectRewardInput: DeleteProjectRewardInput; + DeleteUserResponse: ResolverTypeWrapper; + DistributionSystem: DistributionSystem; + EmailVerifyInput: EmailVerifyInput; + Entry: ResolverTypeWrapper; + EntryPublishedSubscriptionResponse: ResolverTypeWrapper; + EntryStatus: EntryStatus; + EntryType: EntryType; + ExternalAccount: ResolverTypeWrapper; + FileUploadInput: FileUploadInput; + Float: ResolverTypeWrapper; + Funder: ResolverTypeWrapper; + FunderRewardGraphSum: ResolverTypeWrapper; + FundingCancelInput: FundingCancelInput; + FundingCancelResponse: ResolverTypeWrapper; + FundingConfirmInput: FundingConfirmInput; + FundingConfirmOffChainBolt11Input: FundingConfirmOffChainBolt11Input; + FundingConfirmOffChainInput: FundingConfirmOffChainInput; + FundingConfirmOnChainInput: FundingConfirmOnChainInput; + FundingConfirmResponse: ResolverTypeWrapper; + FundingCreateFromPodcastKeysendInput: FundingCreateFromPodcastKeysendInput; + FundingInput: FundingInput; + FundingMetadataInput: FundingMetadataInput; + FundingMethod: FundingMethod; + FundingMutationResponse: ResolverTypeWrapper; + FundingPendingInput: FundingPendingInput; + FundingPendingOffChainBolt11Input: FundingPendingOffChainBolt11Input; + FundingPendingOffChainInput: FundingPendingOffChainInput; + FundingPendingOnChainInput: FundingPendingOnChainInput; + FundingPendingResponse: ResolverTypeWrapper; + FundingQueryResponse: ResolverTypeWrapper; + FundingResourceType: FundingResourceType; + FundingStatus: FundingStatus; + FundingTx: ResolverTypeWrapper & { sourceResource?: Maybe }>; + FundingTxAmountGraph: ResolverTypeWrapper; + FundingTxEmailUpdateInput: FundingTxEmailUpdateInput; + FundingTxInvoiceSanctionCheckStatus: FundingTxInvoiceSanctionCheckStatus; + FundingTxInvoiceSanctionCheckStatusGetInput: FundingTxInvoiceSanctionCheckStatusGetInput; + FundingTxInvoiceSanctionCheckStatusResponse: ResolverTypeWrapper; + FundingTxMethodCount: ResolverTypeWrapper; + FundingTxMethodSum: ResolverTypeWrapper; + FundingTxStatusUpdatedInput: FundingTxStatusUpdatedInput; + FundingTxStatusUpdatedSubscriptionResponse: ResolverTypeWrapper; + FundingTxsGetResponse: ResolverTypeWrapper; + FundingTxsWhereFundingStatus: FundingTxsWhereFundingStatus; + FundingType: FundingType; + FundinginvoiceCancel: ResolverTypeWrapper; + GenerateAffiliatePaymentRequestResponse: ResolverTypeWrapper; + GenerateAffiliatePaymentRequestsInput: GenerateAffiliatePaymentRequestsInput; + GetActivitiesInput: GetActivitiesInput; + GetActivityOrderByInput: GetActivityOrderByInput; + GetActivityPaginationInput: GetActivityPaginationInput; + GetActivityWhereInput: GetActivityWhereInput; + GetAffiliateLinksInput: GetAffiliateLinksInput; + GetAffiliateLinksWhereInput: GetAffiliateLinksWhereInput; + GetContributorInput: GetContributorInput; + GetDashboardFundersWhereInput: GetDashboardFundersWhereInput; + GetEntriesInput: GetEntriesInput; + GetEntriesOrderByInput: GetEntriesOrderByInput; + GetEntriesWhereInput: GetEntriesWhereInput; + GetFunderFundingTxsInput: GetFunderFundingTxsInput; + GetFunderFundingTxsWhereInput: GetFunderFundingTxsWhereInput; + GetFunderWhereInput: GetFunderWhereInput; + GetFundersInput: GetFundersInput; + GetFundersOrderByInput: GetFundersOrderByInput; + GetFundingTxsInput: GetFundingTxsInput; + GetFundingTxsOrderByInput: GetFundingTxsOrderByInput; + GetFundingTxsWhereInput: GetFundingTxsWhereInput; + GetProjectGoalsInput: GetProjectGoalsInput; + GetProjectOrdersStatsInput: GetProjectOrdersStatsInput; + GetProjectOrdersStatsWhereInput: GetProjectOrdersStatsWhereInput; + GetProjectRewardInput: GetProjectRewardInput; + GetProjectRewardWhereInput: GetProjectRewardWhereInput; + GetProjectStatsInput: GetProjectStatsInput; + GetProjectStatsWhereInput: GetProjectStatsWhereInput; + GlobalContributorLeaderboardRow: ResolverTypeWrapper; + GlobalProjectLeaderboardRow: ResolverTypeWrapper; + Grant: ResolverTypeWrapper['Grant']>; + GrantApplicant: ResolverTypeWrapper & { grant: ResolversTypes['Grant'] }>; + GrantApplicantContributor: ResolverTypeWrapper; + GrantApplicantContributorInput: GrantApplicantContributorInput; + GrantApplicantContributorWhereInput: GrantApplicantContributorWhereInput; + GrantApplicantFunding: ResolverTypeWrapper; + GrantApplicantStatus: GrantApplicantStatus; + GrantApplicantStatusFilter: GrantApplicantStatusFilter; + GrantApplicantsGetInput: GrantApplicantsGetInput; + GrantApplicantsGetOrderByInput: GrantApplicantsGetOrderByInput; + GrantApplicantsGetWhereInput: GrantApplicantsGetWhereInput; + GrantApplicantsOrderByField: GrantApplicantsOrderByField; + GrantApplyInput: GrantApplyInput; + GrantBoardMember: ResolverTypeWrapper; + GrantGetInput: GrantGetInput; + GrantGetWhereInput: GrantGetWhereInput; + GrantStatistics: ResolverTypeWrapper; + GrantStatisticsApplicant: ResolverTypeWrapper; + GrantStatisticsGrant: ResolverTypeWrapper; + GrantStatus: ResolverTypeWrapper; + GrantStatusEnum: GrantStatusEnum; + GrantType: GrantType; + GraphSumData: ResolverTypeWrapper['GraphSumData']>; + Int: ResolverTypeWrapper; + InvoiceStatus: InvoiceStatus; + LeaderboardGlobalContributorsGetInput: LeaderboardGlobalContributorsGetInput; + LeaderboardGlobalProjectsGetInput: LeaderboardGlobalProjectsGetInput; + LeaderboardPeriod: LeaderboardPeriod; + LightningAddressConnectionDetails: ResolverTypeWrapper; + LightningAddressConnectionDetailsCreateInput: LightningAddressConnectionDetailsCreateInput; + LightningAddressConnectionDetailsUpdateInput: LightningAddressConnectionDetailsUpdateInput; + LightningAddressContributionLimits: ResolverTypeWrapper; + LightningAddressVerifyResponse: ResolverTypeWrapper; + LndConnectionDetails: ResolverTypeWrapper['LndConnectionDetails']>; + LndConnectionDetailsCreateInput: LndConnectionDetailsCreateInput; + LndConnectionDetailsPrivate: ResolverTypeWrapper; + LndConnectionDetailsPublic: ResolverTypeWrapper; + LndConnectionDetailsUpdateInput: LndConnectionDetailsUpdateInput; + LndNodeType: LndNodeType; + Location: ResolverTypeWrapper; + MFAAction: MfaAction; + Milestone: ResolverTypeWrapper; + Mutation: ResolverTypeWrapper<{}>; + MutationResponse: ResolverTypeWrapper['MutationResponse']>; + NostrKeys: ResolverTypeWrapper; + NostrPrivateKey: ResolverTypeWrapper; + NostrPublicKey: ResolverTypeWrapper; + NotificationChannel: NotificationChannel; + NotificationConfiguration: ResolverTypeWrapper; + NotificationSettings: ResolverTypeWrapper; + OTPInput: OtpInput; + OTPLoginInput: OtpLoginInput; + OTPResponse: ResolverTypeWrapper; + OffsetBasedPaginationInput: OffsetBasedPaginationInput; + OnChainTxInput: OnChainTxInput; + Order: ResolverTypeWrapper; + OrderBitcoinQuoteInput: OrderBitcoinQuoteInput; + OrderByDirection: OrderByDirection; + OrderByOptions: OrderByOptions; + OrderFundingInput: OrderFundingInput; + OrderItem: ResolverTypeWrapper; + OrderItemInput: OrderItemInput; + OrderItemType: OrderItemType; + OrderStatusUpdateInput: OrderStatusUpdateInput; + OrdersGetInput: OrdersGetInput; + OrdersGetOrderByField: OrdersGetOrderByField; + OrdersGetOrderByInput: OrdersGetOrderByInput; + OrdersGetResponse: ResolverTypeWrapper; + OrdersGetStatus: OrdersGetStatus; + OrdersGetWhereInput: OrdersGetWhereInput; + OrdersStatsBase: ResolverTypeWrapper; + Owner: ResolverTypeWrapper; + OwnerOf: ResolverTypeWrapper; + PageViewCountGraph: ResolverTypeWrapper; + PaginationCursor: ResolverTypeWrapper; + PaginationInput: PaginationInput; + ProfileNotificationSettings: ResolverTypeWrapper; + Project: ResolverTypeWrapper; + ProjectActivatedSubscriptionResponse: ResolverTypeWrapper; + ProjectActivitiesCount: ResolverTypeWrapper; + ProjectContributionsGroupedByMethodStats: ResolverTypeWrapper; + ProjectContributionsStats: ResolverTypeWrapper; + ProjectContributionsStatsBase: ResolverTypeWrapper; + ProjectCountriesGetResult: ResolverTypeWrapper; + ProjectDeleteResponse: ResolverTypeWrapper; + ProjectEntriesGetInput: ProjectEntriesGetInput; + ProjectEntriesGetWhereInput: ProjectEntriesGetWhereInput; + ProjectFollowMutationInput: ProjectFollowMutationInput; + ProjectFollowerStats: ResolverTypeWrapper; + ProjectFunderRewardStats: ResolverTypeWrapper; + ProjectFunderStats: ResolverTypeWrapper; + ProjectFundingTxStats: ResolverTypeWrapper; + ProjectGoal: ResolverTypeWrapper; + ProjectGoalCreateInput: ProjectGoalCreateInput; + ProjectGoalCurrency: ProjectGoalCurrency; + ProjectGoalDeleteResponse: ResolverTypeWrapper; + ProjectGoalOrderingUpdateInput: ProjectGoalOrderingUpdateInput; + ProjectGoalStatus: ProjectGoalStatus; + ProjectGoalStatusInCreate: ProjectGoalStatusInCreate; + ProjectGoalUpdateInput: ProjectGoalUpdateInput; + ProjectGoals: ResolverTypeWrapper; + ProjectGrantApplicationsInput: ProjectGrantApplicationsInput; + ProjectGrantApplicationsWhereInput: ProjectGrantApplicationsWhereInput; + ProjectGrantApplicationsWhereInputEnum: ProjectGrantApplicationsWhereInputEnum; + ProjectKeys: ResolverTypeWrapper; + ProjectLeaderboardContributorsGetInput: ProjectLeaderboardContributorsGetInput; + ProjectLeaderboardContributorsRow: ResolverTypeWrapper; + ProjectLeaderboardPeriod: ProjectLeaderboardPeriod; + ProjectLinkMutationInput: ProjectLinkMutationInput; + ProjectMostFunded: ResolverTypeWrapper; + ProjectMostFundedByTag: ResolverTypeWrapper; + ProjectPublishMutationInput: ProjectPublishMutationInput; + ProjectRegionsGetResult: ResolverTypeWrapper; + ProjectReward: ResolverTypeWrapper; + ProjectRewardCurrencyUpdate: ProjectRewardCurrencyUpdate; + ProjectRewardCurrencyUpdateRewardsInput: ProjectRewardCurrencyUpdateRewardsInput; + ProjectRewardTrendingWeeklyGetRow: ResolverTypeWrapper; + ProjectRewardsGroupedByRewardIdStats: ResolverTypeWrapper; + ProjectRewardsGroupedByRewardIdStatsProjectReward: ResolverTypeWrapper; + ProjectRewardsStats: ResolverTypeWrapper; + ProjectStatistics: ResolverTypeWrapper; + ProjectStats: ResolverTypeWrapper; + ProjectStatsBase: ResolverTypeWrapper; + ProjectStatus: ProjectStatus; + ProjectStatusUpdate: ProjectStatusUpdate; + ProjectTagMutationInput: ProjectTagMutationInput; + ProjectType: ProjectType; + ProjectViewBaseStats: ResolverTypeWrapper; + ProjectViewStats: ResolverTypeWrapper; + ProjectsGetQueryInput: ProjectsGetQueryInput; + ProjectsGetWhereInput: ProjectsGetWhereInput; + ProjectsMostFundedByTagInput: ProjectsMostFundedByTagInput; + ProjectsMostFundedByTagRange: ProjectsMostFundedByTagRange; + ProjectsOrderByField: ProjectsOrderByField; + ProjectsOrderByInput: ProjectsOrderByInput; + ProjectsResponse: ResolverTypeWrapper; + ProjectsSummary: ResolverTypeWrapper; + Query: ResolverTypeWrapper<{}>; + QuoteCurrency: QuoteCurrency; + ResourceInput: ResourceInput; + RewardCurrency: RewardCurrency; + SendOtpByEmailInput: SendOtpByEmailInput; + SettingValueType: SettingValueType; + ShippingDestination: ShippingDestination; + SignedUploadUrl: ResolverTypeWrapper; + SourceResource: ResolverTypeWrapper['SourceResource']>; + Sponsor: ResolverTypeWrapper; + SponsorStatus: SponsorStatus; + StatsInterface: ResolverTypeWrapper['StatsInterface']>; + String: ResolverTypeWrapper; + Subscription: ResolverTypeWrapper<{}>; + Swap: ResolverTypeWrapper; + TOTPInput: TotpInput; + Tag: ResolverTypeWrapper; + TagCreateInput: TagCreateInput; + TagsGetResult: ResolverTypeWrapper; + TagsMostFundedGetResult: ResolverTypeWrapper; + TwoFAInput: TwoFaInput; + UniqueOrderInput: UniqueOrderInput; + UniqueProjectQueryInput: UniqueProjectQueryInput; + UpdatableOrderStatus: UpdatableOrderStatus; + UpdateEntryInput: UpdateEntryInput; + UpdateProjectInput: UpdateProjectInput; + UpdateProjectRewardInput: UpdateProjectRewardInput; + UpdateUserInput: UpdateUserInput; + UpdateWalletInput: UpdateWalletInput; + UpdateWalletStateInput: UpdateWalletStateInput; + User: ResolverTypeWrapper; + UserBadge: ResolverTypeWrapper; + UserBadgeStatus: UserBadgeStatus; + UserEmailUpdateInput: UserEmailUpdateInput; + UserEntriesGetInput: UserEntriesGetInput; + UserEntriesGetWhereInput: UserEntriesGetWhereInput; + UserGetInput: UserGetInput; + UserNotificationSettings: ResolverTypeWrapper; + UserProjectContribution: ResolverTypeWrapper; + UserProjectsGetInput: UserProjectsGetInput; + UserProjectsGetWhereInput: UserProjectsGetWhereInput; + VotingSystem: VotingSystem; + Wallet: ResolverTypeWrapper & { connectionDetails: ResolversTypes['ConnectionDetails'] }>; + WalletContributionLimits: ResolverTypeWrapper; + WalletLimits: ResolverTypeWrapper; + WalletOffChainContributionLimits: ResolverTypeWrapper; + WalletOnChainContributionLimits: ResolverTypeWrapper; + WalletResourceInput: WalletResourceInput; + WalletResourceType: WalletResourceType; + WalletState: ResolverTypeWrapper; + WalletStatus: WalletStatus; + WalletStatusCode: WalletStatusCode; + dashboardFundersGetInput: DashboardFundersGetInput; +}; /** Mapping between all available schema types and the resolvers parents */ export type ResolversParentTypes = { - ActivitiesCountGroupedByProjectInput: ActivitiesCountGroupedByProjectInput - ActivitiesGetResponse: ActivitiesGetResponse - Activity: Omit & { resource: ResolversParentTypes['ActivityResource'] } - ActivityCreatedSubscriptionInput: ActivityCreatedSubscriptionInput - ActivityCreatedSubscriptionWhereInput: ActivityCreatedSubscriptionWhereInput - ActivityResource: ResolversUnionTypes['ActivityResource'] - AffiliateLink: AffiliateLink - AffiliateLinkCreateInput: AffiliateLinkCreateInput - AffiliatePaymentConfirmResponse: AffiliatePaymentConfirmResponse - AffiliatePayoutsStats: AffiliatePayoutsStats - AffiliateSalesStats: AffiliateSalesStats - AffiliateStats: AffiliateStats - Ambassador: Ambassador - AmountSummary: AmountSummary - Badge: Badge - BadgeClaimInput: BadgeClaimInput - BadgesGetInput: BadgesGetInput - BadgesGetWhereInput: BadgesGetWhereInput - BigInt: Scalars['BigInt']['output'] - BitcoinQuote: BitcoinQuote - BoardVoteGrant: BoardVoteGrant - Boolean: Scalars['Boolean']['output'] - CommunityVoteGrant: CommunityVoteGrant - CompetitionVoteGrantVoteSummary: CompetitionVoteGrantVoteSummary - ConnectionDetails: ResolversUnionTypes['ConnectionDetails'] - Country: Country - CreateEntryInput: CreateEntryInput - CreateProjectInput: CreateProjectInput - CreateProjectRewardInput: CreateProjectRewardInput - CreateWalletInput: CreateWalletInput - CreatorNotificationSettings: CreatorNotificationSettings - CreatorNotificationSettingsProject: CreatorNotificationSettingsProject - CurrencyQuoteGetInput: CurrencyQuoteGetInput - CurrencyQuoteGetResponse: CurrencyQuoteGetResponse - CursorInput: CursorInput - CursorInputString: CursorInputString - CursorPaginationResponse: CursorPaginationResponse - Date: Scalars['Date']['output'] - DateRangeInput: DateRangeInput - DatetimeRange: DatetimeRange - DeleteProjectInput: DeleteProjectInput - DeleteProjectRewardInput: DeleteProjectRewardInput - DeleteUserResponse: DeleteUserResponse - EmailVerifyInput: EmailVerifyInput - Entry: Entry - EntryPublishedSubscriptionResponse: EntryPublishedSubscriptionResponse - ExternalAccount: ExternalAccount - FileUploadInput: FileUploadInput - Float: Scalars['Float']['output'] - Funder: Funder - FunderRewardGraphSum: FunderRewardGraphSum - FundingCancelInput: FundingCancelInput - FundingCancelResponse: FundingCancelResponse - FundingConfirmInput: FundingConfirmInput - FundingConfirmOffChainBolt11Input: FundingConfirmOffChainBolt11Input - FundingConfirmOffChainInput: FundingConfirmOffChainInput - FundingConfirmOnChainInput: FundingConfirmOnChainInput - FundingConfirmResponse: FundingConfirmResponse - FundingCreateFromPodcastKeysendInput: FundingCreateFromPodcastKeysendInput - FundingInput: FundingInput - FundingMetadataInput: FundingMetadataInput - FundingMutationResponse: FundingMutationResponse - FundingPendingInput: FundingPendingInput - FundingPendingOffChainBolt11Input: FundingPendingOffChainBolt11Input - FundingPendingOffChainInput: FundingPendingOffChainInput - FundingPendingOnChainInput: FundingPendingOnChainInput - FundingPendingResponse: FundingPendingResponse - FundingQueryResponse: FundingQueryResponse - FundingTx: Omit & { sourceResource?: Maybe } - FundingTxAmountGraph: FundingTxAmountGraph - FundingTxEmailUpdateInput: FundingTxEmailUpdateInput - FundingTxInvoiceSanctionCheckStatusGetInput: FundingTxInvoiceSanctionCheckStatusGetInput - FundingTxInvoiceSanctionCheckStatusResponse: FundingTxInvoiceSanctionCheckStatusResponse - FundingTxMethodCount: FundingTxMethodCount - FundingTxMethodSum: FundingTxMethodSum - FundingTxStatusUpdatedInput: FundingTxStatusUpdatedInput - FundingTxStatusUpdatedSubscriptionResponse: FundingTxStatusUpdatedSubscriptionResponse - FundingTxsGetResponse: FundingTxsGetResponse - FundinginvoiceCancel: FundinginvoiceCancel - GenerateAffiliatePaymentRequestResponse: GenerateAffiliatePaymentRequestResponse - GenerateAffiliatePaymentRequestsInput: GenerateAffiliatePaymentRequestsInput - GetActivitiesInput: GetActivitiesInput - GetActivityOrderByInput: GetActivityOrderByInput - GetActivityPaginationInput: GetActivityPaginationInput - GetActivityWhereInput: GetActivityWhereInput - GetAffiliateLinksInput: GetAffiliateLinksInput - GetAffiliateLinksWhereInput: GetAffiliateLinksWhereInput - GetContributorInput: GetContributorInput - GetDashboardFundersWhereInput: GetDashboardFundersWhereInput - GetEntriesInput: GetEntriesInput - GetEntriesOrderByInput: GetEntriesOrderByInput - GetEntriesWhereInput: GetEntriesWhereInput - GetFunderFundingTxsInput: GetFunderFundingTxsInput - GetFunderFundingTxsWhereInput: GetFunderFundingTxsWhereInput - GetFunderWhereInput: GetFunderWhereInput - GetFundersInput: GetFundersInput - GetFundersOrderByInput: GetFundersOrderByInput - GetFundingTxsInput: GetFundingTxsInput - GetFundingTxsOrderByInput: GetFundingTxsOrderByInput - GetFundingTxsWhereInput: GetFundingTxsWhereInput - GetProjectGoalsInput: GetProjectGoalsInput - GetProjectOrdersStatsInput: GetProjectOrdersStatsInput - GetProjectOrdersStatsWhereInput: GetProjectOrdersStatsWhereInput - GetProjectRewardInput: GetProjectRewardInput - GetProjectRewardWhereInput: GetProjectRewardWhereInput - GetProjectStatsInput: GetProjectStatsInput - GetProjectStatsWhereInput: GetProjectStatsWhereInput - GlobalContributorLeaderboardRow: GlobalContributorLeaderboardRow - GlobalProjectLeaderboardRow: GlobalProjectLeaderboardRow - Grant: ResolversUnionTypes['Grant'] - GrantApplicant: Omit & { grant: ResolversParentTypes['Grant'] } - GrantApplicantContributor: GrantApplicantContributor - GrantApplicantContributorInput: GrantApplicantContributorInput - GrantApplicantContributorWhereInput: GrantApplicantContributorWhereInput - GrantApplicantFunding: GrantApplicantFunding - GrantApplicantsGetInput: GrantApplicantsGetInput - GrantApplicantsGetOrderByInput: GrantApplicantsGetOrderByInput - GrantApplicantsGetWhereInput: GrantApplicantsGetWhereInput - GrantApplyInput: GrantApplyInput - GrantBoardMember: GrantBoardMember - GrantGetInput: GrantGetInput - GrantGetWhereInput: GrantGetWhereInput - GrantStatistics: GrantStatistics - GrantStatisticsApplicant: GrantStatisticsApplicant - GrantStatisticsGrant: GrantStatisticsGrant - GrantStatus: GrantStatus - GraphSumData: ResolversInterfaceTypes['GraphSumData'] - Int: Scalars['Int']['output'] - LeaderboardGlobalContributorsGetInput: LeaderboardGlobalContributorsGetInput - LeaderboardGlobalProjectsGetInput: LeaderboardGlobalProjectsGetInput - LightningAddressConnectionDetails: LightningAddressConnectionDetails - LightningAddressConnectionDetailsCreateInput: LightningAddressConnectionDetailsCreateInput - LightningAddressConnectionDetailsUpdateInput: LightningAddressConnectionDetailsUpdateInput - LightningAddressContributionLimits: LightningAddressContributionLimits - LightningAddressVerifyResponse: LightningAddressVerifyResponse - LndConnectionDetails: ResolversInterfaceTypes['LndConnectionDetails'] - LndConnectionDetailsCreateInput: LndConnectionDetailsCreateInput - LndConnectionDetailsPrivate: LndConnectionDetailsPrivate - LndConnectionDetailsPublic: LndConnectionDetailsPublic - LndConnectionDetailsUpdateInput: LndConnectionDetailsUpdateInput - Location: Location - Milestone: Milestone - Mutation: {} - MutationResponse: ResolversInterfaceTypes['MutationResponse'] - NostrKeys: NostrKeys - NostrPrivateKey: NostrPrivateKey - NostrPublicKey: NostrPublicKey - NotificationConfiguration: NotificationConfiguration - NotificationSettings: NotificationSettings - OTPInput: OtpInput - OTPLoginInput: OtpLoginInput - OTPResponse: OtpResponse - OffsetBasedPaginationInput: OffsetBasedPaginationInput - OnChainTxInput: OnChainTxInput - Order: Order - OrderBitcoinQuoteInput: OrderBitcoinQuoteInput - OrderFundingInput: OrderFundingInput - OrderItem: OrderItem - OrderItemInput: OrderItemInput - OrderStatusUpdateInput: OrderStatusUpdateInput - OrdersGetInput: OrdersGetInput - OrdersGetOrderByInput: OrdersGetOrderByInput - OrdersGetResponse: OrdersGetResponse - OrdersGetWhereInput: OrdersGetWhereInput - OrdersStatsBase: OrdersStatsBase - Owner: Owner - OwnerOf: OwnerOf - PageViewCountGraph: PageViewCountGraph - PaginationCursor: PaginationCursor - PaginationInput: PaginationInput - ProfileNotificationSettings: ProfileNotificationSettings - Project: Project - ProjectActivatedSubscriptionResponse: ProjectActivatedSubscriptionResponse - ProjectActivitiesCount: ProjectActivitiesCount - ProjectContributionsGroupedByMethodStats: ProjectContributionsGroupedByMethodStats - ProjectContributionsStats: ProjectContributionsStats - ProjectContributionsStatsBase: ProjectContributionsStatsBase - ProjectCountriesGetResult: ProjectCountriesGetResult - ProjectDeleteResponse: ProjectDeleteResponse - ProjectEntriesGetInput: ProjectEntriesGetInput - ProjectEntriesGetWhereInput: ProjectEntriesGetWhereInput - ProjectFollowMutationInput: ProjectFollowMutationInput - ProjectFollowerStats: ProjectFollowerStats - ProjectFunderRewardStats: ProjectFunderRewardStats - ProjectFunderStats: ProjectFunderStats - ProjectFundingTxStats: ProjectFundingTxStats - ProjectGoal: ProjectGoal - ProjectGoalCreateInput: ProjectGoalCreateInput - ProjectGoalDeleteResponse: ProjectGoalDeleteResponse - ProjectGoalOrderingUpdateInput: ProjectGoalOrderingUpdateInput - ProjectGoalUpdateInput: ProjectGoalUpdateInput - ProjectGoals: ProjectGoals - ProjectGrantApplicationsInput: ProjectGrantApplicationsInput - ProjectGrantApplicationsWhereInput: ProjectGrantApplicationsWhereInput - ProjectKeys: ProjectKeys - ProjectLeaderboardContributorsGetInput: ProjectLeaderboardContributorsGetInput - ProjectLeaderboardContributorsRow: ProjectLeaderboardContributorsRow - ProjectLinkMutationInput: ProjectLinkMutationInput - ProjectMostFunded: ProjectMostFunded - ProjectMostFundedByTag: ProjectMostFundedByTag - ProjectPublishMutationInput: ProjectPublishMutationInput - ProjectRegionsGetResult: ProjectRegionsGetResult - ProjectReward: ProjectReward - ProjectRewardCurrencyUpdate: ProjectRewardCurrencyUpdate - ProjectRewardCurrencyUpdateRewardsInput: ProjectRewardCurrencyUpdateRewardsInput - ProjectRewardTrendingWeeklyGetRow: ProjectRewardTrendingWeeklyGetRow - ProjectRewardsGroupedByRewardIdStats: ProjectRewardsGroupedByRewardIdStats - ProjectRewardsGroupedByRewardIdStatsProjectReward: ProjectRewardsGroupedByRewardIdStatsProjectReward - ProjectRewardsStats: ProjectRewardsStats - ProjectStatistics: ProjectStatistics - ProjectStats: ProjectStats - ProjectStatsBase: ProjectStatsBase - ProjectStatusUpdate: ProjectStatusUpdate - ProjectTagMutationInput: ProjectTagMutationInput - ProjectViewBaseStats: ProjectViewBaseStats - ProjectViewStats: ProjectViewStats - ProjectsGetQueryInput: ProjectsGetQueryInput - ProjectsGetWhereInput: ProjectsGetWhereInput - ProjectsMostFundedByTagInput: ProjectsMostFundedByTagInput - ProjectsOrderByInput: ProjectsOrderByInput - ProjectsResponse: ProjectsResponse - ProjectsSummary: ProjectsSummary - Query: {} - ResourceInput: ResourceInput - SendOtpByEmailInput: SendOtpByEmailInput - SignedUploadUrl: SignedUploadUrl - SourceResource: ResolversUnionTypes['SourceResource'] - Sponsor: Sponsor - StatsInterface: ResolversInterfaceTypes['StatsInterface'] - String: Scalars['String']['output'] - Subscription: {} - Swap: Swap - TOTPInput: TotpInput - Tag: Tag - TagCreateInput: TagCreateInput - TagsGetResult: TagsGetResult - TagsMostFundedGetResult: TagsMostFundedGetResult - TwoFAInput: TwoFaInput - UniqueOrderInput: UniqueOrderInput - UniqueProjectQueryInput: UniqueProjectQueryInput - UpdateEntryInput: UpdateEntryInput - UpdateProjectInput: UpdateProjectInput - UpdateProjectRewardInput: UpdateProjectRewardInput - UpdateUserInput: UpdateUserInput - UpdateWalletInput: UpdateWalletInput - UpdateWalletStateInput: UpdateWalletStateInput - User: User - UserBadge: UserBadge - UserEmailUpdateInput: UserEmailUpdateInput - UserEntriesGetInput: UserEntriesGetInput - UserEntriesGetWhereInput: UserEntriesGetWhereInput - UserGetInput: UserGetInput - UserNotificationSettings: UserNotificationSettings - UserProjectContribution: UserProjectContribution - UserProjectsGetInput: UserProjectsGetInput - UserProjectsGetWhereInput: UserProjectsGetWhereInput - Wallet: Omit & { connectionDetails: ResolversParentTypes['ConnectionDetails'] } - WalletContributionLimits: WalletContributionLimits - WalletLimits: WalletLimits - WalletOffChainContributionLimits: WalletOffChainContributionLimits - WalletOnChainContributionLimits: WalletOnChainContributionLimits - WalletResourceInput: WalletResourceInput - WalletState: WalletState - dashboardFundersGetInput: DashboardFundersGetInput -} - -export type ActivitiesGetResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ActivitiesGetResponse'] = ResolversParentTypes['ActivitiesGetResponse'], -> = { - activities?: Resolver, ParentType, ContextType> - pagination?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ActivityResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Activity'] = ResolversParentTypes['Activity'], -> = { - activityType?: Resolver - createdAt?: Resolver - id?: Resolver - project?: Resolver - resource?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ActivityResourceResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ActivityResource'] = ResolversParentTypes['ActivityResource'], -> = { - __resolveType: TypeResolveFn< - 'Entry' | 'FundingTx' | 'Project' | 'ProjectGoal' | 'ProjectReward', - ParentType, - ContextType - > -} - -export type AffiliateLinkResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['AffiliateLink'] = ResolversParentTypes['AffiliateLink'], -> = { - affiliateFeePercentage?: Resolver - affiliateId?: Resolver, ParentType, ContextType> - createdAt?: Resolver - disabled?: Resolver, ParentType, ContextType> - disabledAt?: Resolver, ParentType, ContextType> - email?: Resolver - id?: Resolver - label?: Resolver, ParentType, ContextType> - lightningAddress?: Resolver - projectId?: Resolver - stats?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type AffiliatePaymentConfirmResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['AffiliatePaymentConfirmResponse'] = ResolversParentTypes['AffiliatePaymentConfirmResponse'], -> = { - message?: Resolver, ParentType, ContextType> - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type AffiliatePayoutsStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['AffiliatePayoutsStats'] = ResolversParentTypes['AffiliatePayoutsStats'], -> = { - count?: Resolver - total?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type AffiliateSalesStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['AffiliateSalesStats'] = ResolversParentTypes['AffiliateSalesStats'], -> = { - count?: Resolver - total?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type AffiliateStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['AffiliateStats'] = ResolversParentTypes['AffiliateStats'], -> = { - payouts?: Resolver - sales?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type AmbassadorResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Ambassador'] = ResolversParentTypes['Ambassador'], -> = { - confirmed?: Resolver - id?: Resolver - user?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type AmountSummaryResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['AmountSummary'] = ResolversParentTypes['AmountSummary'], -> = { - donationAmount?: Resolver - rewardsCost?: Resolver - shippingCost?: Resolver - total?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type BadgeResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Badge'] = ResolversParentTypes['Badge'], -> = { - createdAt?: Resolver - description?: Resolver - id?: Resolver - image?: Resolver - name?: Resolver - thumb?: Resolver - uniqueName?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} + ActivitiesCountGroupedByProjectInput: ActivitiesCountGroupedByProjectInput; + ActivitiesGetResponse: ActivitiesGetResponse; + Activity: Omit & { resource: ResolversParentTypes['ActivityResource'] }; + ActivityCreatedSubscriptionInput: ActivityCreatedSubscriptionInput; + ActivityCreatedSubscriptionWhereInput: ActivityCreatedSubscriptionWhereInput; + ActivityResource: ResolversUnionTypes['ActivityResource']; + AffiliateLink: AffiliateLink; + AffiliateLinkCreateInput: AffiliateLinkCreateInput; + AffiliatePaymentConfirmResponse: AffiliatePaymentConfirmResponse; + AffiliatePayoutsStats: AffiliatePayoutsStats; + AffiliateSalesStats: AffiliateSalesStats; + AffiliateStats: AffiliateStats; + Ambassador: Ambassador; + AmountSummary: AmountSummary; + Badge: Badge; + BadgeClaimInput: BadgeClaimInput; + BadgesGetInput: BadgesGetInput; + BadgesGetWhereInput: BadgesGetWhereInput; + BigInt: Scalars['BigInt']['output']; + BitcoinQuote: BitcoinQuote; + BoardVoteGrant: BoardVoteGrant; + Boolean: Scalars['Boolean']['output']; + CommunityVoteGrant: CommunityVoteGrant; + CompetitionVoteGrantVoteSummary: CompetitionVoteGrantVoteSummary; + ConnectionDetails: ResolversUnionTypes['ConnectionDetails']; + Country: Country; + CreateEntryInput: CreateEntryInput; + CreateProjectInput: CreateProjectInput; + CreateProjectRewardInput: CreateProjectRewardInput; + CreateWalletInput: CreateWalletInput; + CreatorNotificationSettings: CreatorNotificationSettings; + CreatorNotificationSettingsProject: CreatorNotificationSettingsProject; + CurrencyQuoteGetInput: CurrencyQuoteGetInput; + CurrencyQuoteGetResponse: CurrencyQuoteGetResponse; + CursorInput: CursorInput; + CursorInputString: CursorInputString; + CursorPaginationResponse: CursorPaginationResponse; + Date: Scalars['Date']['output']; + DateRangeInput: DateRangeInput; + DatetimeRange: DatetimeRange; + DeleteProjectInput: DeleteProjectInput; + DeleteProjectRewardInput: DeleteProjectRewardInput; + DeleteUserResponse: DeleteUserResponse; + EmailVerifyInput: EmailVerifyInput; + Entry: Entry; + EntryPublishedSubscriptionResponse: EntryPublishedSubscriptionResponse; + ExternalAccount: ExternalAccount; + FileUploadInput: FileUploadInput; + Float: Scalars['Float']['output']; + Funder: Funder; + FunderRewardGraphSum: FunderRewardGraphSum; + FundingCancelInput: FundingCancelInput; + FundingCancelResponse: FundingCancelResponse; + FundingConfirmInput: FundingConfirmInput; + FundingConfirmOffChainBolt11Input: FundingConfirmOffChainBolt11Input; + FundingConfirmOffChainInput: FundingConfirmOffChainInput; + FundingConfirmOnChainInput: FundingConfirmOnChainInput; + FundingConfirmResponse: FundingConfirmResponse; + FundingCreateFromPodcastKeysendInput: FundingCreateFromPodcastKeysendInput; + FundingInput: FundingInput; + FundingMetadataInput: FundingMetadataInput; + FundingMutationResponse: FundingMutationResponse; + FundingPendingInput: FundingPendingInput; + FundingPendingOffChainBolt11Input: FundingPendingOffChainBolt11Input; + FundingPendingOffChainInput: FundingPendingOffChainInput; + FundingPendingOnChainInput: FundingPendingOnChainInput; + FundingPendingResponse: FundingPendingResponse; + FundingQueryResponse: FundingQueryResponse; + FundingTx: Omit & { sourceResource?: Maybe }; + FundingTxAmountGraph: FundingTxAmountGraph; + FundingTxEmailUpdateInput: FundingTxEmailUpdateInput; + FundingTxInvoiceSanctionCheckStatusGetInput: FundingTxInvoiceSanctionCheckStatusGetInput; + FundingTxInvoiceSanctionCheckStatusResponse: FundingTxInvoiceSanctionCheckStatusResponse; + FundingTxMethodCount: FundingTxMethodCount; + FundingTxMethodSum: FundingTxMethodSum; + FundingTxStatusUpdatedInput: FundingTxStatusUpdatedInput; + FundingTxStatusUpdatedSubscriptionResponse: FundingTxStatusUpdatedSubscriptionResponse; + FundingTxsGetResponse: FundingTxsGetResponse; + FundinginvoiceCancel: FundinginvoiceCancel; + GenerateAffiliatePaymentRequestResponse: GenerateAffiliatePaymentRequestResponse; + GenerateAffiliatePaymentRequestsInput: GenerateAffiliatePaymentRequestsInput; + GetActivitiesInput: GetActivitiesInput; + GetActivityOrderByInput: GetActivityOrderByInput; + GetActivityPaginationInput: GetActivityPaginationInput; + GetActivityWhereInput: GetActivityWhereInput; + GetAffiliateLinksInput: GetAffiliateLinksInput; + GetAffiliateLinksWhereInput: GetAffiliateLinksWhereInput; + GetContributorInput: GetContributorInput; + GetDashboardFundersWhereInput: GetDashboardFundersWhereInput; + GetEntriesInput: GetEntriesInput; + GetEntriesOrderByInput: GetEntriesOrderByInput; + GetEntriesWhereInput: GetEntriesWhereInput; + GetFunderFundingTxsInput: GetFunderFundingTxsInput; + GetFunderFundingTxsWhereInput: GetFunderFundingTxsWhereInput; + GetFunderWhereInput: GetFunderWhereInput; + GetFundersInput: GetFundersInput; + GetFundersOrderByInput: GetFundersOrderByInput; + GetFundingTxsInput: GetFundingTxsInput; + GetFundingTxsOrderByInput: GetFundingTxsOrderByInput; + GetFundingTxsWhereInput: GetFundingTxsWhereInput; + GetProjectGoalsInput: GetProjectGoalsInput; + GetProjectOrdersStatsInput: GetProjectOrdersStatsInput; + GetProjectOrdersStatsWhereInput: GetProjectOrdersStatsWhereInput; + GetProjectRewardInput: GetProjectRewardInput; + GetProjectRewardWhereInput: GetProjectRewardWhereInput; + GetProjectStatsInput: GetProjectStatsInput; + GetProjectStatsWhereInput: GetProjectStatsWhereInput; + GlobalContributorLeaderboardRow: GlobalContributorLeaderboardRow; + GlobalProjectLeaderboardRow: GlobalProjectLeaderboardRow; + Grant: ResolversUnionTypes['Grant']; + GrantApplicant: Omit & { grant: ResolversParentTypes['Grant'] }; + GrantApplicantContributor: GrantApplicantContributor; + GrantApplicantContributorInput: GrantApplicantContributorInput; + GrantApplicantContributorWhereInput: GrantApplicantContributorWhereInput; + GrantApplicantFunding: GrantApplicantFunding; + GrantApplicantsGetInput: GrantApplicantsGetInput; + GrantApplicantsGetOrderByInput: GrantApplicantsGetOrderByInput; + GrantApplicantsGetWhereInput: GrantApplicantsGetWhereInput; + GrantApplyInput: GrantApplyInput; + GrantBoardMember: GrantBoardMember; + GrantGetInput: GrantGetInput; + GrantGetWhereInput: GrantGetWhereInput; + GrantStatistics: GrantStatistics; + GrantStatisticsApplicant: GrantStatisticsApplicant; + GrantStatisticsGrant: GrantStatisticsGrant; + GrantStatus: GrantStatus; + GraphSumData: ResolversInterfaceTypes['GraphSumData']; + Int: Scalars['Int']['output']; + LeaderboardGlobalContributorsGetInput: LeaderboardGlobalContributorsGetInput; + LeaderboardGlobalProjectsGetInput: LeaderboardGlobalProjectsGetInput; + LightningAddressConnectionDetails: LightningAddressConnectionDetails; + LightningAddressConnectionDetailsCreateInput: LightningAddressConnectionDetailsCreateInput; + LightningAddressConnectionDetailsUpdateInput: LightningAddressConnectionDetailsUpdateInput; + LightningAddressContributionLimits: LightningAddressContributionLimits; + LightningAddressVerifyResponse: LightningAddressVerifyResponse; + LndConnectionDetails: ResolversInterfaceTypes['LndConnectionDetails']; + LndConnectionDetailsCreateInput: LndConnectionDetailsCreateInput; + LndConnectionDetailsPrivate: LndConnectionDetailsPrivate; + LndConnectionDetailsPublic: LndConnectionDetailsPublic; + LndConnectionDetailsUpdateInput: LndConnectionDetailsUpdateInput; + Location: Location; + Milestone: Milestone; + Mutation: {}; + MutationResponse: ResolversInterfaceTypes['MutationResponse']; + NostrKeys: NostrKeys; + NostrPrivateKey: NostrPrivateKey; + NostrPublicKey: NostrPublicKey; + NotificationConfiguration: NotificationConfiguration; + NotificationSettings: NotificationSettings; + OTPInput: OtpInput; + OTPLoginInput: OtpLoginInput; + OTPResponse: OtpResponse; + OffsetBasedPaginationInput: OffsetBasedPaginationInput; + OnChainTxInput: OnChainTxInput; + Order: Order; + OrderBitcoinQuoteInput: OrderBitcoinQuoteInput; + OrderFundingInput: OrderFundingInput; + OrderItem: OrderItem; + OrderItemInput: OrderItemInput; + OrderStatusUpdateInput: OrderStatusUpdateInput; + OrdersGetInput: OrdersGetInput; + OrdersGetOrderByInput: OrdersGetOrderByInput; + OrdersGetResponse: OrdersGetResponse; + OrdersGetWhereInput: OrdersGetWhereInput; + OrdersStatsBase: OrdersStatsBase; + Owner: Owner; + OwnerOf: OwnerOf; + PageViewCountGraph: PageViewCountGraph; + PaginationCursor: PaginationCursor; + PaginationInput: PaginationInput; + ProfileNotificationSettings: ProfileNotificationSettings; + Project: Project; + ProjectActivatedSubscriptionResponse: ProjectActivatedSubscriptionResponse; + ProjectActivitiesCount: ProjectActivitiesCount; + ProjectContributionsGroupedByMethodStats: ProjectContributionsGroupedByMethodStats; + ProjectContributionsStats: ProjectContributionsStats; + ProjectContributionsStatsBase: ProjectContributionsStatsBase; + ProjectCountriesGetResult: ProjectCountriesGetResult; + ProjectDeleteResponse: ProjectDeleteResponse; + ProjectEntriesGetInput: ProjectEntriesGetInput; + ProjectEntriesGetWhereInput: ProjectEntriesGetWhereInput; + ProjectFollowMutationInput: ProjectFollowMutationInput; + ProjectFollowerStats: ProjectFollowerStats; + ProjectFunderRewardStats: ProjectFunderRewardStats; + ProjectFunderStats: ProjectFunderStats; + ProjectFundingTxStats: ProjectFundingTxStats; + ProjectGoal: ProjectGoal; + ProjectGoalCreateInput: ProjectGoalCreateInput; + ProjectGoalDeleteResponse: ProjectGoalDeleteResponse; + ProjectGoalOrderingUpdateInput: ProjectGoalOrderingUpdateInput; + ProjectGoalUpdateInput: ProjectGoalUpdateInput; + ProjectGoals: ProjectGoals; + ProjectGrantApplicationsInput: ProjectGrantApplicationsInput; + ProjectGrantApplicationsWhereInput: ProjectGrantApplicationsWhereInput; + ProjectKeys: ProjectKeys; + ProjectLeaderboardContributorsGetInput: ProjectLeaderboardContributorsGetInput; + ProjectLeaderboardContributorsRow: ProjectLeaderboardContributorsRow; + ProjectLinkMutationInput: ProjectLinkMutationInput; + ProjectMostFunded: ProjectMostFunded; + ProjectMostFundedByTag: ProjectMostFundedByTag; + ProjectPublishMutationInput: ProjectPublishMutationInput; + ProjectRegionsGetResult: ProjectRegionsGetResult; + ProjectReward: ProjectReward; + ProjectRewardCurrencyUpdate: ProjectRewardCurrencyUpdate; + ProjectRewardCurrencyUpdateRewardsInput: ProjectRewardCurrencyUpdateRewardsInput; + ProjectRewardTrendingWeeklyGetRow: ProjectRewardTrendingWeeklyGetRow; + ProjectRewardsGroupedByRewardIdStats: ProjectRewardsGroupedByRewardIdStats; + ProjectRewardsGroupedByRewardIdStatsProjectReward: ProjectRewardsGroupedByRewardIdStatsProjectReward; + ProjectRewardsStats: ProjectRewardsStats; + ProjectStatistics: ProjectStatistics; + ProjectStats: ProjectStats; + ProjectStatsBase: ProjectStatsBase; + ProjectStatusUpdate: ProjectStatusUpdate; + ProjectTagMutationInput: ProjectTagMutationInput; + ProjectViewBaseStats: ProjectViewBaseStats; + ProjectViewStats: ProjectViewStats; + ProjectsGetQueryInput: ProjectsGetQueryInput; + ProjectsGetWhereInput: ProjectsGetWhereInput; + ProjectsMostFundedByTagInput: ProjectsMostFundedByTagInput; + ProjectsOrderByInput: ProjectsOrderByInput; + ProjectsResponse: ProjectsResponse; + ProjectsSummary: ProjectsSummary; + Query: {}; + ResourceInput: ResourceInput; + SendOtpByEmailInput: SendOtpByEmailInput; + SignedUploadUrl: SignedUploadUrl; + SourceResource: ResolversUnionTypes['SourceResource']; + Sponsor: Sponsor; + StatsInterface: ResolversInterfaceTypes['StatsInterface']; + String: Scalars['String']['output']; + Subscription: {}; + Swap: Swap; + TOTPInput: TotpInput; + Tag: Tag; + TagCreateInput: TagCreateInput; + TagsGetResult: TagsGetResult; + TagsMostFundedGetResult: TagsMostFundedGetResult; + TwoFAInput: TwoFaInput; + UniqueOrderInput: UniqueOrderInput; + UniqueProjectQueryInput: UniqueProjectQueryInput; + UpdateEntryInput: UpdateEntryInput; + UpdateProjectInput: UpdateProjectInput; + UpdateProjectRewardInput: UpdateProjectRewardInput; + UpdateUserInput: UpdateUserInput; + UpdateWalletInput: UpdateWalletInput; + UpdateWalletStateInput: UpdateWalletStateInput; + User: User; + UserBadge: UserBadge; + UserEmailUpdateInput: UserEmailUpdateInput; + UserEntriesGetInput: UserEntriesGetInput; + UserEntriesGetWhereInput: UserEntriesGetWhereInput; + UserGetInput: UserGetInput; + UserNotificationSettings: UserNotificationSettings; + UserProjectContribution: UserProjectContribution; + UserProjectsGetInput: UserProjectsGetInput; + UserProjectsGetWhereInput: UserProjectsGetWhereInput; + Wallet: Omit & { connectionDetails: ResolversParentTypes['ConnectionDetails'] }; + WalletContributionLimits: WalletContributionLimits; + WalletLimits: WalletLimits; + WalletOffChainContributionLimits: WalletOffChainContributionLimits; + WalletOnChainContributionLimits: WalletOnChainContributionLimits; + WalletResourceInput: WalletResourceInput; + WalletState: WalletState; + dashboardFundersGetInput: DashboardFundersGetInput; +}; + +export type ActivitiesGetResponseResolvers = { + activities?: Resolver, ParentType, ContextType>; + pagination?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ActivityResolvers = { + activityType?: Resolver; + createdAt?: Resolver; + id?: Resolver; + project?: Resolver; + resource?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ActivityResourceResolvers = { + __resolveType: TypeResolveFn<'Entry' | 'FundingTx' | 'Project' | 'ProjectGoal' | 'ProjectReward', ParentType, ContextType>; +}; + +export type AffiliateLinkResolvers = { + affiliateFeePercentage?: Resolver; + affiliateId?: Resolver, ParentType, ContextType>; + createdAt?: Resolver; + disabled?: Resolver, ParentType, ContextType>; + disabledAt?: Resolver, ParentType, ContextType>; + email?: Resolver; + id?: Resolver; + label?: Resolver, ParentType, ContextType>; + lightningAddress?: Resolver; + projectId?: Resolver; + stats?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AffiliatePaymentConfirmResponseResolvers = { + message?: Resolver, ParentType, ContextType>; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AffiliatePayoutsStatsResolvers = { + count?: Resolver; + total?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AffiliateSalesStatsResolvers = { + count?: Resolver; + total?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AffiliateStatsResolvers = { + payouts?: Resolver; + sales?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AmbassadorResolvers = { + confirmed?: Resolver; + id?: Resolver; + user?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AmountSummaryResolvers = { + donationAmount?: Resolver; + rewardsCost?: Resolver; + shippingCost?: Resolver; + total?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type BadgeResolvers = { + createdAt?: Resolver; + description?: Resolver; + id?: Resolver; + image?: Resolver; + name?: Resolver; + thumb?: Resolver; + uniqueName?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; export interface BigIntScalarConfig extends GraphQLScalarTypeConfig { - name: 'BigInt' -} - -export type BitcoinQuoteResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['BitcoinQuote'] = ResolversParentTypes['BitcoinQuote'], -> = { - quote?: Resolver - quoteCurrency?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type BoardVoteGrantResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['BoardVoteGrant'] = ResolversParentTypes['BoardVoteGrant'], -> = { - applicants?: Resolver< - Array, - ParentType, - ContextType, - Partial - > - balance?: Resolver - boardMembers?: Resolver, ParentType, ContextType> - description?: Resolver, ParentType, ContextType> - id?: Resolver - image?: Resolver, ParentType, ContextType> - name?: Resolver - shortDescription?: Resolver - sponsors?: Resolver, ParentType, ContextType> - status?: Resolver - statuses?: Resolver, ParentType, ContextType> - title?: Resolver - type?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type CommunityVoteGrantResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['CommunityVoteGrant'] = ResolversParentTypes['CommunityVoteGrant'], -> = { - applicants?: Resolver< - Array, - ParentType, - ContextType, - Partial - > - balance?: Resolver - description?: Resolver, ParentType, ContextType> - distributionSystem?: Resolver - id?: Resolver - image?: Resolver, ParentType, ContextType> - name?: Resolver - shortDescription?: Resolver - sponsors?: Resolver, ParentType, ContextType> - status?: Resolver - statuses?: Resolver, ParentType, ContextType> - title?: Resolver - type?: Resolver - votes?: Resolver - votingSystem?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type CompetitionVoteGrantVoteSummaryResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['CompetitionVoteGrantVoteSummary'] = ResolversParentTypes['CompetitionVoteGrantVoteSummary'], -> = { - voteCount?: Resolver - voterCount?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ConnectionDetailsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ConnectionDetails'] = ResolversParentTypes['ConnectionDetails'], -> = { - __resolveType: TypeResolveFn< - 'LightningAddressConnectionDetails' | 'LndConnectionDetailsPrivate' | 'LndConnectionDetailsPublic', - ParentType, - ContextType - > -} - -export type CountryResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Country'] = ResolversParentTypes['Country'], -> = { - code?: Resolver - name?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type CreatorNotificationSettingsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['CreatorNotificationSettings'] = ResolversParentTypes['CreatorNotificationSettings'], -> = { - notificationSettings?: Resolver, ParentType, ContextType> - project?: Resolver - userId?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type CreatorNotificationSettingsProjectResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['CreatorNotificationSettingsProject'] = ResolversParentTypes['CreatorNotificationSettingsProject'], -> = { - id?: Resolver - image?: Resolver, ParentType, ContextType> - title?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type CurrencyQuoteGetResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['CurrencyQuoteGetResponse'] = ResolversParentTypes['CurrencyQuoteGetResponse'], -> = { - baseCurrency?: Resolver - quote?: Resolver - quoteCurrency?: Resolver - timestamp?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type CursorPaginationResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['CursorPaginationResponse'] = ResolversParentTypes['CursorPaginationResponse'], -> = { - count?: Resolver, ParentType, ContextType> - cursor?: Resolver, ParentType, ContextType> - take?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} + name: 'BigInt'; +} + +export type BitcoinQuoteResolvers = { + quote?: Resolver; + quoteCurrency?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type BoardVoteGrantResolvers = { + applicants?: Resolver, ParentType, ContextType, Partial>; + balance?: Resolver; + boardMembers?: Resolver, ParentType, ContextType>; + description?: Resolver, ParentType, ContextType>; + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + name?: Resolver; + shortDescription?: Resolver; + sponsors?: Resolver, ParentType, ContextType>; + status?: Resolver; + statuses?: Resolver, ParentType, ContextType>; + title?: Resolver; + type?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CommunityVoteGrantResolvers = { + applicants?: Resolver, ParentType, ContextType, Partial>; + balance?: Resolver; + description?: Resolver, ParentType, ContextType>; + distributionSystem?: Resolver; + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + name?: Resolver; + shortDescription?: Resolver; + sponsors?: Resolver, ParentType, ContextType>; + status?: Resolver; + statuses?: Resolver, ParentType, ContextType>; + title?: Resolver; + type?: Resolver; + votes?: Resolver; + votingSystem?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CompetitionVoteGrantVoteSummaryResolvers = { + voteCount?: Resolver; + voterCount?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ConnectionDetailsResolvers = { + __resolveType: TypeResolveFn<'LightningAddressConnectionDetails' | 'LndConnectionDetailsPrivate' | 'LndConnectionDetailsPublic', ParentType, ContextType>; +}; + +export type CountryResolvers = { + code?: Resolver; + name?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CreatorNotificationSettingsResolvers = { + notificationSettings?: Resolver, ParentType, ContextType>; + project?: Resolver; + userId?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CreatorNotificationSettingsProjectResolvers = { + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + title?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CurrencyQuoteGetResponseResolvers = { + baseCurrency?: Resolver; + quote?: Resolver; + quoteCurrency?: Resolver; + timestamp?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CursorPaginationResponseResolvers = { + count?: Resolver, ParentType, ContextType>; + cursor?: Resolver, ParentType, ContextType>; + take?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; export interface DateScalarConfig extends GraphQLScalarTypeConfig { - name: 'Date' -} - -export type DatetimeRangeResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['DatetimeRange'] = ResolversParentTypes['DatetimeRange'], -> = { - endDateTime?: Resolver, ParentType, ContextType> - startDateTime?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type DeleteUserResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['DeleteUserResponse'] = ResolversParentTypes['DeleteUserResponse'], -> = { - message?: Resolver, ParentType, ContextType> - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type EntryResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Entry'] = ResolversParentTypes['Entry'], -> = { - amountFunded?: Resolver - content?: Resolver, ParentType, ContextType> - createdAt?: Resolver - creator?: Resolver - description?: Resolver - fundersCount?: Resolver - fundingTxs?: Resolver, ParentType, ContextType> - id?: Resolver - image?: Resolver, ParentType, ContextType> - project?: Resolver, ParentType, ContextType> - publishedAt?: Resolver, ParentType, ContextType> - status?: Resolver - title?: Resolver - type?: Resolver - updatedAt?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type EntryPublishedSubscriptionResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['EntryPublishedSubscriptionResponse'] = ResolversParentTypes['EntryPublishedSubscriptionResponse'], -> = { - entry?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ExternalAccountResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ExternalAccount'] = ResolversParentTypes['ExternalAccount'], -> = { - accountType?: Resolver - externalId?: Resolver - externalUsername?: Resolver - id?: Resolver - public?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FunderResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Funder'] = ResolversParentTypes['Funder'], -> = { - amountFunded?: Resolver, ParentType, ContextType> - confirmed?: Resolver - confirmedAt?: Resolver, ParentType, ContextType> - fundingTxs?: Resolver, ParentType, ContextType, Partial> - id?: Resolver - orders?: Resolver, ParentType, ContextType> - rank?: Resolver, ParentType, ContextType> - timesFunded?: Resolver, ParentType, ContextType> - user?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type FunderRewardGraphSumResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FunderRewardGraphSum'] = ResolversParentTypes['FunderRewardGraphSum'], -> = { - dateTime?: Resolver - rewardId?: Resolver - rewardName?: Resolver - sum?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingCancelResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingCancelResponse'] = ResolversParentTypes['FundingCancelResponse'], -> = { - id?: Resolver - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingConfirmResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingConfirmResponse'] = ResolversParentTypes['FundingConfirmResponse'], -> = { - id?: Resolver - missedSettleEvents?: Resolver, ParentType, ContextType> - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingMutationResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingMutationResponse'] = ResolversParentTypes['FundingMutationResponse'], -> = { - fundingTx?: Resolver, ParentType, ContextType> - swap?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingPendingResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingPendingResponse'] = ResolversParentTypes['FundingPendingResponse'], -> = { - id?: Resolver - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingQueryResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingQueryResponse'] = ResolversParentTypes['FundingQueryResponse'], -> = { - fundingTx?: Resolver, ParentType, ContextType> - message?: Resolver - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingTxResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingTx'] = ResolversParentTypes['FundingTx'], -> = { - address?: Resolver, ParentType, ContextType> - affiliateFeeInSats?: Resolver, ParentType, ContextType> - amount?: Resolver - amountPaid?: Resolver - bitcoinQuote?: Resolver, ParentType, ContextType> - comment?: Resolver, ParentType, ContextType> - createdAt?: Resolver, ParentType, ContextType> - creatorEmail?: Resolver, ParentType, ContextType> - donationAmount?: Resolver - email?: Resolver, ParentType, ContextType> - funder?: Resolver - fundingType?: Resolver - id?: Resolver - invoiceId?: Resolver, ParentType, ContextType> - invoiceStatus?: Resolver - isAnonymous?: Resolver - media?: Resolver, ParentType, ContextType> - method?: Resolver, ParentType, ContextType> - onChain?: Resolver - onChainTxId?: Resolver, ParentType, ContextType> - order?: Resolver, ParentType, ContextType> - paidAt?: Resolver, ParentType, ContextType> - paymentRequest?: Resolver, ParentType, ContextType> - projectGoalId?: Resolver, ParentType, ContextType> - projectId?: Resolver - source?: Resolver - sourceResource?: Resolver, ParentType, ContextType> - status?: Resolver - uuid?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingTxAmountGraphResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingTxAmountGraph'] = ResolversParentTypes['FundingTxAmountGraph'], -> = { - dateTime?: Resolver - sum?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingTxInvoiceSanctionCheckStatusResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingTxInvoiceSanctionCheckStatusResponse'] = ResolversParentTypes['FundingTxInvoiceSanctionCheckStatusResponse'], -> = { - status?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingTxMethodCountResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingTxMethodCount'] = ResolversParentTypes['FundingTxMethodCount'], -> = { - count?: Resolver - method?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingTxMethodSumResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingTxMethodSum'] = ResolversParentTypes['FundingTxMethodSum'], -> = { - method?: Resolver, ParentType, ContextType> - sum?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingTxStatusUpdatedSubscriptionResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingTxStatusUpdatedSubscriptionResponse'] = ResolversParentTypes['FundingTxStatusUpdatedSubscriptionResponse'], -> = { - fundingTx?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundingTxsGetResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundingTxsGetResponse'] = ResolversParentTypes['FundingTxsGetResponse'], -> = { - fundingTxs?: Resolver, ParentType, ContextType> - pagination?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type FundinginvoiceCancelResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['FundinginvoiceCancel'] = ResolversParentTypes['FundinginvoiceCancel'], -> = { - id?: Resolver - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GenerateAffiliatePaymentRequestResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GenerateAffiliatePaymentRequestResponse'] = ResolversParentTypes['GenerateAffiliatePaymentRequestResponse'], -> = { - affiliatePaymentId?: Resolver - paymentRequest?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GlobalContributorLeaderboardRowResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GlobalContributorLeaderboardRow'] = ResolversParentTypes['GlobalContributorLeaderboardRow'], -> = { - contributionsCount?: Resolver - contributionsTotal?: Resolver - contributionsTotalUsd?: Resolver - projectsContributedCount?: Resolver - userId?: Resolver - userImageUrl?: Resolver, ParentType, ContextType> - username?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GlobalProjectLeaderboardRowResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GlobalProjectLeaderboardRow'] = ResolversParentTypes['GlobalProjectLeaderboardRow'], -> = { - contributionsCount?: Resolver - contributionsTotal?: Resolver - contributionsTotalUsd?: Resolver - contributorsCount?: Resolver - projectName?: Resolver - projectThumbnailUrl?: Resolver, ParentType, ContextType> - projectTitle?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Grant'] = ResolversParentTypes['Grant'], -> = { - __resolveType: TypeResolveFn<'BoardVoteGrant' | 'CommunityVoteGrant', ParentType, ContextType> -} - -export type GrantApplicantResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantApplicant'] = ResolversParentTypes['GrantApplicant'], -> = { - contributors?: Resolver< - Array, - ParentType, - ContextType, - Partial - > - contributorsCount?: Resolver - funding?: Resolver - grant?: Resolver - id?: Resolver - project?: Resolver - status?: Resolver - voteCount?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantApplicantContributorResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantApplicantContributor'] = ResolversParentTypes['GrantApplicantContributor'], -> = { - amount?: Resolver - timesContributed?: Resolver - user?: Resolver, ParentType, ContextType> - voteCount?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantApplicantFundingResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantApplicantFunding'] = ResolversParentTypes['GrantApplicantFunding'], -> = { - communityFunding?: Resolver - grantAmount?: Resolver - grantAmountDistributed?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantBoardMemberResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantBoardMember'] = ResolversParentTypes['GrantBoardMember'], -> = { - user?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantStatisticsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantStatistics'] = ResolversParentTypes['GrantStatistics'], -> = { - applicants?: Resolver, ParentType, ContextType> - grants?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantStatisticsApplicantResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantStatisticsApplicant'] = ResolversParentTypes['GrantStatisticsApplicant'], -> = { - countFunded?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantStatisticsGrantResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantStatisticsGrant'] = ResolversParentTypes['GrantStatisticsGrant'], -> = { - amountFunded?: Resolver - amountGranted?: Resolver - count?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GrantStatusResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GrantStatus'] = ResolversParentTypes['GrantStatus'], -> = { - endAt?: Resolver, ParentType, ContextType> - startAt?: Resolver - status?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type GraphSumDataResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['GraphSumData'] = ResolversParentTypes['GraphSumData'], -> = { - __resolveType: TypeResolveFn<'FunderRewardGraphSum' | 'FundingTxAmountGraph', ParentType, ContextType> - dateTime?: Resolver - sum?: Resolver -} - -export type LightningAddressConnectionDetailsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['LightningAddressConnectionDetails'] = ResolversParentTypes['LightningAddressConnectionDetails'], -> = { - lightningAddress?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type LightningAddressContributionLimitsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['LightningAddressContributionLimits'] = ResolversParentTypes['LightningAddressContributionLimits'], -> = { - max?: Resolver, ParentType, ContextType> - min?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type LightningAddressVerifyResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['LightningAddressVerifyResponse'] = ResolversParentTypes['LightningAddressVerifyResponse'], -> = { - limits?: Resolver, ParentType, ContextType> - reason?: Resolver, ParentType, ContextType> - valid?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type LndConnectionDetailsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['LndConnectionDetails'] = ResolversParentTypes['LndConnectionDetails'], -> = { - __resolveType: TypeResolveFn - grpcPort?: Resolver - hostname?: Resolver - lndNodeType?: Resolver - macaroon?: Resolver - tlsCertificate?: Resolver, ParentType, ContextType> -} - -export type LndConnectionDetailsPrivateResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['LndConnectionDetailsPrivate'] = ResolversParentTypes['LndConnectionDetailsPrivate'], -> = { - grpcPort?: Resolver - hostname?: Resolver - lndNodeType?: Resolver - macaroon?: Resolver - pubkey?: Resolver, ParentType, ContextType> - tlsCertificate?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type LndConnectionDetailsPublicResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['LndConnectionDetailsPublic'] = ResolversParentTypes['LndConnectionDetailsPublic'], -> = { - pubkey?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type LocationResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Location'] = ResolversParentTypes['Location'], -> = { - country?: Resolver, ParentType, ContextType> - region?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type MilestoneResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Milestone'] = ResolversParentTypes['Milestone'], -> = { - amount?: Resolver - description?: Resolver - id?: Resolver - name?: Resolver - reached?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type MutationResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Mutation'] = ResolversParentTypes['Mutation'], -> = { - _?: Resolver, ParentType, ContextType> - affiliateLinkCreate?: Resolver< - ResolversTypes['AffiliateLink'], - ParentType, - ContextType, - RequireFields - > - affiliateLinkDisable?: Resolver< - ResolversTypes['AffiliateLink'], - ParentType, - ContextType, - RequireFields - > - affiliateLinkLabelUpdate?: Resolver< - ResolversTypes['AffiliateLink'], - ParentType, - ContextType, - RequireFields - > - affiliatePaymentConfirm?: Resolver< - ResolversTypes['AffiliatePaymentConfirmResponse'], - ParentType, - ContextType, - RequireFields - > - affiliatePaymentRequestGenerate?: Resolver< - ResolversTypes['GenerateAffiliatePaymentRequestResponse'], - ParentType, - ContextType, - RequireFields - > - claimBadge?: Resolver< - ResolversTypes['UserBadge'], - ParentType, - ContextType, - RequireFields - > - createEntry?: Resolver< - ResolversTypes['Entry'], - ParentType, - ContextType, - RequireFields - > - createProject?: Resolver< - ResolversTypes['Project'], - ParentType, - ContextType, - RequireFields - > - creatorNotificationConfigurationValueUpdate?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields< - MutationCreatorNotificationConfigurationValueUpdateArgs, - 'creatorNotificationConfigurationId' | 'value' - > - > - deleteEntry?: Resolver> - fund?: Resolver< - ResolversTypes['FundingMutationResponse'], - ParentType, - ContextType, - RequireFields - > - fundingCancel?: Resolver< - ResolversTypes['FundingCancelResponse'], - ParentType, - ContextType, - RequireFields - > - fundingClaimAnonymous?: Resolver< - ResolversTypes['FundingMutationResponse'], - ParentType, - ContextType, - RequireFields - > - fundingConfirm?: Resolver< - ResolversTypes['FundingConfirmResponse'], - ParentType, - ContextType, - RequireFields - > - fundingCreateFromPodcastKeysend?: Resolver< - ResolversTypes['FundingTx'], - ParentType, - ContextType, - Partial - > - fundingInvoiceCancel?: Resolver< - ResolversTypes['FundinginvoiceCancel'], - ParentType, - ContextType, - RequireFields - > - fundingInvoiceRefresh?: Resolver< - ResolversTypes['FundingTx'], - ParentType, - ContextType, - RequireFields - > - fundingPend?: Resolver< - ResolversTypes['FundingPendingResponse'], - ParentType, - ContextType, - RequireFields - > - fundingTxEmailUpdate?: Resolver< - ResolversTypes['FundingTx'], - ParentType, - ContextType, - Partial - > - grantApply?: Resolver> - orderStatusUpdate?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - projectDelete?: Resolver< - ResolversTypes['ProjectDeleteResponse'], - ParentType, - ContextType, - RequireFields - > - projectFollow?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType, - RequireFields - > - projectGoalCreate?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectGoalDelete?: Resolver< - ResolversTypes['ProjectGoalDeleteResponse'], - ParentType, - ContextType, - RequireFields - > - projectGoalOrderingUpdate?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectGoalUpdate?: Resolver< - ResolversTypes['ProjectGoal'], - ParentType, - ContextType, - RequireFields - > - projectPublish?: Resolver< - ResolversTypes['Project'], - ParentType, - ContextType, - RequireFields - > - projectRewardCreate?: Resolver< - ResolversTypes['ProjectReward'], - ParentType, - ContextType, - RequireFields - > - projectRewardCurrencyUpdate?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectRewardDelete?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType, - RequireFields - > - projectRewardUpdate?: Resolver< - ResolversTypes['ProjectReward'], - ParentType, - ContextType, - RequireFields - > - projectStatusUpdate?: Resolver< - ResolversTypes['Project'], - ParentType, - ContextType, - RequireFields - > - projectTagAdd?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectTagRemove?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectUnfollow?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType, - RequireFields - > - publishEntry?: Resolver< - ResolversTypes['Entry'], - ParentType, - ContextType, - RequireFields - > - sendOTPByEmail?: Resolver< - ResolversTypes['OTPResponse'], - ParentType, - ContextType, - RequireFields - > - tagCreate?: Resolver> - unlinkExternalAccount?: Resolver< - ResolversTypes['User'], - ParentType, - ContextType, - RequireFields - > - updateEntry?: Resolver< - ResolversTypes['Entry'], - ParentType, - ContextType, - RequireFields - > - updateProject?: Resolver< - ResolversTypes['Project'], - ParentType, - ContextType, - RequireFields - > - updateUser?: Resolver> - updateWalletState?: Resolver< - ResolversTypes['Wallet'], - ParentType, - ContextType, - RequireFields - > - userBadgeAward?: Resolver< - ResolversTypes['UserBadge'], - ParentType, - ContextType, - RequireFields - > - userDelete?: Resolver - userEmailUpdate?: Resolver< - ResolversTypes['User'], - ParentType, - ContextType, - RequireFields - > - userEmailVerify?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType, - RequireFields - > - userNotificationConfigurationValueUpdate?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - walletCreate?: Resolver< - ResolversTypes['Wallet'], - ParentType, - ContextType, - RequireFields - > - walletDelete?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType, - RequireFields - > - walletUpdate?: Resolver< - ResolversTypes['Wallet'], - ParentType, - ContextType, - RequireFields - > -} - -export type MutationResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['MutationResponse'] = ResolversParentTypes['MutationResponse'], -> = { - __resolveType: TypeResolveFn< - 'DeleteUserResponse' | 'ProjectDeleteResponse' | 'ProjectGoalDeleteResponse', - ParentType, - ContextType - > - message?: Resolver, ParentType, ContextType> - success?: Resolver -} - -export type NostrKeysResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['NostrKeys'] = ResolversParentTypes['NostrKeys'], -> = { - privateKey?: Resolver, ParentType, ContextType> - publicKey?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type NostrPrivateKeyResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['NostrPrivateKey'] = ResolversParentTypes['NostrPrivateKey'], -> = { - hex?: Resolver - nsec?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type NostrPublicKeyResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['NostrPublicKey'] = ResolversParentTypes['NostrPublicKey'], -> = { - hex?: Resolver - npub?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type NotificationConfigurationResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['NotificationConfiguration'] = ResolversParentTypes['NotificationConfiguration'], -> = { - description?: Resolver, ParentType, ContextType> - id?: Resolver - name?: Resolver - options?: Resolver, ParentType, ContextType> - type?: Resolver, ParentType, ContextType> - value?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type NotificationSettingsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['NotificationSettings'] = ResolversParentTypes['NotificationSettings'], -> = { - channel?: Resolver, ParentType, ContextType> - configurations?: Resolver, ParentType, ContextType> - isEnabled?: Resolver - notificationType?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type OtpResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['OTPResponse'] = ResolversParentTypes['OTPResponse'], -> = { - expiresAt?: Resolver - otpVerificationToken?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type OrderResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Order'] = ResolversParentTypes['Order'], -> = { - confirmedAt?: Resolver, ParentType, ContextType> - createdAt?: Resolver - deliveredAt?: Resolver, ParentType, ContextType> - fundingTx?: Resolver - id?: Resolver - items?: Resolver, ParentType, ContextType> - referenceCode?: Resolver - shippedAt?: Resolver, ParentType, ContextType> - status?: Resolver - totalInSats?: Resolver - updatedAt?: Resolver - user?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type OrderItemResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['OrderItem'] = ResolversParentTypes['OrderItem'], -> = { - item?: Resolver - quantity?: Resolver - unitPriceInSats?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type OrdersGetResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['OrdersGetResponse'] = ResolversParentTypes['OrdersGetResponse'], -> = { - orders?: Resolver, ParentType, ContextType> - pagination?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type OrdersStatsBaseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['OrdersStatsBase'] = ResolversParentTypes['OrdersStatsBase'], -> = { - projectRewards?: Resolver - projectRewardsGroupedByProjectRewardId?: Resolver< - Array, - ParentType, - ContextType - > - __isTypeOf?: IsTypeOfResolverFn -} - -export type OwnerResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Owner'] = ResolversParentTypes['Owner'], -> = { - id?: Resolver - user?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type OwnerOfResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['OwnerOf'] = ResolversParentTypes['OwnerOf'], -> = { - owner?: Resolver, ParentType, ContextType> - project?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type PageViewCountGraphResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['PageViewCountGraph'] = ResolversParentTypes['PageViewCountGraph'], -> = { - dateTime?: Resolver - viewCount?: Resolver - visitorCount?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type PaginationCursorResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['PaginationCursor'] = ResolversParentTypes['PaginationCursor'], -> = { - id?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProfileNotificationSettingsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProfileNotificationSettings'] = ResolversParentTypes['ProfileNotificationSettings'], -> = { - creatorSettings?: Resolver, ParentType, ContextType> - userSettings?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Project'] = ResolversParentTypes['Project'], -> = { - ambassadors?: Resolver, ParentType, ContextType> - balance?: Resolver - balanceUsdCent?: Resolver - canDelete?: Resolver - createdAt?: Resolver - defaultGoalId?: Resolver, ParentType, ContextType> - description?: Resolver, ParentType, ContextType> - entries?: Resolver, ParentType, ContextType, Partial> - entriesCount?: Resolver, ParentType, ContextType> - followers?: Resolver, ParentType, ContextType> - followersCount?: Resolver, ParentType, ContextType> - funders?: Resolver, ParentType, ContextType> - fundersCount?: Resolver, ParentType, ContextType> - fundingTxs?: Resolver, ParentType, ContextType> - fundingTxsCount?: Resolver, ParentType, ContextType> - goalsCount?: Resolver, ParentType, ContextType> - grantApplications?: Resolver< - Array, - ParentType, - ContextType, - Partial - > - id?: Resolver - image?: Resolver, ParentType, ContextType> - keys?: Resolver - links?: Resolver, ParentType, ContextType> - location?: Resolver, ParentType, ContextType> - milestones?: Resolver, ParentType, ContextType> - name?: Resolver - owners?: Resolver, ParentType, ContextType> - rewardCurrency?: Resolver, ParentType, ContextType> - rewards?: Resolver, ParentType, ContextType> - rewardsCount?: Resolver, ParentType, ContextType> - shortDescription?: Resolver, ParentType, ContextType> - sponsors?: Resolver, ParentType, ContextType> - statistics?: Resolver, ParentType, ContextType> - status?: Resolver, ParentType, ContextType> - tags?: Resolver, ParentType, ContextType> - thumbnailImage?: Resolver, ParentType, ContextType> - title?: Resolver - type?: Resolver - updatedAt?: Resolver - wallets?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectActivatedSubscriptionResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectActivatedSubscriptionResponse'] = ResolversParentTypes['ProjectActivatedSubscriptionResponse'], -> = { - project?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectActivitiesCountResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectActivitiesCount'] = ResolversParentTypes['ProjectActivitiesCount'], -> = { - count?: Resolver - project?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectContributionsGroupedByMethodStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectContributionsGroupedByMethodStats'] = ResolversParentTypes['ProjectContributionsGroupedByMethodStats'], -> = { - count?: Resolver - method?: Resolver - total?: Resolver - totalUsd?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectContributionsStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectContributionsStats'] = ResolversParentTypes['ProjectContributionsStats'], -> = { - count?: Resolver - total?: Resolver - totalUsd?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectContributionsStatsBaseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectContributionsStatsBase'] = ResolversParentTypes['ProjectContributionsStatsBase'], -> = { - contributions?: Resolver - contributionsGroupedByMethod?: Resolver< - Array, - ParentType, - ContextType - > - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectCountriesGetResultResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectCountriesGetResult'] = ResolversParentTypes['ProjectCountriesGetResult'], -> = { - count?: Resolver - country?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectDeleteResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectDeleteResponse'] = ResolversParentTypes['ProjectDeleteResponse'], -> = { - message?: Resolver, ParentType, ContextType> - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectFollowerStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectFollowerStats'] = ResolversParentTypes['ProjectFollowerStats'], -> = { - count?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectFunderRewardStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectFunderRewardStats'] = ResolversParentTypes['ProjectFunderRewardStats'], -> = { - quantityGraph?: Resolver>>, ParentType, ContextType> - quantitySum?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectFunderStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectFunderStats'] = ResolversParentTypes['ProjectFunderStats'], -> = { - count?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectFundingTxStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectFundingTxStats'] = ResolversParentTypes['ProjectFundingTxStats'], -> = { - amountGraph?: Resolver>>, ParentType, ContextType> - amountSum?: Resolver, ParentType, ContextType> - amountSumUsd?: Resolver, ParentType, ContextType> - count?: Resolver - methodCount?: Resolver>>, ParentType, ContextType> - methodSum?: Resolver>>, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectGoalResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectGoal'] = ResolversParentTypes['ProjectGoal'], -> = { - amountContributed?: Resolver - completedAt?: Resolver, ParentType, ContextType> - createdAt?: Resolver - currency?: Resolver - description?: Resolver, ParentType, ContextType> - emojiUnifiedCode?: Resolver, ParentType, ContextType> - hasReceivedContribution?: Resolver - id?: Resolver - projectId?: Resolver - status?: Resolver - targetAmount?: Resolver - title?: Resolver - updatedAt?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectGoalDeleteResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectGoalDeleteResponse'] = ResolversParentTypes['ProjectGoalDeleteResponse'], -> = { - message?: Resolver, ParentType, ContextType> - success?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectGoalsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectGoals'] = ResolversParentTypes['ProjectGoals'], -> = { - completed?: Resolver, ParentType, ContextType> - inProgress?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectKeysResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectKeys'] = ResolversParentTypes['ProjectKeys'], -> = { - nostrKeys?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectLeaderboardContributorsRowResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectLeaderboardContributorsRow'] = ResolversParentTypes['ProjectLeaderboardContributorsRow'], -> = { - commentsCount?: Resolver - contributionsCount?: Resolver - contributionsTotal?: Resolver - contributionsTotalUsd?: Resolver - funderId?: Resolver - user?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectMostFundedResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectMostFunded'] = ResolversParentTypes['ProjectMostFunded'], -> = { - project?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectMostFundedByTagResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectMostFundedByTag'] = ResolversParentTypes['ProjectMostFundedByTag'], -> = { - projects?: Resolver, ParentType, ContextType> - tagId?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectRegionsGetResultResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectRegionsGetResult'] = ResolversParentTypes['ProjectRegionsGetResult'], -> = { - count?: Resolver - region?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectRewardResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectReward'] = ResolversParentTypes['ProjectReward'], -> = { - backersCount?: Resolver - category?: Resolver, ParentType, ContextType> - cost?: Resolver - createdAt?: Resolver - deleted?: Resolver - deletedAt?: Resolver, ParentType, ContextType> - description?: Resolver, ParentType, ContextType> - estimatedAvailabilityDate?: Resolver, ParentType, ContextType> - estimatedDeliveryDate?: Resolver, ParentType, ContextType> - estimatedDeliveryInWeeks?: Resolver, ParentType, ContextType> - hasShipping?: Resolver - id?: Resolver - image?: Resolver, ParentType, ContextType> - isAddon?: Resolver - isHidden?: Resolver - maxClaimable?: Resolver, ParentType, ContextType> - name?: Resolver - preOrder?: Resolver - project?: Resolver - rewardCurrency?: Resolver - rewardType?: Resolver, ParentType, ContextType> - sold?: Resolver - stock?: Resolver, ParentType, ContextType> - updatedAt?: Resolver - uuid?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectRewardTrendingWeeklyGetRowResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectRewardTrendingWeeklyGetRow'] = ResolversParentTypes['ProjectRewardTrendingWeeklyGetRow'], -> = { - count?: Resolver - projectReward?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectRewardsGroupedByRewardIdStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectRewardsGroupedByRewardIdStats'] = ResolversParentTypes['ProjectRewardsGroupedByRewardIdStats'], -> = { - count?: Resolver - projectReward?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectRewardsGroupedByRewardIdStatsProjectRewardResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectRewardsGroupedByRewardIdStatsProjectReward'] = ResolversParentTypes['ProjectRewardsGroupedByRewardIdStatsProjectReward'], -> = { - id?: Resolver - image?: Resolver, ParentType, ContextType> - name?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectRewardsStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectRewardsStats'] = ResolversParentTypes['ProjectRewardsStats'], -> = { - count?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectStatisticsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectStatistics'] = ResolversParentTypes['ProjectStatistics'], -> = { - totalPageviews?: Resolver - totalVisitors?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectStats'] = ResolversParentTypes['ProjectStats'], -> = { - current?: Resolver, ParentType, ContextType> - datetimeRange?: Resolver - prevTimeRange?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectStatsBaseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectStatsBase'] = ResolversParentTypes['ProjectStatsBase'], -> = { - projectContributionsStats?: Resolver, ParentType, ContextType> - projectFollowers?: Resolver, ParentType, ContextType> - projectFunderRewards?: Resolver, ParentType, ContextType> - projectFunders?: Resolver, ParentType, ContextType> - projectFundingTxs?: Resolver, ParentType, ContextType> - projectViews?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectViewBaseStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectViewBaseStats'] = ResolversParentTypes['ProjectViewBaseStats'], -> = { - value?: Resolver - viewCount?: Resolver - visitorCount?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectViewStatsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectViewStats'] = ResolversParentTypes['ProjectViewStats'], -> = { - countries?: Resolver, ParentType, ContextType> - referrers?: Resolver, ParentType, ContextType> - regions?: Resolver, ParentType, ContextType> - viewCount?: Resolver - visitorCount?: Resolver - visitorGraph?: Resolver>, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectsResponseResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectsResponse'] = ResolversParentTypes['ProjectsResponse'], -> = { - projects?: Resolver, ParentType, ContextType> - summary?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type ProjectsSummaryResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['ProjectsSummary'] = ResolversParentTypes['ProjectsSummary'], -> = { - fundedTotal?: Resolver, ParentType, ContextType> - fundersCount?: Resolver, ParentType, ContextType> - projectsCount?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type QueryResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query'], -> = { - _?: Resolver, ParentType, ContextType> - activitiesCountGroupedByProject?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - activitiesGet?: Resolver< - ResolversTypes['ActivitiesGetResponse'], - ParentType, - ContextType, - Partial - > - affiliateLinksGet?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - badges?: Resolver, ParentType, ContextType> - contributor?: Resolver< - ResolversTypes['Funder'], - ParentType, - ContextType, - RequireFields - > - currencyQuoteGet?: Resolver< - ResolversTypes['CurrencyQuoteGetResponse'], - ParentType, - ContextType, - RequireFields - > - entry?: Resolver, ParentType, ContextType, RequireFields> - fundersGet?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - fundingTx?: Resolver> - fundingTxInvoiceSanctionCheckStatusGet?: Resolver< - ResolversTypes['FundingTxInvoiceSanctionCheckStatusResponse'], - ParentType, - ContextType, - RequireFields - > - fundingTxsGet?: Resolver< - Maybe, - ParentType, - ContextType, - Partial - > - getDashboardFunders?: Resolver< - Array, - ParentType, - ContextType, - Partial - > - getEntries?: Resolver, ParentType, ContextType, Partial> - getProjectPubkey?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - getProjectReward?: Resolver< - ResolversTypes['ProjectReward'], - ParentType, - ContextType, - RequireFields - > - getSignedUploadUrl?: Resolver< - ResolversTypes['SignedUploadUrl'], - ParentType, - ContextType, - RequireFields - > - getWallet?: Resolver> - grant?: Resolver> - grantStatistics?: Resolver - grants?: Resolver, ParentType, ContextType> - leaderboardGlobalContributorsGet?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - leaderboardGlobalProjectsGet?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - lightningAddressVerify?: Resolver< - ResolversTypes['LightningAddressVerifyResponse'], - ParentType, - ContextType, - Partial - > - me?: Resolver, ParentType, ContextType> - orderGet?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - ordersGet?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - ordersStatsGet?: Resolver< - ResolversTypes['OrdersStatsBase'], - ParentType, - ContextType, - RequireFields - > - projectCountriesGet?: Resolver, ParentType, ContextType> - projectGet?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - projectGoals?: Resolver< - ResolversTypes['ProjectGoals'], - ParentType, - ContextType, - RequireFields - > - projectLeaderboardContributorsGet?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectNotificationSettingsGet?: Resolver< - ResolversTypes['CreatorNotificationSettings'], - ParentType, - ContextType, - RequireFields - > - projectRegionsGet?: Resolver, ParentType, ContextType> - projectRewardCategoriesGet?: Resolver, ParentType, ContextType> - projectRewardsGet?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectRewardsTrendingWeeklyGet?: Resolver< - Array, - ParentType, - ContextType - > - projectStatsGet?: Resolver< - ResolversTypes['ProjectStats'], - ParentType, - ContextType, - RequireFields - > - projectsGet?: Resolver> - projectsMostFundedByTag?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - projectsSummary?: Resolver - statusCheck?: Resolver - tagsGet?: Resolver, ParentType, ContextType> - tagsMostFundedGet?: Resolver, ParentType, ContextType> - user?: Resolver> - userBadge?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - userBadges?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - userNotificationSettingsGet?: Resolver< - ResolversTypes['ProfileNotificationSettings'], - ParentType, - ContextType, - RequireFields - > -} - -export type SignedUploadUrlResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['SignedUploadUrl'] = ResolversParentTypes['SignedUploadUrl'], -> = { - distributionUrl?: Resolver - uploadUrl?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type SourceResourceResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['SourceResource'] = ResolversParentTypes['SourceResource'], -> = { - __resolveType: TypeResolveFn<'Entry' | 'Project', ParentType, ContextType> -} - -export type SponsorResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Sponsor'] = ResolversParentTypes['Sponsor'], -> = { - createdAt?: Resolver - id?: Resolver - image?: Resolver, ParentType, ContextType> - name?: Resolver - status?: Resolver - url?: Resolver, ParentType, ContextType> - user?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type StatsInterfaceResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['StatsInterface'] = ResolversParentTypes['StatsInterface'], -> = { - __resolveType: TypeResolveFn< - 'ProjectContributionsGroupedByMethodStats' | 'ProjectContributionsStats', - ParentType, - ContextType - > - count?: Resolver - total?: Resolver - totalUsd?: Resolver -} - -export type SubscriptionResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription'], -> = { - _?: SubscriptionResolver, '_', ParentType, ContextType> - activityCreated?: SubscriptionResolver< - ResolversTypes['Activity'], - 'activityCreated', - ParentType, - ContextType, - Partial - > - entryPublished?: SubscriptionResolver< - ResolversTypes['EntryPublishedSubscriptionResponse'], - 'entryPublished', - ParentType, - ContextType - > - fundingTxStatusUpdated?: SubscriptionResolver< - ResolversTypes['FundingTxStatusUpdatedSubscriptionResponse'], - 'fundingTxStatusUpdated', - ParentType, - ContextType, - Partial - > - projectActivated?: SubscriptionResolver< - ResolversTypes['ProjectActivatedSubscriptionResponse'], - 'projectActivated', - ParentType, - ContextType - > -} - -export type SwapResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Swap'] = ResolversParentTypes['Swap'], -> = { - json?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type TagResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Tag'] = ResolversParentTypes['Tag'], -> = { - id?: Resolver - label?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type TagsGetResultResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['TagsGetResult'] = ResolversParentTypes['TagsGetResult'], -> = { - count?: Resolver - id?: Resolver - label?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type TagsMostFundedGetResultResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['TagsMostFundedGetResult'] = ResolversParentTypes['TagsMostFundedGetResult'], -> = { - id?: Resolver - label?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type UserResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['User'] = ResolversParentTypes['User'], -> = { - badges?: Resolver, ParentType, ContextType> - bio?: Resolver, ParentType, ContextType> - contributions?: Resolver, ParentType, ContextType> - email?: Resolver, ParentType, ContextType> - emailVerifiedAt?: Resolver, ParentType, ContextType> - entries?: Resolver, ParentType, ContextType, Partial> - externalAccounts?: Resolver, ParentType, ContextType> - fundingTxs?: Resolver, ParentType, ContextType> - hasSocialAccount?: Resolver - id?: Resolver - imageUrl?: Resolver, ParentType, ContextType> - isEmailVerified?: Resolver - orders?: Resolver>, ParentType, ContextType> - ownerOf?: Resolver, ParentType, ContextType> - projectFollows?: Resolver, ParentType, ContextType> - projects?: Resolver, ParentType, ContextType, Partial> - ranking?: Resolver, ParentType, ContextType> - username?: Resolver - wallet?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type UserBadgeResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['UserBadge'] = ResolversParentTypes['UserBadge'], -> = { - badge?: Resolver - badgeAwardEventId?: Resolver, ParentType, ContextType> - createdAt?: Resolver - fundingTxId?: Resolver, ParentType, ContextType> - id?: Resolver - status?: Resolver, ParentType, ContextType> - updatedAt?: Resolver - userId?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type UserNotificationSettingsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['UserNotificationSettings'] = ResolversParentTypes['UserNotificationSettings'], -> = { - notificationSettings?: Resolver, ParentType, ContextType> - userId?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type UserProjectContributionResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['UserProjectContribution'] = ResolversParentTypes['UserProjectContribution'], -> = { - funder?: Resolver, ParentType, ContextType> - isAmbassador?: Resolver - isFunder?: Resolver - isSponsor?: Resolver - project?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type WalletResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['Wallet'] = ResolversParentTypes['Wallet'], -> = { - connectionDetails?: Resolver - feePercentage?: Resolver, ParentType, ContextType> - id?: Resolver - limits?: Resolver, ParentType, ContextType> - name?: Resolver, ParentType, ContextType> - state?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} - -export type WalletContributionLimitsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['WalletContributionLimits'] = ResolversParentTypes['WalletContributionLimits'], -> = { - max?: Resolver, ParentType, ContextType> - min?: Resolver, ParentType, ContextType> - offChain?: Resolver, ParentType, ContextType> - onChain?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type WalletLimitsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['WalletLimits'] = ResolversParentTypes['WalletLimits'], -> = { - contribution?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type WalletOffChainContributionLimitsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['WalletOffChainContributionLimits'] = ResolversParentTypes['WalletOffChainContributionLimits'], -> = { - max?: Resolver, ParentType, ContextType> - min?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type WalletOnChainContributionLimitsResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['WalletOnChainContributionLimits'] = ResolversParentTypes['WalletOnChainContributionLimits'], -> = { - max?: Resolver, ParentType, ContextType> - min?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -} - -export type WalletStateResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['WalletState'] = ResolversParentTypes['WalletState'], -> = { - status?: Resolver - statusCode?: Resolver - __isTypeOf?: IsTypeOfResolverFn -} + name: 'Date'; +} + +export type DatetimeRangeResolvers = { + endDateTime?: Resolver, ParentType, ContextType>; + startDateTime?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type DeleteUserResponseResolvers = { + message?: Resolver, ParentType, ContextType>; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type EntryResolvers = { + amountFunded?: Resolver; + content?: Resolver, ParentType, ContextType>; + createdAt?: Resolver; + creator?: Resolver; + description?: Resolver; + fundersCount?: Resolver; + fundingTxs?: Resolver, ParentType, ContextType>; + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + project?: Resolver, ParentType, ContextType>; + publishedAt?: Resolver, ParentType, ContextType>; + status?: Resolver; + title?: Resolver; + type?: Resolver; + updatedAt?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type EntryPublishedSubscriptionResponseResolvers = { + entry?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ExternalAccountResolvers = { + accountType?: Resolver; + externalId?: Resolver; + externalUsername?: Resolver; + id?: Resolver; + public?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FunderResolvers = { + amountFunded?: Resolver, ParentType, ContextType>; + confirmed?: Resolver; + confirmedAt?: Resolver, ParentType, ContextType>; + fundingTxs?: Resolver, ParentType, ContextType, Partial>; + id?: Resolver; + orders?: Resolver, ParentType, ContextType>; + rank?: Resolver, ParentType, ContextType>; + timesFunded?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FunderRewardGraphSumResolvers = { + dateTime?: Resolver; + rewardId?: Resolver; + rewardName?: Resolver; + sum?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingCancelResponseResolvers = { + id?: Resolver; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingConfirmResponseResolvers = { + id?: Resolver; + missedSettleEvents?: Resolver, ParentType, ContextType>; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingMutationResponseResolvers = { + fundingTx?: Resolver, ParentType, ContextType>; + swap?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingPendingResponseResolvers = { + id?: Resolver; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingQueryResponseResolvers = { + fundingTx?: Resolver, ParentType, ContextType>; + message?: Resolver; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingTxResolvers = { + address?: Resolver, ParentType, ContextType>; + affiliateFeeInSats?: Resolver, ParentType, ContextType>; + amount?: Resolver; + amountPaid?: Resolver; + bitcoinQuote?: Resolver, ParentType, ContextType>; + comment?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + creatorEmail?: Resolver, ParentType, ContextType>; + donationAmount?: Resolver; + email?: Resolver, ParentType, ContextType>; + funder?: Resolver; + fundingType?: Resolver; + id?: Resolver; + invoiceId?: Resolver, ParentType, ContextType>; + invoiceStatus?: Resolver; + isAnonymous?: Resolver; + media?: Resolver, ParentType, ContextType>; + method?: Resolver, ParentType, ContextType>; + onChain?: Resolver; + onChainTxId?: Resolver, ParentType, ContextType>; + order?: Resolver, ParentType, ContextType>; + paidAt?: Resolver, ParentType, ContextType>; + paymentRequest?: Resolver, ParentType, ContextType>; + projectGoalId?: Resolver, ParentType, ContextType>; + projectId?: Resolver; + source?: Resolver; + sourceResource?: Resolver, ParentType, ContextType>; + status?: Resolver; + uuid?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingTxAmountGraphResolvers = { + dateTime?: Resolver; + sum?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingTxInvoiceSanctionCheckStatusResponseResolvers = { + status?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingTxMethodCountResolvers = { + count?: Resolver; + method?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingTxMethodSumResolvers = { + method?: Resolver, ParentType, ContextType>; + sum?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingTxStatusUpdatedSubscriptionResponseResolvers = { + fundingTx?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundingTxsGetResponseResolvers = { + fundingTxs?: Resolver, ParentType, ContextType>; + pagination?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type FundinginvoiceCancelResolvers = { + id?: Resolver; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GenerateAffiliatePaymentRequestResponseResolvers = { + affiliatePaymentId?: Resolver; + paymentRequest?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GlobalContributorLeaderboardRowResolvers = { + contributionsCount?: Resolver; + contributionsTotal?: Resolver; + contributionsTotalUsd?: Resolver; + projectsContributedCount?: Resolver; + userId?: Resolver; + userImageUrl?: Resolver, ParentType, ContextType>; + username?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GlobalProjectLeaderboardRowResolvers = { + contributionsCount?: Resolver; + contributionsTotal?: Resolver; + contributionsTotalUsd?: Resolver; + contributorsCount?: Resolver; + projectName?: Resolver; + projectThumbnailUrl?: Resolver, ParentType, ContextType>; + projectTitle?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantResolvers = { + __resolveType: TypeResolveFn<'BoardVoteGrant' | 'CommunityVoteGrant', ParentType, ContextType>; +}; + +export type GrantApplicantResolvers = { + contributors?: Resolver, ParentType, ContextType, Partial>; + contributorsCount?: Resolver; + funding?: Resolver; + grant?: Resolver; + id?: Resolver; + project?: Resolver; + status?: Resolver; + voteCount?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantApplicantContributorResolvers = { + amount?: Resolver; + timesContributed?: Resolver; + user?: Resolver, ParentType, ContextType>; + voteCount?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantApplicantFundingResolvers = { + communityFunding?: Resolver; + grantAmount?: Resolver; + grantAmountDistributed?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantBoardMemberResolvers = { + user?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantStatisticsResolvers = { + applicants?: Resolver, ParentType, ContextType>; + grants?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantStatisticsApplicantResolvers = { + countFunded?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantStatisticsGrantResolvers = { + amountFunded?: Resolver; + amountGranted?: Resolver; + count?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GrantStatusResolvers = { + endAt?: Resolver, ParentType, ContextType>; + startAt?: Resolver; + status?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GraphSumDataResolvers = { + __resolveType: TypeResolveFn<'FunderRewardGraphSum' | 'FundingTxAmountGraph', ParentType, ContextType>; + dateTime?: Resolver; + sum?: Resolver; +}; + +export type LightningAddressConnectionDetailsResolvers = { + lightningAddress?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LightningAddressContributionLimitsResolvers = { + max?: Resolver, ParentType, ContextType>; + min?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LightningAddressVerifyResponseResolvers = { + limits?: Resolver, ParentType, ContextType>; + reason?: Resolver, ParentType, ContextType>; + valid?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LndConnectionDetailsResolvers = { + __resolveType: TypeResolveFn; + grpcPort?: Resolver; + hostname?: Resolver; + lndNodeType?: Resolver; + macaroon?: Resolver; + tlsCertificate?: Resolver, ParentType, ContextType>; +}; + +export type LndConnectionDetailsPrivateResolvers = { + grpcPort?: Resolver; + hostname?: Resolver; + lndNodeType?: Resolver; + macaroon?: Resolver; + pubkey?: Resolver, ParentType, ContextType>; + tlsCertificate?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LndConnectionDetailsPublicResolvers = { + pubkey?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LocationResolvers = { + country?: Resolver, ParentType, ContextType>; + region?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MilestoneResolvers = { + amount?: Resolver; + description?: Resolver; + id?: Resolver; + name?: Resolver; + reached?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MutationResolvers = { + _?: Resolver, ParentType, ContextType>; + affiliateLinkCreate?: Resolver>; + affiliateLinkDisable?: Resolver>; + affiliateLinkLabelUpdate?: Resolver>; + affiliatePaymentConfirm?: Resolver>; + affiliatePaymentRequestGenerate?: Resolver>; + claimBadge?: Resolver>; + createEntry?: Resolver>; + createProject?: Resolver>; + creatorNotificationConfigurationValueUpdate?: Resolver, ParentType, ContextType, RequireFields>; + deleteEntry?: Resolver>; + fund?: Resolver>; + fundingCancel?: Resolver>; + fundingClaimAnonymous?: Resolver>; + fundingConfirm?: Resolver>; + fundingCreateFromPodcastKeysend?: Resolver>; + fundingInvoiceCancel?: Resolver>; + fundingInvoiceRefresh?: Resolver>; + fundingPend?: Resolver>; + fundingTxEmailUpdate?: Resolver>; + grantApply?: Resolver>; + orderStatusUpdate?: Resolver, ParentType, ContextType, RequireFields>; + projectDelete?: Resolver>; + projectFollow?: Resolver>; + projectGoalCreate?: Resolver, ParentType, ContextType, RequireFields>; + projectGoalDelete?: Resolver>; + projectGoalOrderingUpdate?: Resolver, ParentType, ContextType, RequireFields>; + projectGoalUpdate?: Resolver>; + projectPublish?: Resolver>; + projectRewardCreate?: Resolver>; + projectRewardCurrencyUpdate?: Resolver, ParentType, ContextType, RequireFields>; + projectRewardDelete?: Resolver>; + projectRewardUpdate?: Resolver>; + projectStatusUpdate?: Resolver>; + projectTagAdd?: Resolver, ParentType, ContextType, RequireFields>; + projectTagRemove?: Resolver, ParentType, ContextType, RequireFields>; + projectUnfollow?: Resolver>; + publishEntry?: Resolver>; + sendOTPByEmail?: Resolver>; + tagCreate?: Resolver>; + unlinkExternalAccount?: Resolver>; + updateEntry?: Resolver>; + updateProject?: Resolver>; + updateUser?: Resolver>; + updateWalletState?: Resolver>; + userBadgeAward?: Resolver>; + userDelete?: Resolver; + userEmailUpdate?: Resolver>; + userEmailVerify?: Resolver>; + userNotificationConfigurationValueUpdate?: Resolver, ParentType, ContextType, RequireFields>; + walletCreate?: Resolver>; + walletDelete?: Resolver>; + walletUpdate?: Resolver>; +}; + +export type MutationResponseResolvers = { + __resolveType: TypeResolveFn<'DeleteUserResponse' | 'ProjectDeleteResponse' | 'ProjectGoalDeleteResponse', ParentType, ContextType>; + message?: Resolver, ParentType, ContextType>; + success?: Resolver; +}; + +export type NostrKeysResolvers = { + privateKey?: Resolver, ParentType, ContextType>; + publicKey?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type NostrPrivateKeyResolvers = { + hex?: Resolver; + nsec?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type NostrPublicKeyResolvers = { + hex?: Resolver; + npub?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type NotificationConfigurationResolvers = { + description?: Resolver, ParentType, ContextType>; + id?: Resolver; + name?: Resolver; + options?: Resolver, ParentType, ContextType>; + type?: Resolver, ParentType, ContextType>; + value?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type NotificationSettingsResolvers = { + channel?: Resolver, ParentType, ContextType>; + configurations?: Resolver, ParentType, ContextType>; + isEnabled?: Resolver; + notificationType?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OtpResponseResolvers = { + expiresAt?: Resolver; + otpVerificationToken?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OrderResolvers = { + confirmedAt?: Resolver, ParentType, ContextType>; + createdAt?: Resolver; + deliveredAt?: Resolver, ParentType, ContextType>; + fundingTx?: Resolver; + id?: Resolver; + items?: Resolver, ParentType, ContextType>; + referenceCode?: Resolver; + shippedAt?: Resolver, ParentType, ContextType>; + status?: Resolver; + totalInSats?: Resolver; + updatedAt?: Resolver; + user?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OrderItemResolvers = { + item?: Resolver; + quantity?: Resolver; + unitPriceInSats?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OrdersGetResponseResolvers = { + orders?: Resolver, ParentType, ContextType>; + pagination?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OrdersStatsBaseResolvers = { + projectRewards?: Resolver; + projectRewardsGroupedByProjectRewardId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OwnerResolvers = { + id?: Resolver; + user?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OwnerOfResolvers = { + owner?: Resolver, ParentType, ContextType>; + project?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PageViewCountGraphResolvers = { + dateTime?: Resolver; + viewCount?: Resolver; + visitorCount?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PaginationCursorResolvers = { + id?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProfileNotificationSettingsResolvers = { + creatorSettings?: Resolver, ParentType, ContextType>; + userSettings?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectResolvers = { + ambassadors?: Resolver, ParentType, ContextType>; + balance?: Resolver; + balanceUsdCent?: Resolver; + canDelete?: Resolver; + createdAt?: Resolver; + defaultGoalId?: Resolver, ParentType, ContextType>; + description?: Resolver, ParentType, ContextType>; + entries?: Resolver, ParentType, ContextType, Partial>; + entriesCount?: Resolver, ParentType, ContextType>; + followers?: Resolver, ParentType, ContextType>; + followersCount?: Resolver, ParentType, ContextType>; + funders?: Resolver, ParentType, ContextType>; + fundersCount?: Resolver, ParentType, ContextType>; + fundingTxs?: Resolver, ParentType, ContextType>; + fundingTxsCount?: Resolver, ParentType, ContextType>; + goalsCount?: Resolver, ParentType, ContextType>; + grantApplications?: Resolver, ParentType, ContextType, Partial>; + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + keys?: Resolver; + links?: Resolver, ParentType, ContextType>; + location?: Resolver, ParentType, ContextType>; + milestones?: Resolver, ParentType, ContextType>; + name?: Resolver; + owners?: Resolver, ParentType, ContextType>; + rewardCurrency?: Resolver, ParentType, ContextType>; + rewards?: Resolver, ParentType, ContextType>; + rewardsCount?: Resolver, ParentType, ContextType>; + shortDescription?: Resolver, ParentType, ContextType>; + sponsors?: Resolver, ParentType, ContextType>; + statistics?: Resolver, ParentType, ContextType>; + status?: Resolver, ParentType, ContextType>; + tags?: Resolver, ParentType, ContextType>; + thumbnailImage?: Resolver, ParentType, ContextType>; + title?: Resolver; + type?: Resolver; + updatedAt?: Resolver; + wallets?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectActivatedSubscriptionResponseResolvers = { + project?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectActivitiesCountResolvers = { + count?: Resolver; + project?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectContributionsGroupedByMethodStatsResolvers = { + count?: Resolver; + method?: Resolver; + total?: Resolver; + totalUsd?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectContributionsStatsResolvers = { + count?: Resolver; + total?: Resolver; + totalUsd?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectContributionsStatsBaseResolvers = { + contributions?: Resolver; + contributionsGroupedByMethod?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectCountriesGetResultResolvers = { + count?: Resolver; + country?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectDeleteResponseResolvers = { + message?: Resolver, ParentType, ContextType>; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectFollowerStatsResolvers = { + count?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectFunderRewardStatsResolvers = { + quantityGraph?: Resolver>>, ParentType, ContextType>; + quantitySum?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectFunderStatsResolvers = { + count?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectFundingTxStatsResolvers = { + amountGraph?: Resolver>>, ParentType, ContextType>; + amountSum?: Resolver, ParentType, ContextType>; + amountSumUsd?: Resolver, ParentType, ContextType>; + count?: Resolver; + methodCount?: Resolver>>, ParentType, ContextType>; + methodSum?: Resolver>>, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectGoalResolvers = { + amountContributed?: Resolver; + completedAt?: Resolver, ParentType, ContextType>; + createdAt?: Resolver; + currency?: Resolver; + description?: Resolver, ParentType, ContextType>; + emojiUnifiedCode?: Resolver, ParentType, ContextType>; + hasReceivedContribution?: Resolver; + id?: Resolver; + projectId?: Resolver; + status?: Resolver; + targetAmount?: Resolver; + title?: Resolver; + updatedAt?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectGoalDeleteResponseResolvers = { + message?: Resolver, ParentType, ContextType>; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectGoalsResolvers = { + completed?: Resolver, ParentType, ContextType>; + inProgress?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectKeysResolvers = { + nostrKeys?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectLeaderboardContributorsRowResolvers = { + commentsCount?: Resolver; + contributionsCount?: Resolver; + contributionsTotal?: Resolver; + contributionsTotalUsd?: Resolver; + funderId?: Resolver; + user?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectMostFundedResolvers = { + project?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectMostFundedByTagResolvers = { + projects?: Resolver, ParentType, ContextType>; + tagId?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectRegionsGetResultResolvers = { + count?: Resolver; + region?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectRewardResolvers = { + backersCount?: Resolver; + category?: Resolver, ParentType, ContextType>; + cost?: Resolver; + createdAt?: Resolver; + deleted?: Resolver; + deletedAt?: Resolver, ParentType, ContextType>; + description?: Resolver, ParentType, ContextType>; + estimatedAvailabilityDate?: Resolver, ParentType, ContextType>; + estimatedDeliveryDate?: Resolver, ParentType, ContextType>; + estimatedDeliveryInWeeks?: Resolver, ParentType, ContextType>; + hasShipping?: Resolver; + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + isAddon?: Resolver; + isHidden?: Resolver; + maxClaimable?: Resolver, ParentType, ContextType>; + name?: Resolver; + preOrder?: Resolver; + project?: Resolver; + rewardCurrency?: Resolver; + rewardType?: Resolver, ParentType, ContextType>; + sold?: Resolver; + stock?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver; + uuid?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectRewardTrendingWeeklyGetRowResolvers = { + count?: Resolver; + projectReward?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectRewardsGroupedByRewardIdStatsResolvers = { + count?: Resolver; + projectReward?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectRewardsGroupedByRewardIdStatsProjectRewardResolvers = { + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + name?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectRewardsStatsResolvers = { + count?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectStatisticsResolvers = { + totalPageviews?: Resolver; + totalVisitors?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectStatsResolvers = { + current?: Resolver, ParentType, ContextType>; + datetimeRange?: Resolver; + prevTimeRange?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectStatsBaseResolvers = { + projectContributionsStats?: Resolver, ParentType, ContextType>; + projectFollowers?: Resolver, ParentType, ContextType>; + projectFunderRewards?: Resolver, ParentType, ContextType>; + projectFunders?: Resolver, ParentType, ContextType>; + projectFundingTxs?: Resolver, ParentType, ContextType>; + projectViews?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectViewBaseStatsResolvers = { + value?: Resolver; + viewCount?: Resolver; + visitorCount?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectViewStatsResolvers = { + countries?: Resolver, ParentType, ContextType>; + referrers?: Resolver, ParentType, ContextType>; + regions?: Resolver, ParentType, ContextType>; + viewCount?: Resolver; + visitorCount?: Resolver; + visitorGraph?: Resolver>, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectsResponseResolvers = { + projects?: Resolver, ParentType, ContextType>; + summary?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ProjectsSummaryResolvers = { + fundedTotal?: Resolver, ParentType, ContextType>; + fundersCount?: Resolver, ParentType, ContextType>; + projectsCount?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type QueryResolvers = { + _?: Resolver, ParentType, ContextType>; + activitiesCountGroupedByProject?: Resolver, ParentType, ContextType, RequireFields>; + activitiesGet?: Resolver>; + affiliateLinksGet?: Resolver, ParentType, ContextType, RequireFields>; + badges?: Resolver, ParentType, ContextType>; + contributor?: Resolver>; + currencyQuoteGet?: Resolver>; + entry?: Resolver, ParentType, ContextType, RequireFields>; + fundersGet?: Resolver, ParentType, ContextType, RequireFields>; + fundingTx?: Resolver>; + fundingTxInvoiceSanctionCheckStatusGet?: Resolver>; + fundingTxsGet?: Resolver, ParentType, ContextType, Partial>; + getDashboardFunders?: Resolver, ParentType, ContextType, Partial>; + getEntries?: Resolver, ParentType, ContextType, Partial>; + getProjectPubkey?: Resolver, ParentType, ContextType, RequireFields>; + getProjectReward?: Resolver>; + getSignedUploadUrl?: Resolver>; + getWallet?: Resolver>; + grant?: Resolver>; + grantStatistics?: Resolver; + grants?: Resolver, ParentType, ContextType>; + leaderboardGlobalContributorsGet?: Resolver, ParentType, ContextType, RequireFields>; + leaderboardGlobalProjectsGet?: Resolver, ParentType, ContextType, RequireFields>; + lightningAddressVerify?: Resolver>; + me?: Resolver, ParentType, ContextType>; + orderGet?: Resolver, ParentType, ContextType, RequireFields>; + ordersGet?: Resolver, ParentType, ContextType, RequireFields>; + ordersStatsGet?: Resolver>; + projectCountriesGet?: Resolver, ParentType, ContextType>; + projectGet?: Resolver, ParentType, ContextType, RequireFields>; + projectGoals?: Resolver>; + projectLeaderboardContributorsGet?: Resolver, ParentType, ContextType, RequireFields>; + projectNotificationSettingsGet?: Resolver>; + projectRegionsGet?: Resolver, ParentType, ContextType>; + projectRewardCategoriesGet?: Resolver, ParentType, ContextType>; + projectRewardsGet?: Resolver, ParentType, ContextType, RequireFields>; + projectRewardsTrendingWeeklyGet?: Resolver, ParentType, ContextType>; + projectStatsGet?: Resolver>; + projectsGet?: Resolver>; + projectsMostFundedByTag?: Resolver, ParentType, ContextType, RequireFields>; + projectsSummary?: Resolver; + statusCheck?: Resolver; + tagsGet?: Resolver, ParentType, ContextType>; + tagsMostFundedGet?: Resolver, ParentType, ContextType>; + user?: Resolver>; + userBadge?: Resolver, ParentType, ContextType, RequireFields>; + userBadges?: Resolver, ParentType, ContextType, RequireFields>; + userNotificationSettingsGet?: Resolver>; +}; + +export type SignedUploadUrlResolvers = { + distributionUrl?: Resolver; + uploadUrl?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type SourceResourceResolvers = { + __resolveType: TypeResolveFn<'Entry' | 'Project', ParentType, ContextType>; +}; + +export type SponsorResolvers = { + createdAt?: Resolver; + id?: Resolver; + image?: Resolver, ParentType, ContextType>; + name?: Resolver; + status?: Resolver; + url?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type StatsInterfaceResolvers = { + __resolveType: TypeResolveFn<'ProjectContributionsGroupedByMethodStats' | 'ProjectContributionsStats', ParentType, ContextType>; + count?: Resolver; + total?: Resolver; + totalUsd?: Resolver; +}; + +export type SubscriptionResolvers = { + _?: SubscriptionResolver, "_", ParentType, ContextType>; + activityCreated?: SubscriptionResolver>; + entryPublished?: SubscriptionResolver; + fundingTxStatusUpdated?: SubscriptionResolver>; + projectActivated?: SubscriptionResolver; +}; + +export type SwapResolvers = { + json?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type TagResolvers = { + id?: Resolver; + label?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type TagsGetResultResolvers = { + count?: Resolver; + id?: Resolver; + label?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type TagsMostFundedGetResultResolvers = { + id?: Resolver; + label?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserResolvers = { + badges?: Resolver, ParentType, ContextType>; + bio?: Resolver, ParentType, ContextType>; + contributions?: Resolver, ParentType, ContextType>; + email?: Resolver, ParentType, ContextType>; + emailVerifiedAt?: Resolver, ParentType, ContextType>; + entries?: Resolver, ParentType, ContextType, Partial>; + externalAccounts?: Resolver, ParentType, ContextType>; + fundingTxs?: Resolver, ParentType, ContextType>; + hasSocialAccount?: Resolver; + id?: Resolver; + imageUrl?: Resolver, ParentType, ContextType>; + isEmailVerified?: Resolver; + orders?: Resolver>, ParentType, ContextType>; + ownerOf?: Resolver, ParentType, ContextType>; + projectFollows?: Resolver, ParentType, ContextType>; + projects?: Resolver, ParentType, ContextType, Partial>; + ranking?: Resolver, ParentType, ContextType>; + username?: Resolver; + wallet?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserBadgeResolvers = { + badge?: Resolver; + badgeAwardEventId?: Resolver, ParentType, ContextType>; + createdAt?: Resolver; + fundingTxId?: Resolver, ParentType, ContextType>; + id?: Resolver; + status?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver; + userId?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserNotificationSettingsResolvers = { + notificationSettings?: Resolver, ParentType, ContextType>; + userId?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserProjectContributionResolvers = { + funder?: Resolver, ParentType, ContextType>; + isAmbassador?: Resolver; + isFunder?: Resolver; + isSponsor?: Resolver; + project?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WalletResolvers = { + connectionDetails?: Resolver; + feePercentage?: Resolver, ParentType, ContextType>; + id?: Resolver; + limits?: Resolver, ParentType, ContextType>; + name?: Resolver, ParentType, ContextType>; + state?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WalletContributionLimitsResolvers = { + max?: Resolver, ParentType, ContextType>; + min?: Resolver, ParentType, ContextType>; + offChain?: Resolver, ParentType, ContextType>; + onChain?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WalletLimitsResolvers = { + contribution?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WalletOffChainContributionLimitsResolvers = { + max?: Resolver, ParentType, ContextType>; + min?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WalletOnChainContributionLimitsResolvers = { + max?: Resolver, ParentType, ContextType>; + min?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WalletStateResolvers = { + status?: Resolver; + statusCode?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; export type Resolvers = { - ActivitiesGetResponse?: ActivitiesGetResponseResolvers - Activity?: ActivityResolvers - ActivityResource?: ActivityResourceResolvers - AffiliateLink?: AffiliateLinkResolvers - AffiliatePaymentConfirmResponse?: AffiliatePaymentConfirmResponseResolvers - AffiliatePayoutsStats?: AffiliatePayoutsStatsResolvers - AffiliateSalesStats?: AffiliateSalesStatsResolvers - AffiliateStats?: AffiliateStatsResolvers - Ambassador?: AmbassadorResolvers - AmountSummary?: AmountSummaryResolvers - Badge?: BadgeResolvers - BigInt?: GraphQLScalarType - BitcoinQuote?: BitcoinQuoteResolvers - BoardVoteGrant?: BoardVoteGrantResolvers - CommunityVoteGrant?: CommunityVoteGrantResolvers - CompetitionVoteGrantVoteSummary?: CompetitionVoteGrantVoteSummaryResolvers - ConnectionDetails?: ConnectionDetailsResolvers - Country?: CountryResolvers - CreatorNotificationSettings?: CreatorNotificationSettingsResolvers - CreatorNotificationSettingsProject?: CreatorNotificationSettingsProjectResolvers - CurrencyQuoteGetResponse?: CurrencyQuoteGetResponseResolvers - CursorPaginationResponse?: CursorPaginationResponseResolvers - Date?: GraphQLScalarType - DatetimeRange?: DatetimeRangeResolvers - DeleteUserResponse?: DeleteUserResponseResolvers - Entry?: EntryResolvers - EntryPublishedSubscriptionResponse?: EntryPublishedSubscriptionResponseResolvers - ExternalAccount?: ExternalAccountResolvers - Funder?: FunderResolvers - FunderRewardGraphSum?: FunderRewardGraphSumResolvers - FundingCancelResponse?: FundingCancelResponseResolvers - FundingConfirmResponse?: FundingConfirmResponseResolvers - FundingMutationResponse?: FundingMutationResponseResolvers - FundingPendingResponse?: FundingPendingResponseResolvers - FundingQueryResponse?: FundingQueryResponseResolvers - FundingTx?: FundingTxResolvers - FundingTxAmountGraph?: FundingTxAmountGraphResolvers - FundingTxInvoiceSanctionCheckStatusResponse?: FundingTxInvoiceSanctionCheckStatusResponseResolvers - FundingTxMethodCount?: FundingTxMethodCountResolvers - FundingTxMethodSum?: FundingTxMethodSumResolvers - FundingTxStatusUpdatedSubscriptionResponse?: FundingTxStatusUpdatedSubscriptionResponseResolvers - FundingTxsGetResponse?: FundingTxsGetResponseResolvers - FundinginvoiceCancel?: FundinginvoiceCancelResolvers - GenerateAffiliatePaymentRequestResponse?: GenerateAffiliatePaymentRequestResponseResolvers - GlobalContributorLeaderboardRow?: GlobalContributorLeaderboardRowResolvers - GlobalProjectLeaderboardRow?: GlobalProjectLeaderboardRowResolvers - Grant?: GrantResolvers - GrantApplicant?: GrantApplicantResolvers - GrantApplicantContributor?: GrantApplicantContributorResolvers - GrantApplicantFunding?: GrantApplicantFundingResolvers - GrantBoardMember?: GrantBoardMemberResolvers - GrantStatistics?: GrantStatisticsResolvers - GrantStatisticsApplicant?: GrantStatisticsApplicantResolvers - GrantStatisticsGrant?: GrantStatisticsGrantResolvers - GrantStatus?: GrantStatusResolvers - GraphSumData?: GraphSumDataResolvers - LightningAddressConnectionDetails?: LightningAddressConnectionDetailsResolvers - LightningAddressContributionLimits?: LightningAddressContributionLimitsResolvers - LightningAddressVerifyResponse?: LightningAddressVerifyResponseResolvers - LndConnectionDetails?: LndConnectionDetailsResolvers - LndConnectionDetailsPrivate?: LndConnectionDetailsPrivateResolvers - LndConnectionDetailsPublic?: LndConnectionDetailsPublicResolvers - Location?: LocationResolvers - Milestone?: MilestoneResolvers - Mutation?: MutationResolvers - MutationResponse?: MutationResponseResolvers - NostrKeys?: NostrKeysResolvers - NostrPrivateKey?: NostrPrivateKeyResolvers - NostrPublicKey?: NostrPublicKeyResolvers - NotificationConfiguration?: NotificationConfigurationResolvers - NotificationSettings?: NotificationSettingsResolvers - OTPResponse?: OtpResponseResolvers - Order?: OrderResolvers - OrderItem?: OrderItemResolvers - OrdersGetResponse?: OrdersGetResponseResolvers - OrdersStatsBase?: OrdersStatsBaseResolvers - Owner?: OwnerResolvers - OwnerOf?: OwnerOfResolvers - PageViewCountGraph?: PageViewCountGraphResolvers - PaginationCursor?: PaginationCursorResolvers - ProfileNotificationSettings?: ProfileNotificationSettingsResolvers - Project?: ProjectResolvers - ProjectActivatedSubscriptionResponse?: ProjectActivatedSubscriptionResponseResolvers - ProjectActivitiesCount?: ProjectActivitiesCountResolvers - ProjectContributionsGroupedByMethodStats?: ProjectContributionsGroupedByMethodStatsResolvers - ProjectContributionsStats?: ProjectContributionsStatsResolvers - ProjectContributionsStatsBase?: ProjectContributionsStatsBaseResolvers - ProjectCountriesGetResult?: ProjectCountriesGetResultResolvers - ProjectDeleteResponse?: ProjectDeleteResponseResolvers - ProjectFollowerStats?: ProjectFollowerStatsResolvers - ProjectFunderRewardStats?: ProjectFunderRewardStatsResolvers - ProjectFunderStats?: ProjectFunderStatsResolvers - ProjectFundingTxStats?: ProjectFundingTxStatsResolvers - ProjectGoal?: ProjectGoalResolvers - ProjectGoalDeleteResponse?: ProjectGoalDeleteResponseResolvers - ProjectGoals?: ProjectGoalsResolvers - ProjectKeys?: ProjectKeysResolvers - ProjectLeaderboardContributorsRow?: ProjectLeaderboardContributorsRowResolvers - ProjectMostFunded?: ProjectMostFundedResolvers - ProjectMostFundedByTag?: ProjectMostFundedByTagResolvers - ProjectRegionsGetResult?: ProjectRegionsGetResultResolvers - ProjectReward?: ProjectRewardResolvers - ProjectRewardTrendingWeeklyGetRow?: ProjectRewardTrendingWeeklyGetRowResolvers - ProjectRewardsGroupedByRewardIdStats?: ProjectRewardsGroupedByRewardIdStatsResolvers - ProjectRewardsGroupedByRewardIdStatsProjectReward?: ProjectRewardsGroupedByRewardIdStatsProjectRewardResolvers - ProjectRewardsStats?: ProjectRewardsStatsResolvers - ProjectStatistics?: ProjectStatisticsResolvers - ProjectStats?: ProjectStatsResolvers - ProjectStatsBase?: ProjectStatsBaseResolvers - ProjectViewBaseStats?: ProjectViewBaseStatsResolvers - ProjectViewStats?: ProjectViewStatsResolvers - ProjectsResponse?: ProjectsResponseResolvers - ProjectsSummary?: ProjectsSummaryResolvers - Query?: QueryResolvers - SignedUploadUrl?: SignedUploadUrlResolvers - SourceResource?: SourceResourceResolvers - Sponsor?: SponsorResolvers - StatsInterface?: StatsInterfaceResolvers - Subscription?: SubscriptionResolvers - Swap?: SwapResolvers - Tag?: TagResolvers - TagsGetResult?: TagsGetResultResolvers - TagsMostFundedGetResult?: TagsMostFundedGetResultResolvers - User?: UserResolvers - UserBadge?: UserBadgeResolvers - UserNotificationSettings?: UserNotificationSettingsResolvers - UserProjectContribution?: UserProjectContributionResolvers - Wallet?: WalletResolvers - WalletContributionLimits?: WalletContributionLimitsResolvers - WalletLimits?: WalletLimitsResolvers - WalletOffChainContributionLimits?: WalletOffChainContributionLimitsResolvers - WalletOnChainContributionLimits?: WalletOnChainContributionLimitsResolvers - WalletState?: WalletStateResolvers -} - -export type EmailUpdateUserFragment = { __typename?: 'User'; email?: string | null; isEmailVerified: boolean; id: any } - -export type OtpResponseFragment = { __typename?: 'OTPResponse'; otpVerificationToken: string; expiresAt: any } - -export type EntryFragment = { - __typename?: 'Entry' - id: any - title: string - description: string - image?: string | null - status: EntryStatus - content?: string | null - createdAt: string - updatedAt: string - publishedAt?: string | null - fundersCount: number - amountFunded: number - type: EntryType - creator: { __typename?: 'User' } & UserForAvatarFragment - project?: { __typename?: 'Project'; id: any; title: string; name: string; image?: string | null } | null -} - -export type EntryForLandingPageFragment = { - __typename?: 'Entry' - amountFunded: number - id: any - image?: string | null - title: string - entryFundersCount: number - entryDescription: string - project?: { __typename?: 'Project'; id: any; name: string; thumbnailImage?: string | null; title: string } | null - creator: { __typename?: 'User' } & UserForAvatarFragment -} - -export type EntryForProjectFragment = { - __typename?: 'Entry' - id: any - title: string - description: string - image?: string | null - type: EntryType - fundersCount: number - amountFunded: number - status: EntryStatus - createdAt: string - publishedAt?: string | null - creator: { __typename?: 'User' } & UserForAvatarFragment -} - -export type FundingTxForLandingPageFragment = { - __typename?: 'FundingTx' - id: any - comment?: string | null - amount: number - paidAt?: any | null - onChain: boolean - media?: string | null - source: string - method?: FundingMethod | null - projectId: any - funder: { - __typename?: 'Funder' - id: any - amountFunded?: number | null - timesFunded?: number | null - confirmedAt?: any | null - user?: { - __typename?: 'User' - id: any - username: string - imageUrl?: string | null - externalAccounts: Array<{ - __typename?: 'ExternalAccount' - externalUsername: string - public: boolean - accountType: string - }> - } | null - } - sourceResource?: - | { __typename?: 'Entry'; createdAt: string; id: any; image?: string | null; title: string } - | { - __typename?: 'Project' - id: any - name: string - title: string - image?: string | null - createdAt: string - thumbnailImage?: string | null - } - | null -} - -export type ProjectDefaultGoalFragment = { - __typename?: 'ProjectGoal' - id: any - title: string - targetAmount: number - currency: ProjectGoalCurrency - amountContributed: number -} - -export type ProjectGoalFragment = { - __typename?: 'ProjectGoal' - id: any - title: string - description?: string | null - targetAmount: number - currency: ProjectGoalCurrency - status: ProjectGoalStatus - projectId: any - amountContributed: number - createdAt: any - updatedAt: any - hasReceivedContribution: boolean - emojiUnifiedCode?: string | null -} - -export type BoardVoteGrantsFragmentFragment = { - __typename?: 'BoardVoteGrant' - id: any - title: string - name: string - image?: string | null - shortDescription: string - description?: string | null - balance: number - status: GrantStatusEnum - type: GrantType - applicants: Array<{ __typename?: 'GrantApplicant'; id: any }> - statuses: Array<{ __typename?: 'GrantStatus'; status: GrantStatusEnum; endAt?: any | null; startAt: any }> - sponsors: Array<{ - __typename?: 'Sponsor' - id: any - name: string - url?: string | null - image?: string | null - status: SponsorStatus - createdAt: any - }> -} - -export type CommunityVoteGrantsFragmentFragment = { - __typename?: 'CommunityVoteGrant' - id: any - title: string - name: string - image?: string | null - shortDescription: string - description?: string | null - balance: number - status: GrantStatusEnum - type: GrantType - votingSystem: VotingSystem - distributionSystem: DistributionSystem - applicants: Array<{ __typename?: 'GrantApplicant'; id: any }> - statuses: Array<{ __typename?: 'GrantStatus'; status: GrantStatusEnum; endAt?: any | null; startAt: any }> - sponsors: Array<{ - __typename?: 'Sponsor' - id: any - name: string - url?: string | null - image?: string | null - status: SponsorStatus - createdAt: any - }> - votes: { __typename?: 'CompetitionVoteGrantVoteSummary'; voteCount: number; voterCount: number } -} - -export type BoardVoteGrantFragmentFragment = { - __typename?: 'BoardVoteGrant' - id: any - title: string - name: string - shortDescription: string - description?: string | null - balance: number - status: GrantStatusEnum - image?: string | null - type: GrantType - statuses: Array<{ __typename?: 'GrantStatus'; status: GrantStatusEnum; endAt?: any | null; startAt: any }> - applicants: Array<{ - __typename?: 'GrantApplicant' - contributorsCount: number - status: GrantApplicantStatus - contributors: Array<{ - __typename?: 'GrantApplicantContributor' - amount: number - timesContributed: number - user?: { __typename?: 'User'; id: any; imageUrl?: string | null } | null - }> - project: { - __typename?: 'Project' - id: any - name: string - title: string - thumbnailImage?: string | null - shortDescription?: string | null - description?: string | null - wallets: Array<{ __typename?: 'Wallet'; id: any }> - } - funding: { - __typename?: 'GrantApplicantFunding' - communityFunding: number - grantAmount: number - grantAmountDistributed: number - } - }> - sponsors: Array<{ - __typename?: 'Sponsor' - id: any - name: string - url?: string | null - image?: string | null - status: SponsorStatus - createdAt: any - }> - boardMembers: Array<{ - __typename?: 'GrantBoardMember' - user: { - __typename?: 'User' - username: string - imageUrl?: string | null - id: any - externalAccounts: Array<{ - __typename?: 'ExternalAccount' - accountType: string - externalId: string - externalUsername: string - id: any - public: boolean - }> - } - }> -} - -export type CommunityVoteGrantFragmentFragment = { - __typename?: 'CommunityVoteGrant' - id: any - title: string - name: string - shortDescription: string - description?: string | null - balance: number - status: GrantStatusEnum - image?: string | null - type: GrantType - votingSystem: VotingSystem - distributionSystem: DistributionSystem - statuses: Array<{ __typename?: 'GrantStatus'; status: GrantStatusEnum; endAt?: any | null; startAt: any }> - applicants: Array<{ - __typename?: 'GrantApplicant' - contributorsCount: number - status: GrantApplicantStatus - voteCount: number - contributors: Array<{ - __typename?: 'GrantApplicantContributor' - amount: number - timesContributed: number - voteCount: number - user?: { __typename?: 'User'; id: any; imageUrl?: string | null; username: string } | null - }> - project: { - __typename?: 'Project' - id: any - name: string - title: string - thumbnailImage?: string | null - shortDescription?: string | null - description?: string | null - wallets: Array<{ __typename?: 'Wallet'; id: any }> - } - funding: { - __typename?: 'GrantApplicantFunding' - communityFunding: number - grantAmount: number - grantAmountDistributed: number - } - }> - sponsors: Array<{ - __typename?: 'Sponsor' - id: any - name: string - url?: string | null - image?: string | null - status: SponsorStatus - createdAt: any - }> - votes: { __typename?: 'CompetitionVoteGrantVoteSummary'; voteCount: number; voterCount: number } -} - -export type OrderItemFragment = { - __typename?: 'OrderItem' - quantity: number - unitPriceInSats: number - item: { - __typename?: 'ProjectReward' - id: any - name: string - cost: number - rewardCurrency: RewardCurrency - category?: string | null - } -} - -export type OrderFragment = { - __typename?: 'Order' - confirmedAt?: any | null - createdAt: any - deliveredAt?: any | null - id: any - shippedAt?: any | null - status: string - totalInSats: number - updatedAt: any - user?: { __typename?: 'User'; id: any; imageUrl?: string | null; username: string; email?: string | null } | null - items: Array<{ __typename?: 'OrderItem' } & OrderItemFragment> - fundingTx: { - __typename?: 'FundingTx' - id: any - amount: number - amountPaid: number - donationAmount: number - address?: string | null - email?: string | null - fundingType: FundingType - invoiceStatus: InvoiceStatus - isAnonymous: boolean - status: FundingStatus - uuid?: string | null - bitcoinQuote?: { __typename?: 'BitcoinQuote'; quoteCurrency: QuoteCurrency; quote: number } | null - } -} - -export type FundingTxOrderFragment = { - __typename?: 'FundingTx' - id: any - invoiceStatus: InvoiceStatus - donationAmount: number - amountPaid: number - amount: number - email?: string | null - paidAt?: any | null - status: FundingStatus - invoiceId?: string | null - uuid?: string | null - affiliateFeeInSats?: number | null - bitcoinQuote?: { __typename?: 'BitcoinQuote'; quoteCurrency: QuoteCurrency; quote: number } | null - funder: { - __typename?: 'Funder' - user?: { - __typename?: 'User' - id: any - imageUrl?: string | null - username: string - externalAccounts: Array<{ - __typename?: 'ExternalAccount' - id: any - externalUsername: string - externalId: string - accountType: string - public: boolean - }> - } | null - } - order?: { - __typename?: 'Order' - id: any - referenceCode: string - totalInSats: number - items: Array<{ __typename?: 'OrderItem' } & OrderItemFragment> - } | null -} - -export type PaginationFragment = { - __typename?: 'CursorPaginationResponse' - take?: number | null - count?: number | null - cursor?: { __typename?: 'PaginationCursor'; id?: any | null } | null -} - -export type ProjectCommunityVoteGrantFragment = { - __typename?: 'CommunityVoteGrant' - id: any - status: GrantStatusEnum - title: string -} - -export type ProjectGrantApplicationsFragment = { - __typename?: 'Project' - grantApplications: Array<{ - __typename?: 'GrantApplicant' - id: any - status: GrantApplicantStatus - grant: - | { __typename?: 'BoardVoteGrant' } - | ({ __typename?: 'CommunityVoteGrant' } & ProjectCommunityVoteGrantFragment) - }> -} - -export type ProjectNostrKeysFragment = { - __typename?: 'Project' - id: any - name: string - keys: { - __typename?: 'ProjectKeys' - nostrKeys: { - __typename?: 'NostrKeys' - privateKey?: { __typename?: 'NostrPrivateKey'; nsec: string } | null - publicKey: { __typename?: 'NostrPublicKey'; npub: string } - } - } -} + ActivitiesGetResponse?: ActivitiesGetResponseResolvers; + Activity?: ActivityResolvers; + ActivityResource?: ActivityResourceResolvers; + AffiliateLink?: AffiliateLinkResolvers; + AffiliatePaymentConfirmResponse?: AffiliatePaymentConfirmResponseResolvers; + AffiliatePayoutsStats?: AffiliatePayoutsStatsResolvers; + AffiliateSalesStats?: AffiliateSalesStatsResolvers; + AffiliateStats?: AffiliateStatsResolvers; + Ambassador?: AmbassadorResolvers; + AmountSummary?: AmountSummaryResolvers; + Badge?: BadgeResolvers; + BigInt?: GraphQLScalarType; + BitcoinQuote?: BitcoinQuoteResolvers; + BoardVoteGrant?: BoardVoteGrantResolvers; + CommunityVoteGrant?: CommunityVoteGrantResolvers; + CompetitionVoteGrantVoteSummary?: CompetitionVoteGrantVoteSummaryResolvers; + ConnectionDetails?: ConnectionDetailsResolvers; + Country?: CountryResolvers; + CreatorNotificationSettings?: CreatorNotificationSettingsResolvers; + CreatorNotificationSettingsProject?: CreatorNotificationSettingsProjectResolvers; + CurrencyQuoteGetResponse?: CurrencyQuoteGetResponseResolvers; + CursorPaginationResponse?: CursorPaginationResponseResolvers; + Date?: GraphQLScalarType; + DatetimeRange?: DatetimeRangeResolvers; + DeleteUserResponse?: DeleteUserResponseResolvers; + Entry?: EntryResolvers; + EntryPublishedSubscriptionResponse?: EntryPublishedSubscriptionResponseResolvers; + ExternalAccount?: ExternalAccountResolvers; + Funder?: FunderResolvers; + FunderRewardGraphSum?: FunderRewardGraphSumResolvers; + FundingCancelResponse?: FundingCancelResponseResolvers; + FundingConfirmResponse?: FundingConfirmResponseResolvers; + FundingMutationResponse?: FundingMutationResponseResolvers; + FundingPendingResponse?: FundingPendingResponseResolvers; + FundingQueryResponse?: FundingQueryResponseResolvers; + FundingTx?: FundingTxResolvers; + FundingTxAmountGraph?: FundingTxAmountGraphResolvers; + FundingTxInvoiceSanctionCheckStatusResponse?: FundingTxInvoiceSanctionCheckStatusResponseResolvers; + FundingTxMethodCount?: FundingTxMethodCountResolvers; + FundingTxMethodSum?: FundingTxMethodSumResolvers; + FundingTxStatusUpdatedSubscriptionResponse?: FundingTxStatusUpdatedSubscriptionResponseResolvers; + FundingTxsGetResponse?: FundingTxsGetResponseResolvers; + FundinginvoiceCancel?: FundinginvoiceCancelResolvers; + GenerateAffiliatePaymentRequestResponse?: GenerateAffiliatePaymentRequestResponseResolvers; + GlobalContributorLeaderboardRow?: GlobalContributorLeaderboardRowResolvers; + GlobalProjectLeaderboardRow?: GlobalProjectLeaderboardRowResolvers; + Grant?: GrantResolvers; + GrantApplicant?: GrantApplicantResolvers; + GrantApplicantContributor?: GrantApplicantContributorResolvers; + GrantApplicantFunding?: GrantApplicantFundingResolvers; + GrantBoardMember?: GrantBoardMemberResolvers; + GrantStatistics?: GrantStatisticsResolvers; + GrantStatisticsApplicant?: GrantStatisticsApplicantResolvers; + GrantStatisticsGrant?: GrantStatisticsGrantResolvers; + GrantStatus?: GrantStatusResolvers; + GraphSumData?: GraphSumDataResolvers; + LightningAddressConnectionDetails?: LightningAddressConnectionDetailsResolvers; + LightningAddressContributionLimits?: LightningAddressContributionLimitsResolvers; + LightningAddressVerifyResponse?: LightningAddressVerifyResponseResolvers; + LndConnectionDetails?: LndConnectionDetailsResolvers; + LndConnectionDetailsPrivate?: LndConnectionDetailsPrivateResolvers; + LndConnectionDetailsPublic?: LndConnectionDetailsPublicResolvers; + Location?: LocationResolvers; + Milestone?: MilestoneResolvers; + Mutation?: MutationResolvers; + MutationResponse?: MutationResponseResolvers; + NostrKeys?: NostrKeysResolvers; + NostrPrivateKey?: NostrPrivateKeyResolvers; + NostrPublicKey?: NostrPublicKeyResolvers; + NotificationConfiguration?: NotificationConfigurationResolvers; + NotificationSettings?: NotificationSettingsResolvers; + OTPResponse?: OtpResponseResolvers; + Order?: OrderResolvers; + OrderItem?: OrderItemResolvers; + OrdersGetResponse?: OrdersGetResponseResolvers; + OrdersStatsBase?: OrdersStatsBaseResolvers; + Owner?: OwnerResolvers; + OwnerOf?: OwnerOfResolvers; + PageViewCountGraph?: PageViewCountGraphResolvers; + PaginationCursor?: PaginationCursorResolvers; + ProfileNotificationSettings?: ProfileNotificationSettingsResolvers; + Project?: ProjectResolvers; + ProjectActivatedSubscriptionResponse?: ProjectActivatedSubscriptionResponseResolvers; + ProjectActivitiesCount?: ProjectActivitiesCountResolvers; + ProjectContributionsGroupedByMethodStats?: ProjectContributionsGroupedByMethodStatsResolvers; + ProjectContributionsStats?: ProjectContributionsStatsResolvers; + ProjectContributionsStatsBase?: ProjectContributionsStatsBaseResolvers; + ProjectCountriesGetResult?: ProjectCountriesGetResultResolvers; + ProjectDeleteResponse?: ProjectDeleteResponseResolvers; + ProjectFollowerStats?: ProjectFollowerStatsResolvers; + ProjectFunderRewardStats?: ProjectFunderRewardStatsResolvers; + ProjectFunderStats?: ProjectFunderStatsResolvers; + ProjectFundingTxStats?: ProjectFundingTxStatsResolvers; + ProjectGoal?: ProjectGoalResolvers; + ProjectGoalDeleteResponse?: ProjectGoalDeleteResponseResolvers; + ProjectGoals?: ProjectGoalsResolvers; + ProjectKeys?: ProjectKeysResolvers; + ProjectLeaderboardContributorsRow?: ProjectLeaderboardContributorsRowResolvers; + ProjectMostFunded?: ProjectMostFundedResolvers; + ProjectMostFundedByTag?: ProjectMostFundedByTagResolvers; + ProjectRegionsGetResult?: ProjectRegionsGetResultResolvers; + ProjectReward?: ProjectRewardResolvers; + ProjectRewardTrendingWeeklyGetRow?: ProjectRewardTrendingWeeklyGetRowResolvers; + ProjectRewardsGroupedByRewardIdStats?: ProjectRewardsGroupedByRewardIdStatsResolvers; + ProjectRewardsGroupedByRewardIdStatsProjectReward?: ProjectRewardsGroupedByRewardIdStatsProjectRewardResolvers; + ProjectRewardsStats?: ProjectRewardsStatsResolvers; + ProjectStatistics?: ProjectStatisticsResolvers; + ProjectStats?: ProjectStatsResolvers; + ProjectStatsBase?: ProjectStatsBaseResolvers; + ProjectViewBaseStats?: ProjectViewBaseStatsResolvers; + ProjectViewStats?: ProjectViewStatsResolvers; + ProjectsResponse?: ProjectsResponseResolvers; + ProjectsSummary?: ProjectsSummaryResolvers; + Query?: QueryResolvers; + SignedUploadUrl?: SignedUploadUrlResolvers; + SourceResource?: SourceResourceResolvers; + Sponsor?: SponsorResolvers; + StatsInterface?: StatsInterfaceResolvers; + Subscription?: SubscriptionResolvers; + Swap?: SwapResolvers; + Tag?: TagResolvers; + TagsGetResult?: TagsGetResultResolvers; + TagsMostFundedGetResult?: TagsMostFundedGetResultResolvers; + User?: UserResolvers; + UserBadge?: UserBadgeResolvers; + UserNotificationSettings?: UserNotificationSettingsResolvers; + UserProjectContribution?: UserProjectContributionResolvers; + Wallet?: WalletResolvers; + WalletContributionLimits?: WalletContributionLimitsResolvers; + WalletLimits?: WalletLimitsResolvers; + WalletOffChainContributionLimits?: WalletOffChainContributionLimitsResolvers; + WalletOnChainContributionLimits?: WalletOnChainContributionLimitsResolvers; + WalletState?: WalletStateResolvers; +}; + + +export type EmailUpdateUserFragment = { __typename?: 'User', email?: string | null, isEmailVerified: boolean, id: any }; + +export type OtpResponseFragment = { __typename?: 'OTPResponse', otpVerificationToken: string, expiresAt: any }; + +export type EntryFragment = { __typename?: 'Entry', id: any, title: string, description: string, image?: string | null, status: EntryStatus, content?: string | null, createdAt: string, updatedAt: string, publishedAt?: string | null, fundersCount: number, amountFunded: number, type: EntryType, creator: ( + { __typename?: 'User' } + & UserForAvatarFragment + ), project?: { __typename?: 'Project', id: any, title: string, name: string, image?: string | null } | null }; + +export type EntryForLandingPageFragment = { __typename?: 'Entry', amountFunded: number, id: any, image?: string | null, title: string, entryFundersCount: number, entryDescription: string, project?: { __typename?: 'Project', id: any, name: string, thumbnailImage?: string | null, title: string } | null, creator: ( + { __typename?: 'User' } + & UserForAvatarFragment + ) }; + +export type EntryForProjectFragment = { __typename?: 'Entry', id: any, title: string, description: string, image?: string | null, type: EntryType, fundersCount: number, amountFunded: number, status: EntryStatus, createdAt: string, publishedAt?: string | null, creator: ( + { __typename?: 'User' } + & UserForAvatarFragment + ) }; + +export type FundingTxForLandingPageFragment = { __typename?: 'FundingTx', id: any, comment?: string | null, amount: number, paidAt?: any | null, onChain: boolean, media?: string | null, source: string, method?: FundingMethod | null, projectId: any, funder: { __typename?: 'Funder', id: any, amountFunded?: number | null, timesFunded?: number | null, confirmedAt?: any | null, user?: { __typename?: 'User', id: any, username: string, imageUrl?: string | null, externalAccounts: Array<{ __typename?: 'ExternalAccount', externalUsername: string, public: boolean, accountType: string }> } | null }, sourceResource?: { __typename?: 'Entry', createdAt: string, id: any, image?: string | null, title: string } | { __typename?: 'Project', id: any, name: string, title: string, image?: string | null, createdAt: string, thumbnailImage?: string | null } | null }; + +export type ProjectDefaultGoalFragment = { __typename?: 'ProjectGoal', id: any, title: string, targetAmount: number, currency: ProjectGoalCurrency, amountContributed: number }; + +export type ProjectGoalFragment = { __typename?: 'ProjectGoal', id: any, title: string, description?: string | null, targetAmount: number, currency: ProjectGoalCurrency, status: ProjectGoalStatus, projectId: any, amountContributed: number, createdAt: any, updatedAt: any, hasReceivedContribution: boolean, emojiUnifiedCode?: string | null }; + +export type BoardVoteGrantsFragmentFragment = { __typename?: 'BoardVoteGrant', id: any, title: string, name: string, image?: string | null, shortDescription: string, description?: string | null, balance: number, status: GrantStatusEnum, type: GrantType, applicants: Array<{ __typename?: 'GrantApplicant', id: any }>, statuses: Array<{ __typename?: 'GrantStatus', status: GrantStatusEnum, endAt?: any | null, startAt: any }>, sponsors: Array<{ __typename?: 'Sponsor', id: any, name: string, url?: string | null, image?: string | null, status: SponsorStatus, createdAt: any }> }; + +export type CommunityVoteGrantsFragmentFragment = { __typename?: 'CommunityVoteGrant', id: any, title: string, name: string, image?: string | null, shortDescription: string, description?: string | null, balance: number, status: GrantStatusEnum, type: GrantType, votingSystem: VotingSystem, distributionSystem: DistributionSystem, applicants: Array<{ __typename?: 'GrantApplicant', id: any }>, statuses: Array<{ __typename?: 'GrantStatus', status: GrantStatusEnum, endAt?: any | null, startAt: any }>, sponsors: Array<{ __typename?: 'Sponsor', id: any, name: string, url?: string | null, image?: string | null, status: SponsorStatus, createdAt: any }>, votes: { __typename?: 'CompetitionVoteGrantVoteSummary', voteCount: number, voterCount: number } }; + +export type BoardVoteGrantFragmentFragment = { __typename?: 'BoardVoteGrant', id: any, title: string, name: string, shortDescription: string, description?: string | null, balance: number, status: GrantStatusEnum, image?: string | null, type: GrantType, statuses: Array<{ __typename?: 'GrantStatus', status: GrantStatusEnum, endAt?: any | null, startAt: any }>, applicants: Array<{ __typename?: 'GrantApplicant', contributorsCount: number, status: GrantApplicantStatus, contributors: Array<{ __typename?: 'GrantApplicantContributor', amount: number, timesContributed: number, user?: { __typename?: 'User', id: any, imageUrl?: string | null } | null }>, project: { __typename?: 'Project', id: any, name: string, title: string, thumbnailImage?: string | null, shortDescription?: string | null, description?: string | null, wallets: Array<{ __typename?: 'Wallet', id: any }> }, funding: { __typename?: 'GrantApplicantFunding', communityFunding: number, grantAmount: number, grantAmountDistributed: number } }>, sponsors: Array<{ __typename?: 'Sponsor', id: any, name: string, url?: string | null, image?: string | null, status: SponsorStatus, createdAt: any }>, boardMembers: Array<{ __typename?: 'GrantBoardMember', user: { __typename?: 'User', username: string, imageUrl?: string | null, id: any, externalAccounts: Array<{ __typename?: 'ExternalAccount', accountType: string, externalId: string, externalUsername: string, id: any, public: boolean }> } }> }; + +export type CommunityVoteGrantFragmentFragment = { __typename?: 'CommunityVoteGrant', id: any, title: string, name: string, shortDescription: string, description?: string | null, balance: number, status: GrantStatusEnum, image?: string | null, type: GrantType, votingSystem: VotingSystem, distributionSystem: DistributionSystem, statuses: Array<{ __typename?: 'GrantStatus', status: GrantStatusEnum, endAt?: any | null, startAt: any }>, applicants: Array<{ __typename?: 'GrantApplicant', contributorsCount: number, status: GrantApplicantStatus, voteCount: number, contributors: Array<{ __typename?: 'GrantApplicantContributor', amount: number, timesContributed: number, voteCount: number, user?: { __typename?: 'User', id: any, imageUrl?: string | null, username: string } | null }>, project: { __typename?: 'Project', id: any, name: string, title: string, thumbnailImage?: string | null, shortDescription?: string | null, description?: string | null, wallets: Array<{ __typename?: 'Wallet', id: any }> }, funding: { __typename?: 'GrantApplicantFunding', communityFunding: number, grantAmount: number, grantAmountDistributed: number } }>, sponsors: Array<{ __typename?: 'Sponsor', id: any, name: string, url?: string | null, image?: string | null, status: SponsorStatus, createdAt: any }>, votes: { __typename?: 'CompetitionVoteGrantVoteSummary', voteCount: number, voterCount: number } }; + +export type OrderItemFragment = { __typename?: 'OrderItem', quantity: number, unitPriceInSats: number, item: { __typename?: 'ProjectReward', id: any, name: string, cost: number, rewardCurrency: RewardCurrency, category?: string | null } }; + +export type OrderFragment = { __typename?: 'Order', confirmedAt?: any | null, createdAt: any, deliveredAt?: any | null, id: any, shippedAt?: any | null, status: string, totalInSats: number, updatedAt: any, user?: { __typename?: 'User', id: any, imageUrl?: string | null, username: string, email?: string | null } | null, items: Array<( + { __typename?: 'OrderItem' } + & OrderItemFragment + )>, fundingTx: { __typename?: 'FundingTx', id: any, amount: number, amountPaid: number, donationAmount: number, address?: string | null, email?: string | null, fundingType: FundingType, invoiceStatus: InvoiceStatus, isAnonymous: boolean, status: FundingStatus, uuid?: string | null, bitcoinQuote?: { __typename?: 'BitcoinQuote', quoteCurrency: QuoteCurrency, quote: number } | null } }; + +export type FundingTxOrderFragment = { __typename?: 'FundingTx', id: any, invoiceStatus: InvoiceStatus, donationAmount: number, amountPaid: number, amount: number, email?: string | null, paidAt?: any | null, status: FundingStatus, invoiceId?: string | null, uuid?: string | null, affiliateFeeInSats?: number | null, bitcoinQuote?: { __typename?: 'BitcoinQuote', quoteCurrency: QuoteCurrency, quote: number } | null, funder: { __typename?: 'Funder', user?: { __typename?: 'User', id: any, imageUrl?: string | null, username: string, externalAccounts: Array<{ __typename?: 'ExternalAccount', id: any, externalUsername: string, externalId: string, accountType: string, public: boolean }> } | null }, order?: { __typename?: 'Order', id: any, referenceCode: string, totalInSats: number, items: Array<( + { __typename?: 'OrderItem' } + & OrderItemFragment + )> } | null }; + +export type PaginationFragment = { __typename?: 'CursorPaginationResponse', take?: number | null, count?: number | null, cursor?: { __typename?: 'PaginationCursor', id?: any | null } | null }; + +export type ProjectCommunityVoteGrantFragment = { __typename?: 'CommunityVoteGrant', id: any, status: GrantStatusEnum, title: string }; + +export type ProjectGrantApplicationsFragment = { __typename?: 'Project', grantApplications: Array<{ __typename?: 'GrantApplicant', id: any, status: GrantApplicantStatus, grant: { __typename?: 'BoardVoteGrant' } | ( + { __typename?: 'CommunityVoteGrant' } + & ProjectCommunityVoteGrantFragment + ) }> }; + +export type ProjectNostrKeysFragment = { __typename?: 'Project', id: any, name: string, keys: { __typename?: 'ProjectKeys', nostrKeys: { __typename?: 'NostrKeys', privateKey?: { __typename?: 'NostrPrivateKey', nsec: string } | null, publicKey: { __typename?: 'NostrPublicKey', npub: string } } } }; + +export type ProjectRewardForLandingPageFragment = { __typename?: 'ProjectReward', cost: number, description?: string | null, id: any, image?: string | null, sold: number, stock?: number | null, maxClaimable?: number | null, rewardName: string, rewardProject: { __typename?: 'Project', id: any, name: string, title: string, rewardCurrency?: RewardCurrency | null, owners: Array<{ __typename?: 'Owner', id: any, user: { __typename?: 'User', id: any, username: string, imageUrl?: string | null } }> } }; + +export type ProjectRewardForCreateUpdateFragment = { __typename?: 'ProjectReward', id: any, name: string, description?: string | null, cost: number, image?: string | null, deleted: boolean, stock?: number | null, sold: number, hasShipping: boolean, maxClaimable?: number | null, isAddon: boolean, isHidden: boolean, category?: string | null, preOrder: boolean, estimatedAvailabilityDate?: any | null, estimatedDeliveryInWeeks?: number | null }; + +export type ProjectFragment = ( + { __typename?: 'Project', id: any, title: string, name: string, type: ProjectType, shortDescription?: string | null, description?: string | null, defaultGoalId?: any | null, balance: number, balanceUsdCent: number, createdAt: string, updatedAt: string, image?: string | null, thumbnailImage?: string | null, links: Array, status?: ProjectStatus | null, rewardCurrency?: RewardCurrency | null, fundersCount?: number | null, fundingTxsCount?: number | null, keys: ( + { __typename?: 'ProjectKeys', nostrKeys: { __typename?: 'NostrKeys', publicKey: { __typename?: 'NostrPublicKey', npub: string } } } + & ProjectKeysFragment + ), location?: { __typename?: 'Location', region?: string | null, country?: { __typename?: 'Country', name: string, code: string } | null } | null, tags: Array<{ __typename?: 'Tag', id: number, label: string }>, owners: Array<{ __typename?: 'Owner', id: any, user: ( + { __typename?: 'User' } + & ProjectOwnerUserFragment + ) }>, rewards: Array<( + { __typename?: 'ProjectReward' } + & ProjectRewardForCreateUpdateFragment + )>, ambassadors: Array<{ __typename?: 'Ambassador', id: any, confirmed: boolean, user: ( + { __typename?: 'User' } + & UserForAvatarFragment + ) }>, sponsors: Array<{ __typename?: 'Sponsor', id: any, url?: string | null, image?: string | null, user?: ( + { __typename?: 'User' } + & UserForAvatarFragment + ) | null }>, entries: Array<( + { __typename?: 'Entry' } + & EntryForProjectFragment + )>, wallets: Array<( + { __typename?: 'Wallet' } + & ProjectWalletFragment + )>, followers: Array<{ __typename?: 'User', id: any, username: string }> } + & ProjectGrantApplicationsFragment +); -export type ProjectRewardForLandingPageFragment = { - __typename?: 'ProjectReward' - cost: number - description?: string | null - id: any - image?: string | null - sold: number - stock?: number | null - maxClaimable?: number | null - rewardName: string - rewardProject: { - __typename?: 'Project' - id: any - name: string - title: string - rewardCurrency?: RewardCurrency | null - owners: Array<{ - __typename?: 'Owner' - id: any - user: { __typename?: 'User'; id: any; username: string; imageUrl?: string | null } - }> - } -} - -export type ProjectRewardForCreateUpdateFragment = { - __typename?: 'ProjectReward' - id: any - name: string - description?: string | null - cost: number - image?: string | null - deleted: boolean - stock?: number | null - sold: number - hasShipping: boolean - maxClaimable?: number | null - isAddon: boolean - isHidden: boolean - category?: string | null - preOrder: boolean - estimatedAvailabilityDate?: any | null - estimatedDeliveryInWeeks?: number | null -} - -export type ProjectFragment = { - __typename?: 'Project' - id: any - title: string - name: string - type: ProjectType - shortDescription?: string | null - description?: string | null - defaultGoalId?: any | null - balance: number - balanceUsdCent: number - createdAt: string - updatedAt: string - image?: string | null - thumbnailImage?: string | null - links: Array - status?: ProjectStatus | null - rewardCurrency?: RewardCurrency | null - fundersCount?: number | null - fundingTxsCount?: number | null - keys: { - __typename?: 'ProjectKeys' - nostrKeys: { __typename?: 'NostrKeys'; publicKey: { __typename?: 'NostrPublicKey'; npub: string } } - } & ProjectKeysFragment - location?: { - __typename?: 'Location' - region?: string | null - country?: { __typename?: 'Country'; name: string; code: string } | null - } | null - tags: Array<{ __typename?: 'Tag'; id: number; label: string }> - owners: Array<{ __typename?: 'Owner'; id: any; user: { __typename?: 'User' } & ProjectOwnerUserFragment }> - rewards: Array<{ __typename?: 'ProjectReward' } & ProjectRewardForCreateUpdateFragment> - ambassadors: Array<{ - __typename?: 'Ambassador' - id: any - confirmed: boolean - user: { __typename?: 'User' } & UserForAvatarFragment - }> - sponsors: Array<{ - __typename?: 'Sponsor' - id: any - url?: string | null - image?: string | null - user?: ({ __typename?: 'User' } & UserForAvatarFragment) | null - }> - entries: Array<{ __typename?: 'Entry' } & EntryForProjectFragment> - wallets: Array<{ __typename?: 'Wallet' } & ProjectWalletFragment> - followers: Array<{ __typename?: 'User'; id: any; username: string }> -} & ProjectGrantApplicationsFragment - -export type ProjectForSubscriptionFragment = { - __typename?: 'Project' - id: any - title: string - name: string - thumbnailImage?: string | null - owners: Array<{ __typename?: 'Owner'; id: any; user: { __typename?: 'User' } & UserMeFragment }> -} - -export type ProjectAvatarFragment = { - __typename?: 'Project' - id: any - name: string - thumbnailImage?: string | null - title: string -} - -export type ExternalAccountFragment = { - __typename?: 'ExternalAccount' - id: any - accountType: string - externalUsername: string - externalId: string - public: boolean -} - -export type ProjectOwnerUserFragment = { - __typename?: 'User' - id: any - username: string - imageUrl?: string | null - email?: string | null - ranking?: any | null - isEmailVerified: boolean - hasSocialAccount: boolean - externalAccounts: Array<{ __typename?: 'ExternalAccount' } & ExternalAccountFragment> -} - -export type UserMeFragment = { - __typename?: 'User' - id: any - username: string - imageUrl?: string | null - email?: string | null - ranking?: any | null - isEmailVerified: boolean - hasSocialAccount: boolean - externalAccounts: Array<{ __typename?: 'ExternalAccount' } & ExternalAccountFragment> - ownerOf: Array<{ - __typename?: 'OwnerOf' - project?: { - __typename?: 'Project' - id: any - name: string - image?: string | null - thumbnailImage?: string | null - title: string - status?: ProjectStatus | null - createdAt: string - } | null - }> -} - -export type UserForAvatarFragment = { - __typename?: 'User' - id: any - imageUrl?: string | null - email?: string | null - username: string -} - -export type FunderWithUserFragment = { - __typename?: 'Funder' - amountFunded?: number | null - confirmed: boolean - id: any - confirmedAt?: any | null - timesFunded?: number | null - user?: { - __typename?: 'User' - id: any - username: string - hasSocialAccount: boolean - imageUrl?: string | null - externalAccounts: Array<{ - __typename?: 'ExternalAccount' - externalId: string - externalUsername: string - id: any - accountType: string - }> - } | null -} - -export type ProjectWalletFragment = { - __typename?: 'Wallet' - id: any - name?: string | null - feePercentage?: number | null - state: { __typename?: 'WalletState'; status: WalletStatus; statusCode: WalletStatusCode } - connectionDetails: - | { __typename?: 'LightningAddressConnectionDetails'; lightningAddress: string } - | { - __typename?: 'LndConnectionDetailsPrivate' - macaroon: string - tlsCertificate?: string | null - hostname: string - grpcPort: number - lndNodeType: LndNodeType - pubkey?: string | null - } - | { __typename?: 'LndConnectionDetailsPublic'; pubkey?: string | null } -} - -export type WalletLimitsFragment = { - __typename?: 'WalletLimits' - contribution?: { - __typename?: 'WalletContributionLimits' - min?: number | null - max?: number | null - offChain?: { __typename?: 'WalletOffChainContributionLimits'; min?: number | null; max?: number | null } | null - onChain?: { __typename?: 'WalletOnChainContributionLimits'; min?: number | null; max?: number | null } | null - } | null -} +export type ProjectForSubscriptionFragment = { __typename?: 'Project', id: any, title: string, name: string, thumbnailImage?: string | null, owners: Array<{ __typename?: 'Owner', id: any, user: ( + { __typename?: 'User' } + & UserMeFragment + ) }> }; + +export type ProjectAvatarFragment = { __typename?: 'Project', id: any, name: string, thumbnailImage?: string | null, title: string }; + +export type ExternalAccountFragment = { __typename?: 'ExternalAccount', id: any, accountType: string, externalUsername: string, externalId: string, public: boolean }; + +export type ProjectOwnerUserFragment = { __typename?: 'User', id: any, username: string, imageUrl?: string | null, email?: string | null, ranking?: any | null, isEmailVerified: boolean, hasSocialAccount: boolean, externalAccounts: Array<( + { __typename?: 'ExternalAccount' } + & ExternalAccountFragment + )> }; + +export type UserMeFragment = { __typename?: 'User', id: any, username: string, imageUrl?: string | null, email?: string | null, ranking?: any | null, isEmailVerified: boolean, hasSocialAccount: boolean, externalAccounts: Array<( + { __typename?: 'ExternalAccount' } + & ExternalAccountFragment + )>, ownerOf: Array<{ __typename?: 'OwnerOf', project?: { __typename?: 'Project', id: any, name: string, image?: string | null, thumbnailImage?: string | null, title: string, status?: ProjectStatus | null, createdAt: string } | null }> }; + +export type UserForAvatarFragment = { __typename?: 'User', id: any, imageUrl?: string | null, email?: string | null, username: string }; + +export type FunderWithUserFragment = { __typename?: 'Funder', amountFunded?: number | null, confirmed: boolean, id: any, confirmedAt?: any | null, timesFunded?: number | null, user?: { __typename?: 'User', id: any, username: string, hasSocialAccount: boolean, imageUrl?: string | null, externalAccounts: Array<{ __typename?: 'ExternalAccount', externalId: string, externalUsername: string, id: any, accountType: string }> } | null }; + +export type ProjectWalletFragment = { __typename?: 'Wallet', id: any, name?: string | null, feePercentage?: number | null, state: { __typename?: 'WalletState', status: WalletStatus, statusCode: WalletStatusCode }, connectionDetails: { __typename?: 'LightningAddressConnectionDetails', lightningAddress: string } | { __typename?: 'LndConnectionDetailsPrivate', macaroon: string, tlsCertificate?: string | null, hostname: string, grpcPort: number, lndNodeType: LndNodeType, pubkey?: string | null } | { __typename?: 'LndConnectionDetailsPublic', pubkey?: string | null } }; + +export type WalletLimitsFragment = { __typename?: 'WalletLimits', contribution?: { __typename?: 'WalletContributionLimits', min?: number | null, max?: number | null, offChain?: { __typename?: 'WalletOffChainContributionLimits', min?: number | null, max?: number | null } | null, onChain?: { __typename?: 'WalletOnChainContributionLimits', min?: number | null, max?: number | null } | null } | null }; export type UserBadgeAwardMutationVariables = Exact<{ - userBadgeId: Scalars['BigInt']['input'] -}> + userBadgeId: Scalars['BigInt']['input']; +}>; -export type UserBadgeAwardMutation = { - __typename?: 'Mutation' - userBadgeAward: { __typename?: 'UserBadge'; badgeAwardEventId?: string | null } -} + +export type UserBadgeAwardMutation = { __typename?: 'Mutation', userBadgeAward: { __typename?: 'UserBadge', badgeAwardEventId?: string | null } }; export type SendOtpByEmailMutationVariables = Exact<{ - input: SendOtpByEmailInput -}> + input: SendOtpByEmailInput; +}>; -export type SendOtpByEmailMutation = { - __typename?: 'Mutation' - sendOTPByEmail: { __typename?: 'OTPResponse' } & OtpResponseFragment -} + +export type SendOtpByEmailMutation = { __typename?: 'Mutation', sendOTPByEmail: ( + { __typename?: 'OTPResponse' } + & OtpResponseFragment + ) }; export type UserEmailUpdateMutationVariables = Exact<{ - input: UserEmailUpdateInput -}> + input: UserEmailUpdateInput; +}>; -export type UserEmailUpdateMutation = { - __typename?: 'Mutation' - userEmailUpdate: { __typename?: 'User' } & EmailUpdateUserFragment -} + +export type UserEmailUpdateMutation = { __typename?: 'Mutation', userEmailUpdate: ( + { __typename?: 'User' } + & EmailUpdateUserFragment + ) }; export type UserEmailVerifyMutationVariables = Exact<{ - input: EmailVerifyInput -}> + input: EmailVerifyInput; +}>; + -export type UserEmailVerifyMutation = { __typename?: 'Mutation'; userEmailVerify: boolean } +export type UserEmailVerifyMutation = { __typename?: 'Mutation', userEmailVerify: boolean }; export type GrantApplyMutationVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type GrantApplyMutation = { - __typename?: 'Mutation' - grantApply: { __typename?: 'GrantApplicant'; status: GrantApplicantStatus } -} + +export type GrantApplyMutation = { __typename?: 'Mutation', grantApply: { __typename?: 'GrantApplicant', status: GrantApplicantStatus } }; export type OrderStatusUpdateMutationVariables = Exact<{ - input: OrderStatusUpdateInput -}> + input: OrderStatusUpdateInput; +}>; -export type OrderStatusUpdateMutation = { - __typename?: 'Mutation' - orderStatusUpdate?: { - __typename?: 'Order' - status: string - id: any - shippedAt?: any | null - deliveredAt?: any | null - } | null -} + +export type OrderStatusUpdateMutation = { __typename?: 'Mutation', orderStatusUpdate?: { __typename?: 'Order', status: string, id: any, shippedAt?: any | null, deliveredAt?: any | null } | null }; export type FundingConfirmMutationVariables = Exact<{ - input: FundingConfirmInput -}> + input: FundingConfirmInput; +}>; -export type FundingConfirmMutation = { - __typename?: 'Mutation' - fundingConfirm: { __typename?: 'FundingConfirmResponse'; id: any; success: boolean } -} + +export type FundingConfirmMutation = { __typename?: 'Mutation', fundingConfirm: { __typename?: 'FundingConfirmResponse', id: any, success: boolean } }; export type UnlinkExternalAccountMutationVariables = Exact<{ - id: Scalars['BigInt']['input'] -}> - -export type UnlinkExternalAccountMutation = { - __typename?: 'Mutation' - unlinkExternalAccount: { - __typename?: 'User' - id: any - username: string - imageUrl?: string | null - externalAccounts: Array<{ - __typename?: 'ExternalAccount' - id: any - accountType: string - externalUsername: string - externalId: string - public: boolean - }> - } -} + id: Scalars['BigInt']['input']; +}>; + + +export type UnlinkExternalAccountMutation = { __typename?: 'Mutation', unlinkExternalAccount: { __typename?: 'User', id: any, username: string, imageUrl?: string | null, externalAccounts: Array<{ __typename?: 'ExternalAccount', id: any, accountType: string, externalUsername: string, externalId: string, public: boolean }> } }; export type UpdateUserMutationVariables = Exact<{ - input: UpdateUserInput -}> - -export type UpdateUserMutation = { - __typename?: 'Mutation' - updateUser: { - __typename: 'User' - id: any - bio?: string | null - email?: string | null - username: string - imageUrl?: string | null - wallet?: { - __typename?: 'Wallet' - connectionDetails: - | { __typename?: 'LightningAddressConnectionDetails'; lightningAddress: string } - | { __typename?: 'LndConnectionDetailsPrivate' } - | { __typename?: 'LndConnectionDetailsPublic' } - } | null - } -} - -export type UserDeleteMutationVariables = Exact<{ [key: string]: never }> - -export type UserDeleteMutation = { - __typename?: 'Mutation' - userDelete: { __typename?: 'DeleteUserResponse'; message?: string | null; success: boolean } -} - -export type ActivityForLandingPageFragment = { - __typename?: 'Activity' - id: string - createdAt: any - resource: - | ({ __typename?: 'Entry' } & EntryForLandingPageFragment) - | ({ __typename?: 'FundingTx' } & FundingTxForLandingPageFragment) - | ({ __typename?: 'Project' } & ProjectForLandingPageFragment) - | { __typename?: 'ProjectGoal' } - | ({ __typename?: 'ProjectReward' } & ProjectRewardForLandingPageFragment) -} + input: UpdateUserInput; +}>; -export type ActivitiesForLandingPageQueryVariables = Exact<{ - input?: InputMaybe -}> -export type ActivitiesForLandingPageQuery = { - __typename?: 'Query' - activitiesGet: { - __typename?: 'ActivitiesGetResponse' - activities: Array<{ __typename?: 'Activity' } & ActivityForLandingPageFragment> - } -} +export type UpdateUserMutation = { __typename?: 'Mutation', updateUser: { __typename: 'User', id: any, bio?: string | null, email?: string | null, username: string, imageUrl?: string | null, wallet?: { __typename?: 'Wallet', connectionDetails: { __typename?: 'LightningAddressConnectionDetails', lightningAddress: string } | { __typename?: 'LndConnectionDetailsPrivate' } | { __typename?: 'LndConnectionDetailsPublic' } } | null } }; -export type BadgesQueryVariables = Exact<{ [key: string]: never }> +export type UserDeleteMutationVariables = Exact<{ [key: string]: never; }>; -export type BadgesQuery = { - __typename?: 'Query' - badges: Array<{ - __typename?: 'Badge' - createdAt: any - description: string - id: string - image: string - name: string - thumb: string - uniqueName: string - }> -} -export type UserBadgesQueryVariables = Exact<{ - input: BadgesGetInput -}> - -export type UserBadgesQuery = { - __typename?: 'Query' - userBadges: Array<{ - __typename?: 'UserBadge' - userId: any - updatedAt: any - status?: UserBadgeStatus | null - id: any - fundingTxId?: any | null - createdAt: any - badgeAwardEventId?: string | null - badge: { - __typename?: 'Badge' - name: string - thumb: string - uniqueName: string - image: string - id: string - description: string - createdAt: any - } - }> -} +export type UserDeleteMutation = { __typename?: 'Mutation', userDelete: { __typename?: 'DeleteUserResponse', message?: string | null, success: boolean } }; -export type EntryForLandingPageQueryVariables = Exact<{ - entryID: Scalars['BigInt']['input'] -}> +export type ActivityForLandingPageFragment = { __typename?: 'Activity', id: string, createdAt: any, resource: ( + { __typename?: 'Entry' } + & EntryForLandingPageFragment + ) | ( + { __typename?: 'FundingTx' } + & FundingTxForLandingPageFragment + ) | ( + { __typename?: 'Project' } + & ProjectForLandingPageFragment + ) | { __typename?: 'ProjectGoal' } | ( + { __typename?: 'ProjectReward' } + & ProjectRewardForLandingPageFragment + ) }; -export type EntryForLandingPageQuery = { - __typename?: 'Query' - entry?: ({ __typename?: 'Entry' } & EntryForLandingPageFragment) | null -} +export type ActivitiesForLandingPageQueryVariables = Exact<{ + input?: InputMaybe; +}>; -export type EntryWithOwnersQueryVariables = Exact<{ - id: Scalars['BigInt']['input'] -}> - -export type EntryWithOwnersQuery = { - __typename?: 'Query' - entry?: { - __typename?: 'Entry' - id: any - title: string - description: string - image?: string | null - status: EntryStatus - content?: string | null - createdAt: string - updatedAt: string - publishedAt?: string | null - fundersCount: number - type: EntryType - creator: { __typename?: 'User'; id: any; username: string; imageUrl?: string | null } - project?: { - __typename?: 'Project' - id: any - title: string - name: string - owners: Array<{ __typename?: 'Owner'; user: { __typename?: 'User'; id: any } }> - } | null - } | null -} -export type EntriesQueryVariables = Exact<{ - input: GetEntriesInput -}> - -export type EntriesQuery = { - __typename?: 'Query' - getEntries: Array<{ - __typename?: 'Entry' - id: any - title: string - description: string - image?: string | null - fundersCount: number - amountFunded: number - type: EntryType - status: EntryStatus - project?: { __typename?: 'Project'; title: string; name: string; image?: string | null } | null - }> -} +export type ActivitiesForLandingPageQuery = { __typename?: 'Query', activitiesGet: { __typename?: 'ActivitiesGetResponse', activities: Array<( + { __typename?: 'Activity' } + & ActivityForLandingPageFragment + )> } }; + +export type BadgesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type BadgesQuery = { __typename?: 'Query', badges: Array<{ __typename?: 'Badge', createdAt: any, description: string, id: string, image: string, name: string, thumb: string, uniqueName: string }> }; + +export type UserBadgesQueryVariables = Exact<{ + input: BadgesGetInput; +}>; + + +export type UserBadgesQuery = { __typename?: 'Query', userBadges: Array<{ __typename?: 'UserBadge', userId: any, updatedAt: any, status?: UserBadgeStatus | null, id: any, fundingTxId?: any | null, createdAt: any, badgeAwardEventId?: string | null, badge: { __typename?: 'Badge', name: string, thumb: string, uniqueName: string, image: string, id: string, description: string, createdAt: any } }> }; + +export type EntryForLandingPageQueryVariables = Exact<{ + entryID: Scalars['BigInt']['input']; +}>; + + +export type EntryForLandingPageQuery = { __typename?: 'Query', entry?: ( + { __typename?: 'Entry' } + & EntryForLandingPageFragment + ) | null }; + +export type EntryWithOwnersQueryVariables = Exact<{ + id: Scalars['BigInt']['input']; +}>; + + +export type EntryWithOwnersQuery = { __typename?: 'Query', entry?: { __typename?: 'Entry', id: any, title: string, description: string, image?: string | null, status: EntryStatus, content?: string | null, createdAt: string, updatedAt: string, publishedAt?: string | null, fundersCount: number, type: EntryType, creator: { __typename?: 'User', id: any, username: string, imageUrl?: string | null }, project?: { __typename?: 'Project', id: any, title: string, name: string, owners: Array<{ __typename?: 'Owner', user: { __typename?: 'User', id: any } }> } | null } | null }; + +export type EntriesQueryVariables = Exact<{ + input: GetEntriesInput; +}>; + + +export type EntriesQuery = { __typename?: 'Query', getEntries: Array<{ __typename?: 'Entry', id: any, title: string, description: string, image?: string | null, fundersCount: number, amountFunded: number, type: EntryType, status: EntryStatus, project?: { __typename?: 'Project', title: string, name: string, image?: string | null } | null }> }; export type SignedUploadUrlQueryVariables = Exact<{ - input: FileUploadInput -}> - -export type SignedUploadUrlQuery = { - __typename?: 'Query' - getSignedUploadUrl: { __typename?: 'SignedUploadUrl'; uploadUrl: string; distributionUrl: string } -} - -export type FundingTxForUserContributionFragment = { - __typename?: 'FundingTx' - id: any - comment?: string | null - amount: number - paidAt?: any | null - onChain: boolean - media?: string | null - source: string - method?: FundingMethod | null - projectId: any - funder: { - __typename?: 'Funder' - id: any - user?: { - __typename?: 'User' - id: any - username: string - imageUrl?: string | null - externalAccounts: Array<{ - __typename?: 'ExternalAccount' - id: any - externalUsername: string - public: boolean - accountType: string - }> - } | null - } - sourceResource?: - | { __typename?: 'Entry'; id: any; createdAt: string; image?: string | null } - | { - __typename?: 'Project' - id: any - createdAt: string - name: string - title: string - thumbnailImage?: string | null - image?: string | null - } - | null -} + input: FileUploadInput; +}>; + + +export type SignedUploadUrlQuery = { __typename?: 'Query', getSignedUploadUrl: { __typename?: 'SignedUploadUrl', uploadUrl: string, distributionUrl: string } }; + +export type FundingTxForUserContributionFragment = { __typename?: 'FundingTx', id: any, comment?: string | null, amount: number, paidAt?: any | null, onChain: boolean, media?: string | null, source: string, method?: FundingMethod | null, projectId: any, funder: { __typename?: 'Funder', id: any, user?: { __typename?: 'User', id: any, username: string, imageUrl?: string | null, externalAccounts: Array<{ __typename?: 'ExternalAccount', id: any, externalUsername: string, public: boolean, accountType: string }> } | null }, sourceResource?: { __typename?: 'Entry', id: any, createdAt: string, image?: string | null } | { __typename?: 'Project', id: any, createdAt: string, name: string, title: string, thumbnailImage?: string | null, image?: string | null } | null }; export type FundingTxsForLandingPageQueryVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type FundingTxsForLandingPageQuery = { - __typename?: 'Query' - fundingTxsGet?: { - __typename?: 'FundingTxsGetResponse' - fundingTxs: Array<{ __typename?: 'FundingTx' } & FundingTxForLandingPageFragment> - } | null -} + +export type FundingTxsForLandingPageQuery = { __typename?: 'Query', fundingTxsGet?: { __typename?: 'FundingTxsGetResponse', fundingTxs: Array<( + { __typename?: 'FundingTx' } + & FundingTxForLandingPageFragment + )> } | null }; export type FundingTxForUserContributionQueryVariables = Exact<{ - fundingTxId: Scalars['BigInt']['input'] -}> + fundingTxId: Scalars['BigInt']['input']; +}>; -export type FundingTxForUserContributionQuery = { - __typename?: 'Query' - fundingTx: { __typename?: 'FundingTx' } & FundingTxForUserContributionFragment -} + +export type FundingTxForUserContributionQuery = { __typename?: 'Query', fundingTx: ( + { __typename?: 'FundingTx' } + & FundingTxForUserContributionFragment + ) }; export type ProjectDefaultGoalQueryVariables = Exact<{ - input: GetProjectGoalsInput -}> + input: GetProjectGoalsInput; +}>; -export type ProjectDefaultGoalQuery = { - __typename?: 'Query' - projectGoals: { - __typename?: 'ProjectGoals' - inProgress: Array<{ __typename?: 'ProjectGoal' } & ProjectDefaultGoalFragment> - } -} + +export type ProjectDefaultGoalQuery = { __typename?: 'Query', projectGoals: { __typename?: 'ProjectGoals', inProgress: Array<( + { __typename?: 'ProjectGoal' } + & ProjectDefaultGoalFragment + )> } }; export type ProjectGoalsQueryVariables = Exact<{ - input: GetProjectGoalsInput -}> + input: GetProjectGoalsInput; +}>; -export type ProjectGoalsQuery = { - __typename?: 'Query' - projectGoals: { - __typename?: 'ProjectGoals' - inProgress: Array<{ __typename?: 'ProjectGoal' } & ProjectGoalFragment> - completed: Array<{ __typename?: 'ProjectGoal'; completedAt?: any | null } & ProjectGoalFragment> - } -} -export type GrantsQueryVariables = Exact<{ [key: string]: never }> +export type ProjectGoalsQuery = { __typename?: 'Query', projectGoals: { __typename?: 'ProjectGoals', inProgress: Array<( + { __typename?: 'ProjectGoal' } + & ProjectGoalFragment + )>, completed: Array<( + { __typename?: 'ProjectGoal', completedAt?: any | null } + & ProjectGoalFragment + )> } }; -export type GrantsQuery = { - __typename?: 'Query' - grants: Array< - | ({ __typename?: 'BoardVoteGrant' } & BoardVoteGrantsFragmentFragment) - | ({ __typename?: 'CommunityVoteGrant' } & CommunityVoteGrantsFragmentFragment) - > -} +export type GrantsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GrantsQuery = { __typename?: 'Query', grants: Array<( + { __typename?: 'BoardVoteGrant' } + & BoardVoteGrantsFragmentFragment + ) | ( + { __typename?: 'CommunityVoteGrant' } + & CommunityVoteGrantsFragmentFragment + )> }; export type GrantQueryVariables = Exact<{ - input: GrantGetInput -}> + input: GrantGetInput; +}>; -export type GrantQuery = { - __typename?: 'Query' - grant: - | ({ __typename?: 'BoardVoteGrant' } & BoardVoteGrantFragmentFragment) - | ({ __typename?: 'CommunityVoteGrant' } & CommunityVoteGrantFragmentFragment) -} -export type GrantStatisticsQueryVariables = Exact<{ [key: string]: never }> +export type GrantQuery = { __typename?: 'Query', grant: ( + { __typename?: 'BoardVoteGrant' } + & BoardVoteGrantFragmentFragment + ) | ( + { __typename?: 'CommunityVoteGrant' } + & CommunityVoteGrantFragmentFragment + ) }; + +export type GrantStatisticsQueryVariables = Exact<{ [key: string]: never; }>; -export type GrantStatisticsQuery = { - __typename?: 'Query' - grantStatistics: { - __typename?: 'GrantStatistics' - grants?: { __typename?: 'GrantStatisticsGrant'; amountFunded: number; amountGranted: number; count: number } | null - applicants?: { __typename?: 'GrantStatisticsApplicant'; countFunded: number } | null - } -} + +export type GrantStatisticsQuery = { __typename?: 'Query', grantStatistics: { __typename?: 'GrantStatistics', grants?: { __typename?: 'GrantStatisticsGrant', amountFunded: number, amountGranted: number, count: number } | null, applicants?: { __typename?: 'GrantStatisticsApplicant', countFunded: number } | null } }; export type GrantGetQueryVariables = Exact<{ - input: GrantGetInput -}> + input: GrantGetInput; +}>; -export type GrantGetQuery = { - __typename?: 'Query' - grant: - | { - __typename?: 'BoardVoteGrant' - applicants: Array<{ __typename?: 'GrantApplicant'; project: { __typename?: 'Project'; name: string; id: any } }> - } - | { - __typename?: 'CommunityVoteGrant' - applicants: Array<{ __typename?: 'GrantApplicant'; project: { __typename?: 'Project'; name: string; id: any } }> - } -} + +export type GrantGetQuery = { __typename?: 'Query', grant: { __typename?: 'BoardVoteGrant', applicants: Array<{ __typename?: 'GrantApplicant', project: { __typename?: 'Project', name: string, id: any } }> } | { __typename?: 'CommunityVoteGrant', applicants: Array<{ __typename?: 'GrantApplicant', project: { __typename?: 'Project', name: string, id: any } }> } }; export type OrdersGetQueryVariables = Exact<{ - input: OrdersGetInput -}> + input: OrdersGetInput; +}>; -export type OrdersGetQuery = { - __typename?: 'Query' - ordersGet?: { - __typename?: 'OrdersGetResponse' - pagination?: ({ __typename?: 'CursorPaginationResponse' } & PaginationFragment) | null - orders: Array<{ __typename?: 'Order' } & OrderFragment> - } | null -} + +export type OrdersGetQuery = { __typename?: 'Query', ordersGet?: { __typename?: 'OrdersGetResponse', pagination?: ( + { __typename?: 'CursorPaginationResponse' } + & PaginationFragment + ) | null, orders: Array<( + { __typename?: 'Order' } + & OrderFragment + )> } | null }; export type FundingTxsOrderGetQueryVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type FundingTxsOrderGetQuery = { - __typename?: 'Query' - fundingTxsGet?: { - __typename?: 'FundingTxsGetResponse' - pagination?: ({ __typename?: 'CursorPaginationResponse' } & PaginationFragment) | null - fundingTxs: Array<{ __typename?: 'FundingTx' } & FundingTxOrderFragment> - } | null -} + +export type FundingTxsOrderGetQuery = { __typename?: 'Query', fundingTxsGet?: { __typename?: 'FundingTxsGetResponse', pagination?: ( + { __typename?: 'CursorPaginationResponse' } + & PaginationFragment + ) | null, fundingTxs: Array<( + { __typename?: 'FundingTx' } + & FundingTxOrderFragment + )> } | null }; export type FundingTxsOrderCountGetQueryVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type FundingTxsOrderCountGetQuery = { - __typename?: 'Query' - fundingTxsGet?: { - __typename?: 'FundingTxsGetResponse' - pagination?: ({ __typename?: 'CursorPaginationResponse' } & PaginationFragment) | null - } | null -} + +export type FundingTxsOrderCountGetQuery = { __typename?: 'Query', fundingTxsGet?: { __typename?: 'FundingTxsGetResponse', pagination?: ( + { __typename?: 'CursorPaginationResponse' } + & PaginationFragment + ) | null } | null }; export type ProjectByNameOrIdQueryVariables = Exact<{ - where: UniqueProjectQueryInput - input?: InputMaybe -}> + where: UniqueProjectQueryInput; + input?: InputMaybe; +}>; -export type ProjectByNameOrIdQuery = { - __typename?: 'Query' - projectGet?: ({ __typename?: 'Project' } & ProjectFragment) | null -} + +export type ProjectByNameOrIdQuery = { __typename?: 'Query', projectGet?: ( + { __typename?: 'Project' } + & ProjectFragment + ) | null }; export type ProjectsForSubscriptionQueryVariables = Exact<{ - input: ProjectsGetQueryInput -}> + input: ProjectsGetQueryInput; +}>; -export type ProjectsForSubscriptionQuery = { - __typename?: 'Query' - projectsGet: { - __typename?: 'ProjectsResponse' - projects: Array<{ __typename?: 'Project' } & ProjectForSubscriptionFragment> - } -} + +export type ProjectsForSubscriptionQuery = { __typename?: 'Query', projectsGet: { __typename?: 'ProjectsResponse', projects: Array<( + { __typename?: 'Project' } + & ProjectForSubscriptionFragment + )> } }; export type ProjectsQueryVariables = Exact<{ - input?: InputMaybe -}> - -export type ProjectsQuery = { - __typename?: 'Query' - projectsGet: { - __typename?: 'ProjectsResponse' - projects: Array<{ - __typename?: 'Project' - id: any - title: string - name: string - description?: string | null - balance: number - createdAt: string - status?: ProjectStatus | null - image?: string | null - }> - } -} + input?: InputMaybe; +}>; + + +export type ProjectsQuery = { __typename?: 'Query', projectsGet: { __typename?: 'ProjectsResponse', projects: Array<{ __typename?: 'Project', id: any, title: string, name: string, description?: string | null, balance: number, createdAt: string, status?: ProjectStatus | null, image?: string | null }> } }; export type ProjectsFullQueryVariables = Exact<{ - input?: InputMaybe -}> - -export type ProjectsFullQuery = { - __typename?: 'Query' - projectsGet: { - __typename?: 'ProjectsResponse' - projects: Array<{ - __typename?: 'Project' - id: any - title: string - name: string - type: ProjectType - shortDescription?: string | null - description?: string | null - balance: number - createdAt: string - updatedAt: string - thumbnailImage?: string | null - image?: string | null - status?: ProjectStatus | null - owners: Array<{ - __typename?: 'Owner' - id: any - user: { __typename?: 'User'; id: any; username: string; imageUrl?: string | null } - }> - funders: Array<{ - __typename?: 'Funder' - id: any - confirmed: boolean - user?: { __typename?: 'User'; id: any; username: string; imageUrl?: string | null } | null - }> - wallets: Array<{ - __typename?: 'Wallet' - state: { __typename?: 'WalletState'; status: WalletStatus; statusCode: WalletStatusCode } - }> - }> - } -} - -export type ProjectsSummaryQueryVariables = Exact<{ [key: string]: never }> - -export type ProjectsSummaryQuery = { - __typename?: 'Query' - projectsSummary: { - __typename?: 'ProjectsSummary' - fundedTotal?: any | null - fundersCount?: number | null - projectsCount?: number | null - } -} + input?: InputMaybe; +}>; + + +export type ProjectsFullQuery = { __typename?: 'Query', projectsGet: { __typename?: 'ProjectsResponse', projects: Array<{ __typename?: 'Project', id: any, title: string, name: string, type: ProjectType, shortDescription?: string | null, description?: string | null, balance: number, createdAt: string, updatedAt: string, thumbnailImage?: string | null, image?: string | null, status?: ProjectStatus | null, owners: Array<{ __typename?: 'Owner', id: any, user: { __typename?: 'User', id: any, username: string, imageUrl?: string | null } }>, funders: Array<{ __typename?: 'Funder', id: any, confirmed: boolean, user?: { __typename?: 'User', id: any, username: string, imageUrl?: string | null } | null }>, wallets: Array<{ __typename?: 'Wallet', state: { __typename?: 'WalletState', status: WalletStatus, statusCode: WalletStatusCode } }> }> } }; + +export type ProjectsSummaryQueryVariables = Exact<{ [key: string]: never; }>; + + +export type ProjectsSummaryQuery = { __typename?: 'Query', projectsSummary: { __typename?: 'ProjectsSummary', fundedTotal?: any | null, fundersCount?: number | null, projectsCount?: number | null } }; export type ProjectFundersQueryVariables = Exact<{ - input: GetFundersInput -}> + input: GetFundersInput; +}>; -export type ProjectFundersQuery = { - __typename?: 'Query' - fundersGet: Array<{ __typename?: 'Funder' } & FunderWithUserFragment> -} + +export type ProjectFundersQuery = { __typename?: 'Query', fundersGet: Array<( + { __typename?: 'Funder' } + & FunderWithUserFragment + )> }; export type ProjectNostrKeysQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type ProjectNostrKeysQuery = { - __typename?: 'Query' - projectGet?: ({ __typename?: 'Project' } & ProjectNostrKeysFragment) | null -} -export type MeQueryVariables = Exact<{ [key: string]: never }> +export type ProjectNostrKeysQuery = { __typename?: 'Query', projectGet?: ( + { __typename?: 'Project' } + & ProjectNostrKeysFragment + ) | null }; -export type MeQuery = { __typename?: 'Query'; me?: ({ __typename?: 'User' } & UserMeFragment) | null } +export type MeQueryVariables = Exact<{ [key: string]: never; }>; -export type MeProjectFollowsQueryVariables = Exact<{ [key: string]: never }> -export type MeProjectFollowsQuery = { - __typename?: 'Query' - me?: { - __typename?: 'User' - id: any - projectFollows: Array<{ - __typename?: 'Project' - id: any - title: string - thumbnailImage?: string | null - name: string - }> - } | null -} +export type MeQuery = { __typename?: 'Query', me?: ( + { __typename?: 'User' } + & UserMeFragment + ) | null }; + +export type MeProjectFollowsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type MeProjectFollowsQuery = { __typename?: 'Query', me?: { __typename?: 'User', id: any, projectFollows: Array<{ __typename?: 'Project', id: any, title: string, thumbnailImage?: string | null, name: string }> } | null }; export type LightningAddressVerifyQueryVariables = Exact<{ - lightningAddress?: InputMaybe -}> + lightningAddress?: InputMaybe; +}>; -export type LightningAddressVerifyQuery = { - __typename?: 'Query' - lightningAddressVerify: { - __typename?: 'LightningAddressVerifyResponse' - reason?: string | null - valid: boolean - limits?: { __typename?: 'LightningAddressContributionLimits'; max?: number | null; min?: number | null } | null - } -} + +export type LightningAddressVerifyQuery = { __typename?: 'Query', lightningAddressVerify: { __typename?: 'LightningAddressVerifyResponse', reason?: string | null, valid: boolean, limits?: { __typename?: 'LightningAddressContributionLimits', max?: number | null, min?: number | null } | null } }; export type WalletLimitQueryVariables = Exact<{ - getWalletId: Scalars['BigInt']['input'] -}> + getWalletId: Scalars['BigInt']['input']; +}>; -export type WalletLimitQuery = { - __typename?: 'Query' - getWallet: { - __typename?: 'Wallet' - limits?: { - __typename?: 'WalletLimits' - contribution?: { __typename?: 'WalletContributionLimits'; max?: number | null; min?: number | null } | null - } | null - } -} + +export type WalletLimitQuery = { __typename?: 'Query', getWallet: { __typename?: 'Wallet', limits?: { __typename?: 'WalletLimits', contribution?: { __typename?: 'WalletContributionLimits', max?: number | null, min?: number | null } | null } | null } }; export type ActivityCreatedSubscriptionVariables = Exact<{ - input?: InputMaybe -}> - -export type ActivityCreatedSubscription = { - __typename?: 'Subscription' - activityCreated: { - __typename?: 'Activity' - id: string - activityType: string - resource: - | ({ __typename?: 'Entry' } & EntryForLandingPageFragment) - | ({ __typename?: 'FundingTx' } & FundingTxForLandingPageFragment) - | ({ __typename?: 'Project' } & ProjectForLandingPageFragment) - | { __typename?: 'ProjectGoal' } - | ({ __typename?: 'ProjectReward' } & ProjectRewardForLandingPageFragment) - } -} - -export type ProjectForLandingPageFragment = { - __typename?: 'Project' - id: any - name: string - balance: number - balanceUsdCent: number - fundersCount?: number | null - thumbnailImage?: string | null - shortDescription?: string | null - title: string - status?: ProjectStatus | null -} - -export type RewardForLandingPageFragment = { - __typename?: 'ProjectReward' - id: any - image?: string | null - cost: number - name: string - description?: string | null - project: { - __typename?: 'Project' - rewardCurrency?: RewardCurrency | null - id: any - name: string - title: string - thumbnailImage?: string | null - } -} + input?: InputMaybe; +}>; + + +export type ActivityCreatedSubscription = { __typename?: 'Subscription', activityCreated: { __typename?: 'Activity', id: string, activityType: string, resource: ( + { __typename?: 'Entry' } + & EntryForLandingPageFragment + ) | ( + { __typename?: 'FundingTx' } + & FundingTxForLandingPageFragment + ) | ( + { __typename?: 'Project' } + & ProjectForLandingPageFragment + ) | { __typename?: 'ProjectGoal' } | ( + { __typename?: 'ProjectReward' } + & ProjectRewardForLandingPageFragment + ) } }; + +export type ProjectForLandingPageFragment = { __typename?: 'Project', id: any, name: string, balance: number, balanceUsdCent: number, fundersCount?: number | null, thumbnailImage?: string | null, shortDescription?: string | null, title: string, status?: ProjectStatus | null }; + +export type RewardForLandingPageFragment = { __typename?: 'ProjectReward', id: any, image?: string | null, cost: number, name: string, description?: string | null, project: { __typename?: 'Project', rewardCurrency?: RewardCurrency | null, id: any, name: string, title: string, thumbnailImage?: string | null } }; export type ActivitiesGetQueryVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type ActivitiesGetQuery = { - __typename?: 'Query' - activitiesGet: { - __typename?: 'ActivitiesGetResponse' - activities: Array<{ __typename?: 'Activity'; id: string; createdAt: any; activityType: string }> - } -} + +export type ActivitiesGetQuery = { __typename?: 'Query', activitiesGet: { __typename?: 'ActivitiesGetResponse', activities: Array<{ __typename?: 'Activity', id: string, createdAt: any, activityType: string }> } }; export type FeaturedProjectForLandingPageQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type FeaturedProjectForLandingPageQuery = { - __typename?: 'Query' - projectGet?: ({ __typename?: 'Project' } & ProjectForLandingPageFragment) | null -} + +export type FeaturedProjectForLandingPageQuery = { __typename?: 'Query', projectGet?: ( + { __typename?: 'Project' } + & ProjectForLandingPageFragment + ) | null }; export type ProjectsMostFundedByTagQueryVariables = Exact<{ - input: ProjectsMostFundedByTagInput -}> + input: ProjectsMostFundedByTagInput; +}>; -export type ProjectsMostFundedByTagQuery = { - __typename?: 'Query' - projectsMostFundedByTag: Array<{ - __typename?: 'ProjectMostFundedByTag' - tagId: number - projects: Array<{ - __typename?: 'ProjectMostFunded' - project: { __typename?: 'Project' } & ProjectForLandingPageFragment - }> - }> -} + +export type ProjectsMostFundedByTagQuery = { __typename?: 'Query', projectsMostFundedByTag: Array<{ __typename?: 'ProjectMostFundedByTag', tagId: number, projects: Array<{ __typename?: 'ProjectMostFunded', project: ( + { __typename?: 'Project' } + & ProjectForLandingPageFragment + ) }> }> }; export type ProjectsForLandingPageQueryVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type ProjectsForLandingPageQuery = { - __typename?: 'Query' - projectsGet: { - __typename?: 'ProjectsResponse' - projects: Array<{ __typename?: 'Project' } & ProjectForLandingPageFragment> - } -} -export type ProjectRewardsTrendingWeeklyGetQueryVariables = Exact<{ [key: string]: never }> +export type ProjectsForLandingPageQuery = { __typename?: 'Query', projectsGet: { __typename?: 'ProjectsResponse', projects: Array<( + { __typename?: 'Project' } + & ProjectForLandingPageFragment + )> } }; -export type ProjectRewardsTrendingWeeklyGetQuery = { - __typename?: 'Query' - projectRewardsTrendingWeeklyGet: Array<{ - __typename?: 'ProjectRewardTrendingWeeklyGetRow' - count: number - projectReward: { __typename?: 'ProjectReward' } & RewardForLandingPageFragment - }> -} +export type ProjectRewardsTrendingWeeklyGetQueryVariables = Exact<{ [key: string]: never; }>; -export type TagsGetQueryVariables = Exact<{ [key: string]: never }> -export type TagsGetQuery = { - __typename?: 'Query' - tagsGet: Array<{ __typename?: 'TagsGetResult'; label: string; id: number; count: number }> -} +export type ProjectRewardsTrendingWeeklyGetQuery = { __typename?: 'Query', projectRewardsTrendingWeeklyGet: Array<{ __typename?: 'ProjectRewardTrendingWeeklyGetRow', count: number, projectReward: ( + { __typename?: 'ProjectReward' } + & RewardForLandingPageFragment + ) }> }; -export type ProjectCountriesGetQueryVariables = Exact<{ [key: string]: never }> +export type TagsGetQueryVariables = Exact<{ [key: string]: never; }>; -export type ProjectCountriesGetQuery = { - __typename?: 'Query' - projectCountriesGet: Array<{ - __typename?: 'ProjectCountriesGetResult' - count: number - country: { __typename?: 'Country'; code: string; name: string } - }> -} -export type ProjectRegionsGetQueryVariables = Exact<{ [key: string]: never }> +export type TagsGetQuery = { __typename?: 'Query', tagsGet: Array<{ __typename?: 'TagsGetResult', label: string, id: number, count: number }> }; -export type ProjectRegionsGetQuery = { - __typename?: 'Query' - projectRegionsGet: Array<{ __typename?: 'ProjectRegionsGetResult'; count: number; region: string }> -} +export type ProjectCountriesGetQueryVariables = Exact<{ [key: string]: never; }>; -export type TagsMostFundedGetQueryVariables = Exact<{ [key: string]: never }> -export type TagsMostFundedGetQuery = { - __typename?: 'Query' - tagsMostFundedGet: Array<{ __typename?: 'TagsMostFundedGetResult'; id: number; label: string }> -} +export type ProjectCountriesGetQuery = { __typename?: 'Query', projectCountriesGet: Array<{ __typename?: 'ProjectCountriesGetResult', count: number, country: { __typename?: 'Country', code: string, name: string } }> }; -export type ActivityFeedFragmentFragment = { - __typename?: 'Activity' - activityType: string - createdAt: any - id: string - project: { __typename?: 'Project'; id: any; title: string; name: string; thumbnailImage?: string | null } - resource: - | { - __typename?: 'Entry' - id: any - title: string - content?: string | null - entryDescription: string - entryImage?: string | null - } - | { - __typename?: 'FundingTx' - id: any - amount: number - projectId: any - isAnonymous: boolean - funder: { - __typename?: 'Funder' - user?: { __typename?: 'User'; id: any; username: string; imageUrl?: string | null } | null - } - } - | { __typename?: 'Project'; id: any; title: string; name: string; image?: string | null } - | { - __typename?: 'ProjectGoal' - currency: ProjectGoalCurrency - title: string - targetAmount: number - status: ProjectGoalStatus - goalDescription?: string | null - } - | { - __typename?: 'ProjectReward' - id: any - category?: string | null - cost: number - rewardCurrency: RewardCurrency - rewardType?: string | null - sold: number - stock?: number | null - projectRewardDescription?: string | null - projectRewardImage?: string | null - } -} +export type ProjectRegionsGetQueryVariables = Exact<{ [key: string]: never; }>; + + +export type ProjectRegionsGetQuery = { __typename?: 'Query', projectRegionsGet: Array<{ __typename?: 'ProjectRegionsGetResult', count: number, region: string }> }; + +export type TagsMostFundedGetQueryVariables = Exact<{ [key: string]: never; }>; + + +export type TagsMostFundedGetQuery = { __typename?: 'Query', tagsMostFundedGet: Array<{ __typename?: 'TagsMostFundedGetResult', id: number, label: string }> }; + +export type ActivityFeedFragmentFragment = { __typename?: 'Activity', activityType: string, createdAt: any, id: string, project: { __typename?: 'Project', id: any, title: string, name: string, thumbnailImage?: string | null }, resource: { __typename?: 'Entry', id: any, title: string, content?: string | null, entryDescription: string, entryImage?: string | null } | { __typename?: 'FundingTx', id: any, amount: number, projectId: any, isAnonymous: boolean, funder: { __typename?: 'Funder', user?: { __typename?: 'User', id: any, username: string, imageUrl?: string | null } | null } } | { __typename?: 'Project', id: any, title: string, name: string, image?: string | null } | { __typename?: 'ProjectGoal', currency: ProjectGoalCurrency, title: string, targetAmount: number, status: ProjectGoalStatus, goalDescription?: string | null } | { __typename?: 'ProjectReward', id: any, category?: string | null, cost: number, rewardCurrency: RewardCurrency, rewardType?: string | null, sold: number, stock?: number | null, projectRewardDescription?: string | null, projectRewardImage?: string | null } }; export type ActivityFeedQueryVariables = Exact<{ - input: GetActivitiesInput -}> - -export type ActivityFeedQuery = { - __typename?: 'Query' - activitiesGet: { - __typename?: 'ActivitiesGetResponse' - activities: Array<{ __typename?: 'Activity' } & ActivityFeedFragmentFragment> - pagination?: { - __typename?: 'CursorPaginationResponse' - take?: number | null - count?: number | null - cursor?: { __typename?: 'PaginationCursor'; id?: any | null } | null - } | null - } -} - -export type SummaryBannerFragmentFragment = { - __typename?: 'ProjectsSummary' - fundedTotal?: any | null - fundersCount?: number | null - projectsCount?: number | null -} - -export type TopContributorsFragmentFragment = { - __typename?: 'GlobalContributorLeaderboardRow' - contributionsCount: number - contributionsTotal: number - contributionsTotalUsd: number - projectsContributedCount: number - userId: any - username: string - userImageUrl?: string | null -} - -export type TopProjectsFragmentFragment = { - __typename?: 'GlobalProjectLeaderboardRow' - projectName: string - projectTitle: string - projectThumbnailUrl?: string | null - contributionsTotal: number - contributionsTotalUsd: number - contributionsCount: number - contributorsCount: number -} + input: GetActivitiesInput; +}>; + + +export type ActivityFeedQuery = { __typename?: 'Query', activitiesGet: { __typename?: 'ActivitiesGetResponse', activities: Array<( + { __typename?: 'Activity' } + & ActivityFeedFragmentFragment + )>, pagination?: { __typename?: 'CursorPaginationResponse', take?: number | null, count?: number | null, cursor?: { __typename?: 'PaginationCursor', id?: any | null } | null } | null } }; + +export type SummaryBannerFragmentFragment = { __typename?: 'ProjectsSummary', fundedTotal?: any | null, fundersCount?: number | null, projectsCount?: number | null }; + +export type TopContributorsFragmentFragment = { __typename?: 'GlobalContributorLeaderboardRow', contributionsCount: number, contributionsTotal: number, contributionsTotalUsd: number, projectsContributedCount: number, userId: any, username: string, userImageUrl?: string | null }; + +export type TopProjectsFragmentFragment = { __typename?: 'GlobalProjectLeaderboardRow', projectName: string, projectTitle: string, projectThumbnailUrl?: string | null, contributionsTotal: number, contributionsTotalUsd: number, contributionsCount: number, contributorsCount: number }; export type LeaderboardGlobalContributorsQueryVariables = Exact<{ - input: LeaderboardGlobalContributorsGetInput -}> + input: LeaderboardGlobalContributorsGetInput; +}>; -export type LeaderboardGlobalContributorsQuery = { - __typename?: 'Query' - leaderboardGlobalContributorsGet: Array< - { __typename?: 'GlobalContributorLeaderboardRow' } & TopContributorsFragmentFragment - > -} + +export type LeaderboardGlobalContributorsQuery = { __typename?: 'Query', leaderboardGlobalContributorsGet: Array<( + { __typename?: 'GlobalContributorLeaderboardRow' } + & TopContributorsFragmentFragment + )> }; export type LeaderboardGlobalProjectsQueryVariables = Exact<{ - input: LeaderboardGlobalProjectsGetInput -}> - -export type LeaderboardGlobalProjectsQuery = { - __typename?: 'Query' - leaderboardGlobalProjectsGet: Array<{ __typename?: 'GlobalProjectLeaderboardRow' } & TopProjectsFragmentFragment> -} - -export type FollowedProjectsActivitiesCountFragmentFragment = { - __typename?: 'ProjectActivitiesCount' - count: number - project: { __typename?: 'Project'; id: any; name: string; thumbnailImage?: string | null; title: string } -} - -export type OrdersStatsFragmentFragment = { - __typename?: 'OrdersStatsBase' - projectRewards: { __typename?: 'ProjectRewardsStats'; count: number } - projectRewardsGroupedByProjectRewardId: Array<{ - __typename?: 'ProjectRewardsGroupedByRewardIdStats' - count: number - projectReward: { - __typename?: 'ProjectRewardsGroupedByRewardIdStatsProjectReward' - id: any - name: string - image?: string | null - } - }> -} + input: LeaderboardGlobalProjectsGetInput; +}>; -export type ProjectContributionsStatsFragment = { - __typename?: 'ProjectContributionsStatsBase' - contributions: { __typename?: 'ProjectContributionsStats'; total: number; totalUsd: number } -} -export type ProjectStatsFragment = { - __typename?: 'ProjectStats' - current?: { - __typename?: 'ProjectStatsBase' - projectContributionsStats?: - | ({ __typename?: 'ProjectContributionsStatsBase' } & ProjectContributionsStatsFragment) - | null - } | null -} +export type LeaderboardGlobalProjectsQuery = { __typename?: 'Query', leaderboardGlobalProjectsGet: Array<( + { __typename?: 'GlobalProjectLeaderboardRow' } + & TopProjectsFragmentFragment + )> }; + +export type FollowedProjectsActivitiesCountFragmentFragment = { __typename?: 'ProjectActivitiesCount', count: number, project: { __typename?: 'Project', id: any, name: string, thumbnailImage?: string | null, title: string } }; + +export type OrdersStatsFragmentFragment = { __typename?: 'OrdersStatsBase', projectRewards: { __typename?: 'ProjectRewardsStats', count: number }, projectRewardsGroupedByProjectRewardId: Array<{ __typename?: 'ProjectRewardsGroupedByRewardIdStats', count: number, projectReward: { __typename?: 'ProjectRewardsGroupedByRewardIdStatsProjectReward', id: any, name: string, image?: string | null } }> }; + +export type ProjectContributionsStatsFragment = { __typename?: 'ProjectContributionsStatsBase', contributions: { __typename?: 'ProjectContributionsStats', total: number, totalUsd: number } }; + +export type ProjectStatsFragment = { __typename?: 'ProjectStats', current?: { __typename?: 'ProjectStatsBase', projectContributionsStats?: ( + { __typename?: 'ProjectContributionsStatsBase' } + & ProjectContributionsStatsFragment + ) | null } | null }; export type ActivitiesCountGroupedByProjectQueryVariables = Exact<{ - input: ActivitiesCountGroupedByProjectInput -}> + input: ActivitiesCountGroupedByProjectInput; +}>; -export type ActivitiesCountGroupedByProjectQuery = { - __typename?: 'Query' - activitiesCountGroupedByProject: Array< - { __typename?: 'ProjectActivitiesCount' } & FollowedProjectsActivitiesCountFragmentFragment - > -} + +export type ActivitiesCountGroupedByProjectQuery = { __typename?: 'Query', activitiesCountGroupedByProject: Array<( + { __typename?: 'ProjectActivitiesCount' } + & FollowedProjectsActivitiesCountFragmentFragment + )> }; export type OrdersStatsGetQueryVariables = Exact<{ - input: GetProjectOrdersStatsInput -}> + input: GetProjectOrdersStatsInput; +}>; -export type OrdersStatsGetQuery = { - __typename?: 'Query' - ordersStatsGet: { __typename?: 'OrdersStatsBase' } & OrdersStatsFragmentFragment -} + +export type OrdersStatsGetQuery = { __typename?: 'Query', ordersStatsGet: ( + { __typename?: 'OrdersStatsBase' } + & OrdersStatsFragmentFragment + ) }; export type ProjectStatsGetQueryVariables = Exact<{ - input: GetProjectStatsInput -}> - -export type ProjectStatsGetQuery = { - __typename?: 'Query' - projectStatsGet: { __typename?: 'ProjectStats' } & ProjectStatsFragment -} - -export type BitcoinQuoteFragment = { __typename?: 'BitcoinQuote'; quote: number; quoteCurrency: QuoteCurrency } - -export type UserProjectFunderFragment = { - __typename?: 'Funder' - amountFunded?: number | null - confirmedAt?: any | null - confirmed: boolean - id: any - fundingTxs: Array<{ - __typename?: 'FundingTx' - amountPaid: number - comment?: string | null - media?: string | null - paidAt?: any | null - onChain: boolean - bitcoinQuote?: ({ __typename?: 'BitcoinQuote' } & BitcoinQuoteFragment) | null - }> -} - -export type UserProjectContributionsFragment = { - __typename?: 'UserProjectContribution' - project: { __typename?: 'Project' } & ProjectAvatarFragment - funder?: ({ __typename?: 'Funder' } & UserProjectFunderFragment) | null -} - -export type ProfileOrderItemFragment = { - __typename?: 'OrderItem' - quantity: number - unitPriceInSats: number - item: { - __typename?: 'ProjectReward' - id: any - name: string - cost: number - rewardCurrency: RewardCurrency - description?: string | null - image?: string | null - category?: string | null - } -} - -export type ProfileOrderFragment = { - __typename?: 'Order' - id: any - referenceCode: string - totalInSats: number - status: string - confirmedAt?: any | null - updatedAt: any - items: Array<{ __typename?: 'OrderItem' } & ProfileOrderItemFragment> - fundingTx: { - __typename?: 'FundingTx' - id: any - amountPaid: number - amount: number - status: FundingStatus - onChain: boolean - bitcoinQuote?: { __typename?: 'BitcoinQuote'; quote: number; quoteCurrency: QuoteCurrency } | null - sourceResource?: { __typename?: 'Entry' } | ({ __typename?: 'Project' } & ProjectAvatarFragment) | null - } -} - -export type NotificationConfigurationFragment = { - __typename?: 'NotificationConfiguration' - id: any - name: string - description?: string | null - value: string - type?: SettingValueType | null - options: Array -} - -export type NotificationSettingsFragment = { - __typename?: 'NotificationSettings' - notificationType: string - isEnabled: boolean - configurations: Array<{ __typename?: 'NotificationConfiguration' } & NotificationConfigurationFragment> -} - -export type ProfileNotificationsSettingsFragment = { - __typename?: 'ProfileNotificationSettings' - userSettings: { - __typename?: 'UserNotificationSettings' - userId: any - notificationSettings: Array<{ __typename?: 'NotificationSettings' } & NotificationSettingsFragment> - } - creatorSettings: Array<{ - __typename?: 'CreatorNotificationSettings' - userId: any - project: { __typename?: 'CreatorNotificationSettingsProject'; id: any; title: string; image?: string | null } - notificationSettings: Array<{ __typename?: 'NotificationSettings' } & NotificationSettingsFragment> - }> -} - -export type UserNotificationsSettingsFragment = { - __typename?: 'ProfileNotificationSettings' - userSettings: { - __typename?: 'UserNotificationSettings' - userId: any - notificationSettings: Array<{ __typename?: 'NotificationSettings' } & NotificationSettingsFragment> - } -} - -export type ProjectForProfilePageFragment = { - __typename?: 'Project' - id: any - name: string - balance: number - fundersCount?: number | null - thumbnailImage?: string | null - title: string - shortDescription?: string | null - createdAt: string - status?: ProjectStatus | null - rewardsCount?: number | null - wallets: Array<{ - __typename?: 'Wallet' - id: any - name?: string | null - state: { __typename?: 'WalletState'; status: WalletStatus; statusCode: WalletStatusCode } - }> -} - -export type ProjectNotificationSettingsFragment = { - __typename?: 'CreatorNotificationSettings' - userId: any - project: { __typename?: 'CreatorNotificationSettingsProject'; id: any; title: string; image?: string | null } - notificationSettings: Array<{ - __typename?: 'NotificationSettings' - notificationType: string - isEnabled: boolean - configurations: Array<{ - __typename?: 'NotificationConfiguration' - id: any - name: string - description?: string | null - value: string - type?: SettingValueType | null - options: Array - }> - }> -} - -export type UserForProfilePageFragment = { - __typename?: 'User' - id: any - bio?: string | null - username: string - imageUrl?: string | null - ranking?: any | null - isEmailVerified: boolean - externalAccounts: Array<{ __typename?: 'ExternalAccount' } & ExternalAccountFragment> -} + input: GetProjectStatsInput; +}>; + + +export type ProjectStatsGetQuery = { __typename?: 'Query', projectStatsGet: ( + { __typename?: 'ProjectStats' } + & ProjectStatsFragment + ) }; + +export type BitcoinQuoteFragment = { __typename?: 'BitcoinQuote', quote: number, quoteCurrency: QuoteCurrency }; + +export type UserProjectFunderFragment = { __typename?: 'Funder', amountFunded?: number | null, confirmedAt?: any | null, confirmed: boolean, id: any, fundingTxs: Array<{ __typename?: 'FundingTx', amountPaid: number, comment?: string | null, media?: string | null, paidAt?: any | null, onChain: boolean, bitcoinQuote?: ( + { __typename?: 'BitcoinQuote' } + & BitcoinQuoteFragment + ) | null }> }; + +export type UserProjectContributionsFragment = { __typename?: 'UserProjectContribution', project: ( + { __typename?: 'Project' } + & ProjectAvatarFragment + ), funder?: ( + { __typename?: 'Funder' } + & UserProjectFunderFragment + ) | null }; + +export type ProfileOrderItemFragment = { __typename?: 'OrderItem', quantity: number, unitPriceInSats: number, item: { __typename?: 'ProjectReward', id: any, name: string, cost: number, rewardCurrency: RewardCurrency, description?: string | null, image?: string | null, category?: string | null } }; + +export type ProfileOrderFragment = { __typename?: 'Order', id: any, referenceCode: string, totalInSats: number, status: string, confirmedAt?: any | null, updatedAt: any, items: Array<( + { __typename?: 'OrderItem' } + & ProfileOrderItemFragment + )>, fundingTx: { __typename?: 'FundingTx', id: any, amountPaid: number, amount: number, status: FundingStatus, onChain: boolean, bitcoinQuote?: { __typename?: 'BitcoinQuote', quote: number, quoteCurrency: QuoteCurrency } | null, sourceResource?: { __typename?: 'Entry' } | ( + { __typename?: 'Project' } + & ProjectAvatarFragment + ) | null } }; + +export type NotificationConfigurationFragment = { __typename?: 'NotificationConfiguration', id: any, name: string, description?: string | null, value: string, type?: SettingValueType | null, options: Array }; + +export type NotificationSettingsFragment = { __typename?: 'NotificationSettings', notificationType: string, isEnabled: boolean, configurations: Array<( + { __typename?: 'NotificationConfiguration' } + & NotificationConfigurationFragment + )> }; + +export type ProfileNotificationsSettingsFragment = { __typename?: 'ProfileNotificationSettings', userSettings: { __typename?: 'UserNotificationSettings', userId: any, notificationSettings: Array<( + { __typename?: 'NotificationSettings' } + & NotificationSettingsFragment + )> }, creatorSettings: Array<{ __typename?: 'CreatorNotificationSettings', userId: any, project: { __typename?: 'CreatorNotificationSettingsProject', id: any, title: string, image?: string | null }, notificationSettings: Array<( + { __typename?: 'NotificationSettings' } + & NotificationSettingsFragment + )> }> }; + +export type UserNotificationsSettingsFragment = { __typename?: 'ProfileNotificationSettings', userSettings: { __typename?: 'UserNotificationSettings', userId: any, notificationSettings: Array<( + { __typename?: 'NotificationSettings' } + & NotificationSettingsFragment + )> } }; + +export type ProjectForProfilePageFragment = { __typename?: 'Project', id: any, name: string, balance: number, fundersCount?: number | null, thumbnailImage?: string | null, title: string, shortDescription?: string | null, createdAt: string, status?: ProjectStatus | null, rewardsCount?: number | null, wallets: Array<{ __typename?: 'Wallet', id: any, name?: string | null, state: { __typename?: 'WalletState', status: WalletStatus, statusCode: WalletStatusCode } }> }; + +export type ProjectNotificationSettingsFragment = { __typename?: 'CreatorNotificationSettings', userId: any, project: { __typename?: 'CreatorNotificationSettingsProject', id: any, title: string, image?: string | null }, notificationSettings: Array<{ __typename?: 'NotificationSettings', notificationType: string, isEnabled: boolean, configurations: Array<{ __typename?: 'NotificationConfiguration', id: any, name: string, description?: string | null, value: string, type?: SettingValueType | null, options: Array }> }> }; + +export type UserForProfilePageFragment = { __typename?: 'User', id: any, bio?: string | null, username: string, imageUrl?: string | null, ranking?: any | null, isEmailVerified: boolean, externalAccounts: Array<( + { __typename?: 'ExternalAccount' } + & ExternalAccountFragment + )> }; export type CreatorNotificationsSettingsUpdateMutationVariables = Exact<{ - creatorNotificationConfigurationId: Scalars['BigInt']['input'] - value: Scalars['String']['input'] -}> + creatorNotificationConfigurationId: Scalars['BigInt']['input']; + value: Scalars['String']['input']; +}>; -export type CreatorNotificationsSettingsUpdateMutation = { - __typename?: 'Mutation' - creatorNotificationConfigurationValueUpdate?: boolean | null -} + +export type CreatorNotificationsSettingsUpdateMutation = { __typename?: 'Mutation', creatorNotificationConfigurationValueUpdate?: boolean | null }; export type UserNotificationsSettingsUpdateMutationVariables = Exact<{ - userNotificationConfigurationId: Scalars['BigInt']['input'] - value: Scalars['String']['input'] -}> + userNotificationConfigurationId: Scalars['BigInt']['input']; + value: Scalars['String']['input']; +}>; -export type UserNotificationsSettingsUpdateMutation = { - __typename?: 'Mutation' - userNotificationConfigurationValueUpdate?: boolean | null -} + +export type UserNotificationsSettingsUpdateMutation = { __typename?: 'Mutation', userNotificationConfigurationValueUpdate?: boolean | null }; export type ProfileNotificationsSettingsQueryVariables = Exact<{ - userId: Scalars['BigInt']['input'] -}> + userId: Scalars['BigInt']['input']; +}>; -export type ProfileNotificationsSettingsQuery = { - __typename?: 'Query' - userNotificationSettingsGet: { __typename?: 'ProfileNotificationSettings' } & ProfileNotificationsSettingsFragment -} + +export type ProfileNotificationsSettingsQuery = { __typename?: 'Query', userNotificationSettingsGet: ( + { __typename?: 'ProfileNotificationSettings' } + & ProfileNotificationsSettingsFragment + ) }; export type UserNotificationsSettingsQueryVariables = Exact<{ - userId: Scalars['BigInt']['input'] -}> + userId: Scalars['BigInt']['input']; +}>; -export type UserNotificationsSettingsQuery = { - __typename?: 'Query' - userNotificationSettingsGet: { __typename?: 'ProfileNotificationSettings' } & UserNotificationsSettingsFragment -} + +export type UserNotificationsSettingsQuery = { __typename?: 'Query', userNotificationSettingsGet: ( + { __typename?: 'ProfileNotificationSettings' } + & UserNotificationsSettingsFragment + ) }; export type ProjectNotificationSettingsQueryVariables = Exact<{ - projectId: Scalars['BigInt']['input'] -}> + projectId: Scalars['BigInt']['input']; +}>; -export type ProjectNotificationSettingsQuery = { - __typename?: 'Query' - projectNotificationSettingsGet: { __typename?: 'CreatorNotificationSettings' } & ProjectNotificationSettingsFragment -} + +export type ProjectNotificationSettingsQuery = { __typename?: 'Query', projectNotificationSettingsGet: ( + { __typename?: 'CreatorNotificationSettings' } + & ProjectNotificationSettingsFragment + ) }; export type UserForProfilePageQueryVariables = Exact<{ - where: UserGetInput -}> + where: UserGetInput; +}>; -export type UserForProfilePageQuery = { - __typename?: 'Query' - user: { __typename?: 'User' } & UserForProfilePageFragment -} + +export type UserForProfilePageQuery = { __typename?: 'Query', user: ( + { __typename?: 'User' } + & UserForProfilePageFragment + ) }; export type UserProfileProjectsQueryVariables = Exact<{ - where: UserGetInput -}> + where: UserGetInput; +}>; -export type UserProfileProjectsQuery = { - __typename?: 'Query' - user: { - __typename?: 'User' - ownerOf: Array<{ - __typename?: 'OwnerOf' - project?: ({ __typename?: 'Project' } & ProjectForProfilePageFragment) | null - }> - } -} + +export type UserProfileProjectsQuery = { __typename?: 'Query', user: { __typename?: 'User', ownerOf: Array<{ __typename?: 'OwnerOf', project?: ( + { __typename?: 'Project' } + & ProjectForProfilePageFragment + ) | null }> } }; export type UserFollowedProjectsQueryVariables = Exact<{ - where: UserGetInput -}> + where: UserGetInput; +}>; -export type UserFollowedProjectsQuery = { - __typename?: 'Query' - user: { __typename?: 'User'; projectFollows: Array<{ __typename?: 'Project' } & ProjectForProfilePageFragment> } -} + +export type UserFollowedProjectsQuery = { __typename?: 'Query', user: { __typename?: 'User', projectFollows: Array<( + { __typename?: 'Project' } + & ProjectForProfilePageFragment + )> } }; export type UserProfileContributionsQueryVariables = Exact<{ - where: UserGetInput -}> + where: UserGetInput; +}>; -export type UserProfileContributionsQuery = { - __typename?: 'Query' - user: { - __typename?: 'User' - contributions: Array<{ __typename?: 'UserProjectContribution' } & UserProjectContributionsFragment> - } -} + +export type UserProfileContributionsQuery = { __typename?: 'Query', user: { __typename?: 'User', contributions: Array<( + { __typename?: 'UserProjectContribution' } + & UserProjectContributionsFragment + )> } }; export type UserProfileOrdersQueryVariables = Exact<{ - where: UserGetInput -}> - -export type UserProfileOrdersQuery = { - __typename?: 'Query' - user: { __typename?: 'User'; orders?: Array<{ __typename?: 'Order' } & ProfileOrderFragment> | null } -} - -export type ProjectAffiliateLinkFragment = { - __typename?: 'AffiliateLink' - projectId: any - label?: string | null - id: any - email: string - disabledAt?: any | null - createdAt: any - disabled?: boolean | null - affiliateId?: string | null - lightningAddress: string - affiliateFeePercentage: number - stats?: { - __typename?: 'AffiliateStats' - sales: { __typename?: 'AffiliateSalesStats'; total: number; count: number } - } | null -} - -export type ProjectEntryFragment = { - __typename?: 'Entry' - id: any - title: string - description: string - image?: string | null - type: EntryType - fundersCount: number - amountFunded: number - status: EntryStatus - createdAt: string - publishedAt?: string | null -} - -export type ProjectEntryViewFragment = { - __typename?: 'Entry' - id: any - title: string - description: string - image?: string | null - type: EntryType - fundersCount: number - amountFunded: number - status: EntryStatus - createdAt: string - publishedAt?: string | null - content?: string | null -} - -export type ProjectFunderFragment = { - __typename?: 'Funder' - id: any - amountFunded?: number | null - timesFunded?: number | null - user?: { __typename?: 'User'; id: any; imageUrl?: string | null; username: string } | null -} - -export type ProjectLeaderboardContributorsFragment = { - __typename?: 'ProjectLeaderboardContributorsRow' - funderId: any - contributionsTotalUsd: number - contributionsTotal: number - contributionsCount: number - commentsCount: number - user?: { __typename?: 'User'; id: any; imageUrl?: string | null; username: string } | null -} - -export type ProjectFundingTxFragment = { - __typename?: 'FundingTx' - id: any - amountPaid: number - media?: string | null - comment?: string | null - paidAt?: any | null - bitcoinQuote?: { __typename?: 'BitcoinQuote'; quote: number; quoteCurrency: QuoteCurrency } | null - funder: { __typename?: 'Funder'; id: any; user?: ({ __typename?: 'User' } & UserAvatarFragment) | null } -} - -export type FundingTxFragment = { - __typename?: 'FundingTx' - id: any - uuid?: string | null - invoiceId?: string | null - paymentRequest?: string | null - amount: number - status: FundingStatus - invoiceStatus: InvoiceStatus - comment?: string | null - media?: string | null - paidAt?: any | null - onChain: boolean - address?: string | null - source: string - method?: FundingMethod | null - projectId: any - creatorEmail?: string | null - createdAt?: any | null - bitcoinQuote?: { __typename?: 'BitcoinQuote'; quote: number; quoteCurrency: QuoteCurrency } | null - funder: { - __typename?: 'Funder' - id: any - amountFunded?: number | null - timesFunded?: number | null - confirmedAt?: any | null - user?: { __typename?: 'User'; id: any; username: string; imageUrl?: string | null } | null - } -} - -export type FundingTxWithInvoiceStatusFragment = { - __typename?: 'FundingTx' - id: any - uuid?: string | null - invoiceId?: string | null - status: FundingStatus - onChain: boolean - invoiceStatus: InvoiceStatus - paymentRequest?: string | null - creatorEmail?: string | null -} - -export type FundingTxForDownloadInvoiceFragment = { - __typename?: 'FundingTx' - id: any - donationAmount: number - amountPaid: number - uuid?: string | null - projectId: any - paidAt?: any | null - createdAt?: any | null - status: FundingStatus - funder: { __typename?: 'Funder'; user?: { __typename?: 'User'; username: string } | null } - order?: { - __typename?: 'Order' - totalInSats: number - items: Array<{ - __typename?: 'OrderItem' - quantity: number - unitPriceInSats: number - item: { __typename?: 'ProjectReward'; name: string } - }> - } | null - bitcoinQuote?: { __typename?: 'BitcoinQuote'; quote: number; quoteCurrency: QuoteCurrency } | null -} - -export type ProjectGoalsFragment = { - __typename?: 'ProjectGoal' - id: any - title: string - description?: string | null - targetAmount: number - currency: ProjectGoalCurrency - status: ProjectGoalStatus - projectId: any - amountContributed: number - createdAt: any - updatedAt: any - completedAt?: any | null - hasReceivedContribution: boolean - emojiUnifiedCode?: string | null -} - -export type ProjectLocationFragment = { - __typename?: 'Location' - region?: string | null - country?: { __typename?: 'Country'; code: string; name: string } | null -} - -export type ProjectKeysFragment = { - __typename?: 'ProjectKeys' - nostrKeys: { __typename?: 'NostrKeys'; publicKey: { __typename?: 'NostrPublicKey'; hex: string; npub: string } } -} - -export type ProjectPageBodyFragment = { - __typename?: 'Project' - id: any - name: string - title: string - type: ProjectType - thumbnailImage?: string | null - image?: string | null - shortDescription?: string | null - description?: string | null - balance: number - balanceUsdCent: number - defaultGoalId?: any | null - status?: ProjectStatus | null - rewardCurrency?: RewardCurrency | null - createdAt: string - goalsCount?: number | null - rewardsCount?: number | null - entriesCount?: number | null - keys: { __typename?: 'ProjectKeys' } & ProjectKeysFragment - owners: Array<{ __typename?: 'Owner'; id: any; user: { __typename?: 'User' } & ProjectPageCreatorFragment }> -} - -export type ProjectPageDetailsFragment = { - __typename?: 'Project' - id: any - name: string - links: Array - location?: ({ __typename?: 'Location' } & ProjectLocationFragment) | null - tags: Array<{ __typename?: 'Tag'; id: number; label: string }> -} - -export type ProjectHeaderSummaryFragment = { - __typename?: 'Project' - followersCount?: number | null - fundersCount?: number | null - fundingTxsCount?: number | null -} - -export type ProjectUpdateFragment = { - __typename?: 'Project' - id: any - title: string - name: string - shortDescription?: string | null - description?: string | null - image?: string | null - thumbnailImage?: string | null - status?: ProjectStatus | null - links: Array - rewardCurrency?: RewardCurrency | null - location?: { - __typename?: 'Location' - region?: string | null - country?: { __typename?: 'Country'; name: string; code: string } | null - } | null -} - -export type ProjectStatsForInsightsPageFragment = { - __typename?: 'ProjectStats' - current?: { - __typename?: 'ProjectStatsBase' - projectViews?: { - __typename?: 'ProjectViewStats' - viewCount: number - visitorCount: number - referrers: Array<{ __typename?: 'ProjectViewBaseStats'; value: string; viewCount: number; visitorCount: number }> - regions: Array<{ __typename?: 'ProjectViewBaseStats'; value: string; viewCount: number; visitorCount: number }> - } | null - projectFunderRewards?: { __typename?: 'ProjectFunderRewardStats'; quantitySum: number } | null - projectFunders?: { __typename?: 'ProjectFunderStats'; count: number } | null - projectFundingTxs?: { __typename?: 'ProjectFundingTxStats'; amountSum?: number | null; count: number } | null - } | null - prevTimeRange?: { - __typename?: 'ProjectStatsBase' - projectViews?: { __typename?: 'ProjectViewStats'; viewCount: number; visitorCount: number } | null - projectFunderRewards?: { __typename?: 'ProjectFunderRewardStats'; quantitySum: number } | null - projectFunders?: { __typename?: 'ProjectFunderStats'; count: number } | null - projectFundingTxs?: { __typename?: 'ProjectFundingTxStats'; amountSum?: number | null; count: number } | null - } | null -} - -export type ProjectHistoryStatsFragment = { - __typename?: 'ProjectStats' - current?: { - __typename?: 'ProjectStatsBase' - projectFundingTxs?: { - __typename?: 'ProjectFundingTxStats' - amountGraph?: Array<{ __typename?: 'FundingTxAmountGraph'; dateTime: any; sum: number } | null> | null - } | null - projectViews?: { - __typename?: 'ProjectViewStats' - visitorGraph: Array<{ - __typename?: 'PageViewCountGraph' - viewCount: number - visitorCount: number - dateTime: any - } | null> - } | null - } | null -} - -export type ProjectRewardSoldGraphStatsFragment = { - __typename?: 'ProjectStats' - current?: { - __typename?: 'ProjectStatsBase' - projectFunderRewards?: { - __typename?: 'ProjectFunderRewardStats' - quantityGraph?: Array<{ - __typename?: 'FunderRewardGraphSum' - dateTime: any - rewardId: any - rewardName: string - sum: number - } | null> | null - } | null - } | null -} - -export type ProjectFundingMethodStatsFragment = { - __typename?: 'ProjectStats' - current?: { - __typename?: 'ProjectStatsBase' - projectFundingTxs?: { - __typename?: 'ProjectFundingTxStats' - methodSum?: Array<{ __typename?: 'FundingTxMethodSum'; sum: number; method?: string | null } | null> | null - } | null - } | null -} - -export type ProjectRewardFragment = { - __typename?: 'ProjectReward' - id: any - name: string - description?: string | null - cost: number - image?: string | null - deleted: boolean - stock?: number | null - sold: number - hasShipping: boolean - maxClaimable?: number | null - rewardCurrency: RewardCurrency - isAddon: boolean - isHidden: boolean - category?: string | null - preOrder: boolean - estimatedAvailabilityDate?: any | null - estimatedDeliveryInWeeks?: number | null -} - -export type ProjectPageCreatorFragment = { - __typename?: 'User' - id: any - imageUrl?: string | null - username: string - email?: string | null - externalAccounts: Array<{ - __typename?: 'ExternalAccount' - accountType: string - externalUsername: string - externalId: string - id: any - public: boolean - }> -} - -export type UserAvatarFragment = { __typename?: 'User'; id: any; imageUrl?: string | null; username: string } - -export type WalletContributionLimitsFragment = { - __typename?: 'WalletContributionLimits' - min?: number | null - max?: number | null - offChain?: { __typename?: 'WalletOffChainContributionLimits'; min?: number | null; max?: number | null } | null - onChain?: { __typename?: 'WalletOnChainContributionLimits'; min?: number | null; max?: number | null } | null -} - -export type ProjectPageWalletFragment = { - __typename?: 'Wallet' - id: any - name?: string | null - feePercentage?: number | null - limits?: { - __typename?: 'WalletLimits' - contribution?: ({ __typename?: 'WalletContributionLimits' } & WalletContributionLimitsFragment) | null - } | null - state: { __typename?: 'WalletState'; status: WalletStatus; statusCode: WalletStatusCode } -} - -export type ProjectWalletConnectionDetailsFragment = { - __typename?: 'Wallet' - id: any - connectionDetails: - | { __typename?: 'LightningAddressConnectionDetails'; lightningAddress: string } - | { - __typename?: 'LndConnectionDetailsPrivate' - tlsCertificate?: string | null - pubkey?: string | null - macaroon: string - lndNodeType: LndNodeType - hostname: string - grpcPort: number - } - | { __typename?: 'LndConnectionDetailsPublic'; pubkey?: string | null } -} + where: UserGetInput; +}>; + + +export type UserProfileOrdersQuery = { __typename?: 'Query', user: { __typename?: 'User', orders?: Array<( + { __typename?: 'Order' } + & ProfileOrderFragment + )> | null } }; + +export type ProjectAffiliateLinkFragment = { __typename?: 'AffiliateLink', projectId: any, label?: string | null, id: any, email: string, disabledAt?: any | null, createdAt: any, disabled?: boolean | null, affiliateId?: string | null, lightningAddress: string, affiliateFeePercentage: number, stats?: { __typename?: 'AffiliateStats', sales: { __typename?: 'AffiliateSalesStats', total: number, count: number } } | null }; + +export type ProjectEntryFragment = { __typename?: 'Entry', id: any, title: string, description: string, image?: string | null, type: EntryType, fundersCount: number, amountFunded: number, status: EntryStatus, createdAt: string, publishedAt?: string | null }; + +export type ProjectEntryViewFragment = { __typename?: 'Entry', id: any, title: string, description: string, image?: string | null, type: EntryType, fundersCount: number, amountFunded: number, status: EntryStatus, createdAt: string, publishedAt?: string | null, content?: string | null }; + +export type ProjectFunderFragment = { __typename?: 'Funder', id: any, amountFunded?: number | null, timesFunded?: number | null, user?: { __typename?: 'User', id: any, imageUrl?: string | null, username: string } | null }; + +export type ProjectLeaderboardContributorsFragment = { __typename?: 'ProjectLeaderboardContributorsRow', funderId: any, contributionsTotalUsd: number, contributionsTotal: number, contributionsCount: number, commentsCount: number, user?: { __typename?: 'User', id: any, imageUrl?: string | null, username: string } | null }; + +export type ProjectFundingTxFragment = { __typename?: 'FundingTx', id: any, amountPaid: number, media?: string | null, comment?: string | null, paidAt?: any | null, bitcoinQuote?: { __typename?: 'BitcoinQuote', quote: number, quoteCurrency: QuoteCurrency } | null, funder: { __typename?: 'Funder', id: any, user?: ( + { __typename?: 'User' } + & UserAvatarFragment + ) | null } }; + +export type FundingTxFragment = { __typename?: 'FundingTx', id: any, uuid?: string | null, invoiceId?: string | null, paymentRequest?: string | null, amount: number, status: FundingStatus, invoiceStatus: InvoiceStatus, comment?: string | null, media?: string | null, paidAt?: any | null, onChain: boolean, address?: string | null, source: string, method?: FundingMethod | null, projectId: any, creatorEmail?: string | null, createdAt?: any | null, bitcoinQuote?: { __typename?: 'BitcoinQuote', quote: number, quoteCurrency: QuoteCurrency } | null, funder: { __typename?: 'Funder', id: any, amountFunded?: number | null, timesFunded?: number | null, confirmedAt?: any | null, user?: { __typename?: 'User', id: any, username: string, imageUrl?: string | null } | null } }; + +export type FundingTxWithInvoiceStatusFragment = { __typename?: 'FundingTx', id: any, uuid?: string | null, invoiceId?: string | null, status: FundingStatus, onChain: boolean, invoiceStatus: InvoiceStatus, paymentRequest?: string | null, creatorEmail?: string | null }; + +export type FundingTxForDownloadInvoiceFragment = { __typename?: 'FundingTx', id: any, donationAmount: number, amountPaid: number, uuid?: string | null, projectId: any, paidAt?: any | null, createdAt?: any | null, status: FundingStatus, funder: { __typename?: 'Funder', user?: { __typename?: 'User', username: string } | null }, order?: { __typename?: 'Order', totalInSats: number, items: Array<{ __typename?: 'OrderItem', quantity: number, unitPriceInSats: number, item: { __typename?: 'ProjectReward', name: string } }> } | null, bitcoinQuote?: { __typename?: 'BitcoinQuote', quote: number, quoteCurrency: QuoteCurrency } | null }; + +export type ProjectGoalsFragment = { __typename?: 'ProjectGoal', id: any, title: string, description?: string | null, targetAmount: number, currency: ProjectGoalCurrency, status: ProjectGoalStatus, projectId: any, amountContributed: number, createdAt: any, updatedAt: any, completedAt?: any | null, hasReceivedContribution: boolean, emojiUnifiedCode?: string | null }; + +export type ProjectGrantApplicantFragment = { __typename?: 'GrantApplicant', id: any, status: GrantApplicantStatus, grant: { __typename?: 'BoardVoteGrant' } | { __typename?: 'CommunityVoteGrant', id: any, votingSystem: VotingSystem, type: GrantType, name: string, title: string, status: GrantStatusEnum } }; + +export type ProjectLocationFragment = { __typename?: 'Location', region?: string | null, country?: { __typename?: 'Country', code: string, name: string } | null }; + +export type ProjectKeysFragment = { __typename?: 'ProjectKeys', nostrKeys: { __typename?: 'NostrKeys', publicKey: { __typename?: 'NostrPublicKey', hex: string, npub: string } } }; + +export type ProjectPageBodyFragment = { __typename?: 'Project', id: any, name: string, title: string, type: ProjectType, thumbnailImage?: string | null, image?: string | null, shortDescription?: string | null, description?: string | null, balance: number, balanceUsdCent: number, defaultGoalId?: any | null, status?: ProjectStatus | null, rewardCurrency?: RewardCurrency | null, createdAt: string, goalsCount?: number | null, rewardsCount?: number | null, entriesCount?: number | null, keys: ( + { __typename?: 'ProjectKeys' } + & ProjectKeysFragment + ), owners: Array<{ __typename?: 'Owner', id: any, user: ( + { __typename?: 'User' } + & ProjectPageCreatorFragment + ) }> }; + +export type ProjectPageDetailsFragment = { __typename?: 'Project', id: any, name: string, links: Array, location?: ( + { __typename?: 'Location' } + & ProjectLocationFragment + ) | null, tags: Array<{ __typename?: 'Tag', id: number, label: string }> }; + +export type ProjectHeaderSummaryFragment = { __typename?: 'Project', followersCount?: number | null, fundersCount?: number | null, fundingTxsCount?: number | null }; + +export type ProjectUpdateFragment = { __typename?: 'Project', id: any, title: string, name: string, shortDescription?: string | null, description?: string | null, image?: string | null, thumbnailImage?: string | null, status?: ProjectStatus | null, links: Array, rewardCurrency?: RewardCurrency | null, location?: { __typename?: 'Location', region?: string | null, country?: { __typename?: 'Country', name: string, code: string } | null } | null }; + +export type ProjectStatsForInsightsPageFragment = { __typename?: 'ProjectStats', current?: { __typename?: 'ProjectStatsBase', projectViews?: { __typename?: 'ProjectViewStats', viewCount: number, visitorCount: number, referrers: Array<{ __typename?: 'ProjectViewBaseStats', value: string, viewCount: number, visitorCount: number }>, regions: Array<{ __typename?: 'ProjectViewBaseStats', value: string, viewCount: number, visitorCount: number }> } | null, projectFunderRewards?: { __typename?: 'ProjectFunderRewardStats', quantitySum: number } | null, projectFunders?: { __typename?: 'ProjectFunderStats', count: number } | null, projectFundingTxs?: { __typename?: 'ProjectFundingTxStats', amountSum?: number | null, count: number } | null } | null, prevTimeRange?: { __typename?: 'ProjectStatsBase', projectViews?: { __typename?: 'ProjectViewStats', viewCount: number, visitorCount: number } | null, projectFunderRewards?: { __typename?: 'ProjectFunderRewardStats', quantitySum: number } | null, projectFunders?: { __typename?: 'ProjectFunderStats', count: number } | null, projectFundingTxs?: { __typename?: 'ProjectFundingTxStats', amountSum?: number | null, count: number } | null } | null }; + +export type ProjectHistoryStatsFragment = { __typename?: 'ProjectStats', current?: { __typename?: 'ProjectStatsBase', projectFundingTxs?: { __typename?: 'ProjectFundingTxStats', amountGraph?: Array<{ __typename?: 'FundingTxAmountGraph', dateTime: any, sum: number } | null> | null } | null, projectViews?: { __typename?: 'ProjectViewStats', visitorGraph: Array<{ __typename?: 'PageViewCountGraph', viewCount: number, visitorCount: number, dateTime: any } | null> } | null } | null }; + +export type ProjectRewardSoldGraphStatsFragment = { __typename?: 'ProjectStats', current?: { __typename?: 'ProjectStatsBase', projectFunderRewards?: { __typename?: 'ProjectFunderRewardStats', quantityGraph?: Array<{ __typename?: 'FunderRewardGraphSum', dateTime: any, rewardId: any, rewardName: string, sum: number } | null> | null } | null } | null }; + +export type ProjectFundingMethodStatsFragment = { __typename?: 'ProjectStats', current?: { __typename?: 'ProjectStatsBase', projectFundingTxs?: { __typename?: 'ProjectFundingTxStats', methodSum?: Array<{ __typename?: 'FundingTxMethodSum', sum: number, method?: string | null } | null> | null } | null } | null }; + +export type ProjectRewardFragment = { __typename?: 'ProjectReward', id: any, name: string, description?: string | null, cost: number, image?: string | null, deleted: boolean, stock?: number | null, sold: number, hasShipping: boolean, maxClaimable?: number | null, rewardCurrency: RewardCurrency, isAddon: boolean, isHidden: boolean, category?: string | null, preOrder: boolean, estimatedAvailabilityDate?: any | null, estimatedDeliveryInWeeks?: number | null }; + +export type ProjectPageCreatorFragment = { __typename?: 'User', id: any, imageUrl?: string | null, username: string, email?: string | null, externalAccounts: Array<{ __typename?: 'ExternalAccount', accountType: string, externalUsername: string, externalId: string, id: any, public: boolean }> }; + +export type UserAvatarFragment = { __typename?: 'User', id: any, imageUrl?: string | null, username: string }; + +export type WalletContributionLimitsFragment = { __typename?: 'WalletContributionLimits', min?: number | null, max?: number | null, offChain?: { __typename?: 'WalletOffChainContributionLimits', min?: number | null, max?: number | null } | null, onChain?: { __typename?: 'WalletOnChainContributionLimits', min?: number | null, max?: number | null } | null }; + +export type ProjectPageWalletFragment = { __typename?: 'Wallet', id: any, name?: string | null, feePercentage?: number | null, limits?: { __typename?: 'WalletLimits', contribution?: ( + { __typename?: 'WalletContributionLimits' } + & WalletContributionLimitsFragment + ) | null } | null, state: { __typename?: 'WalletState', status: WalletStatus, statusCode: WalletStatusCode } }; + +export type ProjectWalletConnectionDetailsFragment = { __typename?: 'Wallet', id: any, connectionDetails: { __typename?: 'LightningAddressConnectionDetails', lightningAddress: string } | { __typename?: 'LndConnectionDetailsPrivate', tlsCertificate?: string | null, pubkey?: string | null, macaroon: string, lndNodeType: LndNodeType, hostname: string, grpcPort: number } | { __typename?: 'LndConnectionDetailsPublic', pubkey?: string | null } }; export type AffiliateLinkCreateMutationVariables = Exact<{ - input: AffiliateLinkCreateInput -}> + input: AffiliateLinkCreateInput; +}>; -export type AffiliateLinkCreateMutation = { - __typename?: 'Mutation' - affiliateLinkCreate: { __typename?: 'AffiliateLink' } & ProjectAffiliateLinkFragment -} + +export type AffiliateLinkCreateMutation = { __typename?: 'Mutation', affiliateLinkCreate: ( + { __typename?: 'AffiliateLink' } + & ProjectAffiliateLinkFragment + ) }; export type AffiliateLinkLabelUpdateMutationVariables = Exact<{ - affiliateLinkId: Scalars['BigInt']['input'] - label: Scalars['String']['input'] -}> + affiliateLinkId: Scalars['BigInt']['input']; + label: Scalars['String']['input']; +}>; -export type AffiliateLinkLabelUpdateMutation = { - __typename?: 'Mutation' - affiliateLinkLabelUpdate: { __typename?: 'AffiliateLink' } & ProjectAffiliateLinkFragment -} + +export type AffiliateLinkLabelUpdateMutation = { __typename?: 'Mutation', affiliateLinkLabelUpdate: ( + { __typename?: 'AffiliateLink' } + & ProjectAffiliateLinkFragment + ) }; export type AffiliateLinkDisableMutationVariables = Exact<{ - affiliateLinkId: Scalars['BigInt']['input'] -}> + affiliateLinkId: Scalars['BigInt']['input']; +}>; -export type AffiliateLinkDisableMutation = { - __typename?: 'Mutation' - affiliateLinkDisable: { __typename?: 'AffiliateLink'; id: any } -} + +export type AffiliateLinkDisableMutation = { __typename?: 'Mutation', affiliateLinkDisable: { __typename?: 'AffiliateLink', id: any } }; export type DeleteEntryMutationVariables = Exact<{ - deleteEntryId: Scalars['BigInt']['input'] -}> + deleteEntryId: Scalars['BigInt']['input']; +}>; -export type DeleteEntryMutation = { - __typename?: 'Mutation' - deleteEntry: { __typename?: 'Entry'; id: any; title: string } -} + +export type DeleteEntryMutation = { __typename?: 'Mutation', deleteEntry: { __typename?: 'Entry', id: any, title: string } }; export type CreateEntryMutationVariables = Exact<{ - input: CreateEntryInput -}> + input: CreateEntryInput; +}>; -export type CreateEntryMutation = { - __typename?: 'Mutation' - createEntry: { __typename?: 'Entry' } & ProjectEntryViewFragment -} + +export type CreateEntryMutation = { __typename?: 'Mutation', createEntry: ( + { __typename?: 'Entry' } + & ProjectEntryViewFragment + ) }; export type UpdateEntryMutationVariables = Exact<{ - input: UpdateEntryInput -}> + input: UpdateEntryInput; +}>; -export type UpdateEntryMutation = { - __typename?: 'Mutation' - updateEntry: { __typename?: 'Entry' } & ProjectEntryViewFragment -} + +export type UpdateEntryMutation = { __typename?: 'Mutation', updateEntry: ( + { __typename?: 'Entry' } + & ProjectEntryViewFragment + ) }; export type PublishEntryMutationVariables = Exact<{ - id: Scalars['BigInt']['input'] -}> + id: Scalars['BigInt']['input']; +}>; -export type PublishEntryMutation = { - __typename?: 'Mutation' - publishEntry: { __typename?: 'Entry' } & ProjectEntryViewFragment -} + +export type PublishEntryMutation = { __typename?: 'Mutation', publishEntry: ( + { __typename?: 'Entry' } + & ProjectEntryViewFragment + ) }; export type FundMutationVariables = Exact<{ - input: FundingInput -}> + input: FundingInput; +}>; -export type FundMutation = { - __typename?: 'Mutation' - fund: { - __typename?: 'FundingMutationResponse' - fundingTx?: ({ __typename?: 'FundingTx' } & FundingTxFragment) | null - swap?: { __typename?: 'Swap'; json: string } | null - } -} + +export type FundMutation = { __typename?: 'Mutation', fund: { __typename?: 'FundingMutationResponse', fundingTx?: ( + { __typename?: 'FundingTx' } + & FundingTxFragment + ) | null, swap?: { __typename?: 'Swap', json: string } | null } }; export type RefreshFundingInvoiceMutationVariables = Exact<{ - fundingTxID: Scalars['BigInt']['input'] -}> + fundingTxID: Scalars['BigInt']['input']; +}>; -export type RefreshFundingInvoiceMutation = { - __typename?: 'Mutation' - fundingInvoiceRefresh: { __typename?: 'FundingTx' } & FundingTxWithInvoiceStatusFragment -} + +export type RefreshFundingInvoiceMutation = { __typename?: 'Mutation', fundingInvoiceRefresh: ( + { __typename?: 'FundingTx' } + & FundingTxWithInvoiceStatusFragment + ) }; export type FundingInvoiceCancelMutationVariables = Exact<{ - invoiceId: Scalars['String']['input'] -}> + invoiceId: Scalars['String']['input']; +}>; -export type FundingInvoiceCancelMutation = { - __typename?: 'Mutation' - fundingInvoiceCancel: { __typename?: 'FundinginvoiceCancel'; id: any; success: boolean } -} + +export type FundingInvoiceCancelMutation = { __typename?: 'Mutation', fundingInvoiceCancel: { __typename?: 'FundinginvoiceCancel', id: any, success: boolean } }; export type FundingTxEmailUpdateMutationVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type FundingTxEmailUpdateMutation = { - __typename?: 'Mutation' - fundingTxEmailUpdate: { __typename?: 'FundingTx'; id: any; email?: string | null } -} + +export type FundingTxEmailUpdateMutation = { __typename?: 'Mutation', fundingTxEmailUpdate: { __typename?: 'FundingTx', id: any, email?: string | null } }; export type ProjectGoalOrderingUpdateMutationVariables = Exact<{ - input: ProjectGoalOrderingUpdateInput -}> + input: ProjectGoalOrderingUpdateInput; +}>; -export type ProjectGoalOrderingUpdateMutation = { - __typename?: 'Mutation' - projectGoalOrderingUpdate: Array<{ __typename?: 'ProjectGoal' } & ProjectGoalsFragment> -} + +export type ProjectGoalOrderingUpdateMutation = { __typename?: 'Mutation', projectGoalOrderingUpdate: Array<( + { __typename?: 'ProjectGoal' } + & ProjectGoalsFragment + )> }; export type ProjectGoalCreateMutationVariables = Exact<{ - input: ProjectGoalCreateInput -}> + input: ProjectGoalCreateInput; +}>; -export type ProjectGoalCreateMutation = { - __typename?: 'Mutation' - projectGoalCreate: Array<{ __typename?: 'ProjectGoal' } & ProjectGoalsFragment> -} + +export type ProjectGoalCreateMutation = { __typename?: 'Mutation', projectGoalCreate: Array<( + { __typename?: 'ProjectGoal' } + & ProjectGoalsFragment + )> }; export type ProjectGoalUpdateMutationVariables = Exact<{ - input: ProjectGoalUpdateInput -}> + input: ProjectGoalUpdateInput; +}>; -export type ProjectGoalUpdateMutation = { - __typename?: 'Mutation' - projectGoalUpdate: { __typename?: 'ProjectGoal' } & ProjectGoalsFragment -} + +export type ProjectGoalUpdateMutation = { __typename?: 'Mutation', projectGoalUpdate: ( + { __typename?: 'ProjectGoal' } + & ProjectGoalsFragment + ) }; export type ProjectGoalDeleteMutationVariables = Exact<{ - projectGoalId: Scalars['BigInt']['input'] -}> + projectGoalId: Scalars['BigInt']['input']; +}>; -export type ProjectGoalDeleteMutation = { - __typename?: 'Mutation' - projectGoalDelete: { __typename?: 'ProjectGoalDeleteResponse'; success: boolean } -} + +export type ProjectGoalDeleteMutation = { __typename?: 'Mutation', projectGoalDelete: { __typename?: 'ProjectGoalDeleteResponse', success: boolean } }; export type ProjectRewardCurrencyUpdateMutationVariables = Exact<{ - input: ProjectRewardCurrencyUpdate -}> + input: ProjectRewardCurrencyUpdate; +}>; -export type ProjectRewardCurrencyUpdateMutation = { - __typename?: 'Mutation' - projectRewardCurrencyUpdate: Array<{ __typename?: 'ProjectReward' } & ProjectRewardFragment> -} + +export type ProjectRewardCurrencyUpdateMutation = { __typename?: 'Mutation', projectRewardCurrencyUpdate: Array<( + { __typename?: 'ProjectReward' } + & ProjectRewardFragment + )> }; export type CreateProjectMutationVariables = Exact<{ - input: CreateProjectInput -}> + input: CreateProjectInput; +}>; -export type CreateProjectMutation = { - __typename?: 'Mutation' - createProject: { __typename?: 'Project' } & ProjectPageBodyFragment -} + +export type CreateProjectMutation = { __typename?: 'Mutation', createProject: ( + { __typename?: 'Project' } + & ProjectPageBodyFragment + ) }; export type UpdateProjectMutationVariables = Exact<{ - input: UpdateProjectInput -}> + input: UpdateProjectInput; +}>; -export type UpdateProjectMutation = { - __typename?: 'Mutation' - updateProject: { __typename?: 'Project' } & ProjectUpdateFragment -} + +export type UpdateProjectMutation = { __typename?: 'Mutation', updateProject: ( + { __typename?: 'Project' } + & ProjectUpdateFragment + ) }; export type ProjectStatusUpdateMutationVariables = Exact<{ - input: ProjectStatusUpdate -}> + input: ProjectStatusUpdate; +}>; -export type ProjectStatusUpdateMutation = { - __typename?: 'Mutation' - projectStatusUpdate: { __typename?: 'Project'; id: any; status?: ProjectStatus | null } -} + +export type ProjectStatusUpdateMutation = { __typename?: 'Mutation', projectStatusUpdate: { __typename?: 'Project', id: any, status?: ProjectStatus | null } }; export type ProjectPublishMutationVariables = Exact<{ - input: ProjectPublishMutationInput -}> + input: ProjectPublishMutationInput; +}>; -export type ProjectPublishMutation = { - __typename?: 'Mutation' - projectPublish: { __typename?: 'Project'; id: any; status?: ProjectStatus | null } -} + +export type ProjectPublishMutation = { __typename?: 'Mutation', projectPublish: { __typename?: 'Project', id: any, status?: ProjectStatus | null } }; export type ProjectDeleteMutationVariables = Exact<{ - input: DeleteProjectInput -}> + input: DeleteProjectInput; +}>; -export type ProjectDeleteMutation = { - __typename?: 'Mutation' - projectDelete: { __typename?: 'ProjectDeleteResponse'; message?: string | null; success: boolean } -} + +export type ProjectDeleteMutation = { __typename?: 'Mutation', projectDelete: { __typename?: 'ProjectDeleteResponse', message?: string | null, success: boolean } }; export type ProjectFollowMutationVariables = Exact<{ - input: ProjectFollowMutationInput -}> + input: ProjectFollowMutationInput; +}>; -export type ProjectFollowMutation = { __typename?: 'Mutation'; projectFollow: boolean } + +export type ProjectFollowMutation = { __typename?: 'Mutation', projectFollow: boolean }; export type ProjectUnfollowMutationVariables = Exact<{ - input: ProjectFollowMutationInput -}> + input: ProjectFollowMutationInput; +}>; + -export type ProjectUnfollowMutation = { __typename?: 'Mutation'; projectUnfollow: boolean } +export type ProjectUnfollowMutation = { __typename?: 'Mutation', projectUnfollow: boolean }; export type RewardUpdateMutationVariables = Exact<{ - input: UpdateProjectRewardInput -}> + input: UpdateProjectRewardInput; +}>; -export type RewardUpdateMutation = { - __typename?: 'Mutation' - projectRewardUpdate: { __typename?: 'ProjectReward' } & ProjectRewardFragment -} + +export type RewardUpdateMutation = { __typename?: 'Mutation', projectRewardUpdate: ( + { __typename?: 'ProjectReward' } + & ProjectRewardFragment + ) }; export type RewardDeleteMutationVariables = Exact<{ - input: DeleteProjectRewardInput -}> + input: DeleteProjectRewardInput; +}>; -export type RewardDeleteMutation = { __typename?: 'Mutation'; projectRewardDelete: boolean } + +export type RewardDeleteMutation = { __typename?: 'Mutation', projectRewardDelete: boolean }; export type ProjectRewardCreateMutationVariables = Exact<{ - input: CreateProjectRewardInput -}> + input: CreateProjectRewardInput; +}>; -export type ProjectRewardCreateMutation = { - __typename?: 'Mutation' - projectRewardCreate: { __typename?: 'ProjectReward' } & ProjectRewardFragment -} + +export type ProjectRewardCreateMutation = { __typename?: 'Mutation', projectRewardCreate: ( + { __typename?: 'ProjectReward' } + & ProjectRewardFragment + ) }; export type ProjectTagAddMutationVariables = Exact<{ - input: ProjectTagMutationInput -}> + input: ProjectTagMutationInput; +}>; -export type ProjectTagAddMutation = { - __typename?: 'Mutation' - projectTagAdd: Array<{ __typename?: 'Tag'; id: number; label: string }> -} + +export type ProjectTagAddMutation = { __typename?: 'Mutation', projectTagAdd: Array<{ __typename?: 'Tag', id: number, label: string }> }; export type ProjectTagRemoveMutationVariables = Exact<{ - input: ProjectTagMutationInput -}> + input: ProjectTagMutationInput; +}>; -export type ProjectTagRemoveMutation = { - __typename?: 'Mutation' - projectTagRemove: Array<{ __typename?: 'Tag'; id: number; label: string }> -} + +export type ProjectTagRemoveMutation = { __typename?: 'Mutation', projectTagRemove: Array<{ __typename?: 'Tag', id: number, label: string }> }; export type ProjectTagCreateMutationVariables = Exact<{ - input: TagCreateInput -}> + input: TagCreateInput; +}>; -export type ProjectTagCreateMutation = { - __typename?: 'Mutation' - tagCreate: { __typename?: 'Tag'; id: number; label: string } -} + +export type ProjectTagCreateMutation = { __typename?: 'Mutation', tagCreate: { __typename?: 'Tag', id: number, label: string } }; export type CreateWalletMutationVariables = Exact<{ - input: CreateWalletInput -}> + input: CreateWalletInput; +}>; -export type CreateWalletMutation = { - __typename?: 'Mutation' - walletCreate: { __typename?: 'Wallet' } & ProjectWalletConnectionDetailsFragment -} + +export type CreateWalletMutation = { __typename?: 'Mutation', walletCreate: ( + { __typename?: 'Wallet' } + & ProjectWalletConnectionDetailsFragment + ) }; export type UpdateWalletMutationVariables = Exact<{ - input: UpdateWalletInput -}> + input: UpdateWalletInput; +}>; -export type UpdateWalletMutation = { - __typename?: 'Mutation' - walletUpdate: { __typename?: 'Wallet' } & ProjectWalletConnectionDetailsFragment -} + +export type UpdateWalletMutation = { __typename?: 'Mutation', walletUpdate: ( + { __typename?: 'Wallet' } + & ProjectWalletConnectionDetailsFragment + ) }; export type AffiliateLinksGetQueryVariables = Exact<{ - input: GetAffiliateLinksInput -}> + input: GetAffiliateLinksInput; +}>; -export type AffiliateLinksGetQuery = { - __typename?: 'Query' - affiliateLinksGet: Array<{ __typename?: 'AffiliateLink' } & ProjectAffiliateLinkFragment> -} + +export type AffiliateLinksGetQuery = { __typename?: 'Query', affiliateLinksGet: Array<( + { __typename?: 'AffiliateLink' } + & ProjectAffiliateLinkFragment + )> }; export type ProjectEntriesQueryVariables = Exact<{ - where: UniqueProjectQueryInput - input?: InputMaybe -}> + where: UniqueProjectQueryInput; + input?: InputMaybe; +}>; -export type ProjectEntriesQuery = { - __typename?: 'Query' - projectGet?: { - __typename?: 'Project' - id: any - entries: Array<{ __typename?: 'Entry' } & ProjectEntryFragment> - } | null -} + +export type ProjectEntriesQuery = { __typename?: 'Query', projectGet?: { __typename?: 'Project', id: any, entries: Array<( + { __typename?: 'Entry' } + & ProjectEntryFragment + )> } | null }; export type ProjectUnplublishedEntriesQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type ProjectUnplublishedEntriesQuery = { - __typename?: 'Query' - projectGet?: { - __typename?: 'Project' - id: any - entries: Array<{ __typename?: 'Entry' } & ProjectEntryFragment> - } | null -} + +export type ProjectUnplublishedEntriesQuery = { __typename?: 'Query', projectGet?: { __typename?: 'Project', id: any, entries: Array<( + { __typename?: 'Entry' } + & ProjectEntryFragment + )> } | null }; export type ProjectEntryQueryVariables = Exact<{ - entryId: Scalars['BigInt']['input'] -}> + entryId: Scalars['BigInt']['input']; +}>; -export type ProjectEntryQuery = { - __typename?: 'Query' - entry?: ({ __typename?: 'Entry' } & ProjectEntryViewFragment) | null -} + +export type ProjectEntryQuery = { __typename?: 'Query', entry?: ( + { __typename?: 'Entry' } + & ProjectEntryViewFragment + ) | null }; export type ProjectPageFundersQueryVariables = Exact<{ - input: GetFundersInput -}> + input: GetFundersInput; +}>; -export type ProjectPageFundersQuery = { - __typename?: 'Query' - fundersGet: Array<{ __typename?: 'Funder' } & ProjectFunderFragment> -} + +export type ProjectPageFundersQuery = { __typename?: 'Query', fundersGet: Array<( + { __typename?: 'Funder' } + & ProjectFunderFragment + )> }; export type ProjectLeaderboardContributorsGetQueryVariables = Exact<{ - input: ProjectLeaderboardContributorsGetInput -}> + input: ProjectLeaderboardContributorsGetInput; +}>; -export type ProjectLeaderboardContributorsGetQuery = { - __typename?: 'Query' - projectLeaderboardContributorsGet: Array< - { __typename?: 'ProjectLeaderboardContributorsRow' } & ProjectLeaderboardContributorsFragment - > -} + +export type ProjectLeaderboardContributorsGetQuery = { __typename?: 'Query', projectLeaderboardContributorsGet: Array<( + { __typename?: 'ProjectLeaderboardContributorsRow' } + & ProjectLeaderboardContributorsFragment + )> }; export type ProjectPageFundingTxQueryVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type ProjectPageFundingTxQuery = { - __typename?: 'Query' - fundingTxsGet?: { - __typename?: 'FundingTxsGetResponse' - fundingTxs: Array<{ __typename?: 'FundingTx' } & ProjectFundingTxFragment> - } | null -} + +export type ProjectPageFundingTxQuery = { __typename?: 'Query', fundingTxsGet?: { __typename?: 'FundingTxsGetResponse', fundingTxs: Array<( + { __typename?: 'FundingTx' } + & ProjectFundingTxFragment + )> } | null }; export type FundingTxWithInvoiceStatusQueryVariables = Exact<{ - fundingTxID: Scalars['BigInt']['input'] -}> + fundingTxID: Scalars['BigInt']['input']; +}>; -export type FundingTxWithInvoiceStatusQuery = { - __typename?: 'Query' - fundingTx: { __typename?: 'FundingTx' } & FundingTxWithInvoiceStatusFragment -} + +export type FundingTxWithInvoiceStatusQuery = { __typename?: 'Query', fundingTx: ( + { __typename?: 'FundingTx' } + & FundingTxWithInvoiceStatusFragment + ) }; export type FundingTxForDownloadInvoiceQueryVariables = Exact<{ - fundingTxId: Scalars['BigInt']['input'] -}> + fundingTxId: Scalars['BigInt']['input']; +}>; -export type FundingTxForDownloadInvoiceQuery = { - __typename?: 'Query' - fundingTx: { __typename?: 'FundingTx' } & FundingTxForDownloadInvoiceFragment -} + +export type FundingTxForDownloadInvoiceQuery = { __typename?: 'Query', fundingTx: ( + { __typename?: 'FundingTx' } + & FundingTxForDownloadInvoiceFragment + ) }; export type ProjectInProgressGoalsQueryVariables = Exact<{ - input: GetProjectGoalsInput -}> + input: GetProjectGoalsInput; +}>; -export type ProjectInProgressGoalsQuery = { - __typename?: 'Query' - projectGoals: { - __typename?: 'ProjectGoals' - inProgress: Array<{ __typename?: 'ProjectGoal' } & ProjectGoalsFragment> - } -} + +export type ProjectInProgressGoalsQuery = { __typename?: 'Query', projectGoals: { __typename?: 'ProjectGoals', inProgress: Array<( + { __typename?: 'ProjectGoal' } + & ProjectGoalsFragment + )> } }; export type ProjectCompletedGoalsQueryVariables = Exact<{ - input: GetProjectGoalsInput -}> + input: GetProjectGoalsInput; +}>; -export type ProjectCompletedGoalsQuery = { - __typename?: 'Query' - projectGoals: { __typename?: 'ProjectGoals'; completed: Array<{ __typename?: 'ProjectGoal' } & ProjectGoalsFragment> } -} + +export type ProjectCompletedGoalsQuery = { __typename?: 'Query', projectGoals: { __typename?: 'ProjectGoals', completed: Array<( + { __typename?: 'ProjectGoal' } + & ProjectGoalsFragment + )> } }; export type ProjectPageBodyQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type ProjectPageBodyQuery = { - __typename?: 'Query' - projectGet?: ({ __typename?: 'Project' } & ProjectPageBodyFragment) | null -} + +export type ProjectPageBodyQuery = { __typename?: 'Query', projectGet?: ( + { __typename?: 'Project' } + & ProjectPageBodyFragment + ) | null }; export type ProjectPageDetailsQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type ProjectPageDetailsQuery = { - __typename?: 'Query' - projectGet?: ({ __typename?: 'Project' } & ProjectPageDetailsFragment) | null -} + +export type ProjectPageDetailsQuery = { __typename?: 'Query', projectGet?: ( + { __typename?: 'Project' } + & ProjectPageDetailsFragment + ) | null }; + +export type ProjectGrantApplicationsQueryVariables = Exact<{ + where: UniqueProjectQueryInput; + input?: InputMaybe; +}>; + + +export type ProjectGrantApplicationsQuery = { __typename?: 'Query', projectGet?: { __typename?: 'Project', grantApplications: Array<( + { __typename?: 'GrantApplicant' } + & ProjectGrantApplicantFragment + )> } | null }; export type ProjectPageHeaderSummaryQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type ProjectPageHeaderSummaryQuery = { - __typename?: 'Query' - projectGet?: ({ __typename?: 'Project' } & ProjectHeaderSummaryFragment) | null -} + +export type ProjectPageHeaderSummaryQuery = { __typename?: 'Query', projectGet?: ( + { __typename?: 'Project' } + & ProjectHeaderSummaryFragment + ) | null }; export type ProjectPageWalletsQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type ProjectPageWalletsQuery = { - __typename?: 'Query' - projectGet?: { __typename?: 'Project'; wallets: Array<{ __typename?: 'Wallet' } & ProjectPageWalletFragment> } | null -} + +export type ProjectPageWalletsQuery = { __typename?: 'Query', projectGet?: { __typename?: 'Project', wallets: Array<( + { __typename?: 'Wallet' } + & ProjectPageWalletFragment + )> } | null }; export type ProjectWalletConnectionDetailsQueryVariables = Exact<{ - where: UniqueProjectQueryInput -}> + where: UniqueProjectQueryInput; +}>; -export type ProjectWalletConnectionDetailsQuery = { - __typename?: 'Query' - projectGet?: { - __typename?: 'Project' - wallets: Array<{ __typename?: 'Wallet' } & ProjectWalletConnectionDetailsFragment> - } | null -} + +export type ProjectWalletConnectionDetailsQuery = { __typename?: 'Query', projectGet?: { __typename?: 'Project', wallets: Array<( + { __typename?: 'Wallet' } + & ProjectWalletConnectionDetailsFragment + )> } | null }; export type ProjectStatsGetInsightQueryVariables = Exact<{ - input: GetProjectStatsInput -}> + input: GetProjectStatsInput; +}>; -export type ProjectStatsGetInsightQuery = { - __typename?: 'Query' - projectStatsGet: { __typename?: 'ProjectStats' } & ProjectStatsForInsightsPageFragment -} + +export type ProjectStatsGetInsightQuery = { __typename?: 'Query', projectStatsGet: ( + { __typename?: 'ProjectStats' } + & ProjectStatsForInsightsPageFragment + ) }; export type ProjectHistoryStatsGetQueryVariables = Exact<{ - input: GetProjectStatsInput -}> + input: GetProjectStatsInput; +}>; -export type ProjectHistoryStatsGetQuery = { - __typename?: 'Query' - projectStatsGet: { __typename?: 'ProjectStats' } & ProjectHistoryStatsFragment -} + +export type ProjectHistoryStatsGetQuery = { __typename?: 'Query', projectStatsGet: ( + { __typename?: 'ProjectStats' } + & ProjectHistoryStatsFragment + ) }; export type ProjectRewardSoldGraphStatsGetQueryVariables = Exact<{ - input: GetProjectStatsInput -}> + input: GetProjectStatsInput; +}>; -export type ProjectRewardSoldGraphStatsGetQuery = { - __typename?: 'Query' - projectStatsGet: { __typename?: 'ProjectStats' } & ProjectRewardSoldGraphStatsFragment -} + +export type ProjectRewardSoldGraphStatsGetQuery = { __typename?: 'Query', projectStatsGet: ( + { __typename?: 'ProjectStats' } + & ProjectRewardSoldGraphStatsFragment + ) }; export type ProjectFundingMethodStatsGetQueryVariables = Exact<{ - input: GetProjectStatsInput -}> + input: GetProjectStatsInput; +}>; -export type ProjectFundingMethodStatsGetQuery = { - __typename?: 'Query' - projectStatsGet: { __typename?: 'ProjectStats' } & ProjectFundingMethodStatsFragment -} + +export type ProjectFundingMethodStatsGetQuery = { __typename?: 'Query', projectStatsGet: ( + { __typename?: 'ProjectStats' } + & ProjectFundingMethodStatsFragment + ) }; export type ProjectRewardsQueryVariables = Exact<{ - input: GetProjectRewardInput -}> + input: GetProjectRewardInput; +}>; -export type ProjectRewardsQuery = { - __typename?: 'Query' - projectRewardsGet: Array<{ __typename?: 'ProjectReward' } & ProjectRewardFragment> -} + +export type ProjectRewardsQuery = { __typename?: 'Query', projectRewardsGet: Array<( + { __typename?: 'ProjectReward' } + & ProjectRewardFragment + )> }; export type ProjectRewardQueryVariables = Exact<{ - getProjectRewardId: Scalars['BigInt']['input'] -}> + getProjectRewardId: Scalars['BigInt']['input']; +}>; -export type ProjectRewardQuery = { - __typename?: 'Query' - getProjectReward: { __typename?: 'ProjectReward' } & ProjectRewardFragment -} + +export type ProjectRewardQuery = { __typename?: 'Query', getProjectReward: ( + { __typename?: 'ProjectReward' } + & ProjectRewardFragment + ) }; export type FundingTxStatusUpdatedSubscriptionVariables = Exact<{ - input?: InputMaybe -}> + input?: InputMaybe; +}>; -export type FundingTxStatusUpdatedSubscription = { - __typename?: 'Subscription' - fundingTxStatusUpdated: { - __typename?: 'FundingTxStatusUpdatedSubscriptionResponse' - fundingTx: { __typename?: 'FundingTx' } & FundingTxFragment - } -} + +export type FundingTxStatusUpdatedSubscription = { __typename?: 'Subscription', fundingTxStatusUpdated: { __typename?: 'FundingTxStatusUpdatedSubscriptionResponse', fundingTx: ( + { __typename?: 'FundingTx' } + & FundingTxFragment + ) } }; export const EmailUpdateUserFragmentDoc = gql` - fragment EmailUpdateUser on User { - email - isEmailVerified - id - } -` + fragment EmailUpdateUser on User { + email + isEmailVerified + id +} + `; export const OtpResponseFragmentDoc = gql` - fragment OTPResponse on OTPResponse { - otpVerificationToken - expiresAt - } -` + fragment OTPResponse on OTPResponse { + otpVerificationToken + expiresAt +} + `; export const UserForAvatarFragmentDoc = gql` - fragment UserForAvatar on User { - id - imageUrl - email - username - } -` + fragment UserForAvatar on User { + id + imageUrl + email + username +} + `; export const EntryFragmentDoc = gql` - fragment Entry on Entry { + fragment Entry on Entry { + id + title + description + image + status + content + createdAt + updatedAt + publishedAt + status + fundersCount + amountFunded + type + creator { + ...UserForAvatar + } + project { id title - description + name image - status - content - createdAt - updatedAt - publishedAt - status - fundersCount - amountFunded - type - creator { - ...UserForAvatar - } - project { - id - title - name - image - } } - ${UserForAvatarFragmentDoc} -` +} + ${UserForAvatarFragmentDoc}`; export const ProjectDefaultGoalFragmentDoc = gql` - fragment ProjectDefaultGoal on ProjectGoal { - id - title - targetAmount - currency - amountContributed - } -` + fragment ProjectDefaultGoal on ProjectGoal { + id + title + targetAmount + currency + amountContributed +} + `; export const ProjectGoalFragmentDoc = gql` - fragment ProjectGoal on ProjectGoal { + fragment ProjectGoal on ProjectGoal { + id + title + description + targetAmount + currency + status + projectId + amountContributed + createdAt + updatedAt + hasReceivedContribution + emojiUnifiedCode +} + `; +export const BoardVoteGrantsFragmentFragmentDoc = gql` + fragment BoardVoteGrantsFragment on BoardVoteGrant { + id + title + name + image + shortDescription + description + balance + status + type + applicants { id - title - description - targetAmount - currency + } + statuses { status - projectId - amountContributed - createdAt - updatedAt - hasReceivedContribution - emojiUnifiedCode + endAt + startAt } -` -export const BoardVoteGrantsFragmentFragmentDoc = gql` - fragment BoardVoteGrantsFragment on BoardVoteGrant { + sponsors { id - title name + url image - shortDescription - description - balance status - type - applicants { - id - } - statuses { - status - endAt - startAt - } - sponsors { - id - name - url - image - status - createdAt - } + createdAt } -` +} + `; export const CommunityVoteGrantsFragmentFragmentDoc = gql` - fragment CommunityVoteGrantsFragment on CommunityVoteGrant { + fragment CommunityVoteGrantsFragment on CommunityVoteGrant { + id + title + name + image + shortDescription + description + balance + status + type + applicants { + id + } + statuses { + status + endAt + startAt + } + sponsors { id - title name + url image - shortDescription - description - balance status - type - applicants { - id - } - statuses { - status - endAt - startAt - } - sponsors { - id - name - url - image - status - createdAt - } - votes { - voteCount - voterCount - } - votingSystem - distributionSystem + createdAt } -` + votes { + voteCount + voterCount + } + votingSystem + distributionSystem +} + `; export const BoardVoteGrantFragmentFragmentDoc = gql` - fragment BoardVoteGrantFragment on BoardVoteGrant { - id - title - name - shortDescription - description - balance + fragment BoardVoteGrantFragment on BoardVoteGrant { + id + title + name + shortDescription + description + balance + status + image + type + statuses { status - image - type - statuses { - status - endAt - startAt - } - applicants { - contributorsCount - contributors(input: { pagination: { take: 50 } }) { - user { - id - imageUrl - } - amount - timesContributed - } - project { + endAt + startAt + } + applicants { + contributorsCount + contributors(input: {pagination: {take: 50}}) { + user { id - name - title - thumbnailImage - shortDescription - description - wallets { - id - } - } - status - funding { - communityFunding - grantAmount - grantAmountDistributed + imageUrl } + amount + timesContributed } - sponsors { + project { id name - url - image - status - createdAt - } - boardMembers { - user { - username - imageUrl + title + thumbnailImage + shortDescription + description + wallets { id - externalAccounts { - accountType - externalId - externalUsername - id - public - } } } + status + funding { + communityFunding + grantAmount + grantAmountDistributed + } } -` -export const CommunityVoteGrantFragmentFragmentDoc = gql` - fragment CommunityVoteGrantFragment on CommunityVoteGrant { + sponsors { id - title name - shortDescription - description - balance - status + url image - type - statuses { - status - endAt - startAt - } - applicants { - contributorsCount - contributors { - user { - id - imageUrl - username - } - amount - timesContributed - voteCount - } - project { + status + createdAt + } + boardMembers { + user { + username + imageUrl + id + externalAccounts { + accountType + externalId + externalUsername id - name - title - thumbnailImage - shortDescription - description - wallets { - id - } + public } - status - funding { - communityFunding - grantAmount - grantAmountDistributed + } + } +} + `; +export const CommunityVoteGrantFragmentFragmentDoc = gql` + fragment CommunityVoteGrantFragment on CommunityVoteGrant { + id + title + name + shortDescription + description + balance + status + image + type + statuses { + status + endAt + startAt + } + applicants { + contributorsCount + contributors { + user { + id + imageUrl + username } + amount + timesContributed voteCount } - sponsors { + project { id name - url - image - status - createdAt + title + thumbnailImage + shortDescription + description + wallets { + id + } } - votes { - voteCount - voterCount + status + funding { + communityFunding + grantAmount + grantAmountDistributed } - votingSystem - distributionSystem + voteCount + } + sponsors { + id + name + url + image + status + createdAt } -` + votes { + voteCount + voterCount + } + votingSystem + distributionSystem +} + `; export const OrderItemFragmentDoc = gql` - fragment OrderItem on OrderItem { - item { - id - name - cost - rewardCurrency - category - } - quantity - unitPriceInSats + fragment OrderItem on OrderItem { + item { + id + name + cost + rewardCurrency + category } -` + quantity + unitPriceInSats +} + `; export const OrderFragmentDoc = gql` - fragment Order on Order { - confirmedAt - createdAt - deliveredAt + fragment Order on Order { + confirmedAt + createdAt + deliveredAt + id + shippedAt + status + totalInSats + updatedAt + user { id - shippedAt - status - totalInSats - updatedAt - user { - id - imageUrl - username - email - } - items { - ...OrderItem - } - fundingTx { - id - bitcoinQuote { - quoteCurrency - quote - } - amount - amountPaid - donationAmount - address - email - fundingType - invoiceStatus - isAnonymous - status - uuid - } + imageUrl + username + email } - ${OrderItemFragmentDoc} -` -export const FundingTxOrderFragmentDoc = gql` - fragment FundingTxOrder on FundingTx { + items { + ...OrderItem + } + fundingTx { id - invoiceStatus - donationAmount - amountPaid - amount - email - paidAt - status - invoiceId - uuid - affiliateFeeInSats bitcoinQuote { quoteCurrency quote } - funder { - user { - id - imageUrl - username - externalAccounts { - id - externalUsername - externalId - accountType - public - } - } - } - order { + amount + amountPaid + donationAmount + address + email + fundingType + invoiceStatus + isAnonymous + status + uuid + } +} + ${OrderItemFragmentDoc}`; +export const FundingTxOrderFragmentDoc = gql` + fragment FundingTxOrder on FundingTx { + id + invoiceStatus + donationAmount + amountPaid + amount + email + paidAt + status + invoiceId + uuid + affiliateFeeInSats + bitcoinQuote { + quoteCurrency + quote + } + funder { + user { id - referenceCode - totalInSats - items { - ...OrderItem + imageUrl + username + externalAccounts { + id + externalUsername + externalId + accountType + public } } } - ${OrderItemFragmentDoc} -` -export const PaginationFragmentDoc = gql` - fragment Pagination on CursorPaginationResponse { - take - cursor { - id + order { + id + referenceCode + totalInSats + items { + ...OrderItem } - count } -` -export const ProjectNostrKeysFragmentDoc = gql` - fragment ProjectNostrKeys on Project { +} + ${OrderItemFragmentDoc}`; +export const PaginationFragmentDoc = gql` + fragment Pagination on CursorPaginationResponse { + take + cursor { id - name - keys { - nostrKeys { - privateKey { - nsec - } - publicKey { - npub - } - } - } } -` -export const ProjectKeysFragmentDoc = gql` - fragment ProjectKeys on ProjectKeys { + count +} + `; +export const ProjectNostrKeysFragmentDoc = gql` + fragment ProjectNostrKeys on Project { + id + name + keys { nostrKeys { + privateKey { + nsec + } publicKey { - hex npub } } } -` -export const ExternalAccountFragmentDoc = gql` - fragment ExternalAccount on ExternalAccount { - id - accountType - externalUsername - externalId - public - } -` -export const ProjectOwnerUserFragmentDoc = gql` - fragment ProjectOwnerUser on User { - id - username - imageUrl - email - ranking - isEmailVerified - externalAccounts { - ...ExternalAccount +} + `; +export const ProjectKeysFragmentDoc = gql` + fragment ProjectKeys on ProjectKeys { + nostrKeys { + publicKey { + hex + npub } - hasSocialAccount } - ${ExternalAccountFragmentDoc} -` +} + `; +export const ExternalAccountFragmentDoc = gql` + fragment ExternalAccount on ExternalAccount { + id + accountType + externalUsername + externalId + public +} + `; +export const ProjectOwnerUserFragmentDoc = gql` + fragment ProjectOwnerUser on User { + id + username + imageUrl + email + ranking + isEmailVerified + externalAccounts { + ...ExternalAccount + } + hasSocialAccount +} + ${ExternalAccountFragmentDoc}`; export const ProjectRewardForCreateUpdateFragmentDoc = gql` - fragment ProjectRewardForCreateUpdate on ProjectReward { - id - name - description - cost - image - deleted - stock - sold - hasShipping - maxClaimable - isAddon - isHidden - category - preOrder - estimatedAvailabilityDate - estimatedDeliveryInWeeks - } -` + fragment ProjectRewardForCreateUpdate on ProjectReward { + id + name + description + cost + image + deleted + stock + sold + hasShipping + maxClaimable + isAddon + isHidden + category + preOrder + estimatedAvailabilityDate + estimatedDeliveryInWeeks +} + `; export const EntryForProjectFragmentDoc = gql` - fragment EntryForProject on Entry { - id - title - description - image - type - fundersCount - amountFunded + fragment EntryForProject on Entry { + id + title + description + image + type + fundersCount + amountFunded + status + createdAt + publishedAt + creator { + ...UserForAvatar + } +} + ${UserForAvatarFragmentDoc}`; +export const ProjectWalletFragmentDoc = gql` + fragment ProjectWallet on Wallet { + id + name + feePercentage + state { status - createdAt - publishedAt - creator { - ...UserForAvatar - } + statusCode } - ${UserForAvatarFragmentDoc} -` -export const ProjectWalletFragmentDoc = gql` - fragment ProjectWallet on Wallet { - id - name - feePercentage - state { - status - statusCode + connectionDetails { + ... on LightningAddressConnectionDetails { + lightningAddress } - connectionDetails { - ... on LightningAddressConnectionDetails { - lightningAddress - } - ... on LndConnectionDetailsPrivate { - macaroon - tlsCertificate - hostname - grpcPort - lndNodeType - pubkey - } - ... on LndConnectionDetailsPublic { - pubkey - } + ... on LndConnectionDetailsPrivate { + macaroon + tlsCertificate + hostname + grpcPort + lndNodeType + pubkey + } + ... on LndConnectionDetailsPublic { + pubkey } } -` +} + `; export const ProjectCommunityVoteGrantFragmentDoc = gql` - fragment ProjectCommunityVoteGrant on CommunityVoteGrant { + fragment ProjectCommunityVoteGrant on CommunityVoteGrant { + id + status + title +} + `; +export const ProjectGrantApplicationsFragmentDoc = gql` + fragment ProjectGrantApplications on Project { + grantApplications { id status - title - } -` -export const ProjectGrantApplicationsFragmentDoc = gql` - fragment ProjectGrantApplications on Project { - grantApplications { - id - status - grant { - ...ProjectCommunityVoteGrant - } + grant { + ...ProjectCommunityVoteGrant } } - ${ProjectCommunityVoteGrantFragmentDoc} -` +} + ${ProjectCommunityVoteGrantFragmentDoc}`; export const ProjectFragmentDoc = gql` - fragment Project on Project { - id - title - name - type - shortDescription - description - defaultGoalId - balance - balanceUsdCent - createdAt - updatedAt - image - thumbnailImage - links - status - rewardCurrency - fundersCount - fundingTxsCount - keys { - ...ProjectKeys - } - location { - country { - name - code - } - region + fragment Project on Project { + id + title + name + type + shortDescription + description + defaultGoalId + balance + balanceUsdCent + createdAt + updatedAt + image + thumbnailImage + links + status + rewardCurrency + fundersCount + fundingTxsCount + keys { + ...ProjectKeys + } + location { + country { + name + code } - tags { - id - label + region + } + tags { + id + label + } + owners { + id + user { + ...ProjectOwnerUser } - owners { - id - user { - ...ProjectOwnerUser - } + } + rewards { + ...ProjectRewardForCreateUpdate + } + ambassadors { + id + confirmed + user { + ...UserForAvatar } - rewards { - ...ProjectRewardForCreateUpdate + } + sponsors { + id + url + image + user { + ...UserForAvatar } - ambassadors { - id - confirmed - user { - ...UserForAvatar + } + entries(input: $input) { + ...EntryForProject + } + wallets { + ...ProjectWallet + } + followers { + id + username + } + keys { + nostrKeys { + publicKey { + npub } } - sponsors { + } + ...ProjectGrantApplications +} + ${ProjectKeysFragmentDoc} +${ProjectOwnerUserFragmentDoc} +${ProjectRewardForCreateUpdateFragmentDoc} +${UserForAvatarFragmentDoc} +${EntryForProjectFragmentDoc} +${ProjectWalletFragmentDoc} +${ProjectGrantApplicationsFragmentDoc}`; +export const UserMeFragmentDoc = gql` + fragment UserMe on User { + id + username + imageUrl + email + ranking + isEmailVerified + hasSocialAccount + externalAccounts { + ...ExternalAccount + } + ownerOf { + project { id - url + name image - user { - ...UserForAvatar - } - } - entries(input: $input) { - ...EntryForProject - } - wallets { - ...ProjectWallet - } - followers { - id - username + thumbnailImage + title + status + createdAt } - keys { - nostrKeys { - publicKey { - npub - } - } + } +} + ${ExternalAccountFragmentDoc}`; +export const ProjectForSubscriptionFragmentDoc = gql` + fragment ProjectForSubscription on Project { + id + title + name + thumbnailImage + owners { + id + user { + ...UserMe } - ...ProjectGrantApplications - } - ${ProjectKeysFragmentDoc} - ${ProjectOwnerUserFragmentDoc} - ${ProjectRewardForCreateUpdateFragmentDoc} - ${UserForAvatarFragmentDoc} - ${EntryForProjectFragmentDoc} - ${ProjectWalletFragmentDoc} - ${ProjectGrantApplicationsFragmentDoc} -` -export const UserMeFragmentDoc = gql` - fragment UserMe on User { + } +} + ${UserMeFragmentDoc}`; +export const FunderWithUserFragmentDoc = gql` + fragment FunderWithUser on Funder { + amountFunded + confirmed + id + confirmedAt + timesFunded + user { id username - imageUrl - email - ranking - isEmailVerified hasSocialAccount externalAccounts { - ...ExternalAccount + externalId + externalUsername + id + accountType } - ownerOf { - project { - id - name - image - thumbnailImage - title - status - createdAt - } + imageUrl + } +} + `; +export const WalletLimitsFragmentDoc = gql` + fragment WalletLimits on WalletLimits { + contribution { + min + max + offChain { + min + max + } + onChain { + min + max } } - ${ExternalAccountFragmentDoc} -` -export const ProjectForSubscriptionFragmentDoc = gql` - fragment ProjectForSubscription on Project { +} + `; +export const EntryForLandingPageFragmentDoc = gql` + fragment EntryForLandingPage on Entry { + amountFunded + entryFundersCount: fundersCount + entryDescription: description + id + image + title + project { id - title name thumbnailImage - owners { - id - user { - ...UserMe - } - } - } - ${UserMeFragmentDoc} -` -export const FunderWithUserFragmentDoc = gql` - fragment FunderWithUser on Funder { - amountFunded - confirmed + title + } + creator { + ...UserForAvatar + } +} + ${UserForAvatarFragmentDoc}`; +export const ProjectForLandingPageFragmentDoc = gql` + fragment ProjectForLandingPage on Project { + id + name + balance + balanceUsdCent + fundersCount + thumbnailImage + shortDescription + title + status +} + `; +export const FundingTxForLandingPageFragmentDoc = gql` + fragment FundingTxForLandingPage on FundingTx { + id + comment + amount + funder { id - confirmedAt + amountFunded timesFunded + confirmedAt user { id username - hasSocialAccount + imageUrl externalAccounts { - externalId externalUsername - id + public accountType } - imageUrl - } - } -` -export const WalletLimitsFragmentDoc = gql` - fragment WalletLimits on WalletLimits { - contribution { - min - max - offChain { - min - max - } - onChain { - min - max - } } } -` -export const EntryForLandingPageFragmentDoc = gql` - fragment EntryForLandingPage on Entry { - amountFunded - entryFundersCount: fundersCount - entryDescription: description - id - image - title - project { + paidAt + onChain + media + source + method + projectId + sourceResource { + ... on Project { id name - thumbnailImage title + image + createdAt + thumbnailImage } - creator { - ...UserForAvatar + ... on Entry { + createdAt + id + image + title } } - ${UserForAvatarFragmentDoc} -` -export const ProjectForLandingPageFragmentDoc = gql` - fragment ProjectForLandingPage on Project { +} + `; +export const ProjectRewardForLandingPageFragmentDoc = gql` + fragment ProjectRewardForLandingPage on ProjectReward { + cost + description + id + image + rewardName: name + sold + stock + maxClaimable + rewardProject: project { id name - balance - balanceUsdCent - fundersCount - thumbnailImage - shortDescription title - status - } -` -export const FundingTxForLandingPageFragmentDoc = gql` - fragment FundingTxForLandingPage on FundingTx { - id - comment - amount - funder { + rewardCurrency + owners { id - amountFunded - timesFunded - confirmedAt user { id username imageUrl - externalAccounts { - externalUsername - public - accountType - } - } - } - paidAt - onChain - media - source - method - projectId - sourceResource { - ... on Project { - id - name - title - image - createdAt - thumbnailImage - } - ... on Entry { - createdAt - id - image - title - } - } - } -` -export const ProjectRewardForLandingPageFragmentDoc = gql` - fragment ProjectRewardForLandingPage on ProjectReward { - cost - description - id - image - rewardName: name - sold - stock - maxClaimable - rewardProject: project { - id - name - title - rewardCurrency - owners { - id - user { - id - username - imageUrl - } } } } -` +} + `; export const ActivityForLandingPageFragmentDoc = gql` - fragment ActivityForLandingPage on Activity { - id - createdAt - resource { - ... on Entry { - ...EntryForLandingPage - } - ... on Project { - ...ProjectForLandingPage - } - ... on FundingTx { - ...FundingTxForLandingPage - } - ... on ProjectReward { - ...ProjectRewardForLandingPage - } + fragment ActivityForLandingPage on Activity { + id + createdAt + resource { + ... on Entry { + ...EntryForLandingPage + } + ... on Project { + ...ProjectForLandingPage + } + ... on FundingTx { + ...FundingTxForLandingPage + } + ... on ProjectReward { + ...ProjectRewardForLandingPage } } - ${EntryForLandingPageFragmentDoc} - ${ProjectForLandingPageFragmentDoc} - ${FundingTxForLandingPageFragmentDoc} - ${ProjectRewardForLandingPageFragmentDoc} -` +} + ${EntryForLandingPageFragmentDoc} +${ProjectForLandingPageFragmentDoc} +${FundingTxForLandingPageFragmentDoc} +${ProjectRewardForLandingPageFragmentDoc}`; export const FundingTxForUserContributionFragmentDoc = gql` - fragment FundingTxForUserContribution on FundingTx { + fragment FundingTxForUserContribution on FundingTx { + id + comment + amount + funder { id - comment - amount - funder { + user { id - user { - id - username - imageUrl - externalAccounts { - id - externalUsername - public - accountType - } - } - } - paidAt - onChain - media - source - method - projectId - sourceResource { - ... on Project { - id - createdAt - name - title - thumbnailImage - image - } - ... on Entry { + username + imageUrl + externalAccounts { id - createdAt - image + externalUsername + public + accountType } } } -` -export const RewardForLandingPageFragmentDoc = gql` - fragment RewardForLandingPage on ProjectReward { - id - image - cost - name - description - project { - rewardCurrency + paidAt + onChain + media + source + method + projectId + sourceResource { + ... on Project { id + createdAt name title thumbnailImage + image + } + ... on Entry { + id + createdAt + image } } -` +} + `; +export const RewardForLandingPageFragmentDoc = gql` + fragment RewardForLandingPage on ProjectReward { + id + image + cost + name + description + project { + rewardCurrency + id + name + title + thumbnailImage + } +} + `; export const ActivityFeedFragmentFragmentDoc = gql` - fragment ActivityFeedFragment on Activity { - activityType - createdAt + fragment ActivityFeedFragment on Activity { + activityType + createdAt + id + project { id - project { + title + name + thumbnailImage + } + resource { + ... on Project { id title name - thumbnailImage + image } - resource { - ... on Project { - id - title - name - image - } - ... on Entry { - id - title - entryDescription: description - content - entryImage: image - } - ... on FundingTx { - id - amount - projectId - isAnonymous - funder { - user { - id - username - imageUrl - } + ... on Entry { + id + title + entryDescription: description + content + entryImage: image + } + ... on FundingTx { + id + amount + projectId + isAnonymous + funder { + user { + id + username + imageUrl } } - ... on ProjectReward { - id - category - cost - projectRewardDescription: description - rewardCurrency - rewardType - sold - stock - projectRewardImage: image - } - ... on ProjectGoal { - currency - goalDescription: description - title - targetAmount - status - } + } + ... on ProjectReward { + id + category + cost + projectRewardDescription: description + rewardCurrency + rewardType + sold + stock + projectRewardImage: image + } + ... on ProjectGoal { + currency + goalDescription: description + title + targetAmount + status } } -` +} + `; export const SummaryBannerFragmentFragmentDoc = gql` - fragment SummaryBannerFragment on ProjectsSummary { - fundedTotal - fundersCount - projectsCount - } -` + fragment SummaryBannerFragment on ProjectsSummary { + fundedTotal + fundersCount + projectsCount +} + `; export const TopContributorsFragmentFragmentDoc = gql` - fragment TopContributorsFragment on GlobalContributorLeaderboardRow { - contributionsCount - contributionsTotal - contributionsTotalUsd - projectsContributedCount - userId - username - userImageUrl - } -` + fragment TopContributorsFragment on GlobalContributorLeaderboardRow { + contributionsCount + contributionsTotal + contributionsTotalUsd + projectsContributedCount + userId + username + userImageUrl +} + `; export const TopProjectsFragmentFragmentDoc = gql` - fragment TopProjectsFragment on GlobalProjectLeaderboardRow { - projectName - projectTitle - projectThumbnailUrl - contributionsTotal - contributionsTotalUsd - contributionsCount - contributorsCount - } -` + fragment TopProjectsFragment on GlobalProjectLeaderboardRow { + projectName + projectTitle + projectThumbnailUrl + contributionsTotal + contributionsTotalUsd + contributionsCount + contributorsCount +} + `; export const FollowedProjectsActivitiesCountFragmentFragmentDoc = gql` - fragment FollowedProjectsActivitiesCountFragment on ProjectActivitiesCount { - count - project { - id - name - thumbnailImage - title - } - } -` -export const OrdersStatsFragmentFragmentDoc = gql` - fragment OrdersStatsFragment on OrdersStatsBase { - projectRewards { - count - } - projectRewardsGroupedByProjectRewardId { - count - projectReward { - id - name - image - } - } - } -` -export const ProjectContributionsStatsFragmentDoc = gql` - fragment ProjectContributionsStats on ProjectContributionsStatsBase { - contributions { - total - totalUsd - } - } -` -export const ProjectStatsFragmentDoc = gql` - fragment ProjectStats on ProjectStats { - current { - projectContributionsStats { - ...ProjectContributionsStats - } - } - } - ${ProjectContributionsStatsFragmentDoc} -` -export const ProjectAvatarFragmentDoc = gql` - fragment ProjectAvatar on Project { + fragment FollowedProjectsActivitiesCountFragment on ProjectActivitiesCount { + count + project { id name thumbnailImage title } -` -export const BitcoinQuoteFragmentDoc = gql` - fragment BitcoinQuote on BitcoinQuote { - quote - quoteCurrency - } -` -export const UserProjectFunderFragmentDoc = gql` - fragment UserProjectFunder on Funder { - amountFunded - confirmedAt - confirmed - id - fundingTxs { - amountPaid - comment - media - paidAt - onChain - bitcoinQuote { - ...BitcoinQuote - } - } - } - ${BitcoinQuoteFragmentDoc} -` -export const UserProjectContributionsFragmentDoc = gql` - fragment UserProjectContributions on UserProjectContribution { - project { - ...ProjectAvatar - } - funder { - ...UserProjectFunder - } +} + `; +export const OrdersStatsFragmentFragmentDoc = gql` + fragment OrdersStatsFragment on OrdersStatsBase { + projectRewards { + count } - ${ProjectAvatarFragmentDoc} - ${UserProjectFunderFragmentDoc} -` -export const ProfileOrderItemFragmentDoc = gql` - fragment ProfileOrderItem on OrderItem { - item { + projectRewardsGroupedByProjectRewardId { + count + projectReward { id name - cost - rewardCurrency - description image - category } - quantity - unitPriceInSats } -` -export const ProfileOrderFragmentDoc = gql` - fragment ProfileOrder on Order { - id - referenceCode - totalInSats - status - confirmedAt - updatedAt - items { - ...ProfileOrderItem +} + `; +export const ProjectContributionsStatsFragmentDoc = gql` + fragment ProjectContributionsStats on ProjectContributionsStatsBase { + contributions { + total + totalUsd + } +} + `; +export const ProjectStatsFragmentDoc = gql` + fragment ProjectStats on ProjectStats { + current { + projectContributionsStats { + ...ProjectContributionsStats } - fundingTx { - id - bitcoinQuote { - quote - quoteCurrency - } - amountPaid - amount - status - onChain - sourceResource { - ... on Project { - ...ProjectAvatar - } - } + } +} + ${ProjectContributionsStatsFragmentDoc}`; +export const ProjectAvatarFragmentDoc = gql` + fragment ProjectAvatar on Project { + id + name + thumbnailImage + title +} + `; +export const BitcoinQuoteFragmentDoc = gql` + fragment BitcoinQuote on BitcoinQuote { + quote + quoteCurrency +} + `; +export const UserProjectFunderFragmentDoc = gql` + fragment UserProjectFunder on Funder { + amountFunded + confirmedAt + confirmed + id + fundingTxs { + amountPaid + comment + media + paidAt + onChain + bitcoinQuote { + ...BitcoinQuote } } - ${ProfileOrderItemFragmentDoc} - ${ProjectAvatarFragmentDoc} -` -export const NotificationConfigurationFragmentDoc = gql` - fragment NotificationConfiguration on NotificationConfiguration { +} + ${BitcoinQuoteFragmentDoc}`; +export const UserProjectContributionsFragmentDoc = gql` + fragment UserProjectContributions on UserProjectContribution { + project { + ...ProjectAvatar + } + funder { + ...UserProjectFunder + } +} + ${ProjectAvatarFragmentDoc} +${UserProjectFunderFragmentDoc}`; +export const ProfileOrderItemFragmentDoc = gql` + fragment ProfileOrderItem on OrderItem { + item { id name + cost + rewardCurrency description - value - type - options - } -` -export const NotificationSettingsFragmentDoc = gql` - fragment NotificationSettings on NotificationSettings { - notificationType - isEnabled - configurations { - ...NotificationConfiguration - } + image + category } - ${NotificationConfigurationFragmentDoc} -` -export const ProfileNotificationsSettingsFragmentDoc = gql` - fragment ProfileNotificationsSettings on ProfileNotificationSettings { - userSettings { - userId - notificationSettings { - ...NotificationSettings - } + quantity + unitPriceInSats +} + `; +export const ProfileOrderFragmentDoc = gql` + fragment ProfileOrder on Order { + id + referenceCode + totalInSats + status + confirmedAt + updatedAt + items { + ...ProfileOrderItem + } + fundingTx { + id + bitcoinQuote { + quote + quoteCurrency } - creatorSettings { - userId - project { - id - title - image - } - notificationSettings { - ...NotificationSettings + amountPaid + amount + status + onChain + sourceResource { + ... on Project { + ...ProjectAvatar } } } - ${NotificationSettingsFragmentDoc} -` -export const UserNotificationsSettingsFragmentDoc = gql` - fragment UserNotificationsSettings on ProfileNotificationSettings { - userSettings { - userId - notificationSettings { - ...NotificationSettings - } - } +} + ${ProfileOrderItemFragmentDoc} +${ProjectAvatarFragmentDoc}`; +export const NotificationConfigurationFragmentDoc = gql` + fragment NotificationConfiguration on NotificationConfiguration { + id + name + description + value + type + options +} + `; +export const NotificationSettingsFragmentDoc = gql` + fragment NotificationSettings on NotificationSettings { + notificationType + isEnabled + configurations { + ...NotificationConfiguration } - ${NotificationSettingsFragmentDoc} -` -export const ProjectForProfilePageFragmentDoc = gql` - fragment ProjectForProfilePage on Project { - id - name - balance - fundersCount - thumbnailImage - title - shortDescription - createdAt - status - rewardsCount - wallets { - id - name - state { - status - statusCode - } +} + ${NotificationConfigurationFragmentDoc}`; +export const ProfileNotificationsSettingsFragmentDoc = gql` + fragment ProfileNotificationsSettings on ProfileNotificationSettings { + userSettings { + userId + notificationSettings { + ...NotificationSettings } } -` -export const ProjectNotificationSettingsFragmentDoc = gql` - fragment ProjectNotificationSettings on CreatorNotificationSettings { + creatorSettings { userId project { id @@ -9454,503 +7297,560 @@ export const ProjectNotificationSettingsFragmentDoc = gql` image } notificationSettings { - notificationType - isEnabled - configurations { - id - name - description - value - type - options - } + ...NotificationSettings } } -` -export const UserForProfilePageFragmentDoc = gql` - fragment UserForProfilePage on User { - id - bio - username - imageUrl - ranking - isEmailVerified - externalAccounts { - ...ExternalAccount +} + ${NotificationSettingsFragmentDoc}`; +export const UserNotificationsSettingsFragmentDoc = gql` + fragment UserNotificationsSettings on ProfileNotificationSettings { + userSettings { + userId + notificationSettings { + ...NotificationSettings } } - ${ExternalAccountFragmentDoc} -` -export const ProjectAffiliateLinkFragmentDoc = gql` - fragment ProjectAffiliateLink on AffiliateLink { - projectId - label +} + ${NotificationSettingsFragmentDoc}`; +export const ProjectForProfilePageFragmentDoc = gql` + fragment ProjectForProfilePage on Project { + id + name + balance + fundersCount + thumbnailImage + title + shortDescription + createdAt + status + rewardsCount + wallets { id - email - disabledAt - createdAt - disabled - affiliateId - lightningAddress - affiliateFeePercentage - stats { - sales { - total - count - } + name + state { + status + statusCode } } -` -export const ProjectEntryFragmentDoc = gql` - fragment ProjectEntry on Entry { - id - title - description - image - type - fundersCount - amountFunded - status - createdAt - publishedAt - } -` -export const ProjectEntryViewFragmentDoc = gql` - fragment ProjectEntryView on Entry { +} + `; +export const ProjectNotificationSettingsFragmentDoc = gql` + fragment ProjectNotificationSettings on CreatorNotificationSettings { + userId + project { id title - description image - type - fundersCount - amountFunded - status - createdAt - publishedAt - content } -` -export const ProjectFunderFragmentDoc = gql` - fragment ProjectFunder on Funder { - id - amountFunded - timesFunded - user { + notificationSettings { + notificationType + isEnabled + configurations { id - imageUrl - username + name + description + value + type + options } } -` -export const ProjectLeaderboardContributorsFragmentDoc = gql` - fragment ProjectLeaderboardContributors on ProjectLeaderboardContributorsRow { - funderId - contributionsTotalUsd - contributionsTotal - contributionsCount - commentsCount - user { - id - imageUrl - username +} + `; +export const UserForProfilePageFragmentDoc = gql` + fragment UserForProfilePage on User { + id + bio + username + imageUrl + ranking + isEmailVerified + externalAccounts { + ...ExternalAccount + } +} + ${ExternalAccountFragmentDoc}`; +export const ProjectAffiliateLinkFragmentDoc = gql` + fragment ProjectAffiliateLink on AffiliateLink { + projectId + label + id + email + disabledAt + createdAt + disabled + affiliateId + lightningAddress + affiliateFeePercentage + stats { + sales { + total + count } } -` -export const UserAvatarFragmentDoc = gql` - fragment UserAvatar on User { +} + `; +export const ProjectEntryFragmentDoc = gql` + fragment ProjectEntry on Entry { + id + title + description + image + type + fundersCount + amountFunded + status + createdAt + publishedAt +} + `; +export const ProjectEntryViewFragmentDoc = gql` + fragment ProjectEntryView on Entry { + id + title + description + image + type + fundersCount + amountFunded + status + createdAt + publishedAt + content +} + `; +export const ProjectFunderFragmentDoc = gql` + fragment ProjectFunder on Funder { + id + amountFunded + timesFunded + user { + id + imageUrl + username + } +} + `; +export const ProjectLeaderboardContributorsFragmentDoc = gql` + fragment ProjectLeaderboardContributors on ProjectLeaderboardContributorsRow { + funderId + contributionsTotalUsd + contributionsTotal + contributionsCount + commentsCount + user { id imageUrl username } -` +} + `; +export const UserAvatarFragmentDoc = gql` + fragment UserAvatar on User { + id + imageUrl + username +} + `; export const ProjectFundingTxFragmentDoc = gql` - fragment ProjectFundingTx on FundingTx { + fragment ProjectFundingTx on FundingTx { + id + amountPaid + media + comment + paidAt + bitcoinQuote { + quote + quoteCurrency + } + funder { id - amountPaid - media - comment - paidAt - bitcoinQuote { - quote - quoteCurrency - } - funder { - id - user { - ...UserAvatar - } + user { + ...UserAvatar } } - ${UserAvatarFragmentDoc} -` +} + ${UserAvatarFragmentDoc}`; export const FundingTxFragmentDoc = gql` - fragment FundingTx on FundingTx { + fragment FundingTx on FundingTx { + id + uuid + invoiceId + paymentRequest + amount + status + invoiceStatus + comment + media + paidAt + onChain + address + source + method + projectId + creatorEmail + createdAt + bitcoinQuote { + quote + quoteCurrency + } + funder { id - uuid - invoiceId - paymentRequest - amount - status - invoiceStatus - comment - media - paidAt - onChain - address - source - method - projectId - creatorEmail - createdAt - bitcoinQuote { - quote - quoteCurrency - } - funder { + amountFunded + timesFunded + confirmedAt + user { id - amountFunded - timesFunded - confirmedAt - user { - id - username - imageUrl - } + username + imageUrl } } -` +} + `; export const FundingTxWithInvoiceStatusFragmentDoc = gql` - fragment FundingTxWithInvoiceStatus on FundingTx { - id - uuid - invoiceId - status - onChain - invoiceStatus - invoiceStatus - paymentRequest - creatorEmail - } -` + fragment FundingTxWithInvoiceStatus on FundingTx { + id + uuid + invoiceId + status + onChain + invoiceStatus + invoiceStatus + paymentRequest + creatorEmail +} + `; export const FundingTxForDownloadInvoiceFragmentDoc = gql` - fragment FundingTxForDownloadInvoice on FundingTx { - id - donationAmount - amountPaid - uuid - funder { - user { - username - } - } - projectId - paidAt - createdAt - order { - items { - item { - name - } - quantity - unitPriceInSats - } - totalInSats + fragment FundingTxForDownloadInvoice on FundingTx { + id + donationAmount + amountPaid + uuid + funder { + user { + username } - status - bitcoinQuote { - quote - quoteCurrency + } + projectId + paidAt + createdAt + order { + items { + item { + name + } + quantity + unitPriceInSats } + totalInSats + } + status + bitcoinQuote { + quote + quoteCurrency } -` +} + `; export const ProjectGoalsFragmentDoc = gql` - fragment ProjectGoals on ProjectGoal { - id - title - description - targetAmount - currency - status - projectId - amountContributed - createdAt - updatedAt - completedAt - hasReceivedContribution - emojiUnifiedCode + fragment ProjectGoals on ProjectGoal { + id + title + description + targetAmount + currency + status + projectId + amountContributed + createdAt + updatedAt + completedAt + hasReceivedContribution + emojiUnifiedCode +} + `; +export const ProjectGrantApplicantFragmentDoc = gql` + fragment ProjectGrantApplicant on GrantApplicant { + id + status + grant { + ... on CommunityVoteGrant { + id + votingSystem + type + name + title + status + } } -` +} + `; export const ProjectPageCreatorFragmentDoc = gql` - fragment ProjectPageCreator on User { + fragment ProjectPageCreator on User { + id + imageUrl + username + email + externalAccounts { + accountType + externalUsername + externalId id - imageUrl - username - email - externalAccounts { - accountType - externalUsername - externalId - id - public - } + public } -` +} + `; export const ProjectPageBodyFragmentDoc = gql` - fragment ProjectPageBody on Project { + fragment ProjectPageBody on Project { + id + name + title + type + thumbnailImage + image + shortDescription + description + balance + balanceUsdCent + defaultGoalId + status + rewardCurrency + createdAt + goalsCount + rewardsCount + entriesCount + keys { + ...ProjectKeys + } + owners { id - name - title - type - thumbnailImage - image - shortDescription - description - balance - balanceUsdCent - defaultGoalId - status - rewardCurrency - createdAt - goalsCount - rewardsCount - entriesCount - keys { - ...ProjectKeys - } - owners { - id - user { - ...ProjectPageCreator - } + user { + ...ProjectPageCreator } } - ${ProjectKeysFragmentDoc} - ${ProjectPageCreatorFragmentDoc} -` +} + ${ProjectKeysFragmentDoc} +${ProjectPageCreatorFragmentDoc}`; export const ProjectLocationFragmentDoc = gql` - fragment ProjectLocation on Location { - country { - code - name - } - region + fragment ProjectLocation on Location { + country { + code + name } -` + region +} + `; export const ProjectPageDetailsFragmentDoc = gql` - fragment ProjectPageDetails on Project { + fragment ProjectPageDetails on Project { + id + name + links + location { + ...ProjectLocation + } + tags { id - name - links - location { - ...ProjectLocation - } - tags { - id - label - } + label } - ${ProjectLocationFragmentDoc} -` +} + ${ProjectLocationFragmentDoc}`; export const ProjectHeaderSummaryFragmentDoc = gql` - fragment ProjectHeaderSummary on Project { - followersCount - fundersCount - fundingTxsCount - } -` + fragment ProjectHeaderSummary on Project { + followersCount + fundersCount + fundingTxsCount +} + `; export const ProjectUpdateFragmentDoc = gql` - fragment ProjectUpdate on Project { - id - title - name - shortDescription - description - image - thumbnailImage - location { - country { - name - code - } - region + fragment ProjectUpdate on Project { + id + title + name + shortDescription + description + image + thumbnailImage + location { + country { + name + code } - status - links - rewardCurrency + region } -` + status + links + rewardCurrency +} + `; export const ProjectStatsForInsightsPageFragmentDoc = gql` - fragment ProjectStatsForInsightsPage on ProjectStats { - current { - projectViews { + fragment ProjectStatsForInsightsPage on ProjectStats { + current { + projectViews { + viewCount + visitorCount + referrers { + value viewCount visitorCount - referrers { - value - viewCount - visitorCount - } - regions { - value - viewCount - visitorCount - } - } - projectFunderRewards { - quantitySum - } - projectFunders { - count - } - projectFundingTxs { - amountSum - count } - } - prevTimeRange { - projectViews { + regions { + value viewCount visitorCount } - projectFunderRewards { - quantitySum - } - projectFunders { - count - } - projectFundingTxs { - amountSum - count - } + } + projectFunderRewards { + quantitySum + } + projectFunders { + count + } + projectFundingTxs { + amountSum + count + } + } + prevTimeRange { + projectViews { + viewCount + visitorCount + } + projectFunderRewards { + quantitySum + } + projectFunders { + count + } + projectFundingTxs { + amountSum + count } } -` +} + `; export const ProjectHistoryStatsFragmentDoc = gql` - fragment ProjectHistoryStats on ProjectStats { - current { - projectFundingTxs { - amountGraph { - dateTime - sum - } + fragment ProjectHistoryStats on ProjectStats { + current { + projectFundingTxs { + amountGraph { + dateTime + sum } - projectViews { - visitorGraph { - viewCount - visitorCount - dateTime - } + } + projectViews { + visitorGraph { + viewCount + visitorCount + dateTime } } } -` +} + `; export const ProjectRewardSoldGraphStatsFragmentDoc = gql` - fragment ProjectRewardSoldGraphStats on ProjectStats { - current { - projectFunderRewards { - quantityGraph { - dateTime - rewardId - rewardName - sum - } + fragment ProjectRewardSoldGraphStats on ProjectStats { + current { + projectFunderRewards { + quantityGraph { + dateTime + rewardId + rewardName + sum } } } -` +} + `; export const ProjectFundingMethodStatsFragmentDoc = gql` - fragment ProjectFundingMethodStats on ProjectStats { - current { - projectFundingTxs { - methodSum { - sum - method - } + fragment ProjectFundingMethodStats on ProjectStats { + current { + projectFundingTxs { + methodSum { + sum + method } } } -` +} + `; export const ProjectRewardFragmentDoc = gql` - fragment ProjectReward on ProjectReward { - id - name - description - cost - image - deleted - stock - sold - hasShipping - maxClaimable - rewardCurrency - isAddon - isHidden - category - preOrder - estimatedAvailabilityDate - estimatedDeliveryInWeeks - } -` + fragment ProjectReward on ProjectReward { + id + name + description + cost + image + deleted + stock + sold + hasShipping + maxClaimable + rewardCurrency + isAddon + isHidden + category + preOrder + estimatedAvailabilityDate + estimatedDeliveryInWeeks +} + `; export const WalletContributionLimitsFragmentDoc = gql` - fragment WalletContributionLimits on WalletContributionLimits { + fragment WalletContributionLimits on WalletContributionLimits { + min + max + offChain { min max - offChain { - min - max - } - onChain { - min - max - } } -` + onChain { + min + max + } +} + `; export const ProjectPageWalletFragmentDoc = gql` - fragment ProjectPageWallet on Wallet { - id - name - feePercentage - limits { - contribution { - ...WalletContributionLimits - } - } - state { - status - statusCode + fragment ProjectPageWallet on Wallet { + id + name + feePercentage + limits { + contribution { + ...WalletContributionLimits } } - ${WalletContributionLimitsFragmentDoc} -` + state { + status + statusCode + } +} + ${WalletContributionLimitsFragmentDoc}`; export const ProjectWalletConnectionDetailsFragmentDoc = gql` - fragment ProjectWalletConnectionDetails on Wallet { - id - connectionDetails { - ... on LightningAddressConnectionDetails { - lightningAddress - } - ... on LndConnectionDetailsPublic { - pubkey - } - ... on LndConnectionDetailsPrivate { - tlsCertificate - pubkey - macaroon - lndNodeType - hostname - grpcPort - } + fragment ProjectWalletConnectionDetails on Wallet { + id + connectionDetails { + ... on LightningAddressConnectionDetails { + lightningAddress + } + ... on LndConnectionDetailsPublic { + pubkey + } + ... on LndConnectionDetailsPrivate { + tlsCertificate + pubkey + macaroon + lndNodeType + hostname + grpcPort } } -` +} + `; export const UserBadgeAwardDocument = gql` - mutation UserBadgeAward($userBadgeId: BigInt!) { - userBadgeAward(userBadgeId: $userBadgeId) { - badgeAwardEventId - } + mutation UserBadgeAward($userBadgeId: BigInt!) { + userBadgeAward(userBadgeId: $userBadgeId) { + badgeAwardEventId } -` -export type UserBadgeAwardMutationFn = Apollo.MutationFunction +} + `; +export type UserBadgeAwardMutationFn = Apollo.MutationFunction; /** * __useUserBadgeAwardMutation__ @@ -9969,27 +7869,21 @@ export type UserBadgeAwardMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UserBadgeAwardDocument, options) -} -export type UserBadgeAwardMutationHookResult = ReturnType -export type UserBadgeAwardMutationResult = Apollo.MutationResult -export type UserBadgeAwardMutationOptions = Apollo.BaseMutationOptions< - UserBadgeAwardMutation, - UserBadgeAwardMutationVariables -> +export function useUserBadgeAwardMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UserBadgeAwardDocument, options); + } +export type UserBadgeAwardMutationHookResult = ReturnType; +export type UserBadgeAwardMutationResult = Apollo.MutationResult; +export type UserBadgeAwardMutationOptions = Apollo.BaseMutationOptions; export const SendOtpByEmailDocument = gql` - mutation SendOTPByEmail($input: SendOtpByEmailInput!) { - sendOTPByEmail(input: $input) { - ...OTPResponse - } + mutation SendOTPByEmail($input: SendOtpByEmailInput!) { + sendOTPByEmail(input: $input) { + ...OTPResponse } - ${OtpResponseFragmentDoc} -` -export type SendOtpByEmailMutationFn = Apollo.MutationFunction +} + ${OtpResponseFragmentDoc}`; +export type SendOtpByEmailMutationFn = Apollo.MutationFunction; /** * __useSendOtpByEmailMutation__ @@ -10008,30 +7902,21 @@ export type SendOtpByEmailMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(SendOtpByEmailDocument, options) -} -export type SendOtpByEmailMutationHookResult = ReturnType -export type SendOtpByEmailMutationResult = Apollo.MutationResult -export type SendOtpByEmailMutationOptions = Apollo.BaseMutationOptions< - SendOtpByEmailMutation, - SendOtpByEmailMutationVariables -> +export function useSendOtpByEmailMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(SendOtpByEmailDocument, options); + } +export type SendOtpByEmailMutationHookResult = ReturnType; +export type SendOtpByEmailMutationResult = Apollo.MutationResult; +export type SendOtpByEmailMutationOptions = Apollo.BaseMutationOptions; export const UserEmailUpdateDocument = gql` - mutation UserEmailUpdate($input: UserEmailUpdateInput!) { - userEmailUpdate(input: $input) { - ...EmailUpdateUser - } + mutation UserEmailUpdate($input: UserEmailUpdateInput!) { + userEmailUpdate(input: $input) { + ...EmailUpdateUser } - ${EmailUpdateUserFragmentDoc} -` -export type UserEmailUpdateMutationFn = Apollo.MutationFunction< - UserEmailUpdateMutation, - UserEmailUpdateMutationVariables -> +} + ${EmailUpdateUserFragmentDoc}`; +export type UserEmailUpdateMutationFn = Apollo.MutationFunction; /** * __useUserEmailUpdateMutation__ @@ -10050,27 +7935,19 @@ export type UserEmailUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useUserEmailUpdateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UserEmailUpdateDocument, options) -} -export type UserEmailUpdateMutationHookResult = ReturnType -export type UserEmailUpdateMutationResult = Apollo.MutationResult -export type UserEmailUpdateMutationOptions = Apollo.BaseMutationOptions< - UserEmailUpdateMutation, - UserEmailUpdateMutationVariables -> +export function useUserEmailUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UserEmailUpdateDocument, options); + } +export type UserEmailUpdateMutationHookResult = ReturnType; +export type UserEmailUpdateMutationResult = Apollo.MutationResult; +export type UserEmailUpdateMutationOptions = Apollo.BaseMutationOptions; export const UserEmailVerifyDocument = gql` - mutation UserEmailVerify($input: EmailVerifyInput!) { - userEmailVerify(input: $input) - } -` -export type UserEmailVerifyMutationFn = Apollo.MutationFunction< - UserEmailVerifyMutation, - UserEmailVerifyMutationVariables -> + mutation UserEmailVerify($input: EmailVerifyInput!) { + userEmailVerify(input: $input) +} + `; +export type UserEmailVerifyMutationFn = Apollo.MutationFunction; /** * __useUserEmailVerifyMutation__ @@ -10089,26 +7966,21 @@ export type UserEmailVerifyMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useUserEmailVerifyMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UserEmailVerifyDocument, options) -} -export type UserEmailVerifyMutationHookResult = ReturnType -export type UserEmailVerifyMutationResult = Apollo.MutationResult -export type UserEmailVerifyMutationOptions = Apollo.BaseMutationOptions< - UserEmailVerifyMutation, - UserEmailVerifyMutationVariables -> +export function useUserEmailVerifyMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UserEmailVerifyDocument, options); + } +export type UserEmailVerifyMutationHookResult = ReturnType; +export type UserEmailVerifyMutationResult = Apollo.MutationResult; +export type UserEmailVerifyMutationOptions = Apollo.BaseMutationOptions; export const GrantApplyDocument = gql` - mutation GrantApply($input: GrantApplyInput) { - grantApply(input: $input) { - status - } + mutation GrantApply($input: GrantApplyInput) { + grantApply(input: $input) { + status } -` -export type GrantApplyMutationFn = Apollo.MutationFunction +} + `; +export type GrantApplyMutationFn = Apollo.MutationFunction; /** * __useGrantApplyMutation__ @@ -10127,29 +7999,24 @@ export type GrantApplyMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(GrantApplyDocument, options) -} -export type GrantApplyMutationHookResult = ReturnType -export type GrantApplyMutationResult = Apollo.MutationResult -export type GrantApplyMutationOptions = Apollo.BaseMutationOptions +export function useGrantApplyMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(GrantApplyDocument, options); + } +export type GrantApplyMutationHookResult = ReturnType; +export type GrantApplyMutationResult = Apollo.MutationResult; +export type GrantApplyMutationOptions = Apollo.BaseMutationOptions; export const OrderStatusUpdateDocument = gql` - mutation OrderStatusUpdate($input: OrderStatusUpdateInput!) { - orderStatusUpdate(input: $input) { - status - id - shippedAt - deliveredAt - } + mutation OrderStatusUpdate($input: OrderStatusUpdateInput!) { + orderStatusUpdate(input: $input) { + status + id + shippedAt + deliveredAt } -` -export type OrderStatusUpdateMutationFn = Apollo.MutationFunction< - OrderStatusUpdateMutation, - OrderStatusUpdateMutationVariables -> +} + `; +export type OrderStatusUpdateMutationFn = Apollo.MutationFunction; /** * __useOrderStatusUpdateMutation__ @@ -10168,30 +8035,22 @@ export type OrderStatusUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useOrderStatusUpdateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - OrderStatusUpdateDocument, - options, - ) -} -export type OrderStatusUpdateMutationHookResult = ReturnType -export type OrderStatusUpdateMutationResult = Apollo.MutationResult -export type OrderStatusUpdateMutationOptions = Apollo.BaseMutationOptions< - OrderStatusUpdateMutation, - OrderStatusUpdateMutationVariables -> +export function useOrderStatusUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(OrderStatusUpdateDocument, options); + } +export type OrderStatusUpdateMutationHookResult = ReturnType; +export type OrderStatusUpdateMutationResult = Apollo.MutationResult; +export type OrderStatusUpdateMutationOptions = Apollo.BaseMutationOptions; export const FundingConfirmDocument = gql` - mutation FundingConfirm($input: FundingConfirmInput!) { - fundingConfirm(input: $input) { - id - success - } + mutation FundingConfirm($input: FundingConfirmInput!) { + fundingConfirm(input: $input) { + id + success } -` -export type FundingConfirmMutationFn = Apollo.MutationFunction +} + `; +export type FundingConfirmMutationFn = Apollo.MutationFunction; /** * __useFundingConfirmMutation__ @@ -10210,38 +8069,30 @@ export type FundingConfirmMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(FundingConfirmDocument, options) -} -export type FundingConfirmMutationHookResult = ReturnType -export type FundingConfirmMutationResult = Apollo.MutationResult -export type FundingConfirmMutationOptions = Apollo.BaseMutationOptions< - FundingConfirmMutation, - FundingConfirmMutationVariables -> +export function useFundingConfirmMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(FundingConfirmDocument, options); + } +export type FundingConfirmMutationHookResult = ReturnType; +export type FundingConfirmMutationResult = Apollo.MutationResult; +export type FundingConfirmMutationOptions = Apollo.BaseMutationOptions; export const UnlinkExternalAccountDocument = gql` - mutation UnlinkExternalAccount($id: BigInt!) { - unlinkExternalAccount(id: $id) { + mutation UnlinkExternalAccount($id: BigInt!) { + unlinkExternalAccount(id: $id) { + id + username + imageUrl + externalAccounts { id - username - imageUrl - externalAccounts { - id - accountType - externalUsername - externalId - public - } + accountType + externalUsername + externalId + public } } -` -export type UnlinkExternalAccountMutationFn = Apollo.MutationFunction< - UnlinkExternalAccountMutation, - UnlinkExternalAccountMutationVariables -> +} + `; +export type UnlinkExternalAccountMutationFn = Apollo.MutationFunction; /** * __useUnlinkExternalAccountMutation__ @@ -10260,41 +8111,33 @@ export type UnlinkExternalAccountMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useUnlinkExternalAccountMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - UnlinkExternalAccountDocument, - options, - ) -} -export type UnlinkExternalAccountMutationHookResult = ReturnType -export type UnlinkExternalAccountMutationResult = Apollo.MutationResult -export type UnlinkExternalAccountMutationOptions = Apollo.BaseMutationOptions< - UnlinkExternalAccountMutation, - UnlinkExternalAccountMutationVariables -> +export function useUnlinkExternalAccountMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UnlinkExternalAccountDocument, options); + } +export type UnlinkExternalAccountMutationHookResult = ReturnType; +export type UnlinkExternalAccountMutationResult = Apollo.MutationResult; +export type UnlinkExternalAccountMutationOptions = Apollo.BaseMutationOptions; export const UpdateUserDocument = gql` - mutation UpdateUser($input: UpdateUserInput!) { - updateUser(input: $input) { - __typename - id - wallet { - connectionDetails { - ... on LightningAddressConnectionDetails { - lightningAddress - } + mutation UpdateUser($input: UpdateUserInput!) { + updateUser(input: $input) { + __typename + id + wallet { + connectionDetails { + ... on LightningAddressConnectionDetails { + lightningAddress } } - bio - email - username - imageUrl } + bio + email + username + imageUrl } -` -export type UpdateUserMutationFn = Apollo.MutationFunction +} + `; +export type UpdateUserMutationFn = Apollo.MutationFunction; /** * __useUpdateUserMutation__ @@ -10313,24 +8156,22 @@ export type UpdateUserMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UpdateUserDocument, options) -} -export type UpdateUserMutationHookResult = ReturnType -export type UpdateUserMutationResult = Apollo.MutationResult -export type UpdateUserMutationOptions = Apollo.BaseMutationOptions +export function useUpdateUserMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UpdateUserDocument, options); + } +export type UpdateUserMutationHookResult = ReturnType; +export type UpdateUserMutationResult = Apollo.MutationResult; +export type UpdateUserMutationOptions = Apollo.BaseMutationOptions; export const UserDeleteDocument = gql` - mutation UserDelete { - userDelete { - message - success - } + mutation UserDelete { + userDelete { + message + success } -` -export type UserDeleteMutationFn = Apollo.MutationFunction +} + `; +export type UserDeleteMutationFn = Apollo.MutationFunction; /** * __useUserDeleteMutation__ @@ -10348,25 +8189,22 @@ export type UserDeleteMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UserDeleteDocument, options) -} -export type UserDeleteMutationHookResult = ReturnType -export type UserDeleteMutationResult = Apollo.MutationResult -export type UserDeleteMutationOptions = Apollo.BaseMutationOptions -export const ActivitiesForLandingPageDocument = gql` - query ActivitiesForLandingPage($input: GetActivitiesInput) { - activitiesGet(input: $input) { - activities { - ...ActivityForLandingPage +export function useUserDeleteMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UserDeleteDocument, options); } +export type UserDeleteMutationHookResult = ReturnType; +export type UserDeleteMutationResult = Apollo.MutationResult; +export type UserDeleteMutationOptions = Apollo.BaseMutationOptions; +export const ActivitiesForLandingPageDocument = gql` + query ActivitiesForLandingPage($input: GetActivitiesInput) { + activitiesGet(input: $input) { + activities { + ...ActivityForLandingPage } } - ${ActivityForLandingPageFragmentDoc} -` +} + ${ActivityForLandingPageFragmentDoc}`; /** * __useActivitiesForLandingPageQuery__ @@ -10384,55 +8222,35 @@ export const ActivitiesForLandingPageDocument = gql` * }, * }); */ -export function useActivitiesForLandingPageQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ActivitiesForLandingPageDocument, - options, - ) -} -export function useActivitiesForLandingPageLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ActivitiesForLandingPageDocument, - options, - ) -} -export function useActivitiesForLandingPageSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ActivitiesForLandingPageDocument, - options, - ) -} -export type ActivitiesForLandingPageQueryHookResult = ReturnType -export type ActivitiesForLandingPageLazyQueryHookResult = ReturnType -export type ActivitiesForLandingPageSuspenseQueryHookResult = ReturnType< - typeof useActivitiesForLandingPageSuspenseQuery -> -export type ActivitiesForLandingPageQueryResult = Apollo.QueryResult< - ActivitiesForLandingPageQuery, - ActivitiesForLandingPageQueryVariables -> +export function useActivitiesForLandingPageQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ActivitiesForLandingPageDocument, options); + } +export function useActivitiesForLandingPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ActivitiesForLandingPageDocument, options); + } +export function useActivitiesForLandingPageSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ActivitiesForLandingPageDocument, options); + } +export type ActivitiesForLandingPageQueryHookResult = ReturnType; +export type ActivitiesForLandingPageLazyQueryHookResult = ReturnType; +export type ActivitiesForLandingPageSuspenseQueryHookResult = ReturnType; +export type ActivitiesForLandingPageQueryResult = Apollo.QueryResult; export const BadgesDocument = gql` - query Badges { - badges { - createdAt - description - id - image - name - thumb - uniqueName - } + query Badges { + badges { + createdAt + description + id + image + name + thumb + uniqueName } -` +} + `; /** * __useBadgesQuery__ @@ -10450,45 +8268,43 @@ export const BadgesDocument = gql` * }); */ export function useBadgesQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(BadgesDocument, options) -} -export function useBadgesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(BadgesDocument, options) -} -export function useBadgesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(BadgesDocument, options) -} -export type BadgesQueryHookResult = ReturnType -export type BadgesLazyQueryHookResult = ReturnType -export type BadgesSuspenseQueryHookResult = ReturnType -export type BadgesQueryResult = Apollo.QueryResult -export const UserBadgesDocument = gql` - query UserBadges($input: BadgesGetInput!) { - userBadges(input: $input) { - badge { - name - thumb - uniqueName - image - id - description - createdAt + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(BadgesDocument, options); } - userId - updatedAt - status +export function useBadgesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(BadgesDocument, options); + } +export function useBadgesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(BadgesDocument, options); + } +export type BadgesQueryHookResult = ReturnType; +export type BadgesLazyQueryHookResult = ReturnType; +export type BadgesSuspenseQueryHookResult = ReturnType; +export type BadgesQueryResult = Apollo.QueryResult; +export const UserBadgesDocument = gql` + query UserBadges($input: BadgesGetInput!) { + userBadges(input: $input) { + badge { + name + thumb + uniqueName + image id - fundingTxId + description createdAt - badgeAwardEventId } + userId + updatedAt + status + id + fundingTxId + createdAt + badgeAwardEventId } -` +} + `; /** * __useUserBadgesQuery__ @@ -10506,37 +8322,29 @@ export const UserBadgesDocument = gql` * }, * }); */ -export function useUserBadgesQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: UserBadgesQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(UserBadgesDocument, options) -} -export function useUserBadgesLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(UserBadgesDocument, options) -} -export function useUserBadgesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(UserBadgesDocument, options) -} -export type UserBadgesQueryHookResult = ReturnType -export type UserBadgesLazyQueryHookResult = ReturnType -export type UserBadgesSuspenseQueryHookResult = ReturnType -export type UserBadgesQueryResult = Apollo.QueryResult +export function useUserBadgesQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: UserBadgesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(UserBadgesDocument, options); + } +export function useUserBadgesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(UserBadgesDocument, options); + } +export function useUserBadgesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(UserBadgesDocument, options); + } +export type UserBadgesQueryHookResult = ReturnType; +export type UserBadgesLazyQueryHookResult = ReturnType; +export type UserBadgesSuspenseQueryHookResult = ReturnType; +export type UserBadgesQueryResult = Apollo.QueryResult; export const EntryForLandingPageDocument = gql` - query EntryForLandingPage($entryID: BigInt!) { - entry(id: $entryID) { - ...EntryForLandingPage - } + query EntryForLandingPage($entryID: BigInt!) { + entry(id: $entryID) { + ...EntryForLandingPage } - ${EntryForLandingPageFragmentDoc} -` +} + ${EntryForLandingPageFragmentDoc}`; /** * __useEntryForLandingPageQuery__ @@ -10554,74 +8362,55 @@ export const EntryForLandingPageDocument = gql` * }, * }); */ -export function useEntryForLandingPageQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: EntryForLandingPageQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - EntryForLandingPageDocument, - options, - ) -} -export function useEntryForLandingPageLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - EntryForLandingPageDocument, - options, - ) -} -export function useEntryForLandingPageSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - EntryForLandingPageDocument, - options, - ) -} -export type EntryForLandingPageQueryHookResult = ReturnType -export type EntryForLandingPageLazyQueryHookResult = ReturnType -export type EntryForLandingPageSuspenseQueryHookResult = ReturnType -export type EntryForLandingPageQueryResult = Apollo.QueryResult< - EntryForLandingPageQuery, - EntryForLandingPageQueryVariables -> +export function useEntryForLandingPageQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: EntryForLandingPageQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(EntryForLandingPageDocument, options); + } +export function useEntryForLandingPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(EntryForLandingPageDocument, options); + } +export function useEntryForLandingPageSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(EntryForLandingPageDocument, options); + } +export type EntryForLandingPageQueryHookResult = ReturnType; +export type EntryForLandingPageLazyQueryHookResult = ReturnType; +export type EntryForLandingPageSuspenseQueryHookResult = ReturnType; +export type EntryForLandingPageQueryResult = Apollo.QueryResult; export const EntryWithOwnersDocument = gql` - query EntryWithOwners($id: BigInt!) { - entry(id: $id) { + query EntryWithOwners($id: BigInt!) { + entry(id: $id) { + id + title + description + image + status + content + createdAt + updatedAt + publishedAt + fundersCount + status + type + creator { + id + username + imageUrl + } + project { id title - description - image - status - content - createdAt - updatedAt - publishedAt - fundersCount - status - type - creator { - id - username - imageUrl - } - project { - id - title - name - owners { - user { - id - } + name + owners { + user { + id } } } } -` +} + `; /** * __useEntryWithOwnersQuery__ @@ -10639,48 +8428,41 @@ export const EntryWithOwnersDocument = gql` * }, * }); */ -export function useEntryWithOwnersQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: EntryWithOwnersQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(EntryWithOwnersDocument, options) -} -export function useEntryWithOwnersLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(EntryWithOwnersDocument, options) -} -export function useEntryWithOwnersSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(EntryWithOwnersDocument, options) -} -export type EntryWithOwnersQueryHookResult = ReturnType -export type EntryWithOwnersLazyQueryHookResult = ReturnType -export type EntryWithOwnersSuspenseQueryHookResult = ReturnType -export type EntryWithOwnersQueryResult = Apollo.QueryResult +export function useEntryWithOwnersQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: EntryWithOwnersQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(EntryWithOwnersDocument, options); + } +export function useEntryWithOwnersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(EntryWithOwnersDocument, options); + } +export function useEntryWithOwnersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(EntryWithOwnersDocument, options); + } +export type EntryWithOwnersQueryHookResult = ReturnType; +export type EntryWithOwnersLazyQueryHookResult = ReturnType; +export type EntryWithOwnersSuspenseQueryHookResult = ReturnType; +export type EntryWithOwnersQueryResult = Apollo.QueryResult; export const EntriesDocument = gql` - query Entries($input: GetEntriesInput!) { - getEntries(input: $input) { - id + query Entries($input: GetEntriesInput!) { + getEntries(input: $input) { + id + title + description + image + fundersCount + amountFunded + type + status + project { title - description + name image - fundersCount - amountFunded - type - status - project { - title - name - image - } } } -` +} + `; /** * __useEntriesQuery__ @@ -10698,35 +8480,30 @@ export const EntriesDocument = gql` * }, * }); */ -export function useEntriesQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: EntriesQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(EntriesDocument, options) -} +export function useEntriesQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: EntriesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(EntriesDocument, options); + } export function useEntriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(EntriesDocument, options) -} -export function useEntriesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(EntriesDocument, options) -} -export type EntriesQueryHookResult = ReturnType -export type EntriesLazyQueryHookResult = ReturnType -export type EntriesSuspenseQueryHookResult = ReturnType -export type EntriesQueryResult = Apollo.QueryResult + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(EntriesDocument, options); + } +export function useEntriesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(EntriesDocument, options); + } +export type EntriesQueryHookResult = ReturnType; +export type EntriesLazyQueryHookResult = ReturnType; +export type EntriesSuspenseQueryHookResult = ReturnType; +export type EntriesQueryResult = Apollo.QueryResult; export const SignedUploadUrlDocument = gql` - query SignedUploadUrl($input: FileUploadInput!) { - getSignedUploadUrl(input: $input) { - uploadUrl - distributionUrl - } + query SignedUploadUrl($input: FileUploadInput!) { + getSignedUploadUrl(input: $input) { + uploadUrl + distributionUrl } -` +} + `; /** * __useSignedUploadUrlQuery__ @@ -10744,39 +8521,31 @@ export const SignedUploadUrlDocument = gql` * }, * }); */ -export function useSignedUploadUrlQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: SignedUploadUrlQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(SignedUploadUrlDocument, options) -} -export function useSignedUploadUrlLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(SignedUploadUrlDocument, options) -} -export function useSignedUploadUrlSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(SignedUploadUrlDocument, options) -} -export type SignedUploadUrlQueryHookResult = ReturnType -export type SignedUploadUrlLazyQueryHookResult = ReturnType -export type SignedUploadUrlSuspenseQueryHookResult = ReturnType -export type SignedUploadUrlQueryResult = Apollo.QueryResult -export const FundingTxsForLandingPageDocument = gql` - query FundingTxsForLandingPage($input: GetFundingTxsInput) { - fundingTxsGet(input: $input) { - fundingTxs { - ...FundingTxForLandingPage +export function useSignedUploadUrlQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: SignedUploadUrlQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(SignedUploadUrlDocument, options); } +export function useSignedUploadUrlLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(SignedUploadUrlDocument, options); + } +export function useSignedUploadUrlSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SignedUploadUrlDocument, options); + } +export type SignedUploadUrlQueryHookResult = ReturnType; +export type SignedUploadUrlLazyQueryHookResult = ReturnType; +export type SignedUploadUrlSuspenseQueryHookResult = ReturnType; +export type SignedUploadUrlQueryResult = Apollo.QueryResult; +export const FundingTxsForLandingPageDocument = gql` + query FundingTxsForLandingPage($input: GetFundingTxsInput) { + fundingTxsGet(input: $input) { + fundingTxs { + ...FundingTxForLandingPage } } - ${FundingTxForLandingPageFragmentDoc} -` +} + ${FundingTxForLandingPageFragmentDoc}`; /** * __useFundingTxsForLandingPageQuery__ @@ -10794,50 +8563,29 @@ export const FundingTxsForLandingPageDocument = gql` * }, * }); */ -export function useFundingTxsForLandingPageQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - FundingTxsForLandingPageDocument, - options, - ) -} -export function useFundingTxsForLandingPageLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - FundingTxsForLandingPageDocument, - options, - ) -} -export function useFundingTxsForLandingPageSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - FundingTxsForLandingPageDocument, - options, - ) -} -export type FundingTxsForLandingPageQueryHookResult = ReturnType -export type FundingTxsForLandingPageLazyQueryHookResult = ReturnType -export type FundingTxsForLandingPageSuspenseQueryHookResult = ReturnType< - typeof useFundingTxsForLandingPageSuspenseQuery -> -export type FundingTxsForLandingPageQueryResult = Apollo.QueryResult< - FundingTxsForLandingPageQuery, - FundingTxsForLandingPageQueryVariables -> +export function useFundingTxsForLandingPageQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(FundingTxsForLandingPageDocument, options); + } +export function useFundingTxsForLandingPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(FundingTxsForLandingPageDocument, options); + } +export function useFundingTxsForLandingPageSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FundingTxsForLandingPageDocument, options); + } +export type FundingTxsForLandingPageQueryHookResult = ReturnType; +export type FundingTxsForLandingPageLazyQueryHookResult = ReturnType; +export type FundingTxsForLandingPageSuspenseQueryHookResult = ReturnType; +export type FundingTxsForLandingPageQueryResult = Apollo.QueryResult; export const FundingTxForUserContributionDocument = gql` - query FundingTxForUserContribution($fundingTxId: BigInt!) { - fundingTx(id: $fundingTxId) { - ...FundingTxForUserContribution - } + query FundingTxForUserContribution($fundingTxId: BigInt!) { + fundingTx(id: $fundingTxId) { + ...FundingTxForUserContribution } - ${FundingTxForUserContributionFragmentDoc} -` +} + ${FundingTxForUserContributionFragmentDoc}`; /** * __useFundingTxForUserContributionQuery__ @@ -10855,61 +8603,31 @@ export const FundingTxForUserContributionDocument = gql` * }, * }); */ -export function useFundingTxForUserContributionQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: FundingTxForUserContributionQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - FundingTxForUserContributionDocument, - options, - ) -} -export function useFundingTxForUserContributionLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - FundingTxForUserContributionQuery, - FundingTxForUserContributionQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - FundingTxForUserContributionDocument, - options, - ) -} -export function useFundingTxForUserContributionSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - FundingTxForUserContributionQuery, - FundingTxForUserContributionQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - FundingTxForUserContributionDocument, - options, - ) -} -export type FundingTxForUserContributionQueryHookResult = ReturnType -export type FundingTxForUserContributionLazyQueryHookResult = ReturnType< - typeof useFundingTxForUserContributionLazyQuery -> -export type FundingTxForUserContributionSuspenseQueryHookResult = ReturnType< - typeof useFundingTxForUserContributionSuspenseQuery -> -export type FundingTxForUserContributionQueryResult = Apollo.QueryResult< - FundingTxForUserContributionQuery, - FundingTxForUserContributionQueryVariables -> -export const ProjectDefaultGoalDocument = gql` - query ProjectDefaultGoal($input: GetProjectGoalsInput!) { - projectGoals(input: $input) { - inProgress { - ...ProjectDefaultGoal +export function useFundingTxForUserContributionQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: FundingTxForUserContributionQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(FundingTxForUserContributionDocument, options); } +export function useFundingTxForUserContributionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(FundingTxForUserContributionDocument, options); + } +export function useFundingTxForUserContributionSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FundingTxForUserContributionDocument, options); + } +export type FundingTxForUserContributionQueryHookResult = ReturnType; +export type FundingTxForUserContributionLazyQueryHookResult = ReturnType; +export type FundingTxForUserContributionSuspenseQueryHookResult = ReturnType; +export type FundingTxForUserContributionQueryResult = Apollo.QueryResult; +export const ProjectDefaultGoalDocument = gql` + query ProjectDefaultGoal($input: GetProjectGoalsInput!) { + projectGoals(input: $input) { + inProgress { + ...ProjectDefaultGoal } } - ${ProjectDefaultGoalFragmentDoc} -` +} + ${ProjectDefaultGoalFragmentDoc}`; /** * __useProjectDefaultGoalQuery__ @@ -10927,52 +8645,35 @@ export const ProjectDefaultGoalDocument = gql` * }, * }); */ -export function useProjectDefaultGoalQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectDefaultGoalQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectDefaultGoalDocument, options) -} -export function useProjectDefaultGoalLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectDefaultGoalDocument, - options, - ) -} -export function useProjectDefaultGoalSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectDefaultGoalDocument, - options, - ) -} -export type ProjectDefaultGoalQueryHookResult = ReturnType -export type ProjectDefaultGoalLazyQueryHookResult = ReturnType -export type ProjectDefaultGoalSuspenseQueryHookResult = ReturnType -export type ProjectDefaultGoalQueryResult = Apollo.QueryResult< - ProjectDefaultGoalQuery, - ProjectDefaultGoalQueryVariables -> -export const ProjectGoalsDocument = gql` - query ProjectGoals($input: GetProjectGoalsInput!) { - projectGoals(input: $input) { - inProgress { - ...ProjectGoal - } - completed { - ...ProjectGoal - completedAt +export function useProjectDefaultGoalQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectDefaultGoalQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectDefaultGoalDocument, options); } +export function useProjectDefaultGoalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectDefaultGoalDocument, options); + } +export function useProjectDefaultGoalSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectDefaultGoalDocument, options); + } +export type ProjectDefaultGoalQueryHookResult = ReturnType; +export type ProjectDefaultGoalLazyQueryHookResult = ReturnType; +export type ProjectDefaultGoalSuspenseQueryHookResult = ReturnType; +export type ProjectDefaultGoalQueryResult = Apollo.QueryResult; +export const ProjectGoalsDocument = gql` + query ProjectGoals($input: GetProjectGoalsInput!) { + projectGoals(input: $input) { + inProgress { + ...ProjectGoal + } + completed { + ...ProjectGoal + completedAt } } - ${ProjectGoalFragmentDoc} -` +} + ${ProjectGoalFragmentDoc}`; /** * __useProjectGoalsQuery__ @@ -10990,39 +8691,31 @@ export const ProjectGoalsDocument = gql` * }, * }); */ -export function useProjectGoalsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectGoalsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectGoalsDocument, options) -} -export function useProjectGoalsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectGoalsDocument, options) -} -export function useProjectGoalsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectGoalsDocument, options) -} -export type ProjectGoalsQueryHookResult = ReturnType -export type ProjectGoalsLazyQueryHookResult = ReturnType -export type ProjectGoalsSuspenseQueryHookResult = ReturnType -export type ProjectGoalsQueryResult = Apollo.QueryResult +export function useProjectGoalsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectGoalsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectGoalsDocument, options); + } +export function useProjectGoalsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectGoalsDocument, options); + } +export function useProjectGoalsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectGoalsDocument, options); + } +export type ProjectGoalsQueryHookResult = ReturnType; +export type ProjectGoalsLazyQueryHookResult = ReturnType; +export type ProjectGoalsSuspenseQueryHookResult = ReturnType; +export type ProjectGoalsQueryResult = Apollo.QueryResult; export const GrantsDocument = gql` - query Grants { - grants { - ...BoardVoteGrantsFragment - ...CommunityVoteGrantsFragment - } + query Grants { + grants { + ...BoardVoteGrantsFragment + ...CommunityVoteGrantsFragment } - ${BoardVoteGrantsFragmentFragmentDoc} - ${CommunityVoteGrantsFragmentFragmentDoc} -` +} + ${BoardVoteGrantsFragmentFragmentDoc} +${CommunityVoteGrantsFragmentFragmentDoc}`; /** * __useGrantsQuery__ @@ -11040,33 +8733,30 @@ export const GrantsDocument = gql` * }); */ export function useGrantsQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(GrantsDocument, options) -} + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GrantsDocument, options); + } export function useGrantsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(GrantsDocument, options) -} -export function useGrantsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(GrantsDocument, options) -} -export type GrantsQueryHookResult = ReturnType -export type GrantsLazyQueryHookResult = ReturnType -export type GrantsSuspenseQueryHookResult = ReturnType -export type GrantsQueryResult = Apollo.QueryResult + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GrantsDocument, options); + } +export function useGrantsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GrantsDocument, options); + } +export type GrantsQueryHookResult = ReturnType; +export type GrantsLazyQueryHookResult = ReturnType; +export type GrantsSuspenseQueryHookResult = ReturnType; +export type GrantsQueryResult = Apollo.QueryResult; export const GrantDocument = gql` - query Grant($input: GrantGetInput!) { - grant(input: $input) { - ...BoardVoteGrantFragment - ...CommunityVoteGrantFragment - } + query Grant($input: GrantGetInput!) { + grant(input: $input) { + ...BoardVoteGrantFragment + ...CommunityVoteGrantFragment } - ${BoardVoteGrantFragmentFragmentDoc} - ${CommunityVoteGrantFragmentFragmentDoc} -` +} + ${BoardVoteGrantFragmentFragmentDoc} +${CommunityVoteGrantFragmentFragmentDoc}`; /** * __useGrantQuery__ @@ -11084,39 +8774,36 @@ export const GrantDocument = gql` * }, * }); */ -export function useGrantQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: GrantQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(GrantDocument, options) -} +export function useGrantQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: GrantQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GrantDocument, options); + } export function useGrantLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(GrantDocument, options) -} + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GrantDocument, options); + } export function useGrantSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(GrantDocument, options) -} -export type GrantQueryHookResult = ReturnType -export type GrantLazyQueryHookResult = ReturnType -export type GrantSuspenseQueryHookResult = ReturnType -export type GrantQueryResult = Apollo.QueryResult + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GrantDocument, options); + } +export type GrantQueryHookResult = ReturnType; +export type GrantLazyQueryHookResult = ReturnType; +export type GrantSuspenseQueryHookResult = ReturnType; +export type GrantQueryResult = Apollo.QueryResult; export const GrantStatisticsDocument = gql` - query GrantStatistics { - grantStatistics { - grants { - amountFunded - amountGranted - count - } - applicants { - countFunded - } + query GrantStatistics { + grantStatistics { + grants { + amountFunded + amountGranted + count + } + applicants { + countFunded } } -` +} + `; /** * __useGrantStatisticsQuery__ @@ -11133,50 +8820,44 @@ export const GrantStatisticsDocument = gql` * }, * }); */ -export function useGrantStatisticsQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(GrantStatisticsDocument, options) -} -export function useGrantStatisticsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(GrantStatisticsDocument, options) -} -export function useGrantStatisticsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(GrantStatisticsDocument, options) -} -export type GrantStatisticsQueryHookResult = ReturnType -export type GrantStatisticsLazyQueryHookResult = ReturnType -export type GrantStatisticsSuspenseQueryHookResult = ReturnType -export type GrantStatisticsQueryResult = Apollo.QueryResult +export function useGrantStatisticsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GrantStatisticsDocument, options); + } +export function useGrantStatisticsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GrantStatisticsDocument, options); + } +export function useGrantStatisticsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GrantStatisticsDocument, options); + } +export type GrantStatisticsQueryHookResult = ReturnType; +export type GrantStatisticsLazyQueryHookResult = ReturnType; +export type GrantStatisticsSuspenseQueryHookResult = ReturnType; +export type GrantStatisticsQueryResult = Apollo.QueryResult; export const GrantGetDocument = gql` - query GrantGet($input: GrantGetInput!) { - grant(input: $input) { - ... on BoardVoteGrant { - applicants { - project { - name - id - } + query GrantGet($input: GrantGetInput!) { + grant(input: $input) { + ... on BoardVoteGrant { + applicants { + project { + name + id } } - ... on CommunityVoteGrant { - applicants { - project { - name - id - } + } + ... on CommunityVoteGrant { + applicants { + project { + name + id } } } } -` +} + `; /** * __useGrantGetQuery__ @@ -11194,41 +8875,35 @@ export const GrantGetDocument = gql` * }, * }); */ -export function useGrantGetQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: GrantGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(GrantGetDocument, options) -} +export function useGrantGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: GrantGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GrantGetDocument, options); + } export function useGrantGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(GrantGetDocument, options) -} -export function useGrantGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(GrantGetDocument, options) -} -export type GrantGetQueryHookResult = ReturnType -export type GrantGetLazyQueryHookResult = ReturnType -export type GrantGetSuspenseQueryHookResult = ReturnType -export type GrantGetQueryResult = Apollo.QueryResult + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GrantGetDocument, options); + } +export function useGrantGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GrantGetDocument, options); + } +export type GrantGetQueryHookResult = ReturnType; +export type GrantGetLazyQueryHookResult = ReturnType; +export type GrantGetSuspenseQueryHookResult = ReturnType; +export type GrantGetQueryResult = Apollo.QueryResult; export const OrdersGetDocument = gql` - query OrdersGet($input: OrdersGetInput!) { - ordersGet(input: $input) { - pagination { - ...Pagination - } - orders { - ...Order - } + query OrdersGet($input: OrdersGetInput!) { + ordersGet(input: $input) { + pagination { + ...Pagination + } + orders { + ...Order } } - ${PaginationFragmentDoc} - ${OrderFragmentDoc} -` +} + ${PaginationFragmentDoc} +${OrderFragmentDoc}`; /** * __useOrdersGetQuery__ @@ -11246,43 +8921,35 @@ export const OrdersGetDocument = gql` * }, * }); */ -export function useOrdersGetQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: OrdersGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(OrdersGetDocument, options) -} -export function useOrdersGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(OrdersGetDocument, options) -} -export function useOrdersGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(OrdersGetDocument, options) -} -export type OrdersGetQueryHookResult = ReturnType -export type OrdersGetLazyQueryHookResult = ReturnType -export type OrdersGetSuspenseQueryHookResult = ReturnType -export type OrdersGetQueryResult = Apollo.QueryResult -export const FundingTxsOrderGetDocument = gql` - query FundingTxsOrderGet($input: GetFundingTxsInput) { - fundingTxsGet(input: $input) { - pagination { - ...Pagination - } - fundingTxs { - ...FundingTxOrder +export function useOrdersGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: OrdersGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(OrdersGetDocument, options); } +export function useOrdersGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(OrdersGetDocument, options); + } +export function useOrdersGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(OrdersGetDocument, options); + } +export type OrdersGetQueryHookResult = ReturnType; +export type OrdersGetLazyQueryHookResult = ReturnType; +export type OrdersGetSuspenseQueryHookResult = ReturnType; +export type OrdersGetQueryResult = Apollo.QueryResult; +export const FundingTxsOrderGetDocument = gql` + query FundingTxsOrderGet($input: GetFundingTxsInput) { + fundingTxsGet(input: $input) { + pagination { + ...Pagination + } + fundingTxs { + ...FundingTxOrder } } - ${PaginationFragmentDoc} - ${FundingTxOrderFragmentDoc} -` +} + ${PaginationFragmentDoc} +${FundingTxOrderFragmentDoc}`; /** * __useFundingTxsOrderGetQuery__ @@ -11300,47 +8967,31 @@ export const FundingTxsOrderGetDocument = gql` * }, * }); */ -export function useFundingTxsOrderGetQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(FundingTxsOrderGetDocument, options) -} -export function useFundingTxsOrderGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - FundingTxsOrderGetDocument, - options, - ) -} -export function useFundingTxsOrderGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - FundingTxsOrderGetDocument, - options, - ) -} -export type FundingTxsOrderGetQueryHookResult = ReturnType -export type FundingTxsOrderGetLazyQueryHookResult = ReturnType -export type FundingTxsOrderGetSuspenseQueryHookResult = ReturnType -export type FundingTxsOrderGetQueryResult = Apollo.QueryResult< - FundingTxsOrderGetQuery, - FundingTxsOrderGetQueryVariables -> -export const FundingTxsOrderCountGetDocument = gql` - query FundingTxsOrderCountGet($input: GetFundingTxsInput) { - fundingTxsGet(input: $input) { - pagination { - ...Pagination +export function useFundingTxsOrderGetQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(FundingTxsOrderGetDocument, options); } +export function useFundingTxsOrderGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(FundingTxsOrderGetDocument, options); + } +export function useFundingTxsOrderGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FundingTxsOrderGetDocument, options); + } +export type FundingTxsOrderGetQueryHookResult = ReturnType; +export type FundingTxsOrderGetLazyQueryHookResult = ReturnType; +export type FundingTxsOrderGetSuspenseQueryHookResult = ReturnType; +export type FundingTxsOrderGetQueryResult = Apollo.QueryResult; +export const FundingTxsOrderCountGetDocument = gql` + query FundingTxsOrderCountGet($input: GetFundingTxsInput) { + fundingTxsGet(input: $input) { + pagination { + ...Pagination } } - ${PaginationFragmentDoc} -` +} + ${PaginationFragmentDoc}`; /** * __useFundingTxsOrderCountGetQuery__ @@ -11358,48 +9009,29 @@ export const FundingTxsOrderCountGetDocument = gql` * }, * }); */ -export function useFundingTxsOrderCountGetQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - FundingTxsOrderCountGetDocument, - options, - ) -} -export function useFundingTxsOrderCountGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - FundingTxsOrderCountGetDocument, - options, - ) -} -export function useFundingTxsOrderCountGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - FundingTxsOrderCountGetDocument, - options, - ) -} -export type FundingTxsOrderCountGetQueryHookResult = ReturnType -export type FundingTxsOrderCountGetLazyQueryHookResult = ReturnType -export type FundingTxsOrderCountGetSuspenseQueryHookResult = ReturnType -export type FundingTxsOrderCountGetQueryResult = Apollo.QueryResult< - FundingTxsOrderCountGetQuery, - FundingTxsOrderCountGetQueryVariables -> +export function useFundingTxsOrderCountGetQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(FundingTxsOrderCountGetDocument, options); + } +export function useFundingTxsOrderCountGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(FundingTxsOrderCountGetDocument, options); + } +export function useFundingTxsOrderCountGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FundingTxsOrderCountGetDocument, options); + } +export type FundingTxsOrderCountGetQueryHookResult = ReturnType; +export type FundingTxsOrderCountGetLazyQueryHookResult = ReturnType; +export type FundingTxsOrderCountGetSuspenseQueryHookResult = ReturnType; +export type FundingTxsOrderCountGetQueryResult = Apollo.QueryResult; export const ProjectByNameOrIdDocument = gql` - query ProjectByNameOrId($where: UniqueProjectQueryInput!, $input: ProjectEntriesGetInput) { - projectGet(where: $where) { - ...Project - } + query ProjectByNameOrId($where: UniqueProjectQueryInput!, $input: ProjectEntriesGetInput) { + projectGet(where: $where) { + ...Project } - ${ProjectFragmentDoc} -` +} + ${ProjectFragmentDoc}`; /** * __useProjectByNameOrIdQuery__ @@ -11418,45 +9050,31 @@ export const ProjectByNameOrIdDocument = gql` * }, * }); */ -export function useProjectByNameOrIdQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectByNameOrIdQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectByNameOrIdDocument, options) -} -export function useProjectByNameOrIdLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectByNameOrIdDocument, - options, - ) -} -export function useProjectByNameOrIdSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectByNameOrIdDocument, - options, - ) -} -export type ProjectByNameOrIdQueryHookResult = ReturnType -export type ProjectByNameOrIdLazyQueryHookResult = ReturnType -export type ProjectByNameOrIdSuspenseQueryHookResult = ReturnType -export type ProjectByNameOrIdQueryResult = Apollo.QueryResult -export const ProjectsForSubscriptionDocument = gql` - query ProjectsForSubscription($input: ProjectsGetQueryInput!) { - projectsGet(input: $input) { - projects { - ...ProjectForSubscription +export function useProjectByNameOrIdQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectByNameOrIdQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectByNameOrIdDocument, options); } +export function useProjectByNameOrIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectByNameOrIdDocument, options); + } +export function useProjectByNameOrIdSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectByNameOrIdDocument, options); + } +export type ProjectByNameOrIdQueryHookResult = ReturnType; +export type ProjectByNameOrIdLazyQueryHookResult = ReturnType; +export type ProjectByNameOrIdSuspenseQueryHookResult = ReturnType; +export type ProjectByNameOrIdQueryResult = Apollo.QueryResult; +export const ProjectsForSubscriptionDocument = gql` + query ProjectsForSubscription($input: ProjectsGetQueryInput!) { + projectsGet(input: $input) { + projects { + ...ProjectForSubscription } } - ${ProjectForSubscriptionFragmentDoc} -` +} + ${ProjectForSubscriptionFragmentDoc}`; /** * __useProjectsForSubscriptionQuery__ @@ -11474,57 +9092,38 @@ export const ProjectsForSubscriptionDocument = gql` * }, * }); */ -export function useProjectsForSubscriptionQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectsForSubscriptionQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectsForSubscriptionDocument, - options, - ) -} -export function useProjectsForSubscriptionLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectsForSubscriptionDocument, - options, - ) -} -export function useProjectsForSubscriptionSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectsForSubscriptionDocument, - options, - ) -} -export type ProjectsForSubscriptionQueryHookResult = ReturnType -export type ProjectsForSubscriptionLazyQueryHookResult = ReturnType -export type ProjectsForSubscriptionSuspenseQueryHookResult = ReturnType -export type ProjectsForSubscriptionQueryResult = Apollo.QueryResult< - ProjectsForSubscriptionQuery, - ProjectsForSubscriptionQueryVariables -> -export const ProjectsDocument = gql` - query Projects($input: ProjectsGetQueryInput) { - projectsGet(input: $input) { - projects { - id - title - name - description - balance - createdAt - status - image +export function useProjectsForSubscriptionQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectsForSubscriptionQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectsForSubscriptionDocument, options); } +export function useProjectsForSubscriptionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectsForSubscriptionDocument, options); + } +export function useProjectsForSubscriptionSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectsForSubscriptionDocument, options); + } +export type ProjectsForSubscriptionQueryHookResult = ReturnType; +export type ProjectsForSubscriptionLazyQueryHookResult = ReturnType; +export type ProjectsForSubscriptionSuspenseQueryHookResult = ReturnType; +export type ProjectsForSubscriptionQueryResult = Apollo.QueryResult; +export const ProjectsDocument = gql` + query Projects($input: ProjectsGetQueryInput) { + projectsGet(input: $input) { + projects { + id + title + name + description + balance + createdAt + status + image } } -` +} + `; /** * __useProjectsQuery__ @@ -11543,66 +9142,64 @@ export const ProjectsDocument = gql` * }); */ export function useProjectsQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectsDocument, options) -} + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectsDocument, options); + } export function useProjectsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectsDocument, options) -} -export function useProjectsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectsDocument, options) -} -export type ProjectsQueryHookResult = ReturnType -export type ProjectsLazyQueryHookResult = ReturnType -export type ProjectsSuspenseQueryHookResult = ReturnType -export type ProjectsQueryResult = Apollo.QueryResult + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectsDocument, options); + } +export function useProjectsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectsDocument, options); + } +export type ProjectsQueryHookResult = ReturnType; +export type ProjectsLazyQueryHookResult = ReturnType; +export type ProjectsSuspenseQueryHookResult = ReturnType; +export type ProjectsQueryResult = Apollo.QueryResult; export const ProjectsFullDocument = gql` - query ProjectsFull($input: ProjectsGetQueryInput) { - projectsGet(input: $input) { - projects { + query ProjectsFull($input: ProjectsGetQueryInput) { + projectsGet(input: $input) { + projects { + id + title + name + type + shortDescription + description + balance + createdAt + updatedAt + thumbnailImage + image + status + owners { id - title - name - type - shortDescription - description - balance - createdAt - updatedAt - thumbnailImage - image - status - owners { + user { id - user { - id - username - imageUrl - } + username + imageUrl } - funders { + } + funders { + id + user { id - user { - id - username - imageUrl - } - confirmed + username + imageUrl } - wallets { - state { - status - statusCode - } + confirmed + } + wallets { + state { + status + statusCode } } } } -` +} + `; /** * __useProjectsFullQuery__ @@ -11620,37 +9217,31 @@ export const ProjectsFullDocument = gql` * }, * }); */ -export function useProjectsFullQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectsFullDocument, options) -} -export function useProjectsFullLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectsFullDocument, options) -} -export function useProjectsFullSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectsFullDocument, options) -} -export type ProjectsFullQueryHookResult = ReturnType -export type ProjectsFullLazyQueryHookResult = ReturnType -export type ProjectsFullSuspenseQueryHookResult = ReturnType -export type ProjectsFullQueryResult = Apollo.QueryResult +export function useProjectsFullQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectsFullDocument, options); + } +export function useProjectsFullLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectsFullDocument, options); + } +export function useProjectsFullSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectsFullDocument, options); + } +export type ProjectsFullQueryHookResult = ReturnType; +export type ProjectsFullLazyQueryHookResult = ReturnType; +export type ProjectsFullSuspenseQueryHookResult = ReturnType; +export type ProjectsFullQueryResult = Apollo.QueryResult; export const ProjectsSummaryDocument = gql` - query ProjectsSummary { - projectsSummary { - fundedTotal - fundersCount - projectsCount - } + query ProjectsSummary { + projectsSummary { + fundedTotal + fundersCount + projectsCount } -` +} + `; /** * __useProjectsSummaryQuery__ @@ -11667,36 +9258,29 @@ export const ProjectsSummaryDocument = gql` * }, * }); */ -export function useProjectsSummaryQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectsSummaryDocument, options) -} -export function useProjectsSummaryLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectsSummaryDocument, options) -} -export function useProjectsSummarySuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectsSummaryDocument, options) -} -export type ProjectsSummaryQueryHookResult = ReturnType -export type ProjectsSummaryLazyQueryHookResult = ReturnType -export type ProjectsSummarySuspenseQueryHookResult = ReturnType -export type ProjectsSummaryQueryResult = Apollo.QueryResult +export function useProjectsSummaryQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectsSummaryDocument, options); + } +export function useProjectsSummaryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectsSummaryDocument, options); + } +export function useProjectsSummarySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectsSummaryDocument, options); + } +export type ProjectsSummaryQueryHookResult = ReturnType; +export type ProjectsSummaryLazyQueryHookResult = ReturnType; +export type ProjectsSummarySuspenseQueryHookResult = ReturnType; +export type ProjectsSummaryQueryResult = Apollo.QueryResult; export const ProjectFundersDocument = gql` - query ProjectFunders($input: GetFundersInput!) { - fundersGet(input: $input) { - ...FunderWithUser - } + query ProjectFunders($input: GetFundersInput!) { + fundersGet(input: $input) { + ...FunderWithUser } - ${FunderWithUserFragmentDoc} -` +} + ${FunderWithUserFragmentDoc}`; /** * __useProjectFundersQuery__ @@ -11714,37 +9298,29 @@ export const ProjectFundersDocument = gql` * }, * }); */ -export function useProjectFundersQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectFundersQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectFundersDocument, options) -} -export function useProjectFundersLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectFundersDocument, options) -} -export function useProjectFundersSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectFundersDocument, options) -} -export type ProjectFundersQueryHookResult = ReturnType -export type ProjectFundersLazyQueryHookResult = ReturnType -export type ProjectFundersSuspenseQueryHookResult = ReturnType -export type ProjectFundersQueryResult = Apollo.QueryResult +export function useProjectFundersQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectFundersQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectFundersDocument, options); + } +export function useProjectFundersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectFundersDocument, options); + } +export function useProjectFundersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectFundersDocument, options); + } +export type ProjectFundersQueryHookResult = ReturnType; +export type ProjectFundersLazyQueryHookResult = ReturnType; +export type ProjectFundersSuspenseQueryHookResult = ReturnType; +export type ProjectFundersQueryResult = Apollo.QueryResult; export const ProjectNostrKeysDocument = gql` - query ProjectNostrKeys($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - ...ProjectNostrKeys - } + query ProjectNostrKeys($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + ...ProjectNostrKeys } - ${ProjectNostrKeysFragmentDoc} -` +} + ${ProjectNostrKeysFragmentDoc}`; /** * __useProjectNostrKeysQuery__ @@ -11762,40 +9338,29 @@ export const ProjectNostrKeysDocument = gql` * }, * }); */ -export function useProjectNostrKeysQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectNostrKeysQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectNostrKeysDocument, options) -} -export function useProjectNostrKeysLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectNostrKeysDocument, options) -} -export function useProjectNostrKeysSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectNostrKeysDocument, - options, - ) -} -export type ProjectNostrKeysQueryHookResult = ReturnType -export type ProjectNostrKeysLazyQueryHookResult = ReturnType -export type ProjectNostrKeysSuspenseQueryHookResult = ReturnType -export type ProjectNostrKeysQueryResult = Apollo.QueryResult +export function useProjectNostrKeysQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectNostrKeysQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectNostrKeysDocument, options); + } +export function useProjectNostrKeysLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectNostrKeysDocument, options); + } +export function useProjectNostrKeysSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectNostrKeysDocument, options); + } +export type ProjectNostrKeysQueryHookResult = ReturnType; +export type ProjectNostrKeysLazyQueryHookResult = ReturnType; +export type ProjectNostrKeysSuspenseQueryHookResult = ReturnType; +export type ProjectNostrKeysQueryResult = Apollo.QueryResult; export const MeDocument = gql` - query Me { - me { - ...UserMe - } + query Me { + me { + ...UserMe } - ${UserMeFragmentDoc} -` +} + ${UserMeFragmentDoc}`; /** * __useMeQuery__ @@ -11813,34 +9378,34 @@ export const MeDocument = gql` * }); */ export function useMeQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(MeDocument, options) -} + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(MeDocument, options); + } export function useMeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(MeDocument, options) -} + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(MeDocument, options); + } export function useMeSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(MeDocument, options) -} -export type MeQueryHookResult = ReturnType -export type MeLazyQueryHookResult = ReturnType -export type MeSuspenseQueryHookResult = ReturnType -export type MeQueryResult = Apollo.QueryResult + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(MeDocument, options); + } +export type MeQueryHookResult = ReturnType; +export type MeLazyQueryHookResult = ReturnType; +export type MeSuspenseQueryHookResult = ReturnType; +export type MeQueryResult = Apollo.QueryResult; export const MeProjectFollowsDocument = gql` - query MeProjectFollows { - me { + query MeProjectFollows { + me { + id + projectFollows { id - projectFollows { - id - title - thumbnailImage - name - } + title + thumbnailImage + name } } -` +} + `; /** * __useMeProjectFollowsQuery__ @@ -11857,43 +9422,34 @@ export const MeProjectFollowsDocument = gql` * }, * }); */ -export function useMeProjectFollowsQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(MeProjectFollowsDocument, options) -} -export function useMeProjectFollowsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(MeProjectFollowsDocument, options) -} -export function useMeProjectFollowsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - MeProjectFollowsDocument, - options, - ) -} -export type MeProjectFollowsQueryHookResult = ReturnType -export type MeProjectFollowsLazyQueryHookResult = ReturnType -export type MeProjectFollowsSuspenseQueryHookResult = ReturnType -export type MeProjectFollowsQueryResult = Apollo.QueryResult -export const LightningAddressVerifyDocument = gql` - query LightningAddressVerify($lightningAddress: String) { - lightningAddressVerify(lightningAddress: $lightningAddress) { - reason - valid - limits { - max - min +export function useMeProjectFollowsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(MeProjectFollowsDocument, options); } +export function useMeProjectFollowsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(MeProjectFollowsDocument, options); + } +export function useMeProjectFollowsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(MeProjectFollowsDocument, options); + } +export type MeProjectFollowsQueryHookResult = ReturnType; +export type MeProjectFollowsLazyQueryHookResult = ReturnType; +export type MeProjectFollowsSuspenseQueryHookResult = ReturnType; +export type MeProjectFollowsQueryResult = Apollo.QueryResult; +export const LightningAddressVerifyDocument = gql` + query LightningAddressVerify($lightningAddress: String) { + lightningAddressVerify(lightningAddress: $lightningAddress) { + reason + valid + limits { + max + min } } -` +} + `; /** * __useLightningAddressVerifyQuery__ @@ -11911,52 +9467,34 @@ export const LightningAddressVerifyDocument = gql` * }, * }); */ -export function useLightningAddressVerifyQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - LightningAddressVerifyDocument, - options, - ) -} -export function useLightningAddressVerifyLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - LightningAddressVerifyDocument, - options, - ) -} -export function useLightningAddressVerifySuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - LightningAddressVerifyDocument, - options, - ) -} -export type LightningAddressVerifyQueryHookResult = ReturnType -export type LightningAddressVerifyLazyQueryHookResult = ReturnType -export type LightningAddressVerifySuspenseQueryHookResult = ReturnType -export type LightningAddressVerifyQueryResult = Apollo.QueryResult< - LightningAddressVerifyQuery, - LightningAddressVerifyQueryVariables -> -export const WalletLimitDocument = gql` - query WalletLimit($getWalletId: BigInt!) { - getWallet(id: $getWalletId) { - limits { - contribution { - max - min +export function useLightningAddressVerifyQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(LightningAddressVerifyDocument, options); + } +export function useLightningAddressVerifyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(LightningAddressVerifyDocument, options); + } +export function useLightningAddressVerifySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(LightningAddressVerifyDocument, options); } +export type LightningAddressVerifyQueryHookResult = ReturnType; +export type LightningAddressVerifyLazyQueryHookResult = ReturnType; +export type LightningAddressVerifySuspenseQueryHookResult = ReturnType; +export type LightningAddressVerifyQueryResult = Apollo.QueryResult; +export const WalletLimitDocument = gql` + query WalletLimit($getWalletId: BigInt!) { + getWallet(id: $getWalletId) { + limits { + contribution { + max + min } } } -` +} + `; /** * __useWalletLimitQuery__ @@ -11974,55 +9512,47 @@ export const WalletLimitDocument = gql` * }, * }); */ -export function useWalletLimitQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: WalletLimitQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(WalletLimitDocument, options) -} -export function useWalletLimitLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(WalletLimitDocument, options) -} -export function useWalletLimitSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(WalletLimitDocument, options) -} -export type WalletLimitQueryHookResult = ReturnType -export type WalletLimitLazyQueryHookResult = ReturnType -export type WalletLimitSuspenseQueryHookResult = ReturnType -export type WalletLimitQueryResult = Apollo.QueryResult -export const ActivityCreatedDocument = gql` - subscription ActivityCreated($input: ActivityCreatedSubscriptionInput) { - activityCreated(input: $input) { - id - activityType - resource { - ... on Entry { - ...EntryForLandingPage - } - ... on Project { - ...ProjectForLandingPage - } - ... on FundingTx { - ...FundingTxForLandingPage +export function useWalletLimitQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: WalletLimitQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(WalletLimitDocument, options); + } +export function useWalletLimitLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(WalletLimitDocument, options); } - ... on ProjectReward { - ...ProjectRewardForLandingPage +export function useWalletLimitSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(WalletLimitDocument, options); } +export type WalletLimitQueryHookResult = ReturnType; +export type WalletLimitLazyQueryHookResult = ReturnType; +export type WalletLimitSuspenseQueryHookResult = ReturnType; +export type WalletLimitQueryResult = Apollo.QueryResult; +export const ActivityCreatedDocument = gql` + subscription ActivityCreated($input: ActivityCreatedSubscriptionInput) { + activityCreated(input: $input) { + id + activityType + resource { + ... on Entry { + ...EntryForLandingPage + } + ... on Project { + ...ProjectForLandingPage + } + ... on FundingTx { + ...FundingTxForLandingPage + } + ... on ProjectReward { + ...ProjectRewardForLandingPage } } } - ${EntryForLandingPageFragmentDoc} - ${ProjectForLandingPageFragmentDoc} - ${FundingTxForLandingPageFragmentDoc} - ${ProjectRewardForLandingPageFragmentDoc} -` +} + ${EntryForLandingPageFragmentDoc} +${ProjectForLandingPageFragmentDoc} +${FundingTxForLandingPageFragmentDoc} +${ProjectRewardForLandingPageFragmentDoc}`; /** * __useActivityCreatedSubscription__ @@ -12040,28 +9570,23 @@ export const ActivityCreatedDocument = gql` * }, * }); */ -export function useActivityCreatedSubscription( - baseOptions?: Apollo.SubscriptionHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSubscription( - ActivityCreatedDocument, - options, - ) -} -export type ActivityCreatedSubscriptionHookResult = ReturnType -export type ActivityCreatedSubscriptionResult = Apollo.SubscriptionResult -export const ActivitiesGetDocument = gql` - query ActivitiesGet($input: GetActivitiesInput) { - activitiesGet(input: $input) { - activities { - id - createdAt - activityType +export function useActivityCreatedSubscription(baseOptions?: Apollo.SubscriptionHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSubscription(ActivityCreatedDocument, options); } +export type ActivityCreatedSubscriptionHookResult = ReturnType; +export type ActivityCreatedSubscriptionResult = Apollo.SubscriptionResult; +export const ActivitiesGetDocument = gql` + query ActivitiesGet($input: GetActivitiesInput) { + activitiesGet(input: $input) { + activities { + id + createdAt + activityType } } -` +} + `; /** * __useActivitiesGetQuery__ @@ -12079,36 +9604,29 @@ export const ActivitiesGetDocument = gql` * }, * }); */ -export function useActivitiesGetQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ActivitiesGetDocument, options) -} -export function useActivitiesGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ActivitiesGetDocument, options) -} -export function useActivitiesGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ActivitiesGetDocument, options) -} -export type ActivitiesGetQueryHookResult = ReturnType -export type ActivitiesGetLazyQueryHookResult = ReturnType -export type ActivitiesGetSuspenseQueryHookResult = ReturnType -export type ActivitiesGetQueryResult = Apollo.QueryResult +export function useActivitiesGetQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ActivitiesGetDocument, options); + } +export function useActivitiesGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ActivitiesGetDocument, options); + } +export function useActivitiesGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ActivitiesGetDocument, options); + } +export type ActivitiesGetQueryHookResult = ReturnType; +export type ActivitiesGetLazyQueryHookResult = ReturnType; +export type ActivitiesGetSuspenseQueryHookResult = ReturnType; +export type ActivitiesGetQueryResult = Apollo.QueryResult; export const FeaturedProjectForLandingPageDocument = gql` - query FeaturedProjectForLandingPage($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - ...ProjectForLandingPage - } + query FeaturedProjectForLandingPage($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + ...ProjectForLandingPage } - ${ProjectForLandingPageFragmentDoc} -` +} + ${ProjectForLandingPageFragmentDoc}`; /** * __useFeaturedProjectForLandingPageQuery__ @@ -12126,67 +9644,34 @@ export const FeaturedProjectForLandingPageDocument = gql` * }, * }); */ -export function useFeaturedProjectForLandingPageQuery( - baseOptions: Apollo.QueryHookOptions< - FeaturedProjectForLandingPageQuery, - FeaturedProjectForLandingPageQueryVariables - > & - ({ variables: FeaturedProjectForLandingPageQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - FeaturedProjectForLandingPageDocument, - options, - ) -} -export function useFeaturedProjectForLandingPageLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - FeaturedProjectForLandingPageQuery, - FeaturedProjectForLandingPageQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - FeaturedProjectForLandingPageDocument, - options, - ) -} -export function useFeaturedProjectForLandingPageSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - FeaturedProjectForLandingPageQuery, - FeaturedProjectForLandingPageQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - FeaturedProjectForLandingPageDocument, - options, - ) -} -export type FeaturedProjectForLandingPageQueryHookResult = ReturnType -export type FeaturedProjectForLandingPageLazyQueryHookResult = ReturnType< - typeof useFeaturedProjectForLandingPageLazyQuery -> -export type FeaturedProjectForLandingPageSuspenseQueryHookResult = ReturnType< - typeof useFeaturedProjectForLandingPageSuspenseQuery -> -export type FeaturedProjectForLandingPageQueryResult = Apollo.QueryResult< - FeaturedProjectForLandingPageQuery, - FeaturedProjectForLandingPageQueryVariables -> -export const ProjectsMostFundedByTagDocument = gql` - query ProjectsMostFundedByTag($input: ProjectsMostFundedByTagInput!) { - projectsMostFundedByTag(input: $input) { - projects { - project { - ...ProjectForLandingPage +export function useFeaturedProjectForLandingPageQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: FeaturedProjectForLandingPageQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(FeaturedProjectForLandingPageDocument, options); + } +export function useFeaturedProjectForLandingPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(FeaturedProjectForLandingPageDocument, options); } +export function useFeaturedProjectForLandingPageSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FeaturedProjectForLandingPageDocument, options); + } +export type FeaturedProjectForLandingPageQueryHookResult = ReturnType; +export type FeaturedProjectForLandingPageLazyQueryHookResult = ReturnType; +export type FeaturedProjectForLandingPageSuspenseQueryHookResult = ReturnType; +export type FeaturedProjectForLandingPageQueryResult = Apollo.QueryResult; +export const ProjectsMostFundedByTagDocument = gql` + query ProjectsMostFundedByTag($input: ProjectsMostFundedByTagInput!) { + projectsMostFundedByTag(input: $input) { + projects { + project { + ...ProjectForLandingPage } - tagId } + tagId } - ${ProjectForLandingPageFragmentDoc} -` +} + ${ProjectForLandingPageFragmentDoc}`; /** * __useProjectsMostFundedByTagQuery__ @@ -12204,51 +9689,31 @@ export const ProjectsMostFundedByTagDocument = gql` * }, * }); */ -export function useProjectsMostFundedByTagQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectsMostFundedByTagQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectsMostFundedByTagDocument, - options, - ) -} -export function useProjectsMostFundedByTagLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectsMostFundedByTagDocument, - options, - ) -} -export function useProjectsMostFundedByTagSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectsMostFundedByTagDocument, - options, - ) -} -export type ProjectsMostFundedByTagQueryHookResult = ReturnType -export type ProjectsMostFundedByTagLazyQueryHookResult = ReturnType -export type ProjectsMostFundedByTagSuspenseQueryHookResult = ReturnType -export type ProjectsMostFundedByTagQueryResult = Apollo.QueryResult< - ProjectsMostFundedByTagQuery, - ProjectsMostFundedByTagQueryVariables -> -export const ProjectsForLandingPageDocument = gql` - query ProjectsForLandingPage($input: ProjectsGetQueryInput) { - projectsGet(input: $input) { - projects { - ...ProjectForLandingPage +export function useProjectsMostFundedByTagQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectsMostFundedByTagQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectsMostFundedByTagDocument, options); } +export function useProjectsMostFundedByTagLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectsMostFundedByTagDocument, options); + } +export function useProjectsMostFundedByTagSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectsMostFundedByTagDocument, options); + } +export type ProjectsMostFundedByTagQueryHookResult = ReturnType; +export type ProjectsMostFundedByTagLazyQueryHookResult = ReturnType; +export type ProjectsMostFundedByTagSuspenseQueryHookResult = ReturnType; +export type ProjectsMostFundedByTagQueryResult = Apollo.QueryResult; +export const ProjectsForLandingPageDocument = gql` + query ProjectsForLandingPage($input: ProjectsGetQueryInput) { + projectsGet(input: $input) { + projects { + ...ProjectForLandingPage } } - ${ProjectForLandingPageFragmentDoc} -` +} + ${ProjectForLandingPageFragmentDoc}`; /** * __useProjectsForLandingPageQuery__ @@ -12266,51 +9731,32 @@ export const ProjectsForLandingPageDocument = gql` * }, * }); */ -export function useProjectsForLandingPageQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectsForLandingPageDocument, - options, - ) -} -export function useProjectsForLandingPageLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectsForLandingPageDocument, - options, - ) -} -export function useProjectsForLandingPageSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectsForLandingPageDocument, - options, - ) -} -export type ProjectsForLandingPageQueryHookResult = ReturnType -export type ProjectsForLandingPageLazyQueryHookResult = ReturnType -export type ProjectsForLandingPageSuspenseQueryHookResult = ReturnType -export type ProjectsForLandingPageQueryResult = Apollo.QueryResult< - ProjectsForLandingPageQuery, - ProjectsForLandingPageQueryVariables -> -export const ProjectRewardsTrendingWeeklyGetDocument = gql` - query ProjectRewardsTrendingWeeklyGet { - projectRewardsTrendingWeeklyGet { - count - projectReward { - ...RewardForLandingPage +export function useProjectsForLandingPageQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectsForLandingPageDocument, options); } +export function useProjectsForLandingPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectsForLandingPageDocument, options); + } +export function useProjectsForLandingPageSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectsForLandingPageDocument, options); + } +export type ProjectsForLandingPageQueryHookResult = ReturnType; +export type ProjectsForLandingPageLazyQueryHookResult = ReturnType; +export type ProjectsForLandingPageSuspenseQueryHookResult = ReturnType; +export type ProjectsForLandingPageQueryResult = Apollo.QueryResult; +export const ProjectRewardsTrendingWeeklyGetDocument = gql` + query ProjectRewardsTrendingWeeklyGet { + projectRewardsTrendingWeeklyGet { + count + projectReward { + ...RewardForLandingPage } } - ${RewardForLandingPageFragmentDoc} -` +} + ${RewardForLandingPageFragmentDoc}`; /** * __useProjectRewardsTrendingWeeklyGetQuery__ @@ -12327,62 +9773,31 @@ export const ProjectRewardsTrendingWeeklyGetDocument = gql` * }, * }); */ -export function useProjectRewardsTrendingWeeklyGetQuery( - baseOptions?: Apollo.QueryHookOptions< - ProjectRewardsTrendingWeeklyGetQuery, - ProjectRewardsTrendingWeeklyGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectRewardsTrendingWeeklyGetDocument, - options, - ) -} -export function useProjectRewardsTrendingWeeklyGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ProjectRewardsTrendingWeeklyGetQuery, - ProjectRewardsTrendingWeeklyGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectRewardsTrendingWeeklyGetDocument, - options, - ) -} -export function useProjectRewardsTrendingWeeklyGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProjectRewardsTrendingWeeklyGetQuery, - ProjectRewardsTrendingWeeklyGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectRewardsTrendingWeeklyGetDocument, - options, - ) -} -export type ProjectRewardsTrendingWeeklyGetQueryHookResult = ReturnType -export type ProjectRewardsTrendingWeeklyGetLazyQueryHookResult = ReturnType< - typeof useProjectRewardsTrendingWeeklyGetLazyQuery -> -export type ProjectRewardsTrendingWeeklyGetSuspenseQueryHookResult = ReturnType< - typeof useProjectRewardsTrendingWeeklyGetSuspenseQuery -> -export type ProjectRewardsTrendingWeeklyGetQueryResult = Apollo.QueryResult< - ProjectRewardsTrendingWeeklyGetQuery, - ProjectRewardsTrendingWeeklyGetQueryVariables -> +export function useProjectRewardsTrendingWeeklyGetQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectRewardsTrendingWeeklyGetDocument, options); + } +export function useProjectRewardsTrendingWeeklyGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectRewardsTrendingWeeklyGetDocument, options); + } +export function useProjectRewardsTrendingWeeklyGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectRewardsTrendingWeeklyGetDocument, options); + } +export type ProjectRewardsTrendingWeeklyGetQueryHookResult = ReturnType; +export type ProjectRewardsTrendingWeeklyGetLazyQueryHookResult = ReturnType; +export type ProjectRewardsTrendingWeeklyGetSuspenseQueryHookResult = ReturnType; +export type ProjectRewardsTrendingWeeklyGetQueryResult = Apollo.QueryResult; export const TagsGetDocument = gql` - query TagsGet { - tagsGet { - label - id - count - } + query TagsGet { + tagsGet { + label + id + count } -` +} + `; /** * __useTagsGetQuery__ @@ -12400,34 +9815,32 @@ export const TagsGetDocument = gql` * }); */ export function useTagsGetQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(TagsGetDocument, options) -} + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(TagsGetDocument, options); + } export function useTagsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(TagsGetDocument, options) -} -export function useTagsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(TagsGetDocument, options) -} -export type TagsGetQueryHookResult = ReturnType -export type TagsGetLazyQueryHookResult = ReturnType -export type TagsGetSuspenseQueryHookResult = ReturnType -export type TagsGetQueryResult = Apollo.QueryResult + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(TagsGetDocument, options); + } +export function useTagsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(TagsGetDocument, options); + } +export type TagsGetQueryHookResult = ReturnType; +export type TagsGetLazyQueryHookResult = ReturnType; +export type TagsGetSuspenseQueryHookResult = ReturnType; +export type TagsGetQueryResult = Apollo.QueryResult; export const ProjectCountriesGetDocument = gql` - query ProjectCountriesGet { - projectCountriesGet { - count - country { - code - name - } + query ProjectCountriesGet { + projectCountriesGet { + count + country { + code + name } } -` +} + `; /** * __useProjectCountriesGetQuery__ @@ -12444,48 +9857,30 @@ export const ProjectCountriesGetDocument = gql` * }, * }); */ -export function useProjectCountriesGetQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectCountriesGetDocument, - options, - ) -} -export function useProjectCountriesGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectCountriesGetDocument, - options, - ) -} -export function useProjectCountriesGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectCountriesGetDocument, - options, - ) -} -export type ProjectCountriesGetQueryHookResult = ReturnType -export type ProjectCountriesGetLazyQueryHookResult = ReturnType -export type ProjectCountriesGetSuspenseQueryHookResult = ReturnType -export type ProjectCountriesGetQueryResult = Apollo.QueryResult< - ProjectCountriesGetQuery, - ProjectCountriesGetQueryVariables -> +export function useProjectCountriesGetQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectCountriesGetDocument, options); + } +export function useProjectCountriesGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectCountriesGetDocument, options); + } +export function useProjectCountriesGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectCountriesGetDocument, options); + } +export type ProjectCountriesGetQueryHookResult = ReturnType; +export type ProjectCountriesGetLazyQueryHookResult = ReturnType; +export type ProjectCountriesGetSuspenseQueryHookResult = ReturnType; +export type ProjectCountriesGetQueryResult = Apollo.QueryResult; export const ProjectRegionsGetDocument = gql` - query ProjectRegionsGet { - projectRegionsGet { - count - region - } + query ProjectRegionsGet { + projectRegionsGet { + count + region } -` +} + `; /** * __useProjectRegionsGetQuery__ @@ -12502,42 +9897,30 @@ export const ProjectRegionsGetDocument = gql` * }, * }); */ -export function useProjectRegionsGetQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectRegionsGetDocument, options) -} -export function useProjectRegionsGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectRegionsGetDocument, - options, - ) -} -export function useProjectRegionsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectRegionsGetDocument, - options, - ) -} -export type ProjectRegionsGetQueryHookResult = ReturnType -export type ProjectRegionsGetLazyQueryHookResult = ReturnType -export type ProjectRegionsGetSuspenseQueryHookResult = ReturnType -export type ProjectRegionsGetQueryResult = Apollo.QueryResult +export function useProjectRegionsGetQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectRegionsGetDocument, options); + } +export function useProjectRegionsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectRegionsGetDocument, options); + } +export function useProjectRegionsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectRegionsGetDocument, options); + } +export type ProjectRegionsGetQueryHookResult = ReturnType; +export type ProjectRegionsGetLazyQueryHookResult = ReturnType; +export type ProjectRegionsGetSuspenseQueryHookResult = ReturnType; +export type ProjectRegionsGetQueryResult = Apollo.QueryResult; export const TagsMostFundedGetDocument = gql` - query TagsMostFundedGet { - tagsMostFundedGet { - id - label - } + query TagsMostFundedGet { + tagsMostFundedGet { + id + label } -` +} + `; /** * __useTagsMostFundedGetQuery__ @@ -12554,51 +9937,38 @@ export const TagsMostFundedGetDocument = gql` * }, * }); */ -export function useTagsMostFundedGetQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(TagsMostFundedGetDocument, options) -} -export function useTagsMostFundedGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - TagsMostFundedGetDocument, - options, - ) -} -export function useTagsMostFundedGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - TagsMostFundedGetDocument, - options, - ) -} -export type TagsMostFundedGetQueryHookResult = ReturnType -export type TagsMostFundedGetLazyQueryHookResult = ReturnType -export type TagsMostFundedGetSuspenseQueryHookResult = ReturnType -export type TagsMostFundedGetQueryResult = Apollo.QueryResult -export const ActivityFeedDocument = gql` - query ActivityFeed($input: GetActivitiesInput!) { - activitiesGet(input: $input) { - activities { - ...ActivityFeedFragment - } - pagination { - take - cursor { - id +export function useTagsMostFundedGetQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(TagsMostFundedGetDocument, options); + } +export function useTagsMostFundedGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(TagsMostFundedGetDocument, options); } - count +export function useTagsMostFundedGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(TagsMostFundedGetDocument, options); + } +export type TagsMostFundedGetQueryHookResult = ReturnType; +export type TagsMostFundedGetLazyQueryHookResult = ReturnType; +export type TagsMostFundedGetSuspenseQueryHookResult = ReturnType; +export type TagsMostFundedGetQueryResult = Apollo.QueryResult; +export const ActivityFeedDocument = gql` + query ActivityFeed($input: GetActivitiesInput!) { + activitiesGet(input: $input) { + activities { + ...ActivityFeedFragment + } + pagination { + take + cursor { + id } + count } } - ${ActivityFeedFragmentFragmentDoc} -` +} + ${ActivityFeedFragmentFragmentDoc}`; /** * __useActivityFeedQuery__ @@ -12616,37 +9986,29 @@ export const ActivityFeedDocument = gql` * }, * }); */ -export function useActivityFeedQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ActivityFeedQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ActivityFeedDocument, options) -} -export function useActivityFeedLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ActivityFeedDocument, options) -} -export function useActivityFeedSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ActivityFeedDocument, options) -} -export type ActivityFeedQueryHookResult = ReturnType -export type ActivityFeedLazyQueryHookResult = ReturnType -export type ActivityFeedSuspenseQueryHookResult = ReturnType -export type ActivityFeedQueryResult = Apollo.QueryResult +export function useActivityFeedQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ActivityFeedQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ActivityFeedDocument, options); + } +export function useActivityFeedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ActivityFeedDocument, options); + } +export function useActivityFeedSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ActivityFeedDocument, options); + } +export type ActivityFeedQueryHookResult = ReturnType; +export type ActivityFeedLazyQueryHookResult = ReturnType; +export type ActivityFeedSuspenseQueryHookResult = ReturnType; +export type ActivityFeedQueryResult = Apollo.QueryResult; export const LeaderboardGlobalContributorsDocument = gql` - query LeaderboardGlobalContributors($input: LeaderboardGlobalContributorsGetInput!) { - leaderboardGlobalContributorsGet(input: $input) { - ...TopContributorsFragment - } + query LeaderboardGlobalContributors($input: LeaderboardGlobalContributorsGetInput!) { + leaderboardGlobalContributorsGet(input: $input) { + ...TopContributorsFragment } - ${TopContributorsFragmentFragmentDoc} -` +} + ${TopContributorsFragmentFragmentDoc}`; /** * __useLeaderboardGlobalContributorsQuery__ @@ -12664,62 +10026,29 @@ export const LeaderboardGlobalContributorsDocument = gql` * }, * }); */ -export function useLeaderboardGlobalContributorsQuery( - baseOptions: Apollo.QueryHookOptions< - LeaderboardGlobalContributorsQuery, - LeaderboardGlobalContributorsQueryVariables - > & - ({ variables: LeaderboardGlobalContributorsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - LeaderboardGlobalContributorsDocument, - options, - ) -} -export function useLeaderboardGlobalContributorsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - LeaderboardGlobalContributorsQuery, - LeaderboardGlobalContributorsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - LeaderboardGlobalContributorsDocument, - options, - ) -} -export function useLeaderboardGlobalContributorsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - LeaderboardGlobalContributorsQuery, - LeaderboardGlobalContributorsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - LeaderboardGlobalContributorsDocument, - options, - ) -} -export type LeaderboardGlobalContributorsQueryHookResult = ReturnType -export type LeaderboardGlobalContributorsLazyQueryHookResult = ReturnType< - typeof useLeaderboardGlobalContributorsLazyQuery -> -export type LeaderboardGlobalContributorsSuspenseQueryHookResult = ReturnType< - typeof useLeaderboardGlobalContributorsSuspenseQuery -> -export type LeaderboardGlobalContributorsQueryResult = Apollo.QueryResult< - LeaderboardGlobalContributorsQuery, - LeaderboardGlobalContributorsQueryVariables -> +export function useLeaderboardGlobalContributorsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: LeaderboardGlobalContributorsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(LeaderboardGlobalContributorsDocument, options); + } +export function useLeaderboardGlobalContributorsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(LeaderboardGlobalContributorsDocument, options); + } +export function useLeaderboardGlobalContributorsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(LeaderboardGlobalContributorsDocument, options); + } +export type LeaderboardGlobalContributorsQueryHookResult = ReturnType; +export type LeaderboardGlobalContributorsLazyQueryHookResult = ReturnType; +export type LeaderboardGlobalContributorsSuspenseQueryHookResult = ReturnType; +export type LeaderboardGlobalContributorsQueryResult = Apollo.QueryResult; export const LeaderboardGlobalProjectsDocument = gql` - query LeaderboardGlobalProjects($input: LeaderboardGlobalProjectsGetInput!) { - leaderboardGlobalProjectsGet(input: $input) { - ...TopProjectsFragment - } + query LeaderboardGlobalProjects($input: LeaderboardGlobalProjectsGetInput!) { + leaderboardGlobalProjectsGet(input: $input) { + ...TopProjectsFragment } - ${TopProjectsFragmentFragmentDoc} -` +} + ${TopProjectsFragmentFragmentDoc}`; /** * __useLeaderboardGlobalProjectsQuery__ @@ -12737,54 +10066,29 @@ export const LeaderboardGlobalProjectsDocument = gql` * }, * }); */ -export function useLeaderboardGlobalProjectsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: LeaderboardGlobalProjectsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - LeaderboardGlobalProjectsDocument, - options, - ) -} -export function useLeaderboardGlobalProjectsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - LeaderboardGlobalProjectsDocument, - options, - ) -} -export function useLeaderboardGlobalProjectsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - LeaderboardGlobalProjectsQuery, - LeaderboardGlobalProjectsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - LeaderboardGlobalProjectsDocument, - options, - ) -} -export type LeaderboardGlobalProjectsQueryHookResult = ReturnType -export type LeaderboardGlobalProjectsLazyQueryHookResult = ReturnType -export type LeaderboardGlobalProjectsSuspenseQueryHookResult = ReturnType< - typeof useLeaderboardGlobalProjectsSuspenseQuery -> -export type LeaderboardGlobalProjectsQueryResult = Apollo.QueryResult< - LeaderboardGlobalProjectsQuery, - LeaderboardGlobalProjectsQueryVariables -> +export function useLeaderboardGlobalProjectsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: LeaderboardGlobalProjectsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(LeaderboardGlobalProjectsDocument, options); + } +export function useLeaderboardGlobalProjectsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(LeaderboardGlobalProjectsDocument, options); + } +export function useLeaderboardGlobalProjectsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(LeaderboardGlobalProjectsDocument, options); + } +export type LeaderboardGlobalProjectsQueryHookResult = ReturnType; +export type LeaderboardGlobalProjectsLazyQueryHookResult = ReturnType; +export type LeaderboardGlobalProjectsSuspenseQueryHookResult = ReturnType; +export type LeaderboardGlobalProjectsQueryResult = Apollo.QueryResult; export const ActivitiesCountGroupedByProjectDocument = gql` - query ActivitiesCountGroupedByProject($input: ActivitiesCountGroupedByProjectInput!) { - activitiesCountGroupedByProject(input: $input) { - ...FollowedProjectsActivitiesCountFragment - } + query ActivitiesCountGroupedByProject($input: ActivitiesCountGroupedByProjectInput!) { + activitiesCountGroupedByProject(input: $input) { + ...FollowedProjectsActivitiesCountFragment } - ${FollowedProjectsActivitiesCountFragmentFragmentDoc} -` +} + ${FollowedProjectsActivitiesCountFragmentFragmentDoc}`; /** * __useActivitiesCountGroupedByProjectQuery__ @@ -12800,64 +10104,31 @@ export const ActivitiesCountGroupedByProjectDocument = gql` * variables: { * input: // value for 'input' * }, - * }); - */ -export function useActivitiesCountGroupedByProjectQuery( - baseOptions: Apollo.QueryHookOptions< - ActivitiesCountGroupedByProjectQuery, - ActivitiesCountGroupedByProjectQueryVariables - > & - ({ variables: ActivitiesCountGroupedByProjectQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ActivitiesCountGroupedByProjectDocument, - options, - ) -} -export function useActivitiesCountGroupedByProjectLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ActivitiesCountGroupedByProjectQuery, - ActivitiesCountGroupedByProjectQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ActivitiesCountGroupedByProjectDocument, - options, - ) -} -export function useActivitiesCountGroupedByProjectSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ActivitiesCountGroupedByProjectQuery, - ActivitiesCountGroupedByProjectQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ActivitiesCountGroupedByProjectDocument, - options, - ) -} -export type ActivitiesCountGroupedByProjectQueryHookResult = ReturnType -export type ActivitiesCountGroupedByProjectLazyQueryHookResult = ReturnType< - typeof useActivitiesCountGroupedByProjectLazyQuery -> -export type ActivitiesCountGroupedByProjectSuspenseQueryHookResult = ReturnType< - typeof useActivitiesCountGroupedByProjectSuspenseQuery -> -export type ActivitiesCountGroupedByProjectQueryResult = Apollo.QueryResult< - ActivitiesCountGroupedByProjectQuery, - ActivitiesCountGroupedByProjectQueryVariables -> + * }); + */ +export function useActivitiesCountGroupedByProjectQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ActivitiesCountGroupedByProjectQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ActivitiesCountGroupedByProjectDocument, options); + } +export function useActivitiesCountGroupedByProjectLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ActivitiesCountGroupedByProjectDocument, options); + } +export function useActivitiesCountGroupedByProjectSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ActivitiesCountGroupedByProjectDocument, options); + } +export type ActivitiesCountGroupedByProjectQueryHookResult = ReturnType; +export type ActivitiesCountGroupedByProjectLazyQueryHookResult = ReturnType; +export type ActivitiesCountGroupedByProjectSuspenseQueryHookResult = ReturnType; +export type ActivitiesCountGroupedByProjectQueryResult = Apollo.QueryResult; export const OrdersStatsGetDocument = gql` - query OrdersStatsGet($input: GetProjectOrdersStatsInput!) { - ordersStatsGet(input: $input) { - ...OrdersStatsFragment - } + query OrdersStatsGet($input: GetProjectOrdersStatsInput!) { + ordersStatsGet(input: $input) { + ...OrdersStatsFragment } - ${OrdersStatsFragmentFragmentDoc} -` +} + ${OrdersStatsFragmentFragmentDoc}`; /** * __useOrdersStatsGetQuery__ @@ -12875,37 +10146,29 @@ export const OrdersStatsGetDocument = gql` * }, * }); */ -export function useOrdersStatsGetQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: OrdersStatsGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(OrdersStatsGetDocument, options) -} -export function useOrdersStatsGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(OrdersStatsGetDocument, options) -} -export function useOrdersStatsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(OrdersStatsGetDocument, options) -} -export type OrdersStatsGetQueryHookResult = ReturnType -export type OrdersStatsGetLazyQueryHookResult = ReturnType -export type OrdersStatsGetSuspenseQueryHookResult = ReturnType -export type OrdersStatsGetQueryResult = Apollo.QueryResult +export function useOrdersStatsGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: OrdersStatsGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(OrdersStatsGetDocument, options); + } +export function useOrdersStatsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(OrdersStatsGetDocument, options); + } +export function useOrdersStatsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(OrdersStatsGetDocument, options); + } +export type OrdersStatsGetQueryHookResult = ReturnType; +export type OrdersStatsGetLazyQueryHookResult = ReturnType; +export type OrdersStatsGetSuspenseQueryHookResult = ReturnType; +export type OrdersStatsGetQueryResult = Apollo.QueryResult; export const ProjectStatsGetDocument = gql` - query ProjectStatsGet($input: GetProjectStatsInput!) { - projectStatsGet(input: $input) { - ...ProjectStats - } + query ProjectStatsGet($input: GetProjectStatsInput!) { + projectStatsGet(input: $input) { + ...ProjectStats } - ${ProjectStatsFragmentDoc} -` +} + ${ProjectStatsFragmentDoc}`; /** * __useProjectStatsGetQuery__ @@ -12923,41 +10186,31 @@ export const ProjectStatsGetDocument = gql` * }, * }); */ -export function useProjectStatsGetQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectStatsGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectStatsGetDocument, options) -} -export function useProjectStatsGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectStatsGetDocument, options) -} -export function useProjectStatsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectStatsGetDocument, options) -} -export type ProjectStatsGetQueryHookResult = ReturnType -export type ProjectStatsGetLazyQueryHookResult = ReturnType -export type ProjectStatsGetSuspenseQueryHookResult = ReturnType -export type ProjectStatsGetQueryResult = Apollo.QueryResult +export function useProjectStatsGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectStatsGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectStatsGetDocument, options); + } +export function useProjectStatsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectStatsGetDocument, options); + } +export function useProjectStatsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectStatsGetDocument, options); + } +export type ProjectStatsGetQueryHookResult = ReturnType; +export type ProjectStatsGetLazyQueryHookResult = ReturnType; +export type ProjectStatsGetSuspenseQueryHookResult = ReturnType; +export type ProjectStatsGetQueryResult = Apollo.QueryResult; export const CreatorNotificationsSettingsUpdateDocument = gql` - mutation CreatorNotificationsSettingsUpdate($creatorNotificationConfigurationId: BigInt!, $value: String!) { - creatorNotificationConfigurationValueUpdate( - creatorNotificationConfigurationId: $creatorNotificationConfigurationId - value: $value - ) - } -` -export type CreatorNotificationsSettingsUpdateMutationFn = Apollo.MutationFunction< - CreatorNotificationsSettingsUpdateMutation, - CreatorNotificationsSettingsUpdateMutationVariables -> + mutation CreatorNotificationsSettingsUpdate($creatorNotificationConfigurationId: BigInt!, $value: String!) { + creatorNotificationConfigurationValueUpdate( + creatorNotificationConfigurationId: $creatorNotificationConfigurationId + value: $value + ) +} + `; +export type CreatorNotificationsSettingsUpdateMutationFn = Apollo.MutationFunction; /** * __useCreatorNotificationsSettingsUpdateMutation__ @@ -12977,39 +10230,22 @@ export type CreatorNotificationsSettingsUpdateMutationFn = Apollo.MutationFuncti * }, * }); */ -export function useCreatorNotificationsSettingsUpdateMutation( - baseOptions?: Apollo.MutationHookOptions< - CreatorNotificationsSettingsUpdateMutation, - CreatorNotificationsSettingsUpdateMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation< - CreatorNotificationsSettingsUpdateMutation, - CreatorNotificationsSettingsUpdateMutationVariables - >(CreatorNotificationsSettingsUpdateDocument, options) -} -export type CreatorNotificationsSettingsUpdateMutationHookResult = ReturnType< - typeof useCreatorNotificationsSettingsUpdateMutation -> -export type CreatorNotificationsSettingsUpdateMutationResult = - Apollo.MutationResult -export type CreatorNotificationsSettingsUpdateMutationOptions = Apollo.BaseMutationOptions< - CreatorNotificationsSettingsUpdateMutation, - CreatorNotificationsSettingsUpdateMutationVariables -> +export function useCreatorNotificationsSettingsUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CreatorNotificationsSettingsUpdateDocument, options); + } +export type CreatorNotificationsSettingsUpdateMutationHookResult = ReturnType; +export type CreatorNotificationsSettingsUpdateMutationResult = Apollo.MutationResult; +export type CreatorNotificationsSettingsUpdateMutationOptions = Apollo.BaseMutationOptions; export const UserNotificationsSettingsUpdateDocument = gql` - mutation UserNotificationsSettingsUpdate($userNotificationConfigurationId: BigInt!, $value: String!) { - userNotificationConfigurationValueUpdate( - userNotificationConfigurationId: $userNotificationConfigurationId - value: $value - ) - } -` -export type UserNotificationsSettingsUpdateMutationFn = Apollo.MutationFunction< - UserNotificationsSettingsUpdateMutation, - UserNotificationsSettingsUpdateMutationVariables -> + mutation UserNotificationsSettingsUpdate($userNotificationConfigurationId: BigInt!, $value: String!) { + userNotificationConfigurationValueUpdate( + userNotificationConfigurationId: $userNotificationConfigurationId + value: $value + ) +} + `; +export type UserNotificationsSettingsUpdateMutationFn = Apollo.MutationFunction; /** * __useUserNotificationsSettingsUpdateMutation__ @@ -13029,35 +10265,20 @@ export type UserNotificationsSettingsUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useUserNotificationsSettingsUpdateMutation( - baseOptions?: Apollo.MutationHookOptions< - UserNotificationsSettingsUpdateMutation, - UserNotificationsSettingsUpdateMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - UserNotificationsSettingsUpdateDocument, - options, - ) -} -export type UserNotificationsSettingsUpdateMutationHookResult = ReturnType< - typeof useUserNotificationsSettingsUpdateMutation -> -export type UserNotificationsSettingsUpdateMutationResult = - Apollo.MutationResult -export type UserNotificationsSettingsUpdateMutationOptions = Apollo.BaseMutationOptions< - UserNotificationsSettingsUpdateMutation, - UserNotificationsSettingsUpdateMutationVariables -> +export function useUserNotificationsSettingsUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UserNotificationsSettingsUpdateDocument, options); + } +export type UserNotificationsSettingsUpdateMutationHookResult = ReturnType; +export type UserNotificationsSettingsUpdateMutationResult = Apollo.MutationResult; +export type UserNotificationsSettingsUpdateMutationOptions = Apollo.BaseMutationOptions; export const ProfileNotificationsSettingsDocument = gql` - query ProfileNotificationsSettings($userId: BigInt!) { - userNotificationSettingsGet(userId: $userId) { - ...ProfileNotificationsSettings - } + query ProfileNotificationsSettings($userId: BigInt!) { + userNotificationSettingsGet(userId: $userId) { + ...ProfileNotificationsSettings } - ${ProfileNotificationsSettingsFragmentDoc} -` +} + ${ProfileNotificationsSettingsFragmentDoc}`; /** * __useProfileNotificationsSettingsQuery__ @@ -13075,59 +10296,29 @@ export const ProfileNotificationsSettingsDocument = gql` * }, * }); */ -export function useProfileNotificationsSettingsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProfileNotificationsSettingsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProfileNotificationsSettingsDocument, - options, - ) -} -export function useProfileNotificationsSettingsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ProfileNotificationsSettingsQuery, - ProfileNotificationsSettingsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProfileNotificationsSettingsDocument, - options, - ) -} -export function useProfileNotificationsSettingsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProfileNotificationsSettingsQuery, - ProfileNotificationsSettingsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProfileNotificationsSettingsDocument, - options, - ) -} -export type ProfileNotificationsSettingsQueryHookResult = ReturnType -export type ProfileNotificationsSettingsLazyQueryHookResult = ReturnType< - typeof useProfileNotificationsSettingsLazyQuery -> -export type ProfileNotificationsSettingsSuspenseQueryHookResult = ReturnType< - typeof useProfileNotificationsSettingsSuspenseQuery -> -export type ProfileNotificationsSettingsQueryResult = Apollo.QueryResult< - ProfileNotificationsSettingsQuery, - ProfileNotificationsSettingsQueryVariables -> +export function useProfileNotificationsSettingsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProfileNotificationsSettingsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProfileNotificationsSettingsDocument, options); + } +export function useProfileNotificationsSettingsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProfileNotificationsSettingsDocument, options); + } +export function useProfileNotificationsSettingsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProfileNotificationsSettingsDocument, options); + } +export type ProfileNotificationsSettingsQueryHookResult = ReturnType; +export type ProfileNotificationsSettingsLazyQueryHookResult = ReturnType; +export type ProfileNotificationsSettingsSuspenseQueryHookResult = ReturnType; +export type ProfileNotificationsSettingsQueryResult = Apollo.QueryResult; export const UserNotificationsSettingsDocument = gql` - query UserNotificationsSettings($userId: BigInt!) { - userNotificationSettingsGet(userId: $userId) { - ...UserNotificationsSettings - } + query UserNotificationsSettings($userId: BigInt!) { + userNotificationSettingsGet(userId: $userId) { + ...UserNotificationsSettings } - ${UserNotificationsSettingsFragmentDoc} -` +} + ${UserNotificationsSettingsFragmentDoc}`; /** * __useUserNotificationsSettingsQuery__ @@ -13145,54 +10336,29 @@ export const UserNotificationsSettingsDocument = gql` * }, * }); */ -export function useUserNotificationsSettingsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: UserNotificationsSettingsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - UserNotificationsSettingsDocument, - options, - ) -} -export function useUserNotificationsSettingsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - UserNotificationsSettingsDocument, - options, - ) -} -export function useUserNotificationsSettingsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - UserNotificationsSettingsQuery, - UserNotificationsSettingsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - UserNotificationsSettingsDocument, - options, - ) -} -export type UserNotificationsSettingsQueryHookResult = ReturnType -export type UserNotificationsSettingsLazyQueryHookResult = ReturnType -export type UserNotificationsSettingsSuspenseQueryHookResult = ReturnType< - typeof useUserNotificationsSettingsSuspenseQuery -> -export type UserNotificationsSettingsQueryResult = Apollo.QueryResult< - UserNotificationsSettingsQuery, - UserNotificationsSettingsQueryVariables -> +export function useUserNotificationsSettingsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: UserNotificationsSettingsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(UserNotificationsSettingsDocument, options); + } +export function useUserNotificationsSettingsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(UserNotificationsSettingsDocument, options); + } +export function useUserNotificationsSettingsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(UserNotificationsSettingsDocument, options); + } +export type UserNotificationsSettingsQueryHookResult = ReturnType; +export type UserNotificationsSettingsLazyQueryHookResult = ReturnType; +export type UserNotificationsSettingsSuspenseQueryHookResult = ReturnType; +export type UserNotificationsSettingsQueryResult = Apollo.QueryResult; export const ProjectNotificationSettingsDocument = gql` - query ProjectNotificationSettings($projectId: BigInt!) { - projectNotificationSettingsGet(projectId: $projectId) { - ...ProjectNotificationSettings - } + query ProjectNotificationSettings($projectId: BigInt!) { + projectNotificationSettingsGet(projectId: $projectId) { + ...ProjectNotificationSettings } - ${ProjectNotificationSettingsFragmentDoc} -` +} + ${ProjectNotificationSettingsFragmentDoc}`; /** * __useProjectNotificationSettingsQuery__ @@ -13210,57 +10376,29 @@ export const ProjectNotificationSettingsDocument = gql` * }, * }); */ -export function useProjectNotificationSettingsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectNotificationSettingsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectNotificationSettingsDocument, - options, - ) -} -export function useProjectNotificationSettingsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ProjectNotificationSettingsQuery, - ProjectNotificationSettingsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectNotificationSettingsDocument, - options, - ) -} -export function useProjectNotificationSettingsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProjectNotificationSettingsQuery, - ProjectNotificationSettingsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectNotificationSettingsDocument, - options, - ) -} -export type ProjectNotificationSettingsQueryHookResult = ReturnType -export type ProjectNotificationSettingsLazyQueryHookResult = ReturnType -export type ProjectNotificationSettingsSuspenseQueryHookResult = ReturnType< - typeof useProjectNotificationSettingsSuspenseQuery -> -export type ProjectNotificationSettingsQueryResult = Apollo.QueryResult< - ProjectNotificationSettingsQuery, - ProjectNotificationSettingsQueryVariables -> +export function useProjectNotificationSettingsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectNotificationSettingsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectNotificationSettingsDocument, options); + } +export function useProjectNotificationSettingsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectNotificationSettingsDocument, options); + } +export function useProjectNotificationSettingsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectNotificationSettingsDocument, options); + } +export type ProjectNotificationSettingsQueryHookResult = ReturnType; +export type ProjectNotificationSettingsLazyQueryHookResult = ReturnType; +export type ProjectNotificationSettingsSuspenseQueryHookResult = ReturnType; +export type ProjectNotificationSettingsQueryResult = Apollo.QueryResult; export const UserForProfilePageDocument = gql` - query UserForProfilePage($where: UserGetInput!) { - user(where: $where) { - ...UserForProfilePage - } + query UserForProfilePage($where: UserGetInput!) { + user(where: $where) { + ...UserForProfilePage } - ${UserForProfilePageFragmentDoc} -` +} + ${UserForProfilePageFragmentDoc}`; /** * __useUserForProfilePageQuery__ @@ -13278,50 +10416,33 @@ export const UserForProfilePageDocument = gql` * }, * }); */ -export function useUserForProfilePageQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: UserForProfilePageQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(UserForProfilePageDocument, options) -} -export function useUserForProfilePageLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - UserForProfilePageDocument, - options, - ) -} -export function useUserForProfilePageSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - UserForProfilePageDocument, - options, - ) -} -export type UserForProfilePageQueryHookResult = ReturnType -export type UserForProfilePageLazyQueryHookResult = ReturnType -export type UserForProfilePageSuspenseQueryHookResult = ReturnType -export type UserForProfilePageQueryResult = Apollo.QueryResult< - UserForProfilePageQuery, - UserForProfilePageQueryVariables -> -export const UserProfileProjectsDocument = gql` - query UserProfileProjects($where: UserGetInput!) { - user(where: $where) { - ownerOf { - project { - ...ProjectForProfilePage +export function useUserForProfilePageQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: UserForProfilePageQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(UserForProfilePageDocument, options); + } +export function useUserForProfilePageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(UserForProfilePageDocument, options); + } +export function useUserForProfilePageSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(UserForProfilePageDocument, options); } +export type UserForProfilePageQueryHookResult = ReturnType; +export type UserForProfilePageLazyQueryHookResult = ReturnType; +export type UserForProfilePageSuspenseQueryHookResult = ReturnType; +export type UserForProfilePageQueryResult = Apollo.QueryResult; +export const UserProfileProjectsDocument = gql` + query UserProfileProjects($where: UserGetInput!) { + user(where: $where) { + ownerOf { + project { + ...ProjectForProfilePage } } } - ${ProjectForProfilePageFragmentDoc} -` +} + ${ProjectForProfilePageFragmentDoc}`; /** * __useUserProfileProjectsQuery__ @@ -13339,51 +10460,31 @@ export const UserProfileProjectsDocument = gql` * }, * }); */ -export function useUserProfileProjectsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: UserProfileProjectsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - UserProfileProjectsDocument, - options, - ) -} -export function useUserProfileProjectsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - UserProfileProjectsDocument, - options, - ) -} -export function useUserProfileProjectsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - UserProfileProjectsDocument, - options, - ) -} -export type UserProfileProjectsQueryHookResult = ReturnType -export type UserProfileProjectsLazyQueryHookResult = ReturnType -export type UserProfileProjectsSuspenseQueryHookResult = ReturnType -export type UserProfileProjectsQueryResult = Apollo.QueryResult< - UserProfileProjectsQuery, - UserProfileProjectsQueryVariables -> -export const UserFollowedProjectsDocument = gql` - query UserFollowedProjects($where: UserGetInput!) { - user(where: $where) { - projectFollows { - ...ProjectForProfilePage +export function useUserProfileProjectsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: UserProfileProjectsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(UserProfileProjectsDocument, options); } +export function useUserProfileProjectsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(UserProfileProjectsDocument, options); + } +export function useUserProfileProjectsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(UserProfileProjectsDocument, options); + } +export type UserProfileProjectsQueryHookResult = ReturnType; +export type UserProfileProjectsLazyQueryHookResult = ReturnType; +export type UserProfileProjectsSuspenseQueryHookResult = ReturnType; +export type UserProfileProjectsQueryResult = Apollo.QueryResult; +export const UserFollowedProjectsDocument = gql` + query UserFollowedProjects($where: UserGetInput!) { + user(where: $where) { + projectFollows { + ...ProjectForProfilePage } } - ${ProjectForProfilePageFragmentDoc} -` +} + ${ProjectForProfilePageFragmentDoc}`; /** * __useUserFollowedProjectsQuery__ @@ -13401,51 +10502,31 @@ export const UserFollowedProjectsDocument = gql` * }, * }); */ -export function useUserFollowedProjectsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: UserFollowedProjectsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - UserFollowedProjectsDocument, - options, - ) -} -export function useUserFollowedProjectsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - UserFollowedProjectsDocument, - options, - ) -} -export function useUserFollowedProjectsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - UserFollowedProjectsDocument, - options, - ) -} -export type UserFollowedProjectsQueryHookResult = ReturnType -export type UserFollowedProjectsLazyQueryHookResult = ReturnType -export type UserFollowedProjectsSuspenseQueryHookResult = ReturnType -export type UserFollowedProjectsQueryResult = Apollo.QueryResult< - UserFollowedProjectsQuery, - UserFollowedProjectsQueryVariables -> -export const UserProfileContributionsDocument = gql` - query UserProfileContributions($where: UserGetInput!) { - user(where: $where) { - contributions { - ...UserProjectContributions +export function useUserFollowedProjectsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: UserFollowedProjectsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(UserFollowedProjectsDocument, options); } +export function useUserFollowedProjectsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(UserFollowedProjectsDocument, options); + } +export function useUserFollowedProjectsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(UserFollowedProjectsDocument, options); + } +export type UserFollowedProjectsQueryHookResult = ReturnType; +export type UserFollowedProjectsLazyQueryHookResult = ReturnType; +export type UserFollowedProjectsSuspenseQueryHookResult = ReturnType; +export type UserFollowedProjectsQueryResult = Apollo.QueryResult; +export const UserProfileContributionsDocument = gql` + query UserProfileContributions($where: UserGetInput!) { + user(where: $where) { + contributions { + ...UserProjectContributions } } - ${UserProjectContributionsFragmentDoc} -` +} + ${UserProjectContributionsFragmentDoc}`; /** * __useUserProfileContributionsQuery__ @@ -13463,53 +10544,31 @@ export const UserProfileContributionsDocument = gql` * }, * }); */ -export function useUserProfileContributionsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: UserProfileContributionsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - UserProfileContributionsDocument, - options, - ) -} -export function useUserProfileContributionsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - UserProfileContributionsDocument, - options, - ) -} -export function useUserProfileContributionsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - UserProfileContributionsDocument, - options, - ) -} -export type UserProfileContributionsQueryHookResult = ReturnType -export type UserProfileContributionsLazyQueryHookResult = ReturnType -export type UserProfileContributionsSuspenseQueryHookResult = ReturnType< - typeof useUserProfileContributionsSuspenseQuery -> -export type UserProfileContributionsQueryResult = Apollo.QueryResult< - UserProfileContributionsQuery, - UserProfileContributionsQueryVariables -> -export const UserProfileOrdersDocument = gql` - query UserProfileOrders($where: UserGetInput!) { - user(where: $where) { - orders { - ...ProfileOrder +export function useUserProfileContributionsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: UserProfileContributionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(UserProfileContributionsDocument, options); } +export function useUserProfileContributionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(UserProfileContributionsDocument, options); + } +export function useUserProfileContributionsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(UserProfileContributionsDocument, options); + } +export type UserProfileContributionsQueryHookResult = ReturnType; +export type UserProfileContributionsLazyQueryHookResult = ReturnType; +export type UserProfileContributionsSuspenseQueryHookResult = ReturnType; +export type UserProfileContributionsQueryResult = Apollo.QueryResult; +export const UserProfileOrdersDocument = gql` + query UserProfileOrders($where: UserGetInput!) { + user(where: $where) { + orders { + ...ProfileOrder } } - ${ProfileOrderFragmentDoc} -` +} + ${ProfileOrderFragmentDoc}`; /** * __useUserProfileOrdersQuery__ @@ -13527,47 +10586,30 @@ export const UserProfileOrdersDocument = gql` * }, * }); */ -export function useUserProfileOrdersQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: UserProfileOrdersQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(UserProfileOrdersDocument, options) -} -export function useUserProfileOrdersLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - UserProfileOrdersDocument, - options, - ) -} -export function useUserProfileOrdersSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - UserProfileOrdersDocument, - options, - ) -} -export type UserProfileOrdersQueryHookResult = ReturnType -export type UserProfileOrdersLazyQueryHookResult = ReturnType -export type UserProfileOrdersSuspenseQueryHookResult = ReturnType -export type UserProfileOrdersQueryResult = Apollo.QueryResult +export function useUserProfileOrdersQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: UserProfileOrdersQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(UserProfileOrdersDocument, options); + } +export function useUserProfileOrdersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(UserProfileOrdersDocument, options); + } +export function useUserProfileOrdersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(UserProfileOrdersDocument, options); + } +export type UserProfileOrdersQueryHookResult = ReturnType; +export type UserProfileOrdersLazyQueryHookResult = ReturnType; +export type UserProfileOrdersSuspenseQueryHookResult = ReturnType; +export type UserProfileOrdersQueryResult = Apollo.QueryResult; export const AffiliateLinkCreateDocument = gql` - mutation AffiliateLinkCreate($input: AffiliateLinkCreateInput!) { - affiliateLinkCreate(input: $input) { - ...ProjectAffiliateLink - } + mutation AffiliateLinkCreate($input: AffiliateLinkCreateInput!) { + affiliateLinkCreate(input: $input) { + ...ProjectAffiliateLink } - ${ProjectAffiliateLinkFragmentDoc} -` -export type AffiliateLinkCreateMutationFn = Apollo.MutationFunction< - AffiliateLinkCreateMutation, - AffiliateLinkCreateMutationVariables -> +} + ${ProjectAffiliateLinkFragmentDoc}`; +export type AffiliateLinkCreateMutationFn = Apollo.MutationFunction; /** * __useAffiliateLinkCreateMutation__ @@ -13586,33 +10628,21 @@ export type AffiliateLinkCreateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useAffiliateLinkCreateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - AffiliateLinkCreateDocument, - options, - ) -} -export type AffiliateLinkCreateMutationHookResult = ReturnType -export type AffiliateLinkCreateMutationResult = Apollo.MutationResult -export type AffiliateLinkCreateMutationOptions = Apollo.BaseMutationOptions< - AffiliateLinkCreateMutation, - AffiliateLinkCreateMutationVariables -> +export function useAffiliateLinkCreateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(AffiliateLinkCreateDocument, options); + } +export type AffiliateLinkCreateMutationHookResult = ReturnType; +export type AffiliateLinkCreateMutationResult = Apollo.MutationResult; +export type AffiliateLinkCreateMutationOptions = Apollo.BaseMutationOptions; export const AffiliateLinkLabelUpdateDocument = gql` - mutation AffiliateLinkLabelUpdate($affiliateLinkId: BigInt!, $label: String!) { - affiliateLinkLabelUpdate(affiliateLinkId: $affiliateLinkId, label: $label) { - ...ProjectAffiliateLink - } + mutation AffiliateLinkLabelUpdate($affiliateLinkId: BigInt!, $label: String!) { + affiliateLinkLabelUpdate(affiliateLinkId: $affiliateLinkId, label: $label) { + ...ProjectAffiliateLink } - ${ProjectAffiliateLinkFragmentDoc} -` -export type AffiliateLinkLabelUpdateMutationFn = Apollo.MutationFunction< - AffiliateLinkLabelUpdateMutation, - AffiliateLinkLabelUpdateMutationVariables -> +} + ${ProjectAffiliateLinkFragmentDoc}`; +export type AffiliateLinkLabelUpdateMutationFn = Apollo.MutationFunction; /** * __useAffiliateLinkLabelUpdateMutation__ @@ -13632,32 +10662,21 @@ export type AffiliateLinkLabelUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useAffiliateLinkLabelUpdateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - AffiliateLinkLabelUpdateDocument, - options, - ) -} -export type AffiliateLinkLabelUpdateMutationHookResult = ReturnType -export type AffiliateLinkLabelUpdateMutationResult = Apollo.MutationResult -export type AffiliateLinkLabelUpdateMutationOptions = Apollo.BaseMutationOptions< - AffiliateLinkLabelUpdateMutation, - AffiliateLinkLabelUpdateMutationVariables -> +export function useAffiliateLinkLabelUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(AffiliateLinkLabelUpdateDocument, options); + } +export type AffiliateLinkLabelUpdateMutationHookResult = ReturnType; +export type AffiliateLinkLabelUpdateMutationResult = Apollo.MutationResult; +export type AffiliateLinkLabelUpdateMutationOptions = Apollo.BaseMutationOptions; export const AffiliateLinkDisableDocument = gql` - mutation AffiliateLinkDisable($affiliateLinkId: BigInt!) { - affiliateLinkDisable(affiliateLinkId: $affiliateLinkId) { - id - } + mutation AffiliateLinkDisable($affiliateLinkId: BigInt!) { + affiliateLinkDisable(affiliateLinkId: $affiliateLinkId) { + id } -` -export type AffiliateLinkDisableMutationFn = Apollo.MutationFunction< - AffiliateLinkDisableMutation, - AffiliateLinkDisableMutationVariables -> +} + `; +export type AffiliateLinkDisableMutationFn = Apollo.MutationFunction; /** * __useAffiliateLinkDisableMutation__ @@ -13676,30 +10695,22 @@ export type AffiliateLinkDisableMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useAffiliateLinkDisableMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - AffiliateLinkDisableDocument, - options, - ) -} -export type AffiliateLinkDisableMutationHookResult = ReturnType -export type AffiliateLinkDisableMutationResult = Apollo.MutationResult -export type AffiliateLinkDisableMutationOptions = Apollo.BaseMutationOptions< - AffiliateLinkDisableMutation, - AffiliateLinkDisableMutationVariables -> +export function useAffiliateLinkDisableMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(AffiliateLinkDisableDocument, options); + } +export type AffiliateLinkDisableMutationHookResult = ReturnType; +export type AffiliateLinkDisableMutationResult = Apollo.MutationResult; +export type AffiliateLinkDisableMutationOptions = Apollo.BaseMutationOptions; export const DeleteEntryDocument = gql` - mutation DeleteEntry($deleteEntryId: BigInt!) { - deleteEntry(id: $deleteEntryId) { - id - title - } + mutation DeleteEntry($deleteEntryId: BigInt!) { + deleteEntry(id: $deleteEntryId) { + id + title } -` -export type DeleteEntryMutationFn = Apollo.MutationFunction +} + `; +export type DeleteEntryMutationFn = Apollo.MutationFunction; /** * __useDeleteEntryMutation__ @@ -13718,24 +10729,21 @@ export type DeleteEntryMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(DeleteEntryDocument, options) -} -export type DeleteEntryMutationHookResult = ReturnType -export type DeleteEntryMutationResult = Apollo.MutationResult -export type DeleteEntryMutationOptions = Apollo.BaseMutationOptions +export function useDeleteEntryMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(DeleteEntryDocument, options); + } +export type DeleteEntryMutationHookResult = ReturnType; +export type DeleteEntryMutationResult = Apollo.MutationResult; +export type DeleteEntryMutationOptions = Apollo.BaseMutationOptions; export const CreateEntryDocument = gql` - mutation CreateEntry($input: CreateEntryInput!) { - createEntry(input: $input) { - ...ProjectEntryView - } + mutation CreateEntry($input: CreateEntryInput!) { + createEntry(input: $input) { + ...ProjectEntryView } - ${ProjectEntryViewFragmentDoc} -` -export type CreateEntryMutationFn = Apollo.MutationFunction +} + ${ProjectEntryViewFragmentDoc}`; +export type CreateEntryMutationFn = Apollo.MutationFunction; /** * __useCreateEntryMutation__ @@ -13754,24 +10762,21 @@ export type CreateEntryMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(CreateEntryDocument, options) -} -export type CreateEntryMutationHookResult = ReturnType -export type CreateEntryMutationResult = Apollo.MutationResult -export type CreateEntryMutationOptions = Apollo.BaseMutationOptions +export function useCreateEntryMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CreateEntryDocument, options); + } +export type CreateEntryMutationHookResult = ReturnType; +export type CreateEntryMutationResult = Apollo.MutationResult; +export type CreateEntryMutationOptions = Apollo.BaseMutationOptions; export const UpdateEntryDocument = gql` - mutation UpdateEntry($input: UpdateEntryInput!) { - updateEntry(input: $input) { - ...ProjectEntryView - } + mutation UpdateEntry($input: UpdateEntryInput!) { + updateEntry(input: $input) { + ...ProjectEntryView } - ${ProjectEntryViewFragmentDoc} -` -export type UpdateEntryMutationFn = Apollo.MutationFunction +} + ${ProjectEntryViewFragmentDoc}`; +export type UpdateEntryMutationFn = Apollo.MutationFunction; /** * __useUpdateEntryMutation__ @@ -13790,24 +10795,21 @@ export type UpdateEntryMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UpdateEntryDocument, options) -} -export type UpdateEntryMutationHookResult = ReturnType -export type UpdateEntryMutationResult = Apollo.MutationResult -export type UpdateEntryMutationOptions = Apollo.BaseMutationOptions +export function useUpdateEntryMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UpdateEntryDocument, options); + } +export type UpdateEntryMutationHookResult = ReturnType; +export type UpdateEntryMutationResult = Apollo.MutationResult; +export type UpdateEntryMutationOptions = Apollo.BaseMutationOptions; export const PublishEntryDocument = gql` - mutation PublishEntry($id: BigInt!) { - publishEntry(id: $id) { - ...ProjectEntryView - } + mutation PublishEntry($id: BigInt!) { + publishEntry(id: $id) { + ...ProjectEntryView } - ${ProjectEntryViewFragmentDoc} -` -export type PublishEntryMutationFn = Apollo.MutationFunction +} + ${ProjectEntryViewFragmentDoc}`; +export type PublishEntryMutationFn = Apollo.MutationFunction; /** * __usePublishEntryMutation__ @@ -13826,32 +10828,26 @@ export type PublishEntryMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(PublishEntryDocument, options) -} -export type PublishEntryMutationHookResult = ReturnType -export type PublishEntryMutationResult = Apollo.MutationResult -export type PublishEntryMutationOptions = Apollo.BaseMutationOptions< - PublishEntryMutation, - PublishEntryMutationVariables -> -export const FundDocument = gql` - mutation Fund($input: FundingInput!) { - fund(input: $input) { - fundingTx { - ...FundingTx - } - swap { - json +export function usePublishEntryMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(PublishEntryDocument, options); } +export type PublishEntryMutationHookResult = ReturnType; +export type PublishEntryMutationResult = Apollo.MutationResult; +export type PublishEntryMutationOptions = Apollo.BaseMutationOptions; +export const FundDocument = gql` + mutation Fund($input: FundingInput!) { + fund(input: $input) { + fundingTx { + ...FundingTx + } + swap { + json } } - ${FundingTxFragmentDoc} -` -export type FundMutationFn = Apollo.MutationFunction +} + ${FundingTxFragmentDoc}`; +export type FundMutationFn = Apollo.MutationFunction; /** * __useFundMutation__ @@ -13871,24 +10867,20 @@ export type FundMutationFn = Apollo.MutationFunction) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(FundDocument, options) -} -export type FundMutationHookResult = ReturnType -export type FundMutationResult = Apollo.MutationResult -export type FundMutationOptions = Apollo.BaseMutationOptions + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(FundDocument, options); + } +export type FundMutationHookResult = ReturnType; +export type FundMutationResult = Apollo.MutationResult; +export type FundMutationOptions = Apollo.BaseMutationOptions; export const RefreshFundingInvoiceDocument = gql` - mutation RefreshFundingInvoice($fundingTxID: BigInt!) { - fundingInvoiceRefresh(fundingTxId: $fundingTxID) { - ...FundingTxWithInvoiceStatus - } + mutation RefreshFundingInvoice($fundingTxID: BigInt!) { + fundingInvoiceRefresh(fundingTxId: $fundingTxID) { + ...FundingTxWithInvoiceStatus } - ${FundingTxWithInvoiceStatusFragmentDoc} -` -export type RefreshFundingInvoiceMutationFn = Apollo.MutationFunction< - RefreshFundingInvoiceMutation, - RefreshFundingInvoiceMutationVariables -> +} + ${FundingTxWithInvoiceStatusFragmentDoc}`; +export type RefreshFundingInvoiceMutationFn = Apollo.MutationFunction; /** * __useRefreshFundingInvoiceMutation__ @@ -13907,33 +10899,22 @@ export type RefreshFundingInvoiceMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useRefreshFundingInvoiceMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - RefreshFundingInvoiceDocument, - options, - ) -} -export type RefreshFundingInvoiceMutationHookResult = ReturnType -export type RefreshFundingInvoiceMutationResult = Apollo.MutationResult -export type RefreshFundingInvoiceMutationOptions = Apollo.BaseMutationOptions< - RefreshFundingInvoiceMutation, - RefreshFundingInvoiceMutationVariables -> +export function useRefreshFundingInvoiceMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(RefreshFundingInvoiceDocument, options); + } +export type RefreshFundingInvoiceMutationHookResult = ReturnType; +export type RefreshFundingInvoiceMutationResult = Apollo.MutationResult; +export type RefreshFundingInvoiceMutationOptions = Apollo.BaseMutationOptions; export const FundingInvoiceCancelDocument = gql` - mutation FundingInvoiceCancel($invoiceId: String!) { - fundingInvoiceCancel(invoiceId: $invoiceId) { - id - success - } + mutation FundingInvoiceCancel($invoiceId: String!) { + fundingInvoiceCancel(invoiceId: $invoiceId) { + id + success } -` -export type FundingInvoiceCancelMutationFn = Apollo.MutationFunction< - FundingInvoiceCancelMutation, - FundingInvoiceCancelMutationVariables -> +} + `; +export type FundingInvoiceCancelMutationFn = Apollo.MutationFunction; /** * __useFundingInvoiceCancelMutation__ @@ -13952,33 +10933,22 @@ export type FundingInvoiceCancelMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useFundingInvoiceCancelMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - FundingInvoiceCancelDocument, - options, - ) -} -export type FundingInvoiceCancelMutationHookResult = ReturnType -export type FundingInvoiceCancelMutationResult = Apollo.MutationResult -export type FundingInvoiceCancelMutationOptions = Apollo.BaseMutationOptions< - FundingInvoiceCancelMutation, - FundingInvoiceCancelMutationVariables -> +export function useFundingInvoiceCancelMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(FundingInvoiceCancelDocument, options); + } +export type FundingInvoiceCancelMutationHookResult = ReturnType; +export type FundingInvoiceCancelMutationResult = Apollo.MutationResult; +export type FundingInvoiceCancelMutationOptions = Apollo.BaseMutationOptions; export const FundingTxEmailUpdateDocument = gql` - mutation FundingTxEmailUpdate($input: FundingTxEmailUpdateInput) { - fundingTxEmailUpdate(input: $input) { - id - email - } + mutation FundingTxEmailUpdate($input: FundingTxEmailUpdateInput) { + fundingTxEmailUpdate(input: $input) { + id + email } -` -export type FundingTxEmailUpdateMutationFn = Apollo.MutationFunction< - FundingTxEmailUpdateMutation, - FundingTxEmailUpdateMutationVariables -> +} + `; +export type FundingTxEmailUpdateMutationFn = Apollo.MutationFunction; /** * __useFundingTxEmailUpdateMutation__ @@ -13997,33 +10967,21 @@ export type FundingTxEmailUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useFundingTxEmailUpdateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - FundingTxEmailUpdateDocument, - options, - ) -} -export type FundingTxEmailUpdateMutationHookResult = ReturnType -export type FundingTxEmailUpdateMutationResult = Apollo.MutationResult -export type FundingTxEmailUpdateMutationOptions = Apollo.BaseMutationOptions< - FundingTxEmailUpdateMutation, - FundingTxEmailUpdateMutationVariables -> +export function useFundingTxEmailUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(FundingTxEmailUpdateDocument, options); + } +export type FundingTxEmailUpdateMutationHookResult = ReturnType; +export type FundingTxEmailUpdateMutationResult = Apollo.MutationResult; +export type FundingTxEmailUpdateMutationOptions = Apollo.BaseMutationOptions; export const ProjectGoalOrderingUpdateDocument = gql` - mutation ProjectGoalOrderingUpdate($input: ProjectGoalOrderingUpdateInput!) { - projectGoalOrderingUpdate(input: $input) { - ...ProjectGoals - } + mutation ProjectGoalOrderingUpdate($input: ProjectGoalOrderingUpdateInput!) { + projectGoalOrderingUpdate(input: $input) { + ...ProjectGoals } - ${ProjectGoalsFragmentDoc} -` -export type ProjectGoalOrderingUpdateMutationFn = Apollo.MutationFunction< - ProjectGoalOrderingUpdateMutation, - ProjectGoalOrderingUpdateMutationVariables -> +} + ${ProjectGoalsFragmentDoc}`; +export type ProjectGoalOrderingUpdateMutationFn = Apollo.MutationFunction; /** * __useProjectGoalOrderingUpdateMutation__ @@ -14042,36 +11000,21 @@ export type ProjectGoalOrderingUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectGoalOrderingUpdateMutation( - baseOptions?: Apollo.MutationHookOptions< - ProjectGoalOrderingUpdateMutation, - ProjectGoalOrderingUpdateMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectGoalOrderingUpdateDocument, - options, - ) -} -export type ProjectGoalOrderingUpdateMutationHookResult = ReturnType -export type ProjectGoalOrderingUpdateMutationResult = Apollo.MutationResult -export type ProjectGoalOrderingUpdateMutationOptions = Apollo.BaseMutationOptions< - ProjectGoalOrderingUpdateMutation, - ProjectGoalOrderingUpdateMutationVariables -> +export function useProjectGoalOrderingUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectGoalOrderingUpdateDocument, options); + } +export type ProjectGoalOrderingUpdateMutationHookResult = ReturnType; +export type ProjectGoalOrderingUpdateMutationResult = Apollo.MutationResult; +export type ProjectGoalOrderingUpdateMutationOptions = Apollo.BaseMutationOptions; export const ProjectGoalCreateDocument = gql` - mutation ProjectGoalCreate($input: ProjectGoalCreateInput!) { - projectGoalCreate(input: $input) { - ...ProjectGoals - } + mutation ProjectGoalCreate($input: ProjectGoalCreateInput!) { + projectGoalCreate(input: $input) { + ...ProjectGoals } - ${ProjectGoalsFragmentDoc} -` -export type ProjectGoalCreateMutationFn = Apollo.MutationFunction< - ProjectGoalCreateMutation, - ProjectGoalCreateMutationVariables -> +} + ${ProjectGoalsFragmentDoc}`; +export type ProjectGoalCreateMutationFn = Apollo.MutationFunction; /** * __useProjectGoalCreateMutation__ @@ -14090,33 +11033,21 @@ export type ProjectGoalCreateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectGoalCreateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectGoalCreateDocument, - options, - ) -} -export type ProjectGoalCreateMutationHookResult = ReturnType -export type ProjectGoalCreateMutationResult = Apollo.MutationResult -export type ProjectGoalCreateMutationOptions = Apollo.BaseMutationOptions< - ProjectGoalCreateMutation, - ProjectGoalCreateMutationVariables -> +export function useProjectGoalCreateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectGoalCreateDocument, options); + } +export type ProjectGoalCreateMutationHookResult = ReturnType; +export type ProjectGoalCreateMutationResult = Apollo.MutationResult; +export type ProjectGoalCreateMutationOptions = Apollo.BaseMutationOptions; export const ProjectGoalUpdateDocument = gql` - mutation ProjectGoalUpdate($input: ProjectGoalUpdateInput!) { - projectGoalUpdate(input: $input) { - ...ProjectGoals - } + mutation ProjectGoalUpdate($input: ProjectGoalUpdateInput!) { + projectGoalUpdate(input: $input) { + ...ProjectGoals } - ${ProjectGoalsFragmentDoc} -` -export type ProjectGoalUpdateMutationFn = Apollo.MutationFunction< - ProjectGoalUpdateMutation, - ProjectGoalUpdateMutationVariables -> +} + ${ProjectGoalsFragmentDoc}`; +export type ProjectGoalUpdateMutationFn = Apollo.MutationFunction; /** * __useProjectGoalUpdateMutation__ @@ -14135,32 +11066,21 @@ export type ProjectGoalUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectGoalUpdateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectGoalUpdateDocument, - options, - ) -} -export type ProjectGoalUpdateMutationHookResult = ReturnType -export type ProjectGoalUpdateMutationResult = Apollo.MutationResult -export type ProjectGoalUpdateMutationOptions = Apollo.BaseMutationOptions< - ProjectGoalUpdateMutation, - ProjectGoalUpdateMutationVariables -> +export function useProjectGoalUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectGoalUpdateDocument, options); + } +export type ProjectGoalUpdateMutationHookResult = ReturnType; +export type ProjectGoalUpdateMutationResult = Apollo.MutationResult; +export type ProjectGoalUpdateMutationOptions = Apollo.BaseMutationOptions; export const ProjectGoalDeleteDocument = gql` - mutation ProjectGoalDelete($projectGoalId: BigInt!) { - projectGoalDelete(projectGoalId: $projectGoalId) { - success - } + mutation ProjectGoalDelete($projectGoalId: BigInt!) { + projectGoalDelete(projectGoalId: $projectGoalId) { + success } -` -export type ProjectGoalDeleteMutationFn = Apollo.MutationFunction< - ProjectGoalDeleteMutation, - ProjectGoalDeleteMutationVariables -> +} + `; +export type ProjectGoalDeleteMutationFn = Apollo.MutationFunction; /** * __useProjectGoalDeleteMutation__ @@ -14179,33 +11099,21 @@ export type ProjectGoalDeleteMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectGoalDeleteMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectGoalDeleteDocument, - options, - ) -} -export type ProjectGoalDeleteMutationHookResult = ReturnType -export type ProjectGoalDeleteMutationResult = Apollo.MutationResult -export type ProjectGoalDeleteMutationOptions = Apollo.BaseMutationOptions< - ProjectGoalDeleteMutation, - ProjectGoalDeleteMutationVariables -> +export function useProjectGoalDeleteMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectGoalDeleteDocument, options); + } +export type ProjectGoalDeleteMutationHookResult = ReturnType; +export type ProjectGoalDeleteMutationResult = Apollo.MutationResult; +export type ProjectGoalDeleteMutationOptions = Apollo.BaseMutationOptions; export const ProjectRewardCurrencyUpdateDocument = gql` - mutation ProjectRewardCurrencyUpdate($input: ProjectRewardCurrencyUpdate!) { - projectRewardCurrencyUpdate(input: $input) { - ...ProjectReward - } + mutation ProjectRewardCurrencyUpdate($input: ProjectRewardCurrencyUpdate!) { + projectRewardCurrencyUpdate(input: $input) { + ...ProjectReward } - ${ProjectRewardFragmentDoc} -` -export type ProjectRewardCurrencyUpdateMutationFn = Apollo.MutationFunction< - ProjectRewardCurrencyUpdateMutation, - ProjectRewardCurrencyUpdateMutationVariables -> +} + ${ProjectRewardFragmentDoc}`; +export type ProjectRewardCurrencyUpdateMutationFn = Apollo.MutationFunction; /** * __useProjectRewardCurrencyUpdateMutation__ @@ -14224,33 +11132,21 @@ export type ProjectRewardCurrencyUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectRewardCurrencyUpdateMutation( - baseOptions?: Apollo.MutationHookOptions< - ProjectRewardCurrencyUpdateMutation, - ProjectRewardCurrencyUpdateMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectRewardCurrencyUpdateDocument, - options, - ) -} -export type ProjectRewardCurrencyUpdateMutationHookResult = ReturnType -export type ProjectRewardCurrencyUpdateMutationResult = Apollo.MutationResult -export type ProjectRewardCurrencyUpdateMutationOptions = Apollo.BaseMutationOptions< - ProjectRewardCurrencyUpdateMutation, - ProjectRewardCurrencyUpdateMutationVariables -> +export function useProjectRewardCurrencyUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectRewardCurrencyUpdateDocument, options); + } +export type ProjectRewardCurrencyUpdateMutationHookResult = ReturnType; +export type ProjectRewardCurrencyUpdateMutationResult = Apollo.MutationResult; +export type ProjectRewardCurrencyUpdateMutationOptions = Apollo.BaseMutationOptions; export const CreateProjectDocument = gql` - mutation CreateProject($input: CreateProjectInput!) { - createProject(input: $input) { - ...ProjectPageBody - } + mutation CreateProject($input: CreateProjectInput!) { + createProject(input: $input) { + ...ProjectPageBody } - ${ProjectPageBodyFragmentDoc} -` -export type CreateProjectMutationFn = Apollo.MutationFunction +} + ${ProjectPageBodyFragmentDoc}`; +export type CreateProjectMutationFn = Apollo.MutationFunction; /** * __useCreateProjectMutation__ @@ -14269,27 +11165,21 @@ export type CreateProjectMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(CreateProjectDocument, options) -} -export type CreateProjectMutationHookResult = ReturnType -export type CreateProjectMutationResult = Apollo.MutationResult -export type CreateProjectMutationOptions = Apollo.BaseMutationOptions< - CreateProjectMutation, - CreateProjectMutationVariables -> +export function useCreateProjectMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CreateProjectDocument, options); + } +export type CreateProjectMutationHookResult = ReturnType; +export type CreateProjectMutationResult = Apollo.MutationResult; +export type CreateProjectMutationOptions = Apollo.BaseMutationOptions; export const UpdateProjectDocument = gql` - mutation UpdateProject($input: UpdateProjectInput!) { - updateProject(input: $input) { - ...ProjectUpdate - } + mutation UpdateProject($input: UpdateProjectInput!) { + updateProject(input: $input) { + ...ProjectUpdate } - ${ProjectUpdateFragmentDoc} -` -export type UpdateProjectMutationFn = Apollo.MutationFunction +} + ${ProjectUpdateFragmentDoc}`; +export type UpdateProjectMutationFn = Apollo.MutationFunction; /** * __useUpdateProjectMutation__ @@ -14308,30 +11198,22 @@ export type UpdateProjectMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UpdateProjectDocument, options) -} -export type UpdateProjectMutationHookResult = ReturnType -export type UpdateProjectMutationResult = Apollo.MutationResult -export type UpdateProjectMutationOptions = Apollo.BaseMutationOptions< - UpdateProjectMutation, - UpdateProjectMutationVariables -> +export function useUpdateProjectMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UpdateProjectDocument, options); + } +export type UpdateProjectMutationHookResult = ReturnType; +export type UpdateProjectMutationResult = Apollo.MutationResult; +export type UpdateProjectMutationOptions = Apollo.BaseMutationOptions; export const ProjectStatusUpdateDocument = gql` - mutation ProjectStatusUpdate($input: ProjectStatusUpdate!) { - projectStatusUpdate(input: $input) { - id - status - } + mutation ProjectStatusUpdate($input: ProjectStatusUpdate!) { + projectStatusUpdate(input: $input) { + id + status } -` -export type ProjectStatusUpdateMutationFn = Apollo.MutationFunction< - ProjectStatusUpdateMutation, - ProjectStatusUpdateMutationVariables -> +} + `; +export type ProjectStatusUpdateMutationFn = Apollo.MutationFunction; /** * __useProjectStatusUpdateMutation__ @@ -14350,30 +11232,22 @@ export type ProjectStatusUpdateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectStatusUpdateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectStatusUpdateDocument, - options, - ) -} -export type ProjectStatusUpdateMutationHookResult = ReturnType -export type ProjectStatusUpdateMutationResult = Apollo.MutationResult -export type ProjectStatusUpdateMutationOptions = Apollo.BaseMutationOptions< - ProjectStatusUpdateMutation, - ProjectStatusUpdateMutationVariables -> +export function useProjectStatusUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectStatusUpdateDocument, options); + } +export type ProjectStatusUpdateMutationHookResult = ReturnType; +export type ProjectStatusUpdateMutationResult = Apollo.MutationResult; +export type ProjectStatusUpdateMutationOptions = Apollo.BaseMutationOptions; export const ProjectPublishDocument = gql` - mutation ProjectPublish($input: ProjectPublishMutationInput!) { - projectPublish(input: $input) { - id - status - } + mutation ProjectPublish($input: ProjectPublishMutationInput!) { + projectPublish(input: $input) { + id + status } -` -export type ProjectPublishMutationFn = Apollo.MutationFunction +} + `; +export type ProjectPublishMutationFn = Apollo.MutationFunction; /** * __useProjectPublishMutation__ @@ -14392,27 +11266,22 @@ export type ProjectPublishMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(ProjectPublishDocument, options) -} -export type ProjectPublishMutationHookResult = ReturnType -export type ProjectPublishMutationResult = Apollo.MutationResult -export type ProjectPublishMutationOptions = Apollo.BaseMutationOptions< - ProjectPublishMutation, - ProjectPublishMutationVariables -> +export function useProjectPublishMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectPublishDocument, options); + } +export type ProjectPublishMutationHookResult = ReturnType; +export type ProjectPublishMutationResult = Apollo.MutationResult; +export type ProjectPublishMutationOptions = Apollo.BaseMutationOptions; export const ProjectDeleteDocument = gql` - mutation ProjectDelete($input: DeleteProjectInput!) { - projectDelete(input: $input) { - message - success - } + mutation ProjectDelete($input: DeleteProjectInput!) { + projectDelete(input: $input) { + message + success } -` -export type ProjectDeleteMutationFn = Apollo.MutationFunction +} + `; +export type ProjectDeleteMutationFn = Apollo.MutationFunction; /** * __useProjectDeleteMutation__ @@ -14431,24 +11300,19 @@ export type ProjectDeleteMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(ProjectDeleteDocument, options) -} -export type ProjectDeleteMutationHookResult = ReturnType -export type ProjectDeleteMutationResult = Apollo.MutationResult -export type ProjectDeleteMutationOptions = Apollo.BaseMutationOptions< - ProjectDeleteMutation, - ProjectDeleteMutationVariables -> +export function useProjectDeleteMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectDeleteDocument, options); + } +export type ProjectDeleteMutationHookResult = ReturnType; +export type ProjectDeleteMutationResult = Apollo.MutationResult; +export type ProjectDeleteMutationOptions = Apollo.BaseMutationOptions; export const ProjectFollowDocument = gql` - mutation ProjectFollow($input: ProjectFollowMutationInput!) { - projectFollow(input: $input) - } -` -export type ProjectFollowMutationFn = Apollo.MutationFunction + mutation ProjectFollow($input: ProjectFollowMutationInput!) { + projectFollow(input: $input) +} + `; +export type ProjectFollowMutationFn = Apollo.MutationFunction; /** * __useProjectFollowMutation__ @@ -14467,27 +11331,19 @@ export type ProjectFollowMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(ProjectFollowDocument, options) -} -export type ProjectFollowMutationHookResult = ReturnType -export type ProjectFollowMutationResult = Apollo.MutationResult -export type ProjectFollowMutationOptions = Apollo.BaseMutationOptions< - ProjectFollowMutation, - ProjectFollowMutationVariables -> +export function useProjectFollowMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectFollowDocument, options); + } +export type ProjectFollowMutationHookResult = ReturnType; +export type ProjectFollowMutationResult = Apollo.MutationResult; +export type ProjectFollowMutationOptions = Apollo.BaseMutationOptions; export const ProjectUnfollowDocument = gql` - mutation ProjectUnfollow($input: ProjectFollowMutationInput!) { - projectUnfollow(input: $input) - } -` -export type ProjectUnfollowMutationFn = Apollo.MutationFunction< - ProjectUnfollowMutation, - ProjectUnfollowMutationVariables -> + mutation ProjectUnfollow($input: ProjectFollowMutationInput!) { + projectUnfollow(input: $input) +} + `; +export type ProjectUnfollowMutationFn = Apollo.MutationFunction; /** * __useProjectUnfollowMutation__ @@ -14506,27 +11362,21 @@ export type ProjectUnfollowMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectUnfollowMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(ProjectUnfollowDocument, options) -} -export type ProjectUnfollowMutationHookResult = ReturnType -export type ProjectUnfollowMutationResult = Apollo.MutationResult -export type ProjectUnfollowMutationOptions = Apollo.BaseMutationOptions< - ProjectUnfollowMutation, - ProjectUnfollowMutationVariables -> +export function useProjectUnfollowMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectUnfollowDocument, options); + } +export type ProjectUnfollowMutationHookResult = ReturnType; +export type ProjectUnfollowMutationResult = Apollo.MutationResult; +export type ProjectUnfollowMutationOptions = Apollo.BaseMutationOptions; export const RewardUpdateDocument = gql` - mutation RewardUpdate($input: UpdateProjectRewardInput!) { - projectRewardUpdate(input: $input) { - ...ProjectReward - } + mutation RewardUpdate($input: UpdateProjectRewardInput!) { + projectRewardUpdate(input: $input) { + ...ProjectReward } - ${ProjectRewardFragmentDoc} -` -export type RewardUpdateMutationFn = Apollo.MutationFunction +} + ${ProjectRewardFragmentDoc}`; +export type RewardUpdateMutationFn = Apollo.MutationFunction; /** * __useRewardUpdateMutation__ @@ -14545,24 +11395,19 @@ export type RewardUpdateMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(RewardUpdateDocument, options) -} -export type RewardUpdateMutationHookResult = ReturnType -export type RewardUpdateMutationResult = Apollo.MutationResult -export type RewardUpdateMutationOptions = Apollo.BaseMutationOptions< - RewardUpdateMutation, - RewardUpdateMutationVariables -> +export function useRewardUpdateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(RewardUpdateDocument, options); + } +export type RewardUpdateMutationHookResult = ReturnType; +export type RewardUpdateMutationResult = Apollo.MutationResult; +export type RewardUpdateMutationOptions = Apollo.BaseMutationOptions; export const RewardDeleteDocument = gql` - mutation RewardDelete($input: DeleteProjectRewardInput!) { - projectRewardDelete(input: $input) - } -` -export type RewardDeleteMutationFn = Apollo.MutationFunction + mutation RewardDelete($input: DeleteProjectRewardInput!) { + projectRewardDelete(input: $input) +} + `; +export type RewardDeleteMutationFn = Apollo.MutationFunction; /** * __useRewardDeleteMutation__ @@ -14581,30 +11426,21 @@ export type RewardDeleteMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(RewardDeleteDocument, options) -} -export type RewardDeleteMutationHookResult = ReturnType -export type RewardDeleteMutationResult = Apollo.MutationResult -export type RewardDeleteMutationOptions = Apollo.BaseMutationOptions< - RewardDeleteMutation, - RewardDeleteMutationVariables -> +export function useRewardDeleteMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(RewardDeleteDocument, options); + } +export type RewardDeleteMutationHookResult = ReturnType; +export type RewardDeleteMutationResult = Apollo.MutationResult; +export type RewardDeleteMutationOptions = Apollo.BaseMutationOptions; export const ProjectRewardCreateDocument = gql` - mutation ProjectRewardCreate($input: CreateProjectRewardInput!) { - projectRewardCreate(input: $input) { - ...ProjectReward - } + mutation ProjectRewardCreate($input: CreateProjectRewardInput!) { + projectRewardCreate(input: $input) { + ...ProjectReward } - ${ProjectRewardFragmentDoc} -` -export type ProjectRewardCreateMutationFn = Apollo.MutationFunction< - ProjectRewardCreateMutation, - ProjectRewardCreateMutationVariables -> +} + ${ProjectRewardFragmentDoc}`; +export type ProjectRewardCreateMutationFn = Apollo.MutationFunction; /** * __useProjectRewardCreateMutation__ @@ -14623,30 +11459,22 @@ export type ProjectRewardCreateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectRewardCreateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectRewardCreateDocument, - options, - ) -} -export type ProjectRewardCreateMutationHookResult = ReturnType -export type ProjectRewardCreateMutationResult = Apollo.MutationResult -export type ProjectRewardCreateMutationOptions = Apollo.BaseMutationOptions< - ProjectRewardCreateMutation, - ProjectRewardCreateMutationVariables -> +export function useProjectRewardCreateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectRewardCreateDocument, options); + } +export type ProjectRewardCreateMutationHookResult = ReturnType; +export type ProjectRewardCreateMutationResult = Apollo.MutationResult; +export type ProjectRewardCreateMutationOptions = Apollo.BaseMutationOptions; export const ProjectTagAddDocument = gql` - mutation ProjectTagAdd($input: ProjectTagMutationInput!) { - projectTagAdd(input: $input) { - id - label - } + mutation ProjectTagAdd($input: ProjectTagMutationInput!) { + projectTagAdd(input: $input) { + id + label } -` -export type ProjectTagAddMutationFn = Apollo.MutationFunction +} + `; +export type ProjectTagAddMutationFn = Apollo.MutationFunction; /** * __useProjectTagAddMutation__ @@ -14665,30 +11493,22 @@ export type ProjectTagAddMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(ProjectTagAddDocument, options) -} -export type ProjectTagAddMutationHookResult = ReturnType -export type ProjectTagAddMutationResult = Apollo.MutationResult -export type ProjectTagAddMutationOptions = Apollo.BaseMutationOptions< - ProjectTagAddMutation, - ProjectTagAddMutationVariables -> +export function useProjectTagAddMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectTagAddDocument, options); + } +export type ProjectTagAddMutationHookResult = ReturnType; +export type ProjectTagAddMutationResult = Apollo.MutationResult; +export type ProjectTagAddMutationOptions = Apollo.BaseMutationOptions; export const ProjectTagRemoveDocument = gql` - mutation ProjectTagRemove($input: ProjectTagMutationInput!) { - projectTagRemove(input: $input) { - id - label - } + mutation ProjectTagRemove($input: ProjectTagMutationInput!) { + projectTagRemove(input: $input) { + id + label } -` -export type ProjectTagRemoveMutationFn = Apollo.MutationFunction< - ProjectTagRemoveMutation, - ProjectTagRemoveMutationVariables -> +} + `; +export type ProjectTagRemoveMutationFn = Apollo.MutationFunction; /** * __useProjectTagRemoveMutation__ @@ -14707,33 +11527,22 @@ export type ProjectTagRemoveMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectTagRemoveMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectTagRemoveDocument, - options, - ) -} -export type ProjectTagRemoveMutationHookResult = ReturnType -export type ProjectTagRemoveMutationResult = Apollo.MutationResult -export type ProjectTagRemoveMutationOptions = Apollo.BaseMutationOptions< - ProjectTagRemoveMutation, - ProjectTagRemoveMutationVariables -> +export function useProjectTagRemoveMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectTagRemoveDocument, options); + } +export type ProjectTagRemoveMutationHookResult = ReturnType; +export type ProjectTagRemoveMutationResult = Apollo.MutationResult; +export type ProjectTagRemoveMutationOptions = Apollo.BaseMutationOptions; export const ProjectTagCreateDocument = gql` - mutation ProjectTagCreate($input: TagCreateInput!) { - tagCreate(input: $input) { - id - label - } + mutation ProjectTagCreate($input: TagCreateInput!) { + tagCreate(input: $input) { + id + label } -` -export type ProjectTagCreateMutationFn = Apollo.MutationFunction< - ProjectTagCreateMutation, - ProjectTagCreateMutationVariables -> +} + `; +export type ProjectTagCreateMutationFn = Apollo.MutationFunction; /** * __useProjectTagCreateMutation__ @@ -14752,30 +11561,21 @@ export type ProjectTagCreateMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useProjectTagCreateMutation( - baseOptions?: Apollo.MutationHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation( - ProjectTagCreateDocument, - options, - ) -} -export type ProjectTagCreateMutationHookResult = ReturnType -export type ProjectTagCreateMutationResult = Apollo.MutationResult -export type ProjectTagCreateMutationOptions = Apollo.BaseMutationOptions< - ProjectTagCreateMutation, - ProjectTagCreateMutationVariables -> +export function useProjectTagCreateMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ProjectTagCreateDocument, options); + } +export type ProjectTagCreateMutationHookResult = ReturnType; +export type ProjectTagCreateMutationResult = Apollo.MutationResult; +export type ProjectTagCreateMutationOptions = Apollo.BaseMutationOptions; export const CreateWalletDocument = gql` - mutation CreateWallet($input: CreateWalletInput!) { - walletCreate(input: $input) { - ...ProjectWalletConnectionDetails - } + mutation CreateWallet($input: CreateWalletInput!) { + walletCreate(input: $input) { + ...ProjectWalletConnectionDetails } - ${ProjectWalletConnectionDetailsFragmentDoc} -` -export type CreateWalletMutationFn = Apollo.MutationFunction +} + ${ProjectWalletConnectionDetailsFragmentDoc}`; +export type CreateWalletMutationFn = Apollo.MutationFunction; /** * __useCreateWalletMutation__ @@ -14794,27 +11594,21 @@ export type CreateWalletMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(CreateWalletDocument, options) -} -export type CreateWalletMutationHookResult = ReturnType -export type CreateWalletMutationResult = Apollo.MutationResult -export type CreateWalletMutationOptions = Apollo.BaseMutationOptions< - CreateWalletMutation, - CreateWalletMutationVariables -> +export function useCreateWalletMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CreateWalletDocument, options); + } +export type CreateWalletMutationHookResult = ReturnType; +export type CreateWalletMutationResult = Apollo.MutationResult; +export type CreateWalletMutationOptions = Apollo.BaseMutationOptions; export const UpdateWalletDocument = gql` - mutation UpdateWallet($input: UpdateWalletInput!) { - walletUpdate(input: $input) { - ...ProjectWalletConnectionDetails - } + mutation UpdateWallet($input: UpdateWalletInput!) { + walletUpdate(input: $input) { + ...ProjectWalletConnectionDetails } - ${ProjectWalletConnectionDetailsFragmentDoc} -` -export type UpdateWalletMutationFn = Apollo.MutationFunction +} + ${ProjectWalletConnectionDetailsFragmentDoc}`; +export type UpdateWalletMutationFn = Apollo.MutationFunction; /** * __useUpdateWalletMutation__ @@ -14833,26 +11627,20 @@ export type UpdateWalletMutationFn = Apollo.MutationFunction, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useMutation(UpdateWalletDocument, options) -} -export type UpdateWalletMutationHookResult = ReturnType -export type UpdateWalletMutationResult = Apollo.MutationResult -export type UpdateWalletMutationOptions = Apollo.BaseMutationOptions< - UpdateWalletMutation, - UpdateWalletMutationVariables -> +export function useUpdateWalletMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UpdateWalletDocument, options); + } +export type UpdateWalletMutationHookResult = ReturnType; +export type UpdateWalletMutationResult = Apollo.MutationResult; +export type UpdateWalletMutationOptions = Apollo.BaseMutationOptions; export const AffiliateLinksGetDocument = gql` - query AffiliateLinksGet($input: GetAffiliateLinksInput!) { - affiliateLinksGet(input: $input) { - ...ProjectAffiliateLink - } + query AffiliateLinksGet($input: GetAffiliateLinksInput!) { + affiliateLinksGet(input: $input) { + ...ProjectAffiliateLink } - ${ProjectAffiliateLinkFragmentDoc} -` +} + ${ProjectAffiliateLinkFragmentDoc}`; /** * __useAffiliateLinksGetQuery__ @@ -14870,46 +11658,32 @@ export const AffiliateLinksGetDocument = gql` * }, * }); */ -export function useAffiliateLinksGetQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: AffiliateLinksGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(AffiliateLinksGetDocument, options) -} -export function useAffiliateLinksGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - AffiliateLinksGetDocument, - options, - ) -} -export function useAffiliateLinksGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - AffiliateLinksGetDocument, - options, - ) -} -export type AffiliateLinksGetQueryHookResult = ReturnType -export type AffiliateLinksGetLazyQueryHookResult = ReturnType -export type AffiliateLinksGetSuspenseQueryHookResult = ReturnType -export type AffiliateLinksGetQueryResult = Apollo.QueryResult -export const ProjectEntriesDocument = gql` - query ProjectEntries($where: UniqueProjectQueryInput!, $input: ProjectEntriesGetInput) { - projectGet(where: $where) { - id - entries(input: $input) { - ...ProjectEntry +export function useAffiliateLinksGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: AffiliateLinksGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(AffiliateLinksGetDocument, options); } +export function useAffiliateLinksGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(AffiliateLinksGetDocument, options); + } +export function useAffiliateLinksGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(AffiliateLinksGetDocument, options); + } +export type AffiliateLinksGetQueryHookResult = ReturnType; +export type AffiliateLinksGetLazyQueryHookResult = ReturnType; +export type AffiliateLinksGetSuspenseQueryHookResult = ReturnType; +export type AffiliateLinksGetQueryResult = Apollo.QueryResult; +export const ProjectEntriesDocument = gql` + query ProjectEntries($where: UniqueProjectQueryInput!, $input: ProjectEntriesGetInput) { + projectGet(where: $where) { + id + entries(input: $input) { + ...ProjectEntry } } - ${ProjectEntryFragmentDoc} -` +} + ${ProjectEntryFragmentDoc}`; /** * __useProjectEntriesQuery__ @@ -14928,40 +11702,32 @@ export const ProjectEntriesDocument = gql` * }, * }); */ -export function useProjectEntriesQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectEntriesQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectEntriesDocument, options) -} -export function useProjectEntriesLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectEntriesDocument, options) -} -export function useProjectEntriesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectEntriesDocument, options) -} -export type ProjectEntriesQueryHookResult = ReturnType -export type ProjectEntriesLazyQueryHookResult = ReturnType -export type ProjectEntriesSuspenseQueryHookResult = ReturnType -export type ProjectEntriesQueryResult = Apollo.QueryResult -export const ProjectUnplublishedEntriesDocument = gql` - query ProjectUnplublishedEntries($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - id - entries: entries(input: { where: { published: false } }) { - ...ProjectEntry +export function useProjectEntriesQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectEntriesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectEntriesDocument, options); } +export function useProjectEntriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectEntriesDocument, options); + } +export function useProjectEntriesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectEntriesDocument, options); + } +export type ProjectEntriesQueryHookResult = ReturnType; +export type ProjectEntriesLazyQueryHookResult = ReturnType; +export type ProjectEntriesSuspenseQueryHookResult = ReturnType; +export type ProjectEntriesQueryResult = Apollo.QueryResult; +export const ProjectUnplublishedEntriesDocument = gql` + query ProjectUnplublishedEntries($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + id + entries: entries(input: {where: {published: false}}) { + ...ProjectEntry } } - ${ProjectEntryFragmentDoc} -` +} + ${ProjectEntryFragmentDoc}`; /** * __useProjectUnplublishedEntriesQuery__ @@ -14979,54 +11745,29 @@ export const ProjectUnplublishedEntriesDocument = gql` * }, * }); */ -export function useProjectUnplublishedEntriesQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectUnplublishedEntriesQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectUnplublishedEntriesDocument, - options, - ) -} -export function useProjectUnplublishedEntriesLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectUnplublishedEntriesDocument, - options, - ) -} -export function useProjectUnplublishedEntriesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProjectUnplublishedEntriesQuery, - ProjectUnplublishedEntriesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectUnplublishedEntriesDocument, - options, - ) -} -export type ProjectUnplublishedEntriesQueryHookResult = ReturnType -export type ProjectUnplublishedEntriesLazyQueryHookResult = ReturnType -export type ProjectUnplublishedEntriesSuspenseQueryHookResult = ReturnType< - typeof useProjectUnplublishedEntriesSuspenseQuery -> -export type ProjectUnplublishedEntriesQueryResult = Apollo.QueryResult< - ProjectUnplublishedEntriesQuery, - ProjectUnplublishedEntriesQueryVariables -> +export function useProjectUnplublishedEntriesQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectUnplublishedEntriesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectUnplublishedEntriesDocument, options); + } +export function useProjectUnplublishedEntriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectUnplublishedEntriesDocument, options); + } +export function useProjectUnplublishedEntriesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectUnplublishedEntriesDocument, options); + } +export type ProjectUnplublishedEntriesQueryHookResult = ReturnType; +export type ProjectUnplublishedEntriesLazyQueryHookResult = ReturnType; +export type ProjectUnplublishedEntriesSuspenseQueryHookResult = ReturnType; +export type ProjectUnplublishedEntriesQueryResult = Apollo.QueryResult; export const ProjectEntryDocument = gql` - query ProjectEntry($entryId: BigInt!) { - entry(id: $entryId) { - ...ProjectEntryView - } + query ProjectEntry($entryId: BigInt!) { + entry(id: $entryId) { + ...ProjectEntryView } - ${ProjectEntryViewFragmentDoc} -` +} + ${ProjectEntryViewFragmentDoc}`; /** * __useProjectEntryQuery__ @@ -15044,37 +11785,29 @@ export const ProjectEntryDocument = gql` * }, * }); */ -export function useProjectEntryQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectEntryQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectEntryDocument, options) -} -export function useProjectEntryLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectEntryDocument, options) -} -export function useProjectEntrySuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectEntryDocument, options) -} -export type ProjectEntryQueryHookResult = ReturnType -export type ProjectEntryLazyQueryHookResult = ReturnType -export type ProjectEntrySuspenseQueryHookResult = ReturnType -export type ProjectEntryQueryResult = Apollo.QueryResult +export function useProjectEntryQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectEntryQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectEntryDocument, options); + } +export function useProjectEntryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectEntryDocument, options); + } +export function useProjectEntrySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectEntryDocument, options); + } +export type ProjectEntryQueryHookResult = ReturnType; +export type ProjectEntryLazyQueryHookResult = ReturnType; +export type ProjectEntrySuspenseQueryHookResult = ReturnType; +export type ProjectEntryQueryResult = Apollo.QueryResult; export const ProjectPageFundersDocument = gql` - query ProjectPageFunders($input: GetFundersInput!) { - fundersGet(input: $input) { - ...ProjectFunder - } + query ProjectPageFunders($input: GetFundersInput!) { + fundersGet(input: $input) { + ...ProjectFunder } - ${ProjectFunderFragmentDoc} -` +} + ${ProjectFunderFragmentDoc}`; /** * __useProjectPageFundersQuery__ @@ -15092,46 +11825,29 @@ export const ProjectPageFundersDocument = gql` * }, * }); */ -export function useProjectPageFundersQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectPageFundersQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectPageFundersDocument, options) -} -export function useProjectPageFundersLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectPageFundersDocument, - options, - ) -} -export function useProjectPageFundersSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectPageFundersDocument, - options, - ) -} -export type ProjectPageFundersQueryHookResult = ReturnType -export type ProjectPageFundersLazyQueryHookResult = ReturnType -export type ProjectPageFundersSuspenseQueryHookResult = ReturnType -export type ProjectPageFundersQueryResult = Apollo.QueryResult< - ProjectPageFundersQuery, - ProjectPageFundersQueryVariables -> +export function useProjectPageFundersQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectPageFundersQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectPageFundersDocument, options); + } +export function useProjectPageFundersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectPageFundersDocument, options); + } +export function useProjectPageFundersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectPageFundersDocument, options); + } +export type ProjectPageFundersQueryHookResult = ReturnType; +export type ProjectPageFundersLazyQueryHookResult = ReturnType; +export type ProjectPageFundersSuspenseQueryHookResult = ReturnType; +export type ProjectPageFundersQueryResult = Apollo.QueryResult; export const ProjectLeaderboardContributorsGetDocument = gql` - query ProjectLeaderboardContributorsGet($input: ProjectLeaderboardContributorsGetInput!) { - projectLeaderboardContributorsGet(input: $input) { - ...ProjectLeaderboardContributors - } + query ProjectLeaderboardContributorsGet($input: ProjectLeaderboardContributorsGetInput!) { + projectLeaderboardContributorsGet(input: $input) { + ...ProjectLeaderboardContributors } - ${ProjectLeaderboardContributorsFragmentDoc} -` +} + ${ProjectLeaderboardContributorsFragmentDoc}`; /** * __useProjectLeaderboardContributorsGetQuery__ @@ -15149,66 +11865,31 @@ export const ProjectLeaderboardContributorsGetDocument = gql` * }, * }); */ -export function useProjectLeaderboardContributorsGetQuery( - baseOptions: Apollo.QueryHookOptions< - ProjectLeaderboardContributorsGetQuery, - ProjectLeaderboardContributorsGetQueryVariables - > & - ({ variables: ProjectLeaderboardContributorsGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectLeaderboardContributorsGetDocument, - options, - ) -} -export function useProjectLeaderboardContributorsGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ProjectLeaderboardContributorsGetQuery, - ProjectLeaderboardContributorsGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectLeaderboardContributorsGetDocument, - options, - ) -} -export function useProjectLeaderboardContributorsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProjectLeaderboardContributorsGetQuery, - ProjectLeaderboardContributorsGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery< - ProjectLeaderboardContributorsGetQuery, - ProjectLeaderboardContributorsGetQueryVariables - >(ProjectLeaderboardContributorsGetDocument, options) -} -export type ProjectLeaderboardContributorsGetQueryHookResult = ReturnType< - typeof useProjectLeaderboardContributorsGetQuery -> -export type ProjectLeaderboardContributorsGetLazyQueryHookResult = ReturnType< - typeof useProjectLeaderboardContributorsGetLazyQuery -> -export type ProjectLeaderboardContributorsGetSuspenseQueryHookResult = ReturnType< - typeof useProjectLeaderboardContributorsGetSuspenseQuery -> -export type ProjectLeaderboardContributorsGetQueryResult = Apollo.QueryResult< - ProjectLeaderboardContributorsGetQuery, - ProjectLeaderboardContributorsGetQueryVariables -> -export const ProjectPageFundingTxDocument = gql` - query ProjectPageFundingTx($input: GetFundingTxsInput) { - fundingTxsGet(input: $input) { - fundingTxs { - ...ProjectFundingTx +export function useProjectLeaderboardContributorsGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectLeaderboardContributorsGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectLeaderboardContributorsGetDocument, options); } +export function useProjectLeaderboardContributorsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectLeaderboardContributorsGetDocument, options); + } +export function useProjectLeaderboardContributorsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectLeaderboardContributorsGetDocument, options); + } +export type ProjectLeaderboardContributorsGetQueryHookResult = ReturnType; +export type ProjectLeaderboardContributorsGetLazyQueryHookResult = ReturnType; +export type ProjectLeaderboardContributorsGetSuspenseQueryHookResult = ReturnType; +export type ProjectLeaderboardContributorsGetQueryResult = Apollo.QueryResult; +export const ProjectPageFundingTxDocument = gql` + query ProjectPageFundingTx($input: GetFundingTxsInput) { + fundingTxsGet(input: $input) { + fundingTxs { + ...ProjectFundingTx } } - ${ProjectFundingTxFragmentDoc} -` +} + ${ProjectFundingTxFragmentDoc}`; /** * __useProjectPageFundingTxQuery__ @@ -15226,48 +11907,29 @@ export const ProjectPageFundingTxDocument = gql` * }, * }); */ -export function useProjectPageFundingTxQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectPageFundingTxDocument, - options, - ) -} -export function useProjectPageFundingTxLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectPageFundingTxDocument, - options, - ) -} -export function useProjectPageFundingTxSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectPageFundingTxDocument, - options, - ) -} -export type ProjectPageFundingTxQueryHookResult = ReturnType -export type ProjectPageFundingTxLazyQueryHookResult = ReturnType -export type ProjectPageFundingTxSuspenseQueryHookResult = ReturnType -export type ProjectPageFundingTxQueryResult = Apollo.QueryResult< - ProjectPageFundingTxQuery, - ProjectPageFundingTxQueryVariables -> +export function useProjectPageFundingTxQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectPageFundingTxDocument, options); + } +export function useProjectPageFundingTxLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectPageFundingTxDocument, options); + } +export function useProjectPageFundingTxSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectPageFundingTxDocument, options); + } +export type ProjectPageFundingTxQueryHookResult = ReturnType; +export type ProjectPageFundingTxLazyQueryHookResult = ReturnType; +export type ProjectPageFundingTxSuspenseQueryHookResult = ReturnType; +export type ProjectPageFundingTxQueryResult = Apollo.QueryResult; export const FundingTxWithInvoiceStatusDocument = gql` - query FundingTxWithInvoiceStatus($fundingTxID: BigInt!) { - fundingTx(id: $fundingTxID) { - ...FundingTxWithInvoiceStatus - } + query FundingTxWithInvoiceStatus($fundingTxID: BigInt!) { + fundingTx(id: $fundingTxID) { + ...FundingTxWithInvoiceStatus } - ${FundingTxWithInvoiceStatusFragmentDoc} -` +} + ${FundingTxWithInvoiceStatusFragmentDoc}`; /** * __useFundingTxWithInvoiceStatusQuery__ @@ -15285,54 +11947,29 @@ export const FundingTxWithInvoiceStatusDocument = gql` * }, * }); */ -export function useFundingTxWithInvoiceStatusQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: FundingTxWithInvoiceStatusQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - FundingTxWithInvoiceStatusDocument, - options, - ) -} -export function useFundingTxWithInvoiceStatusLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - FundingTxWithInvoiceStatusDocument, - options, - ) -} -export function useFundingTxWithInvoiceStatusSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - FundingTxWithInvoiceStatusQuery, - FundingTxWithInvoiceStatusQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - FundingTxWithInvoiceStatusDocument, - options, - ) -} -export type FundingTxWithInvoiceStatusQueryHookResult = ReturnType -export type FundingTxWithInvoiceStatusLazyQueryHookResult = ReturnType -export type FundingTxWithInvoiceStatusSuspenseQueryHookResult = ReturnType< - typeof useFundingTxWithInvoiceStatusSuspenseQuery -> -export type FundingTxWithInvoiceStatusQueryResult = Apollo.QueryResult< - FundingTxWithInvoiceStatusQuery, - FundingTxWithInvoiceStatusQueryVariables -> +export function useFundingTxWithInvoiceStatusQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: FundingTxWithInvoiceStatusQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(FundingTxWithInvoiceStatusDocument, options); + } +export function useFundingTxWithInvoiceStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(FundingTxWithInvoiceStatusDocument, options); + } +export function useFundingTxWithInvoiceStatusSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FundingTxWithInvoiceStatusDocument, options); + } +export type FundingTxWithInvoiceStatusQueryHookResult = ReturnType; +export type FundingTxWithInvoiceStatusLazyQueryHookResult = ReturnType; +export type FundingTxWithInvoiceStatusSuspenseQueryHookResult = ReturnType; +export type FundingTxWithInvoiceStatusQueryResult = Apollo.QueryResult; export const FundingTxForDownloadInvoiceDocument = gql` - query FundingTxForDownloadInvoice($fundingTxId: BigInt!) { - fundingTx(id: $fundingTxId) { - ...FundingTxForDownloadInvoice - } + query FundingTxForDownloadInvoice($fundingTxId: BigInt!) { + fundingTx(id: $fundingTxId) { + ...FundingTxForDownloadInvoice } - ${FundingTxForDownloadInvoiceFragmentDoc} -` +} + ${FundingTxForDownloadInvoiceFragmentDoc}`; /** * __useFundingTxForDownloadInvoiceQuery__ @@ -15350,59 +11987,31 @@ export const FundingTxForDownloadInvoiceDocument = gql` * }, * }); */ -export function useFundingTxForDownloadInvoiceQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: FundingTxForDownloadInvoiceQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - FundingTxForDownloadInvoiceDocument, - options, - ) -} -export function useFundingTxForDownloadInvoiceLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - FundingTxForDownloadInvoiceQuery, - FundingTxForDownloadInvoiceQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - FundingTxForDownloadInvoiceDocument, - options, - ) -} -export function useFundingTxForDownloadInvoiceSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - FundingTxForDownloadInvoiceQuery, - FundingTxForDownloadInvoiceQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - FundingTxForDownloadInvoiceDocument, - options, - ) -} -export type FundingTxForDownloadInvoiceQueryHookResult = ReturnType -export type FundingTxForDownloadInvoiceLazyQueryHookResult = ReturnType -export type FundingTxForDownloadInvoiceSuspenseQueryHookResult = ReturnType< - typeof useFundingTxForDownloadInvoiceSuspenseQuery -> -export type FundingTxForDownloadInvoiceQueryResult = Apollo.QueryResult< - FundingTxForDownloadInvoiceQuery, - FundingTxForDownloadInvoiceQueryVariables -> -export const ProjectInProgressGoalsDocument = gql` - query ProjectInProgressGoals($input: GetProjectGoalsInput!) { - projectGoals(input: $input) { - inProgress { - ...ProjectGoals +export function useFundingTxForDownloadInvoiceQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: FundingTxForDownloadInvoiceQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(FundingTxForDownloadInvoiceDocument, options); } +export function useFundingTxForDownloadInvoiceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(FundingTxForDownloadInvoiceDocument, options); + } +export function useFundingTxForDownloadInvoiceSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FundingTxForDownloadInvoiceDocument, options); + } +export type FundingTxForDownloadInvoiceQueryHookResult = ReturnType; +export type FundingTxForDownloadInvoiceLazyQueryHookResult = ReturnType; +export type FundingTxForDownloadInvoiceSuspenseQueryHookResult = ReturnType; +export type FundingTxForDownloadInvoiceQueryResult = Apollo.QueryResult; +export const ProjectInProgressGoalsDocument = gql` + query ProjectInProgressGoals($input: GetProjectGoalsInput!) { + projectGoals(input: $input) { + inProgress { + ...ProjectGoals } } - ${ProjectGoalsFragmentDoc} -` +} + ${ProjectGoalsFragmentDoc}`; /** * __useProjectInProgressGoalsQuery__ @@ -15420,51 +12029,31 @@ export const ProjectInProgressGoalsDocument = gql` * }, * }); */ -export function useProjectInProgressGoalsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectInProgressGoalsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectInProgressGoalsDocument, - options, - ) -} -export function useProjectInProgressGoalsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectInProgressGoalsDocument, - options, - ) -} -export function useProjectInProgressGoalsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectInProgressGoalsDocument, - options, - ) -} -export type ProjectInProgressGoalsQueryHookResult = ReturnType -export type ProjectInProgressGoalsLazyQueryHookResult = ReturnType -export type ProjectInProgressGoalsSuspenseQueryHookResult = ReturnType -export type ProjectInProgressGoalsQueryResult = Apollo.QueryResult< - ProjectInProgressGoalsQuery, - ProjectInProgressGoalsQueryVariables -> -export const ProjectCompletedGoalsDocument = gql` - query ProjectCompletedGoals($input: GetProjectGoalsInput!) { - projectGoals(input: $input) { - completed { - ...ProjectGoals +export function useProjectInProgressGoalsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectInProgressGoalsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectInProgressGoalsDocument, options); } +export function useProjectInProgressGoalsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectInProgressGoalsDocument, options); + } +export function useProjectInProgressGoalsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectInProgressGoalsDocument, options); + } +export type ProjectInProgressGoalsQueryHookResult = ReturnType; +export type ProjectInProgressGoalsLazyQueryHookResult = ReturnType; +export type ProjectInProgressGoalsSuspenseQueryHookResult = ReturnType; +export type ProjectInProgressGoalsQueryResult = Apollo.QueryResult; +export const ProjectCompletedGoalsDocument = gql` + query ProjectCompletedGoals($input: GetProjectGoalsInput!) { + projectGoals(input: $input) { + completed { + ...ProjectGoals } } - ${ProjectGoalsFragmentDoc} -` +} + ${ProjectGoalsFragmentDoc}`; /** * __useProjectCompletedGoalsQuery__ @@ -15482,49 +12071,29 @@ export const ProjectCompletedGoalsDocument = gql` * }, * }); */ -export function useProjectCompletedGoalsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectCompletedGoalsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectCompletedGoalsDocument, - options, - ) -} -export function useProjectCompletedGoalsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectCompletedGoalsDocument, - options, - ) -} -export function useProjectCompletedGoalsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectCompletedGoalsDocument, - options, - ) -} -export type ProjectCompletedGoalsQueryHookResult = ReturnType -export type ProjectCompletedGoalsLazyQueryHookResult = ReturnType -export type ProjectCompletedGoalsSuspenseQueryHookResult = ReturnType -export type ProjectCompletedGoalsQueryResult = Apollo.QueryResult< - ProjectCompletedGoalsQuery, - ProjectCompletedGoalsQueryVariables -> +export function useProjectCompletedGoalsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectCompletedGoalsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectCompletedGoalsDocument, options); + } +export function useProjectCompletedGoalsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectCompletedGoalsDocument, options); + } +export function useProjectCompletedGoalsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectCompletedGoalsDocument, options); + } +export type ProjectCompletedGoalsQueryHookResult = ReturnType; +export type ProjectCompletedGoalsLazyQueryHookResult = ReturnType; +export type ProjectCompletedGoalsSuspenseQueryHookResult = ReturnType; +export type ProjectCompletedGoalsQueryResult = Apollo.QueryResult; export const ProjectPageBodyDocument = gql` - query ProjectPageBody($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - ...ProjectPageBody - } + query ProjectPageBody($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + ...ProjectPageBody } - ${ProjectPageBodyFragmentDoc} -` +} + ${ProjectPageBodyFragmentDoc}`; /** * __useProjectPageBodyQuery__ @@ -15542,37 +12111,29 @@ export const ProjectPageBodyDocument = gql` * }, * }); */ -export function useProjectPageBodyQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectPageBodyQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectPageBodyDocument, options) -} -export function useProjectPageBodyLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectPageBodyDocument, options) -} -export function useProjectPageBodySuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectPageBodyDocument, options) -} -export type ProjectPageBodyQueryHookResult = ReturnType -export type ProjectPageBodyLazyQueryHookResult = ReturnType -export type ProjectPageBodySuspenseQueryHookResult = ReturnType -export type ProjectPageBodyQueryResult = Apollo.QueryResult +export function useProjectPageBodyQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectPageBodyQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectPageBodyDocument, options); + } +export function useProjectPageBodyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectPageBodyDocument, options); + } +export function useProjectPageBodySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectPageBodyDocument, options); + } +export type ProjectPageBodyQueryHookResult = ReturnType; +export type ProjectPageBodyLazyQueryHookResult = ReturnType; +export type ProjectPageBodySuspenseQueryHookResult = ReturnType; +export type ProjectPageBodyQueryResult = Apollo.QueryResult; export const ProjectPageDetailsDocument = gql` - query ProjectPageDetails($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - ...ProjectPageDetails - } + query ProjectPageDetails($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + ...ProjectPageDetails } - ${ProjectPageDetailsFragmentDoc} -` +} + ${ProjectPageDetailsFragmentDoc}`; /** * __useProjectPageDetailsQuery__ @@ -15590,46 +12151,72 @@ export const ProjectPageDetailsDocument = gql` * }, * }); */ -export function useProjectPageDetailsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectPageDetailsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectPageDetailsDocument, options) -} -export function useProjectPageDetailsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectPageDetailsDocument, - options, - ) -} -export function useProjectPageDetailsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectPageDetailsDocument, - options, - ) +export function useProjectPageDetailsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectPageDetailsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectPageDetailsDocument, options); + } +export function useProjectPageDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectPageDetailsDocument, options); + } +export function useProjectPageDetailsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectPageDetailsDocument, options); + } +export type ProjectPageDetailsQueryHookResult = ReturnType; +export type ProjectPageDetailsLazyQueryHookResult = ReturnType; +export type ProjectPageDetailsSuspenseQueryHookResult = ReturnType; +export type ProjectPageDetailsQueryResult = Apollo.QueryResult; +export const ProjectGrantApplicationsDocument = gql` + query ProjectGrantApplications($where: UniqueProjectQueryInput!, $input: ProjectGrantApplicationsInput) { + projectGet(where: $where) { + grantApplications(input: $input) { + ...ProjectGrantApplicant + } + } } -export type ProjectPageDetailsQueryHookResult = ReturnType -export type ProjectPageDetailsLazyQueryHookResult = ReturnType -export type ProjectPageDetailsSuspenseQueryHookResult = ReturnType -export type ProjectPageDetailsQueryResult = Apollo.QueryResult< - ProjectPageDetailsQuery, - ProjectPageDetailsQueryVariables -> + ${ProjectGrantApplicantFragmentDoc}`; + +/** + * __useProjectGrantApplicationsQuery__ + * + * To run a query within a React component, call `useProjectGrantApplicationsQuery` and pass it any options that fit your needs. + * When your component renders, `useProjectGrantApplicationsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useProjectGrantApplicationsQuery({ + * variables: { + * where: // value for 'where' + * input: // value for 'input' + * }, + * }); + */ +export function useProjectGrantApplicationsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectGrantApplicationsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectGrantApplicationsDocument, options); + } +export function useProjectGrantApplicationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectGrantApplicationsDocument, options); + } +export function useProjectGrantApplicationsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectGrantApplicationsDocument, options); + } +export type ProjectGrantApplicationsQueryHookResult = ReturnType; +export type ProjectGrantApplicationsLazyQueryHookResult = ReturnType; +export type ProjectGrantApplicationsSuspenseQueryHookResult = ReturnType; +export type ProjectGrantApplicationsQueryResult = Apollo.QueryResult; export const ProjectPageHeaderSummaryDocument = gql` - query ProjectPageHeaderSummary($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - ...ProjectHeaderSummary - } + query ProjectPageHeaderSummary($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + ...ProjectHeaderSummary } - ${ProjectHeaderSummaryFragmentDoc} -` +} + ${ProjectHeaderSummaryFragmentDoc}`; /** * __useProjectPageHeaderSummaryQuery__ @@ -15647,53 +12234,31 @@ export const ProjectPageHeaderSummaryDocument = gql` * }, * }); */ -export function useProjectPageHeaderSummaryQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectPageHeaderSummaryQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectPageHeaderSummaryDocument, - options, - ) -} -export function useProjectPageHeaderSummaryLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectPageHeaderSummaryDocument, - options, - ) -} -export function useProjectPageHeaderSummarySuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectPageHeaderSummaryDocument, - options, - ) -} -export type ProjectPageHeaderSummaryQueryHookResult = ReturnType -export type ProjectPageHeaderSummaryLazyQueryHookResult = ReturnType -export type ProjectPageHeaderSummarySuspenseQueryHookResult = ReturnType< - typeof useProjectPageHeaderSummarySuspenseQuery -> -export type ProjectPageHeaderSummaryQueryResult = Apollo.QueryResult< - ProjectPageHeaderSummaryQuery, - ProjectPageHeaderSummaryQueryVariables -> -export const ProjectPageWalletsDocument = gql` - query ProjectPageWallets($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - wallets { - ...ProjectPageWallet +export function useProjectPageHeaderSummaryQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectPageHeaderSummaryQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectPageHeaderSummaryDocument, options); } +export function useProjectPageHeaderSummaryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectPageHeaderSummaryDocument, options); + } +export function useProjectPageHeaderSummarySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectPageHeaderSummaryDocument, options); + } +export type ProjectPageHeaderSummaryQueryHookResult = ReturnType; +export type ProjectPageHeaderSummaryLazyQueryHookResult = ReturnType; +export type ProjectPageHeaderSummarySuspenseQueryHookResult = ReturnType; +export type ProjectPageHeaderSummaryQueryResult = Apollo.QueryResult; +export const ProjectPageWalletsDocument = gql` + query ProjectPageWallets($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + wallets { + ...ProjectPageWallet } } - ${ProjectPageWalletFragmentDoc} -` +} + ${ProjectPageWalletFragmentDoc}`; /** * __useProjectPageWalletsQuery__ @@ -15711,48 +12276,31 @@ export const ProjectPageWalletsDocument = gql` * }, * }); */ -export function useProjectPageWalletsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectPageWalletsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectPageWalletsDocument, options) -} -export function useProjectPageWalletsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectPageWalletsDocument, - options, - ) -} -export function useProjectPageWalletsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectPageWalletsDocument, - options, - ) -} -export type ProjectPageWalletsQueryHookResult = ReturnType -export type ProjectPageWalletsLazyQueryHookResult = ReturnType -export type ProjectPageWalletsSuspenseQueryHookResult = ReturnType -export type ProjectPageWalletsQueryResult = Apollo.QueryResult< - ProjectPageWalletsQuery, - ProjectPageWalletsQueryVariables -> -export const ProjectWalletConnectionDetailsDocument = gql` - query ProjectWalletConnectionDetails($where: UniqueProjectQueryInput!) { - projectGet(where: $where) { - wallets { - ...ProjectWalletConnectionDetails +export function useProjectPageWalletsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectPageWalletsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectPageWalletsDocument, options); } +export function useProjectPageWalletsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectPageWalletsDocument, options); + } +export function useProjectPageWalletsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectPageWalletsDocument, options); + } +export type ProjectPageWalletsQueryHookResult = ReturnType; +export type ProjectPageWalletsLazyQueryHookResult = ReturnType; +export type ProjectPageWalletsSuspenseQueryHookResult = ReturnType; +export type ProjectPageWalletsQueryResult = Apollo.QueryResult; +export const ProjectWalletConnectionDetailsDocument = gql` + query ProjectWalletConnectionDetails($where: UniqueProjectQueryInput!) { + projectGet(where: $where) { + wallets { + ...ProjectWalletConnectionDetails } } - ${ProjectWalletConnectionDetailsFragmentDoc} -` +} + ${ProjectWalletConnectionDetailsFragmentDoc}`; /** * __useProjectWalletConnectionDetailsQuery__ @@ -15770,62 +12318,29 @@ export const ProjectWalletConnectionDetailsDocument = gql` * }, * }); */ -export function useProjectWalletConnectionDetailsQuery( - baseOptions: Apollo.QueryHookOptions< - ProjectWalletConnectionDetailsQuery, - ProjectWalletConnectionDetailsQueryVariables - > & - ({ variables: ProjectWalletConnectionDetailsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectWalletConnectionDetailsDocument, - options, - ) -} -export function useProjectWalletConnectionDetailsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ProjectWalletConnectionDetailsQuery, - ProjectWalletConnectionDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectWalletConnectionDetailsDocument, - options, - ) -} -export function useProjectWalletConnectionDetailsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProjectWalletConnectionDetailsQuery, - ProjectWalletConnectionDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectWalletConnectionDetailsDocument, - options, - ) -} -export type ProjectWalletConnectionDetailsQueryHookResult = ReturnType -export type ProjectWalletConnectionDetailsLazyQueryHookResult = ReturnType< - typeof useProjectWalletConnectionDetailsLazyQuery -> -export type ProjectWalletConnectionDetailsSuspenseQueryHookResult = ReturnType< - typeof useProjectWalletConnectionDetailsSuspenseQuery -> -export type ProjectWalletConnectionDetailsQueryResult = Apollo.QueryResult< - ProjectWalletConnectionDetailsQuery, - ProjectWalletConnectionDetailsQueryVariables -> +export function useProjectWalletConnectionDetailsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectWalletConnectionDetailsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectWalletConnectionDetailsDocument, options); + } +export function useProjectWalletConnectionDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectWalletConnectionDetailsDocument, options); + } +export function useProjectWalletConnectionDetailsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectWalletConnectionDetailsDocument, options); + } +export type ProjectWalletConnectionDetailsQueryHookResult = ReturnType; +export type ProjectWalletConnectionDetailsLazyQueryHookResult = ReturnType; +export type ProjectWalletConnectionDetailsSuspenseQueryHookResult = ReturnType; +export type ProjectWalletConnectionDetailsQueryResult = Apollo.QueryResult; export const ProjectStatsGetInsightDocument = gql` - query ProjectStatsGetInsight($input: GetProjectStatsInput!) { - projectStatsGet(input: $input) { - ...ProjectStatsForInsightsPage - } + query ProjectStatsGetInsight($input: GetProjectStatsInput!) { + projectStatsGet(input: $input) { + ...ProjectStatsForInsightsPage } - ${ProjectStatsForInsightsPageFragmentDoc} -` +} + ${ProjectStatsForInsightsPageFragmentDoc}`; /** * __useProjectStatsGetInsightQuery__ @@ -15843,49 +12358,29 @@ export const ProjectStatsGetInsightDocument = gql` * }, * }); */ -export function useProjectStatsGetInsightQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectStatsGetInsightQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectStatsGetInsightDocument, - options, - ) -} -export function useProjectStatsGetInsightLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectStatsGetInsightDocument, - options, - ) -} -export function useProjectStatsGetInsightSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectStatsGetInsightDocument, - options, - ) -} -export type ProjectStatsGetInsightQueryHookResult = ReturnType -export type ProjectStatsGetInsightLazyQueryHookResult = ReturnType -export type ProjectStatsGetInsightSuspenseQueryHookResult = ReturnType -export type ProjectStatsGetInsightQueryResult = Apollo.QueryResult< - ProjectStatsGetInsightQuery, - ProjectStatsGetInsightQueryVariables -> +export function useProjectStatsGetInsightQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectStatsGetInsightQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectStatsGetInsightDocument, options); + } +export function useProjectStatsGetInsightLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectStatsGetInsightDocument, options); + } +export function useProjectStatsGetInsightSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectStatsGetInsightDocument, options); + } +export type ProjectStatsGetInsightQueryHookResult = ReturnType; +export type ProjectStatsGetInsightLazyQueryHookResult = ReturnType; +export type ProjectStatsGetInsightSuspenseQueryHookResult = ReturnType; +export type ProjectStatsGetInsightQueryResult = Apollo.QueryResult; export const ProjectHistoryStatsGetDocument = gql` - query ProjectHistoryStatsGet($input: GetProjectStatsInput!) { - projectStatsGet(input: $input) { - ...ProjectHistoryStats - } + query ProjectHistoryStatsGet($input: GetProjectStatsInput!) { + projectStatsGet(input: $input) { + ...ProjectHistoryStats } - ${ProjectHistoryStatsFragmentDoc} -` +} + ${ProjectHistoryStatsFragmentDoc}`; /** * __useProjectHistoryStatsGetQuery__ @@ -15903,49 +12398,29 @@ export const ProjectHistoryStatsGetDocument = gql` * }, * }); */ -export function useProjectHistoryStatsGetQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectHistoryStatsGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectHistoryStatsGetDocument, - options, - ) -} -export function useProjectHistoryStatsGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectHistoryStatsGetDocument, - options, - ) -} -export function useProjectHistoryStatsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectHistoryStatsGetDocument, - options, - ) -} -export type ProjectHistoryStatsGetQueryHookResult = ReturnType -export type ProjectHistoryStatsGetLazyQueryHookResult = ReturnType -export type ProjectHistoryStatsGetSuspenseQueryHookResult = ReturnType -export type ProjectHistoryStatsGetQueryResult = Apollo.QueryResult< - ProjectHistoryStatsGetQuery, - ProjectHistoryStatsGetQueryVariables -> +export function useProjectHistoryStatsGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectHistoryStatsGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectHistoryStatsGetDocument, options); + } +export function useProjectHistoryStatsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectHistoryStatsGetDocument, options); + } +export function useProjectHistoryStatsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectHistoryStatsGetDocument, options); + } +export type ProjectHistoryStatsGetQueryHookResult = ReturnType; +export type ProjectHistoryStatsGetLazyQueryHookResult = ReturnType; +export type ProjectHistoryStatsGetSuspenseQueryHookResult = ReturnType; +export type ProjectHistoryStatsGetQueryResult = Apollo.QueryResult; export const ProjectRewardSoldGraphStatsGetDocument = gql` - query ProjectRewardSoldGraphStatsGet($input: GetProjectStatsInput!) { - projectStatsGet(input: $input) { - ...ProjectRewardSoldGraphStats - } + query ProjectRewardSoldGraphStatsGet($input: GetProjectStatsInput!) { + projectStatsGet(input: $input) { + ...ProjectRewardSoldGraphStats } - ${ProjectRewardSoldGraphStatsFragmentDoc} -` +} + ${ProjectRewardSoldGraphStatsFragmentDoc}`; /** * __useProjectRewardSoldGraphStatsGetQuery__ @@ -15963,62 +12438,29 @@ export const ProjectRewardSoldGraphStatsGetDocument = gql` * }, * }); */ -export function useProjectRewardSoldGraphStatsGetQuery( - baseOptions: Apollo.QueryHookOptions< - ProjectRewardSoldGraphStatsGetQuery, - ProjectRewardSoldGraphStatsGetQueryVariables - > & - ({ variables: ProjectRewardSoldGraphStatsGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectRewardSoldGraphStatsGetDocument, - options, - ) -} -export function useProjectRewardSoldGraphStatsGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ProjectRewardSoldGraphStatsGetQuery, - ProjectRewardSoldGraphStatsGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectRewardSoldGraphStatsGetDocument, - options, - ) -} -export function useProjectRewardSoldGraphStatsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProjectRewardSoldGraphStatsGetQuery, - ProjectRewardSoldGraphStatsGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectRewardSoldGraphStatsGetDocument, - options, - ) -} -export type ProjectRewardSoldGraphStatsGetQueryHookResult = ReturnType -export type ProjectRewardSoldGraphStatsGetLazyQueryHookResult = ReturnType< - typeof useProjectRewardSoldGraphStatsGetLazyQuery -> -export type ProjectRewardSoldGraphStatsGetSuspenseQueryHookResult = ReturnType< - typeof useProjectRewardSoldGraphStatsGetSuspenseQuery -> -export type ProjectRewardSoldGraphStatsGetQueryResult = Apollo.QueryResult< - ProjectRewardSoldGraphStatsGetQuery, - ProjectRewardSoldGraphStatsGetQueryVariables -> +export function useProjectRewardSoldGraphStatsGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectRewardSoldGraphStatsGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectRewardSoldGraphStatsGetDocument, options); + } +export function useProjectRewardSoldGraphStatsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectRewardSoldGraphStatsGetDocument, options); + } +export function useProjectRewardSoldGraphStatsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectRewardSoldGraphStatsGetDocument, options); + } +export type ProjectRewardSoldGraphStatsGetQueryHookResult = ReturnType; +export type ProjectRewardSoldGraphStatsGetLazyQueryHookResult = ReturnType; +export type ProjectRewardSoldGraphStatsGetSuspenseQueryHookResult = ReturnType; +export type ProjectRewardSoldGraphStatsGetQueryResult = Apollo.QueryResult; export const ProjectFundingMethodStatsGetDocument = gql` - query ProjectFundingMethodStatsGet($input: GetProjectStatsInput!) { - projectStatsGet(input: $input) { - ...ProjectFundingMethodStats - } + query ProjectFundingMethodStatsGet($input: GetProjectStatsInput!) { + projectStatsGet(input: $input) { + ...ProjectFundingMethodStats } - ${ProjectFundingMethodStatsFragmentDoc} -` +} + ${ProjectFundingMethodStatsFragmentDoc}`; /** * __useProjectFundingMethodStatsGetQuery__ @@ -16036,59 +12478,29 @@ export const ProjectFundingMethodStatsGetDocument = gql` * }, * }); */ -export function useProjectFundingMethodStatsGetQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectFundingMethodStatsGetQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery( - ProjectFundingMethodStatsGetDocument, - options, - ) -} -export function useProjectFundingMethodStatsGetLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - ProjectFundingMethodStatsGetQuery, - ProjectFundingMethodStatsGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery( - ProjectFundingMethodStatsGetDocument, - options, - ) -} -export function useProjectFundingMethodStatsGetSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - ProjectFundingMethodStatsGetQuery, - ProjectFundingMethodStatsGetQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery( - ProjectFundingMethodStatsGetDocument, - options, - ) -} -export type ProjectFundingMethodStatsGetQueryHookResult = ReturnType -export type ProjectFundingMethodStatsGetLazyQueryHookResult = ReturnType< - typeof useProjectFundingMethodStatsGetLazyQuery -> -export type ProjectFundingMethodStatsGetSuspenseQueryHookResult = ReturnType< - typeof useProjectFundingMethodStatsGetSuspenseQuery -> -export type ProjectFundingMethodStatsGetQueryResult = Apollo.QueryResult< - ProjectFundingMethodStatsGetQuery, - ProjectFundingMethodStatsGetQueryVariables -> +export function useProjectFundingMethodStatsGetQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectFundingMethodStatsGetQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectFundingMethodStatsGetDocument, options); + } +export function useProjectFundingMethodStatsGetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectFundingMethodStatsGetDocument, options); + } +export function useProjectFundingMethodStatsGetSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectFundingMethodStatsGetDocument, options); + } +export type ProjectFundingMethodStatsGetQueryHookResult = ReturnType; +export type ProjectFundingMethodStatsGetLazyQueryHookResult = ReturnType; +export type ProjectFundingMethodStatsGetSuspenseQueryHookResult = ReturnType; +export type ProjectFundingMethodStatsGetQueryResult = Apollo.QueryResult; export const ProjectRewardsDocument = gql` - query ProjectRewards($input: GetProjectRewardInput!) { - projectRewardsGet(input: $input) { - ...ProjectReward - } + query ProjectRewards($input: GetProjectRewardInput!) { + projectRewardsGet(input: $input) { + ...ProjectReward } - ${ProjectRewardFragmentDoc} -` +} + ${ProjectRewardFragmentDoc}`; /** * __useProjectRewardsQuery__ @@ -16106,37 +12518,29 @@ export const ProjectRewardsDocument = gql` * }, * }); */ -export function useProjectRewardsQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectRewardsQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectRewardsDocument, options) -} -export function useProjectRewardsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectRewardsDocument, options) -} -export function useProjectRewardsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectRewardsDocument, options) -} -export type ProjectRewardsQueryHookResult = ReturnType -export type ProjectRewardsLazyQueryHookResult = ReturnType -export type ProjectRewardsSuspenseQueryHookResult = ReturnType -export type ProjectRewardsQueryResult = Apollo.QueryResult +export function useProjectRewardsQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectRewardsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectRewardsDocument, options); + } +export function useProjectRewardsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectRewardsDocument, options); + } +export function useProjectRewardsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectRewardsDocument, options); + } +export type ProjectRewardsQueryHookResult = ReturnType; +export type ProjectRewardsLazyQueryHookResult = ReturnType; +export type ProjectRewardsSuspenseQueryHookResult = ReturnType; +export type ProjectRewardsQueryResult = Apollo.QueryResult; export const ProjectRewardDocument = gql` - query ProjectReward($getProjectRewardId: BigInt!) { - getProjectReward(id: $getProjectRewardId) { - ...ProjectReward - } + query ProjectReward($getProjectRewardId: BigInt!) { + getProjectReward(id: $getProjectRewardId) { + ...ProjectReward } - ${ProjectRewardFragmentDoc} -` +} + ${ProjectRewardFragmentDoc}`; /** * __useProjectRewardQuery__ @@ -16154,39 +12558,31 @@ export const ProjectRewardDocument = gql` * }, * }); */ -export function useProjectRewardQuery( - baseOptions: Apollo.QueryHookOptions & - ({ variables: ProjectRewardQueryVariables; skip?: boolean } | { skip: boolean }), -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useQuery(ProjectRewardDocument, options) -} -export function useProjectRewardLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useLazyQuery(ProjectRewardDocument, options) -} -export function useProjectRewardSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSuspenseQuery(ProjectRewardDocument, options) -} -export type ProjectRewardQueryHookResult = ReturnType -export type ProjectRewardLazyQueryHookResult = ReturnType -export type ProjectRewardSuspenseQueryHookResult = ReturnType -export type ProjectRewardQueryResult = Apollo.QueryResult -export const FundingTxStatusUpdatedDocument = gql` - subscription FundingTxStatusUpdated($input: FundingTxStatusUpdatedInput) { - fundingTxStatusUpdated(input: $input) { - fundingTx { - ...FundingTx +export function useProjectRewardQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ProjectRewardQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProjectRewardDocument, options); } +export function useProjectRewardLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProjectRewardDocument, options); + } +export function useProjectRewardSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ProjectRewardDocument, options); + } +export type ProjectRewardQueryHookResult = ReturnType; +export type ProjectRewardLazyQueryHookResult = ReturnType; +export type ProjectRewardSuspenseQueryHookResult = ReturnType; +export type ProjectRewardQueryResult = Apollo.QueryResult; +export const FundingTxStatusUpdatedDocument = gql` + subscription FundingTxStatusUpdated($input: FundingTxStatusUpdatedInput) { + fundingTxStatusUpdated(input: $input) { + fundingTx { + ...FundingTx } } - ${FundingTxFragmentDoc} -` +} + ${FundingTxFragmentDoc}`; /** * __useFundingTxStatusUpdatedSubscription__ @@ -16204,17 +12600,9 @@ export const FundingTxStatusUpdatedDocument = gql` * }, * }); */ -export function useFundingTxStatusUpdatedSubscription( - baseOptions?: Apollo.SubscriptionHookOptions< - FundingTxStatusUpdatedSubscription, - FundingTxStatusUpdatedSubscriptionVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions } - return Apollo.useSubscription( - FundingTxStatusUpdatedDocument, - options, - ) -} -export type FundingTxStatusUpdatedSubscriptionHookResult = ReturnType -export type FundingTxStatusUpdatedSubscriptionResult = Apollo.SubscriptionResult +export function useFundingTxStatusUpdatedSubscription(baseOptions?: Apollo.SubscriptionHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSubscription(FundingTxStatusUpdatedDocument, options); + } +export type FundingTxStatusUpdatedSubscriptionHookResult = ReturnType; +export type FundingTxStatusUpdatedSubscriptionResult = Apollo.SubscriptionResult; \ No newline at end of file