MCPcopy Create free account

hub / github.com/artsy/force / functions

Functions4,480 in github.com/artsy/force

↓ 7 callersFunctionuseCurrentTime
({ interval = 1000, syncWithServer = false, }: UseCurrentTimeProps = {})
src/Utils/Hooks/useCurrentTime.tsx:25
↓ 7 callersFunctionuseManageArtworkForSavesContext
()
src/Components/Artwork/ManageArtworkForSaves.tsx:93
↓ 7 callersFunctionuseSectionReady
({ onReady }: UseSectionReadyProps)
src/Utils/Hooks/useSectionReadiness.ts:260
↓ 7 callersFunctionuseTrackFeatureVariantOnMount
( props: Omit<VariantTrackingProperties, "variantName"> & { variantName?: string }, )
src/System/Hooks/useTrackFeatureVariant.tsx:54
↓ 7 callersFunctionuserIsTeam
(user?: User)
src/Utils/user.ts:38
↓ 6 callersMethodback
()
src/Apps/Settings/Routes/Insights/Components/CareerHighlights/CareerHighlightsModal/Hooks/useCareerHighlightsStoriesContext.tsx:8
↓ 6 callersFunctionbootstrapSharifyAndContextLocalsMiddleware
( req: ArtsyRequest, res: ArtsyResponse, next: NextFunction, )
src/Server/middleware/bootstrapSharifyAndContextLocalsMiddleware.ts:13
↓ 6 callersFunctioncreateCollectUrl
({ dimension, category, artistId, }: { dimension: AnalyticsPricingContextDimensionEnum category: Fil
src/Apps/Artwork/Utils/createCollectUrl.tsx:4
↓ 6 callersFunctioncrop
( src: string, options: { width: number height: number quality?: number }, )
src/Utils/resizer.ts:14
↓ 6 callersFunctiondecodeJwtExp
(token: string)
src/Server/passport/lib/refreshAccessToken.ts:8
↓ 6 callersFunctiondispatchPopState
(state: unknown)
src/System/Router/Utils/__tests__/FilterableBrowserProtocol.jest.ts:3
↓ 6 callersFunctionerrorMessageForCard
src/Apps/Auction/Components/Form/Utils/errorMessages.ts:41
↓ 6 callersFunctionexpectCommonSubmissionFlow
(tokenId: string)
src/Apps/Order2/Routes/Checkout/Components/PaymentStep/__tests__/Order2PaymentForm.jest.tsx:222
↓ 6 callersFunctionfillIn
( component: any, inputData: { title: string; value: string }, )
src/Components/__tests__/Utils/addressForm.ts:19
↓ 6 callersFunctionformatCalendarDate
(date, offsetHours = 0)
src/Apps/Auction/Components/AuctionDetails/helpers.ts:76
↓ 6 callersFunctionformatIsoDateNoZoneOffset
(date: string, offsetHours = 0)
src/Apps/Auction/Components/AuctionDetails/helpers.ts:90
↓ 6 callersFunctionformatLargeNumber
(number: number, decimalPlaces = 0)
src/Utils/formatLargeNumber.ts:1
↓ 6 callersFunctiongetAppPreferences
(req: ArtsyRequest)
src/Apps/AppPreferences/appPreferencesServerRoutes.ts:67
↓ 6 callersFunctiongetAuthorPath
(author: AuthorPathData)
src/Utils/getAuthorPath.ts:7
↓ 6 callersFunctiongetENV
()
src/Utils/__mocks__/getENV.ts:1
↓ 6 callersFunctiongetMetadata
({ medium, color, }: { medium?: Medium color?: Color })
src/Apps/Collect/Routes/Collect/Utils/getMetadata.ts:109
↓ 6 callersFunctiongetRedirectUrl
( req: ArtsyRequest, redirects: Record<string, string>, )
src/Server/middleware/hardcodedRedirects.ts:184
↓ 6 callersFunctiongetSelectedArtworkListIds
( options: Options<T>, )
src/Apps/CollectorProfile/Routes/Saves/Utils/getSelectedArtworkListIds.ts:14
↓ 6 callersFunctiongetTimePeriodToDisplay
src/Components/ArtworkFilter/ArtworkFilters/TimePeriodFilter.tsx:18
↓ 6 callersFunctiongetTocJumpState
(historyState: unknown)
src/Apps/Article/Utils/articleHistoryState.ts:24
↓ 6 callersFunctiongetWrapper
(props = {})
src/Components/ArtworkFilter/__tests__/ArtworkFilterMobileOverlay.jest.tsx:36
↓ 6 callersFunctiongoToDetailsIf
(pred: (order: redirects_order$data) => boolean, reason)
src/Apps/Order/redirects.tsx:18
↓ 6 callersFunctionhandleNewUserAddressUpdates
( values: FulfillmentValues, )
src/Apps/Order/Routes/Shipping/Hooks/useUserAddressUpdates.ts:73
↓ 6 callersFunctioninjectHeadingIDs
( body: string, outline: ReadonlyArray<OutlineEntry>, articleSlug: string, )
src/Apps/Article/Components/Utils/extractHeadings.ts:102
↓ 6 callersFunctionisDefaultValue
( paramName: string, paramValue: string | boolean | string[] | null, )
src/Components/SavedSearchAlert/Utils/savedSearchCriteria.tsx:12
↓ 6 callersFunctionisShippableAddress
( address: { country: string }, availableShippingCountries: ReadonlyArray<string>, )
src/Apps/Order2/Utils/addressUtils.ts:20
↓ 6 callersFunctionisStaticAuthRoute
({ req }: { req: ArtsyRequest })
src/Apps/Authentication/Middleware/isStaticAuthRoute.ts:3
↓ 6 callersFunctionlimitWithCount
( initial: ReadonlyArray<string>, limit: number, )
src/Apps/Artwork/Utils/limitWithCount.tsx:16
↓ 6 callersFunctionmockRejectLastOperation
(error: Error)
src/DevTools/setupTestWrapperTL.tsx:156
↓ 6 callersFunctionmockTimer
( days: string, hours: string, minutes: string, seconds: string, )
src/Components/Artwork/Details/__tests__/BidTimerLine.jest.tsx:17
↓ 6 callersFunctiononSuccess
()
src/Apps/Invoice/Components/InvoicePaymentForm.tsx:23
↓ 6 callersFunctionpluralize
(word: string, count: number)
src/Components/Notifications/util.ts:89
↓ 6 callersFunctionprocessSavedAddresses
( addresses: Order2DeliveryForm_me$data["addressConnection"], availableShippingCountries: readonly string[
src/Apps/Order2/Routes/Checkout/Components/FulfillmentDetailsStep/utils.ts:62
↓ 6 callersFunctionreportLoadTimeToVolley
({ pageType, deviceType, metricsMap = DEFAULT_METRICS, }: { pageType: PageOwnerType deviceType: stri
src/Server/volley.ts:28
↓ 6 callersFunctionresolveProxies
(req: PassportRequest)
src/Server/passport/lib/passport/callbacks.ts:46
↓ 6 callersFunctionsetBankAccountSelection
src/Apps/Order/Routes/Payment/PaymentContext/OrderPaymentContext.tsx:159
↓ 6 callersFunctionsetLocation
(search: string)
src/Utils/__tests__/GoogleOneTapContainer.jest.tsx:270
↓ 6 callersFunctionsortAddressesByPriority
(addresses: ProcessedUserAddress[])
src/Apps/Order2/Routes/Checkout/Components/FulfillmentDetailsStep/utils.ts:89
↓ 6 callersFunctionsortCountriesForCountryInput
( unsorted: typeof countryPhoneOptions, firstCode: CountryData["value"] = "us", )
src/Components/Address/utils/sortCountriesForCountryInput.ts:13
↓ 6 callersFunctionstoreWithReferrer
(pathname: string, search = "")
src/System/Router/Middleware/__tests__/trackingMiddleware.jest.ts:222
↓ 6 callersFunctiontrustTokenLogin
( req: PassportRequest, res: PassportResponse, next: NextFunction, )
src/Server/passport/lib/app/token_login.ts:34
↓ 6 callersFunctionuseArticleTracking
()
src/Apps/Article/useArticleTracking.ts:13
↓ 6 callersFunctionuseConversationsContext
()
src/Apps/Conversations/ConversationsContext.tsx:100
↓ 6 callersFunctionuseDynamicBreadcrumb
()
src/Apps/Artwork/Components/ArtworkTopContextBar/ArtworkTopContextBarDynamicBreadcrumb.tsx:8
↓ 6 callersFunctionuseFollowButtonTracking
({ ownerType, ownerId, ownerSlug, contextModule, }: UseFollowButtonTracking)
src/Components/FollowButton/useFollowButtonTracking.ts:29
↓ 6 callersFunctionuseOnboardingFadeTransition
({ next, }: UseOnboardingFadeTransition)
src/Components/Onboarding/Hooks/useOnboardingFadeTransition.tsx:9
↓ 6 callersFunctionuseOnboardingTracking
()
src/Components/Onboarding/Hooks/useOnboardingTracking.ts:11
↓ 6 callersFunctionuseOrder2Tracking
( source: "PARTNER_OFFER" | unknown, mode: "BUY" | "OFFER" | unknown, )
src/Apps/Order2/Hooks/useOrder2Tracking.tsx:19
↓ 6 callersFunctionusePoll
({ callback, intervalTime, key, clearWhen, }: PollProps)
src/Utils/Hooks/usePoll.ts:12
↓ 6 callersFunctionuseRefetchLatestMessagesPoll
({ intervalTime = DEFAULT_POLLING_INTERVAL_TIME, onRefetch, clearWhen, }: UseRefetchLatestMessagesPollPr
src/Apps/Conversations/hooks/useRefetchLatestMessagesPoll.ts:16
↓ 6 callersFunctionuseScrollToFieldErrorOnSubmit
()
src/Apps/Order2/Routes/Checkout/Hooks/useScrollToFieldErrorOnSubmit.ts:34
↓ 6 callersFunctionuseSectionReadiness
( orderedKeys: TSectionKey[], )
src/Utils/Hooks/useSectionReadiness.ts:129
↓ 6 callersFunctionuseStableShuffle
({ items }: { items: T[] })
src/Utils/Hooks/useStableShuffle.ts:8
↓ 6 callersFunctionuseSticky
({ id: _id }: { id?: string } = {})
src/Components/Sticky/StickyProvider.tsx:324
↓ 6 callersFunctionuserRequiredMiddleware
(req, res, next)
src/Server/middleware/userRequiredMiddleware.ts:20
↓ 6 callersFunctionvalidatePostalCode
(postalCode: string, countryCode: string)
src/Apps/Order/Utils/formValidators.tsx:11
↓ 5 callersFunctionaRuleWithChildren
( children: Array<RedirectRecord<{}>>, )
src/Apps/Order/__tests__/getRedirect.jest.ts:8
↓ 5 callersFunctionaggregationsToHistogram
( aggregations?: Aggregations | null, )
src/Components/ArtworkFilter/ArtworkFilters/PriceRangeFilter.tsx:44
↓ 5 callersFunctionbuildJwt
(payload: object)
src/Server/passport/lib/__tests__/refreshAccessToken.jest.ts:18
↓ 5 callersFunctiondenyBadLogoutLinks
( req: PassportRequest, _res: PassportResponse, next: NextFunction, )
src/Server/passport/lib/app/logout.ts:19
↓ 5 callersFunctionexcludeDefaultCriteria
( criteria: SearchCriteriaAttributes, defaultCriteria: SavedSearchDefaultCriteria, )
src/Components/SavedSearchAlert/Utils/extractPills.ts:261
↓ 5 callersFunctionfillAddressFormFields
( address: Partial<Address>, options: { clearInputs?: boolean; wrapperTestId?: string } = {}, )
src/Components/Address/__tests__/utils.ts:64
↓ 5 callersFunctionfilterCities
(cities, value: string)
src/Apps/Partners/Utils/filterUtils.ts:1
↓ 5 callersMethodfindAllByRole
(role: string, options?: any)
src/DevTools/RootTestPageRTL.tsx:28
↓ 5 callersFunctiongetFilterDisplayName
( filterType: string, value: string, context?: { metric?: string }, )
src/Apps/Artist/Routes/AuctionResults/Utils/filterDisplayNames.ts:23
↓ 5 callersFunctiongetMerchandisingPartnerSlugs
()
src/Apps/Partner/Utils/getMerchandisingPartnerSlugs.ts:3
↓ 5 callersFunctiongetMyCollectionArtworkFormInitialValues
( artwork?: MyCollectionEditArtwork_artwork$data, )
src/Apps/CollectorProfile/Routes/MyCollection/EditArtwork/Utils/artworkFormHelpers.ts:7
↓ 5 callersFunctiongetOfferItemFromOrder
(orderLineItemsNode)
src/Apps/Order/Utils/offerUtils.ts:19
↓ 5 callersFunctiongetPropsWithTimeRemaining
src/Components/__tests__/CountdownTimer.jest.tsx:31
↓ 5 callersFunctiongetRoutes
()
src/System/Router/Utils/routeUtils.ts:5
↓ 5 callersMethodgetSession
()
src/System/Router/Utils/FilterableBrowserProtocol.ts:42
↓ 5 callersFunctiongetStatus
({ status, distanceToOpen, distanceToClose, }: { status: string distanceToOpen: string | null | unde
src/Apps/ViewingRoom/Utils/getStatus.ts:1
↓ 5 callersFunctiongetTags
()
src/Components/__tests__/MetaTags.jest.tsx:15
↓ 5 callersFunctiongetTags
()
src/Components/__tests__/PaginatedMetaTags.jest.tsx:20
↓ 5 callersFunctiongetURLHost
src/Utils/url.ts:1
↓ 5 callersFunctiongetWrapper
(passedProps = {})
src/Components/NavBar/Menus/__tests__/NavBarMenuItemFeaturedLinkColumn.jest.tsx:52
↓ 5 callersFunctiongetWrapper
src/Components/FollowButton/__tests__/Button.jest.tsx:6
↓ 5 callersFunctionhandleAddressFieldChange
(field: keyof Address)
src/Components/Address/AddressFormFields.tsx:164
↓ 5 callersFunctionhandleFixFailedPaymentError
(code: string)
src/Apps/Order/Routes/NewPayment/index.tsx:248
↓ 5 callersFunctionhasCorrectAddressFormFields
({ withLegacyPhoneInput, }: { withLegacyPhoneInput?: boolean } = {})
src/Components/Address/__tests__/utils.ts:36
↓ 5 callersFunctionhasPersonalizedArguments
(variables: Variables)
src/System/Relay/isRequestCacheable.ts:26
↓ 5 callersFunctionisRelevantEvent
src/Apps/Conversations/hooks/useGroupedMessages.ts:71
↓ 5 callersFunctionlogin
(args: { email: string password: string authenticationCode: string })
src/Utils/auth.ts:15
↓ 5 callersFunctionmakeStep
(name: string, state: string)
src/Apps/Order2/Routes/Checkout/Components/DeliveryOptionsStep/__tests__/Order2DeliveryOptionsStep.jest.tsx:27
↓ 5 callersMethodnext
()
src/Apps/Settings/Routes/Insights/Components/CareerHighlights/CareerHighlightsModal/Hooks/useCareerHighlightsStoriesContext.tsx:10
↓ 5 callersFunctionnotification
( endAt = "2099-01-01T00:00:00+00:00", isAvailable = true, note = "", source = "SAVE", )
src/Components/Notifications/__tests__/PartnerOfferCreatedNotification.jest.tsx:126
↓ 5 callersFunctionparseDefaultCriteria
( defaultCriteria: SavedSearchDefaultCriteria, )
src/Components/SavedSearchAlert/Utils/savedSearchCriteria.tsx:44
↓ 5 callersFunctionrenderAndOpenModal
(props: TestButtonProps = {})
src/Components/Artwork/__tests__/ManageArtworkForSaves.jest.tsx:42
↓ 5 callersFunctionrenderComponent
(passedProps = props)
src/Components/RelatedCollectionsRail/__tests__/RelatedCollectionsRail.jest.tsx:23
↓ 5 callersFunctionrenderForm
()
src/Components/Address/__tests__/AddressFormFields.tracking.jest.tsx:53
↓ 5 callersFunctionrunAfterAuthentication
({ accessToken, }: { accessToken?: string } = {})
src/Components/AuthDialog/Hooks/useAfterAuthentication.ts:16
↓ 5 callersFunctionsanitizedMetrics
(start: number, end: number)
src/Server/userPerformanceMetrics.ts:17
↓ 5 callersFunctionscale
()
src/Components/ViewInRoom/ViewInRoomRoom.tsx:41
↓ 5 callersFunctionsetupHook
()
src/Components/Onboarding/Hooks/__tests__/useOnboardingTracking.jest.tsx:11
↓ 5 callersFunctionsetupHook
()
src/Apps/CollectorProfile/Routes/MyCollection/Hooks/__tests__/useMyCollectionTracking.jest.tsx:12
← previousnext →301–400 of 4,480, ranked by callers