MCPcopy Create free account

hub / github.com/alexandrosk/shopify-app-ts / functions

Functions46 in github.com/alexandrosk/shopify-app-ts

↓ 5 callersFunctionuseShopifyApi
( query: string )
web/frontend/hooks/useShopifyApi.ts:13
↓ 4 callersFunctionredirectToAuth
(req, res, app)
web/helpers/redirect-to-auth.js:3
↓ 4 callersFunctionuseAuthenticatedFetch
()
web/frontend/hooks/useAuthenticatedFetch.ts:18
↓ 2 callersFunctionensureBilling
( session: SessionInterface, { chargeName, amount, currencyCode, interval }: BillingSettings, isProdOver
web/helpers/ensure-billing.ts:23
↓ 2 callersFunctionisRecurring
(interval: BillingInterval)
web/helpers/ensure-billing.ts:218
↓ 2 callersFunctionreturnTopLevelRedirection
(req, res, redirectUrl)
web/helpers/return-top-level-redirection.js:1
↓ 1 callersFunctionapplyAuthMiddleware
( app: Application, { billing, }: { billing: BillingSettingsType; }, )
web/middleware/auth.ts:8
↓ 1 callersFunctioncheckHeadersForReauthorization
( headers: Headers, app: ClientApplication<AppBridgeState> )
web/frontend/hooks/useAuthenticatedFetch.ts:37
↓ 1 callersFunctionclientSideRedirect
(req, res)
web/helpers/redirect-to-auth.js:16
↓ 1 callersFunctioncreateServer
( root = process.cwd(), isProd = environment.NODE_ENV === "production", billingSettings = BILLING_SETTIN
web/index.ts:68
↓ 1 callersFunctionhasActivePayment
( session: SessionInterface, { chargeName, interval }: Pick<BillingSettings, "interval" | "chargeName">, )
web/helpers/ensure-billing.ts:52
↓ 1 callersFunctionisSessionActive
( session: SessionInterface | undefined )
web/helpers/is-session-active.ts:3
↓ 1 callersFunctionproductCreator
(session, count = DEFAULT_PRODUCTS_COUNT)
web/helpers/product-creator.js:82
↓ 1 callersFunctionrandomPrice
()
web/helpers/product-creator.js:114
↓ 1 callersFunctionrandomTitle
()
web/helpers/product-creator.js:108
↓ 1 callersFunctionrequestPayment
( session: SessionInterface, { chargeName, amount, currencyCode, interval }: BillingSettings, )
web/helpers/ensure-billing.ts:112
↓ 1 callersFunctionrequestRecurringPayment
( client: GraphqlClient, returnUrl: string, { chargeName, amount, currencyCode, interval }: BillingSetti
web/helpers/ensure-billing.ts:149
↓ 1 callersFunctionrequestSinglePayment
( client: GraphqlClient, returnUrl: string, { chargeName, amount, currencyCode }: Partial<BillingSetting
web/helpers/ensure-billing.ts:188
↓ 1 callersFunctionserverSideRedirect
(req, res, app)
web/helpers/redirect-to-auth.js:31
↓ 1 callersFunctionsetupGDPRWebHooks
(path: WebhookRegistryEntry["path"])
web/gdpr.ts:3
↓ 1 callersFunctionuseAppQuery
({ url, fetchInit = {}, reactQueryOptions, }: { url: string; fetchInit?: RequestInit; reactQueryOp
web/frontend/hooks/useAppQuery.ts:17
↓ 1 callersFunctionuseCreateSubscriptionMutation
( options?: UseMutationOptions< CreateSubscriptionMutation, TError, CreateSubscriptionMutationVa
web/frontend/graphql/generated.ts:32193
↓ 1 callersFunctionuseGetActiveSubscriptionsQuery
( variables?: GetActiveSubscriptionsQueryVariables, options?: UseQueryOptions<GetActiveSubscriptionsQuery,
web/frontend/graphql/generated.ts:32242
↓ 1 callersFunctionuseRoutes
(pages: Record<string, any>)
web/frontend/Routes.tsx:33
↓ 1 callersFunctionverifyRequest
( app: Application, { billing = { required: false } }: { billing: BillingSettingsType }, )
web/middleware/verify-request.ts:18
FunctionApp
()
web/frontend/App.tsx:11
FunctionAppBridgeLink
({ url, children, external, ...rest })
web/frontend/components/providers/PolarisProvider.jsx:7
FunctionAppBridgeProvider
({ children })
web/frontend/components/providers/AppBridgeProvider.jsx:15
FunctionExitIframe
()
web/frontend/pages/ExitIframe.tsx:6
FunctionHomePage
()
web/frontend/pages/index.tsx:17
FunctionNotFound
()
web/frontend/pages/NotFound.tsx:4
FunctionPageName
()
web/frontend/pages/pagename.tsx:5
FunctionPolarisProvider
({ children })
web/frontend/components/providers/PolarisProvider.jsx:50
FunctionProductsCard
()
web/frontend/components/ProductsCard.tsx:12
FunctionQueryProvider
({ children })
web/frontend/components/providers/QueryProvider.jsx:12
FunctionRoutes
({ pages }: { pages: Record<string, any> })
web/frontend/Routes.tsx:17
FunctionSubscriptions
()
web/frontend/pages/plan.tsx:19
FunctionTrpcProviderReact
({ children, }: { children: ReactNode; })
web/frontend/providers/TrpcProviderReact.tsx:8
Methodconstructor
(message: string, public errorData: any[])
web/helpers/ensure-billing.ts:223
FunctioncreateContext
({ req, res })
web/server/context.ts:8
FunctioncreateRouter
()
web/server/routers/createRouter.ts:7
FunctiongetSessiontoken
()
web/frontend/hooks/useAuthenticatedFetch.ts:30
FunctionhandlePopulate
()
web/frontend/components/ProductsCard.tsx:38
FunctionuseGetProductByIdQuery
( variables: GetProductByIdQueryVariables, options?: UseQueryOptions<GetProductByIdQuery, TError, TData> )
web/frontend/graphql/generated.ts:32308
FunctionuseGetProductsByIdsQuery
( variables: GetProductsByIdsQueryVariables, options?: UseQueryOptions<GetProductsByIdsQuery, TError, TDat
web/frontend/graphql/generated.ts:32338
FunctionuseGetProductsQuery
( variables: GetProductsQueryVariables, options?: UseQueryOptions<GetProductsQuery, TError, TData> )
web/frontend/graphql/generated.ts:32279