MCPcopy Create free account

hub / github.com/apollographql/fullstack-tutorial / functions

Functions78 in github.com/apollographql/fullstack-tutorial

↓ 20 callersFunctionrenderApollo
(node: any, { mocks, addTypename, defaultOptions, cache, resolvers, history, ...options }: RenderApolloOptions
final/client/src/test-utils.tsx:18
↓ 20 callersFunctionrenderApollo
(node: any, { mocks, addTypename, defaultOptions, cache, resolvers, history, ...options }: RenderApolloOptions
start/client/src/test-utils.tsx:18
↓ 5 callersMethodfindOrCreateUser
* User can be called with an argument that includes email, but it doesn't * have to be. If the user is already on the context, it will use that use
final/server/src/datasources/user.js:28
↓ 5 callersMethodgetLaunchById
({ launchId })
final/server/src/datasources/launch.js:36
↓ 4 callersMethodbookTrips
({ launchIds })
final/server/src/datasources/user.js:37
↓ 4 callersMethodcancelTrip
({ launchId })
final/server/src/datasources/user.js:61
↓ 4 callersFunctionconstructTestServer
({ context = defaultContext } = {})
final/server/src/__tests__/__utils.js:21
↓ 4 callersFunctionconstructTestServer
({ context = defaultContext } = {})
start/server/src/__tests__/__utils.js:21
↓ 4 callersMethodgetLaunchesByIds
({ launchIds })
final/server/src/datasources/launch.js:41
↓ 4 callersMethodlaunchReducer
(launch)
final/server/src/datasources/launch.js:10
↓ 3 callersMethodbookTrips
({ launchIds })
start/server/src/datasources/user.js:34
↓ 3 callersMethodcancelTrip
({ launchId })
start/server/src/datasources/user.js:58
↓ 3 callersMethodfindOrCreateUser
* User can be called with an argument that includes email, but it doesn't * have to be. If the user is already on the context, it will use that use
start/server/src/datasources/user.js:25
↓ 3 callersMethodgetAllLaunches
()
final/server/src/datasources/launch.js:28
↓ 3 callersMethodgetLaunchIdsByUser
()
final/server/src/datasources/user.js:66
↓ 2 callersMethodbookTrip
({ launchId })
final/server/src/datasources/user.js:53
↓ 2 callersMethodbookTrip
({ launchId })
start/server/src/datasources/user.js:50
↓ 2 callersFunctiongetBackgroundImage
(id: string)
final/client/src/components/launch-tile.tsx:13
↓ 2 callersFunctiongetBackgroundImage
(id: string)
start/client/src/components/launch-tile.tsx:11
↓ 2 callersMethodgetLaunchIdsByUser
()
start/server/src/datasources/user.js:63
↓ 1 callersMethodinitialize
* This is a function that gets called by ApolloServer when being setup. * This function gets called with the datasource config including things
final/server/src/datasources/user.js:19
↓ 1 callersMethodinitialize
* This is a function that gets called by ApolloServer when being setup. * This function gets called with the datasource config including things
start/server/src/datasources/user.js:16
↓ 1 callersMethodisBookedOnLaunch
({ launchId })
final/server/src/datasources/user.js:76
↓ 1 callersFunctionpickAvatarByEmail
(email: string)
final/client/src/components/header.tsx:15
↓ 1 callersFunctionpickAvatarByEmail
(email: string)
start/client/src/components/header.tsx:15
↓ 1 callersMethodrender
()
final/client/src/components/login-form.tsx:35
↓ 1 callersMethodrender
()
start/client/src/components/login-form.tsx:34
↓ 1 callersFunctionstartTestServer
final/server/src/__tests__/__utils.js:41
↓ 1 callersFunctionstartTestServer
start/server/src/__tests__/__utils.js:41
FunctionActionButton
({ isBooked, id })
final/client/src/containers/action-button.tsx:96
FunctionActionButton
()
start/client/src/containers/action-button.tsx:3
FunctionBookTrips
({ cartItems })
final/client/src/containers/book-trips.tsx:24
FunctionBookTrips
()
start/client/src/containers/book-trips.tsx:3
FunctionCancelTripButton
({ id })
final/client/src/containers/action-button.tsx:31
FunctionCart
()
final/client/src/pages/cart.tsx:16
FunctionCart
()
start/client/src/pages/cart.tsx:7
FunctionCartItem
({ launchId })
final/client/src/containers/cart-item.tsx:19
FunctionCartItem
({ launchId })
start/client/src/containers/cart-item.tsx:19
FunctionFooter
()
final/client/src/components/footer.tsx:11
FunctionFooter
()
start/client/src/components/footer.tsx:11
FunctionHeader
({ image, children = 'Space Explorer' })
final/client/src/components/header.tsx:26
FunctionHeader
({ image, children = 'Space Explorer' })
start/client/src/components/header.tsx:26
FunctionIsLoggedIn
()
final/client/src/index.tsx:47
FunctionLaunch
()
final/client/src/pages/launch.tsx:25
FunctionLaunch
()
start/client/src/pages/launch.tsx:7
FunctionLaunchDetail
({ id, site, rocket })
final/client/src/components/launch-detail.tsx:10
FunctionLaunchDetail
({ id, site, rocket }: any)
start/client/src/components/launch-detail.tsx:7
FunctionLaunchTile
({ launch })
final/client/src/components/launch-tile.tsx:21
FunctionLaunchTile
({ launch }: any)
start/client/src/components/launch-tile.tsx:15
FunctionLaunches
()
final/client/src/pages/launches.tsx:38
FunctionLaunches
()
start/client/src/pages/launches.tsx:22
FunctionLogin
()
final/client/src/pages/login.tsx:17
FunctionLogin
()
start/client/src/pages/login.tsx:3
FunctionLogoutButton
()
final/client/src/containers/logout-button.tsx:9
FunctionLogoutButton
()
start/client/src/containers/logout-button.tsx:3
FunctionPageContainer
(props: any)
final/client/src/components/page-container.tsx:6
FunctionPageContainer
(props: any)
start/client/src/components/page-container.tsx:6
FunctionPages
()
final/client/src/pages/index.tsx:10
FunctionPages
()
start/client/src/pages/index.tsx:9
FunctionProfile
()
final/client/src/pages/profile.tsx:23
FunctionProfile
()
start/client/src/pages/profile.tsx:5
FunctionToggleTripButton
({ id })
final/client/src/containers/action-button.tsx:72
Methodconstructor
({ store })
final/server/src/datasources/user.js:8
Methodconstructor
()
final/server/src/datasources/launch.js:4
Methodconstructor
({ store })
start/server/src/datasources/user.js:5
Functioncontext
({ req })
final/server/src/index.js:24
FunctiondataSources
()
final/server/src/index.js:18
FunctionexecuteOperation
({ query, variables = {} })
final/server/src/__tests__/__utils.js:54
FunctionexecuteOperation
({ query, variables = {} })
start/server/src/__tests__/__utils.js:54
MethodisBookedOnLaunch
({ launchId })
start/server/src/datasources/user.js:73
Functionmerge
(existing, incoming)
final/client/src/cache.ts:19
FunctiononCompleted
({ login })
final/client/src/pages/login.tsx:19
Functionread
()
final/client/src/cache.ts:8
Functionstyles
()
final/client/src/styles.js:14
Functionstyles
()
start/client/src/styles.js:14
Functiontrips
(existingTrips: Reference[], { readField })
final/client/src/containers/action-button.tsx:46
Functionupdate
(cache, { data: { cancelTrip } })
final/client/src/containers/action-button.tsx:36
MethoduploadProfileImage
* This function is currently only used by the iOS tutorial to upload a * profile image to S3 and update the user row
final/server/src/datasources/user.js:89