Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/artsy/force
/ functions
Functions
4,480 in github.com/artsy/force
⨍
Functions
4,480
◇
Types & classes
1,565
↓ 7 callers
Function
useCurrentTime
({ interval = 1000, syncWithServer = false, }: UseCurrentTimeProps = {})
src/Utils/Hooks/useCurrentTime.tsx:25
↓ 7 callers
Function
useManageArtworkForSavesContext
()
src/Components/Artwork/ManageArtworkForSaves.tsx:93
↓ 7 callers
Function
useSectionReady
({ onReady }: UseSectionReadyProps)
src/Utils/Hooks/useSectionReadiness.ts:260
↓ 7 callers
Function
useTrackFeatureVariantOnMount
( props: Omit<VariantTrackingProperties, "variantName"> & { variantName?: string }, )
src/System/Hooks/useTrackFeatureVariant.tsx:54
↓ 7 callers
Function
userIsTeam
(user?: User)
src/Utils/user.ts:38
↓ 6 callers
Method
back
()
src/Apps/Settings/Routes/Insights/Components/CareerHighlights/CareerHighlightsModal/Hooks/useCareerHighlightsStoriesContext.tsx:8
↓ 6 callers
Function
bootstrapSharifyAndContextLocalsMiddleware
( req: ArtsyRequest, res: ArtsyResponse, next: NextFunction, )
src/Server/middleware/bootstrapSharifyAndContextLocalsMiddleware.ts:13
↓ 6 callers
Function
createCollectUrl
({ dimension, category, artistId, }: { dimension: AnalyticsPricingContextDimensionEnum category: Fil
src/Apps/Artwork/Utils/createCollectUrl.tsx:4
↓ 6 callers
Function
crop
( src: string, options: { width: number height: number quality?: number }, )
src/Utils/resizer.ts:14
↓ 6 callers
Function
decodeJwtExp
(token: string)
src/Server/passport/lib/refreshAccessToken.ts:8
↓ 6 callers
Function
dispatchPopState
(state: unknown)
src/System/Router/Utils/__tests__/FilterableBrowserProtocol.jest.ts:3
↓ 6 callers
Function
errorMessageForCard
src/Apps/Auction/Components/Form/Utils/errorMessages.ts:41
↓ 6 callers
Function
expectCommonSubmissionFlow
(tokenId: string)
src/Apps/Order2/Routes/Checkout/Components/PaymentStep/__tests__/Order2PaymentForm.jest.tsx:222
↓ 6 callers
Function
fillIn
( component: any, inputData: { title: string; value: string }, )
src/Components/__tests__/Utils/addressForm.ts:19
↓ 6 callers
Function
formatCalendarDate
(date, offsetHours = 0)
src/Apps/Auction/Components/AuctionDetails/helpers.ts:76
↓ 6 callers
Function
formatIsoDateNoZoneOffset
(date: string, offsetHours = 0)
src/Apps/Auction/Components/AuctionDetails/helpers.ts:90
↓ 6 callers
Function
formatLargeNumber
(number: number, decimalPlaces = 0)
src/Utils/formatLargeNumber.ts:1
↓ 6 callers
Function
getAppPreferences
(req: ArtsyRequest)
src/Apps/AppPreferences/appPreferencesServerRoutes.ts:67
↓ 6 callers
Function
getAuthorPath
(author: AuthorPathData)
src/Utils/getAuthorPath.ts:7
↓ 6 callers
Function
getENV
()
src/Utils/__mocks__/getENV.ts:1
↓ 6 callers
Function
getMetadata
({ medium, color, }: { medium?: Medium color?: Color })
src/Apps/Collect/Routes/Collect/Utils/getMetadata.ts:109
↓ 6 callers
Function
getRedirectUrl
( req: ArtsyRequest, redirects: Record<string, string>, )
src/Server/middleware/hardcodedRedirects.ts:184
↓ 6 callers
Function
getSelectedArtworkListIds
( options: Options<T>, )
src/Apps/CollectorProfile/Routes/Saves/Utils/getSelectedArtworkListIds.ts:14
↓ 6 callers
Function
getTimePeriodToDisplay
src/Components/ArtworkFilter/ArtworkFilters/TimePeriodFilter.tsx:18
↓ 6 callers
Function
getTocJumpState
(historyState: unknown)
src/Apps/Article/Utils/articleHistoryState.ts:24
↓ 6 callers
Function
getWrapper
(props = {})
src/Components/ArtworkFilter/__tests__/ArtworkFilterMobileOverlay.jest.tsx:36
↓ 6 callers
Function
goToDetailsIf
(pred: (order: redirects_order$data) => boolean, reason)
src/Apps/Order/redirects.tsx:18
↓ 6 callers
Function
handleNewUserAddressUpdates
( values: FulfillmentValues, )
src/Apps/Order/Routes/Shipping/Hooks/useUserAddressUpdates.ts:73
↓ 6 callers
Function
injectHeadingIDs
( body: string, outline: ReadonlyArray<OutlineEntry>, articleSlug: string, )
src/Apps/Article/Components/Utils/extractHeadings.ts:102
↓ 6 callers
Function
isDefaultValue
( paramName: string, paramValue: string | boolean | string[] | null, )
src/Components/SavedSearchAlert/Utils/savedSearchCriteria.tsx:12
↓ 6 callers
Function
isShippableAddress
( address: { country: string }, availableShippingCountries: ReadonlyArray<string>, )
src/Apps/Order2/Utils/addressUtils.ts:20
↓ 6 callers
Function
isStaticAuthRoute
({ req }: { req: ArtsyRequest })
src/Apps/Authentication/Middleware/isStaticAuthRoute.ts:3
↓ 6 callers
Function
limitWithCount
( initial: ReadonlyArray<string>, limit: number, )
src/Apps/Artwork/Utils/limitWithCount.tsx:16
↓ 6 callers
Function
mockRejectLastOperation
(error: Error)
src/DevTools/setupTestWrapperTL.tsx:156
↓ 6 callers
Function
mockTimer
( days: string, hours: string, minutes: string, seconds: string, )
src/Components/Artwork/Details/__tests__/BidTimerLine.jest.tsx:17
↓ 6 callers
Function
onSuccess
()
src/Apps/Invoice/Components/InvoicePaymentForm.tsx:23
↓ 6 callers
Function
pluralize
(word: string, count: number)
src/Components/Notifications/util.ts:89
↓ 6 callers
Function
processSavedAddresses
( addresses: Order2DeliveryForm_me$data["addressConnection"], availableShippingCountries: readonly string[
src/Apps/Order2/Routes/Checkout/Components/FulfillmentDetailsStep/utils.ts:62
↓ 6 callers
Function
reportLoadTimeToVolley
({ pageType, deviceType, metricsMap = DEFAULT_METRICS, }: { pageType: PageOwnerType deviceType: stri
src/Server/volley.ts:28
↓ 6 callers
Function
resolveProxies
(req: PassportRequest)
src/Server/passport/lib/passport/callbacks.ts:46
↓ 6 callers
Function
setBankAccountSelection
src/Apps/Order/Routes/Payment/PaymentContext/OrderPaymentContext.tsx:159
↓ 6 callers
Function
setLocation
(search: string)
src/Utils/__tests__/GoogleOneTapContainer.jest.tsx:270
↓ 6 callers
Function
sortAddressesByPriority
(addresses: ProcessedUserAddress[])
src/Apps/Order2/Routes/Checkout/Components/FulfillmentDetailsStep/utils.ts:89
↓ 6 callers
Function
sortCountriesForCountryInput
( unsorted: typeof countryPhoneOptions, firstCode: CountryData["value"] = "us", )
src/Components/Address/utils/sortCountriesForCountryInput.ts:13
↓ 6 callers
Function
storeWithReferrer
(pathname: string, search = "")
src/System/Router/Middleware/__tests__/trackingMiddleware.jest.ts:222
↓ 6 callers
Function
trustTokenLogin
( req: PassportRequest, res: PassportResponse, next: NextFunction, )
src/Server/passport/lib/app/token_login.ts:34
↓ 6 callers
Function
useArticleTracking
()
src/Apps/Article/useArticleTracking.ts:13
↓ 6 callers
Function
useConversationsContext
()
src/Apps/Conversations/ConversationsContext.tsx:100
↓ 6 callers
Function
useDynamicBreadcrumb
()
src/Apps/Artwork/Components/ArtworkTopContextBar/ArtworkTopContextBarDynamicBreadcrumb.tsx:8
↓ 6 callers
Function
useFollowButtonTracking
({ ownerType, ownerId, ownerSlug, contextModule, }: UseFollowButtonTracking)
src/Components/FollowButton/useFollowButtonTracking.ts:29
↓ 6 callers
Function
useOnboardingFadeTransition
({ next, }: UseOnboardingFadeTransition)
src/Components/Onboarding/Hooks/useOnboardingFadeTransition.tsx:9
↓ 6 callers
Function
useOnboardingTracking
()
src/Components/Onboarding/Hooks/useOnboardingTracking.ts:11
↓ 6 callers
Function
useOrder2Tracking
( source: "PARTNER_OFFER" | unknown, mode: "BUY" | "OFFER" | unknown, )
src/Apps/Order2/Hooks/useOrder2Tracking.tsx:19
↓ 6 callers
Function
usePoll
({ callback, intervalTime, key, clearWhen, }: PollProps)
src/Utils/Hooks/usePoll.ts:12
↓ 6 callers
Function
useRefetchLatestMessagesPoll
({ intervalTime = DEFAULT_POLLING_INTERVAL_TIME, onRefetch, clearWhen, }: UseRefetchLatestMessagesPollPr
src/Apps/Conversations/hooks/useRefetchLatestMessagesPoll.ts:16
↓ 6 callers
Function
useScrollToFieldErrorOnSubmit
()
src/Apps/Order2/Routes/Checkout/Hooks/useScrollToFieldErrorOnSubmit.ts:34
↓ 6 callers
Function
useSectionReadiness
( orderedKeys: TSectionKey[], )
src/Utils/Hooks/useSectionReadiness.ts:129
↓ 6 callers
Function
useStableShuffle
({ items }: { items: T[] })
src/Utils/Hooks/useStableShuffle.ts:8
↓ 6 callers
Function
useSticky
({ id: _id }: { id?: string } = {})
src/Components/Sticky/StickyProvider.tsx:324
↓ 6 callers
Function
userRequiredMiddleware
(req, res, next)
src/Server/middleware/userRequiredMiddleware.ts:20
↓ 6 callers
Function
validatePostalCode
(postalCode: string, countryCode: string)
src/Apps/Order/Utils/formValidators.tsx:11
↓ 5 callers
Function
aRuleWithChildren
( children: Array<RedirectRecord<{}>>, )
src/Apps/Order/__tests__/getRedirect.jest.ts:8
↓ 5 callers
Function
aggregationsToHistogram
( aggregations?: Aggregations | null, )
src/Components/ArtworkFilter/ArtworkFilters/PriceRangeFilter.tsx:44
↓ 5 callers
Function
buildJwt
(payload: object)
src/Server/passport/lib/__tests__/refreshAccessToken.jest.ts:18
↓ 5 callers
Function
denyBadLogoutLinks
( req: PassportRequest, _res: PassportResponse, next: NextFunction, )
src/Server/passport/lib/app/logout.ts:19
↓ 5 callers
Function
excludeDefaultCriteria
( criteria: SearchCriteriaAttributes, defaultCriteria: SavedSearchDefaultCriteria, )
src/Components/SavedSearchAlert/Utils/extractPills.ts:261
↓ 5 callers
Function
fillAddressFormFields
( address: Partial<Address>, options: { clearInputs?: boolean; wrapperTestId?: string } = {}, )
src/Components/Address/__tests__/utils.ts:64
↓ 5 callers
Function
filterCities
(cities, value: string)
src/Apps/Partners/Utils/filterUtils.ts:1
↓ 5 callers
Method
findAllByRole
(role: string, options?: any)
src/DevTools/RootTestPageRTL.tsx:28
↓ 5 callers
Function
getFilterDisplayName
( filterType: string, value: string, context?: { metric?: string }, )
src/Apps/Artist/Routes/AuctionResults/Utils/filterDisplayNames.ts:23
↓ 5 callers
Function
getMerchandisingPartnerSlugs
()
src/Apps/Partner/Utils/getMerchandisingPartnerSlugs.ts:3
↓ 5 callers
Function
getMyCollectionArtworkFormInitialValues
( artwork?: MyCollectionEditArtwork_artwork$data, )
src/Apps/CollectorProfile/Routes/MyCollection/EditArtwork/Utils/artworkFormHelpers.ts:7
↓ 5 callers
Function
getOfferItemFromOrder
(orderLineItemsNode)
src/Apps/Order/Utils/offerUtils.ts:19
↓ 5 callers
Function
getPropsWithTimeRemaining
src/Components/__tests__/CountdownTimer.jest.tsx:31
↓ 5 callers
Function
getRoutes
()
src/System/Router/Utils/routeUtils.ts:5
↓ 5 callers
Method
getSession
()
src/System/Router/Utils/FilterableBrowserProtocol.ts:42
↓ 5 callers
Function
getStatus
({ status, distanceToOpen, distanceToClose, }: { status: string distanceToOpen: string | null | unde
src/Apps/ViewingRoom/Utils/getStatus.ts:1
↓ 5 callers
Function
getTags
()
src/Components/__tests__/MetaTags.jest.tsx:15
↓ 5 callers
Function
getTags
()
src/Components/__tests__/PaginatedMetaTags.jest.tsx:20
↓ 5 callers
Function
getURLHost
src/Utils/url.ts:1
↓ 5 callers
Function
getWrapper
(passedProps = {})
src/Components/NavBar/Menus/__tests__/NavBarMenuItemFeaturedLinkColumn.jest.tsx:52
↓ 5 callers
Function
getWrapper
src/Components/FollowButton/__tests__/Button.jest.tsx:6
↓ 5 callers
Function
handleAddressFieldChange
(field: keyof Address)
src/Components/Address/AddressFormFields.tsx:164
↓ 5 callers
Function
handleFixFailedPaymentError
(code: string)
src/Apps/Order/Routes/NewPayment/index.tsx:248
↓ 5 callers
Function
hasCorrectAddressFormFields
({ withLegacyPhoneInput, }: { withLegacyPhoneInput?: boolean } = {})
src/Components/Address/__tests__/utils.ts:36
↓ 5 callers
Function
hasPersonalizedArguments
(variables: Variables)
src/System/Relay/isRequestCacheable.ts:26
↓ 5 callers
Function
isRelevantEvent
src/Apps/Conversations/hooks/useGroupedMessages.ts:71
↓ 5 callers
Function
login
(args: { email: string password: string authenticationCode: string })
src/Utils/auth.ts:15
↓ 5 callers
Function
makeStep
(name: string, state: string)
src/Apps/Order2/Routes/Checkout/Components/DeliveryOptionsStep/__tests__/Order2DeliveryOptionsStep.jest.tsx:27
↓ 5 callers
Method
next
()
src/Apps/Settings/Routes/Insights/Components/CareerHighlights/CareerHighlightsModal/Hooks/useCareerHighlightsStoriesContext.tsx:10
↓ 5 callers
Function
notification
( endAt = "2099-01-01T00:00:00+00:00", isAvailable = true, note = "", source = "SAVE", )
src/Components/Notifications/__tests__/PartnerOfferCreatedNotification.jest.tsx:126
↓ 5 callers
Function
parseDefaultCriteria
( defaultCriteria: SavedSearchDefaultCriteria, )
src/Components/SavedSearchAlert/Utils/savedSearchCriteria.tsx:44
↓ 5 callers
Function
renderAndOpenModal
(props: TestButtonProps = {})
src/Components/Artwork/__tests__/ManageArtworkForSaves.jest.tsx:42
↓ 5 callers
Function
renderComponent
(passedProps = props)
src/Components/RelatedCollectionsRail/__tests__/RelatedCollectionsRail.jest.tsx:23
↓ 5 callers
Function
renderForm
()
src/Components/Address/__tests__/AddressFormFields.tracking.jest.tsx:53
↓ 5 callers
Function
runAfterAuthentication
({ accessToken, }: { accessToken?: string } = {})
src/Components/AuthDialog/Hooks/useAfterAuthentication.ts:16
↓ 5 callers
Function
sanitizedMetrics
(start: number, end: number)
src/Server/userPerformanceMetrics.ts:17
↓ 5 callers
Function
scale
()
src/Components/ViewInRoom/ViewInRoomRoom.tsx:41
↓ 5 callers
Function
setupHook
()
src/Components/Onboarding/Hooks/__tests__/useOnboardingTracking.jest.tsx:11
↓ 5 callers
Function
setupHook
()
src/Apps/CollectorProfile/Routes/MyCollection/Hooks/__tests__/useMyCollectionTracking.jest.tsx:12
← previous
next →
301–400 of 4,480, ranked by callers