MCPcopy Create free account

hub / github.com/benawad/lireddit / functions

Functions76 in github.com/benawad/lireddit

↓ 3 callersFunctionbetterUpdateQuery
( cache: Cache, qi: QueryInput, result: any, fn: (r: Result, q: Query) => Query )
web/src/utils/betterUpdateQuery.tsx:3
↓ 3 callersFunctiontoErrorMap
(errors: FieldError[])
web/src/utils/toErrorMap.ts:3
↓ 3 callersFunctionuseMeQuery
(baseOptions?: Apollo.QueryHookOptions<MeQuery, MeQueryVariables>)
web/src/generated/graphql.tsx:681
↓ 2 callersFunctioncreateApolloClient
(apolloClient, initialState, ctx)
web/src/utils/createWithApollo.js:185
↓ 2 callersFunctioninitApolloClient
(apolloClient, initialState, ctx)
web/src/utils/createWithApollo.js:58
↓ 2 callersFunctioninvalidateAllPosts
(cache: Cache)
web/src/utils/createUrqlClient.ts:70
↓ 2 callersFunctionisServer
()
web/src/utils/isServer.ts:1
↓ 2 callersFunctionupdateAfterVote
( value: number, postId: number, cache: ApolloCache<VoteMutation> )
web/src/components/UpdootSection.tsx:15
↓ 2 callersFunctionuseGetIntId
()
web/src/utils/useGetIntId.ts:3
↓ 2 callersFunctionusePostQuery
(baseOptions?: Apollo.QueryHookOptions<PostQuery, PostQueryVariables>)
web/src/generated/graphql.tsx:724
↓ 1 callersFunctioncreateUpdootLoader
()
server/src/utils/createUpdootLoader.ts:6
↓ 1 callersFunctioncreateUserLoader
()
server/src/utils/createUserLoader.ts:6
↓ 1 callersFunctioncreateWithApollo
(ac)
web/src/utils/createWithApollo.js:85
↓ 1 callersFunctioncursorPagination
()
web/src/utils/createUrqlClient.ts:34
↓ 1 callersFunctioninitOnContext
(ac, ctx)
web/src/utils/createWithApollo.js:16
↓ 1 callersFunctionmain
()
server/src/index.ts:22
↓ 1 callersFunctionsendEmail
(to: string, html: string)
server/src/utils/sendEmail.ts:4
↓ 1 callersFunctionuseChangePasswordMutation
(baseOptions?: Apollo.MutationHookOptions<ChangePasswordMutation, ChangePasswordMutationVariables>)
web/src/generated/graphql.tsx:392
↓ 1 callersFunctionuseCreatePostMutation
(baseOptions?: Apollo.MutationHookOptions<CreatePostMutation, CreatePostMutationVariables>)
web/src/generated/graphql.tsx:430
↓ 1 callersFunctionuseDeletePostMutation
(baseOptions?: Apollo.MutationHookOptions<DeletePostMutation, DeletePostMutationVariables>)
web/src/generated/graphql.tsx:460
↓ 1 callersFunctionuseForgotPasswordMutation
(baseOptions?: Apollo.MutationHookOptions<ForgotPasswordMutation, ForgotPasswordMutationVariables>)
web/src/generated/graphql.tsx:490
↓ 1 callersFunctionuseGetPostFromUrl
()
web/src/utils/useGetPostFromUrl.ts:6
↓ 1 callersFunctionuseIsAuth
()
web/src/utils/useIsAuth.ts:5
↓ 1 callersFunctionuseLoginMutation
(baseOptions?: Apollo.MutationHookOptions<LoginMutation, LoginMutationVariables>)
web/src/generated/graphql.tsx:523
↓ 1 callersFunctionuseLogoutMutation
(baseOptions?: Apollo.MutationHookOptions<LogoutMutation, LogoutMutationVariables>)
web/src/generated/graphql.tsx:552
↓ 1 callersFunctionusePostsQuery
(baseOptions?: Apollo.QueryHookOptions<PostsQuery, PostsQueryVariables>)
web/src/generated/graphql.tsx:761
↓ 1 callersFunctionuseRegisterMutation
(baseOptions?: Apollo.MutationHookOptions<RegisterMutation, RegisterMutationVariables>)
web/src/generated/graphql.tsx:584
↓ 1 callersFunctionuseUpdatePostMutation
(baseOptions?: Apollo.MutationHookOptions<UpdatePostMutation, UpdatePostMutationVariables>)
web/src/generated/graphql.tsx:621
↓ 1 callersFunctionuseVoteMutation
(baseOptions?: Apollo.MutationHookOptions<VoteMutation, VoteMutationVariables>)
web/src/generated/graphql.tsx:652
↓ 1 callersFunctionvalidateRegister
(options: UsernamePasswordInput)
server/src/utils/validateRegister.ts:3
FunctionChangePassword
()
web/src/pages/change-password/[token].tsx:19
FunctionCreatePost
({})
web/src/pages/create-post.tsx:13
FunctionEditDeletePostButtons
({ id, creatorId, })
web/src/components/EditDeletePostButtons.tsx:11
FunctionEditPost
({})
web/src/pages/post/edit/[id].tsx:16
FunctionForgotPassword
({})
web/src/pages/forgot-password.tsx:11
FunctionIndex
()
web/src/pages/index.tsx:12
FunctionInputField
({ label, textarea, size: _, ...props })
web/src/components/InputField.tsx:20
FunctionLayout
({ children, variant })
web/src/components/Layout.tsx:9
FunctionLogin
({})
web/src/pages/login.tsx:14
FunctionMyApp
({ Component, pageProps }: any)
web/src/pages/_app.tsx:4
FunctionNavBar
({})
web/src/components/NavBar.tsx:11
FunctionPost
({})
web/src/pages/post/[id].tsx:10
FunctionRegister
({})
web/src/pages/register.tsx:15
FunctionUpdootSection
({ post })
web/src/components/UpdootSection.tsx:54
FunctionWithApollo
({ apolloClient, apolloState, ...pageProps })
web/src/utils/createWithApollo.js:87
FunctionWrapper
({ children, variant = "regular", })
web/src/components/Wrapper.tsx:10
MethodchangePassword
( @Arg("token") token: string, @Arg("newPassword") newPassword: string, @Ctx() { redis, req }: MyC
server/src/resolvers/user.ts:52
FunctioncreateClient
(ctx: NextPageContext)
web/src/utils/withApollo.ts:6
MethodcreatePost
( @Arg("input") input: PostInput, @Ctx() { req }: MyContext )
server/src/resolvers/post.ts:181
FunctioncreateUrqlClient
(ssrExchange: any, ctx: any)
web/src/utils/createUrqlClient.ts:78
Methodcreator
(@Root() post: Post, @Ctx() { userLoader }: MyContext)
server/src/resolvers/post.ts:46
MethoddeletePost
( @Arg("id", () => Int) id: number, @Ctx() { req }: MyContext )
server/src/resolvers/post.ts:215
Methoddown
(queryRunner: QueryRunner)
server/src/migrations/1597626060117-Initial.ts:15
Methoddown
(_: QueryRunner)
server/src/migrations/1597424501158-MockPosts.ts:207
Methodemail
(@Root() user: User, @Ctx() { req }: MyContext)
server/src/resolvers/user.ts:42
FunctionerrorExchange
({ forward })
web/src/utils/createUrqlClient.ts:23
MethodforgotPassword
( @Arg("email") email: string, @Ctx() { redis }: MyContext )
server/src/resolvers/user.ts:111
Methodhello
()
server/src/resolvers/hello.ts:6
FunctionisAuth
({ context }, next)
server/src/middleware/isAuth.ts:4
Methodlogin
( @Arg("usernameOrEmail") usernameOrEmail: string, @Arg("password") password: string, @Ctx() { req
server/src/resolvers/user.ts:198
Methodlogout
(@Ctx() { req, res }: MyContext)
server/src/resolvers/user.ts:238
Methodme
(@Ctx() { req }: MyContext)
server/src/resolvers/user.ts:139
Functionmerge
( existing: PaginatedPosts | undefined, incoming: PaginatedPosts
web/src/utils/withApollo.ts:22
Methodpost
(@Arg("id", () => Int) id: number)
server/src/resolvers/post.ts:175
Methodposts
( @Arg("limit", () => Int) limit: number, @Arg("cursor", () => String, { nullable: true }) cursor: str
server/src/resolvers/post.ts:127
Methodregister
( @Arg("options") options: UsernamePasswordInput, @Ctx() { req }: MyContext )
server/src/resolvers/user.ts:149
Functionsleep
(ms: number)
server/src/utils/sleep.ts:1
MethodtextSnippet
(@Root() post: Post)
server/src/resolvers/post.ts:41
Methodup
(queryRunner: QueryRunner)
server/src/migrations/1597626060117-Initial.ts:6
Methodup
(_: QueryRunner)
server/src/migrations/1597424501158-MockPosts.ts:4
MethodupdatePost
( @Arg("id", () => Int) id: number, @Arg("title") title: string, @Arg("text") text: string, @C
server/src/resolvers/post.ts:193
FunctionuseMeLazyQuery
(baseOptions?: Apollo.LazyQueryHookOptions<MeQuery, MeQueryVariables>)
web/src/generated/graphql.tsx:684
FunctionusePostLazyQuery
(baseOptions?: Apollo.LazyQueryHookOptions<PostQuery, PostQueryVariables>)
web/src/generated/graphql.tsx:727
FunctionusePostsLazyQuery
(baseOptions?: Apollo.LazyQueryHookOptions<PostsQuery, PostsQueryVariables>)
web/src/generated/graphql.tsx:764
Methodvote
( @Arg("postId", () => Int) postId: number, @Arg("value", () => Int) value: number, @Ctx() { req }
server/src/resolvers/post.ts:69
MethodvoteStatus
( @Root() post: Post, @Ctx() { updootLoader, req }: MyContext )
server/src/resolvers/post.ts:51