MCPcopy Create free account

hub / github.com/dailydotdev/apps / functions

Functions6,160 in github.com/dailydotdev/apps

↓ 453 callersFunctionuseAuthContext
()
packages/shared/src/contexts/AuthContext.tsx:89
↓ 376 callersFunctionlogEvent
(event: LogEvent)
packages/shared/src/hooks/log/useLogContextData.ts:59
↓ 305 callersFunctionuseLogContext
()
packages/shared/src/contexts/LogContext.tsx:77
↓ 211 callersMethodpush
(url: Url)
packages/extension/src/lib/CustomRouter.ts:49
↓ 201 callersFunctiongenerateQueryKey
( name: RequestKey | AllFeedPages, user?: Pick<LoggedUser, 'id'>, ...additional: unknown[] )
packages/shared/src/lib/query.ts:105
↓ 177 callersFunctiondisplayToast
( message: ReactNode, { timer = 5000, ...props }: NotifyOptionalProps = {}, )
packages/shared/src/hooks/useToastNotification.ts:69
↓ 156 callersFunctionuseViewSize
(size: ViewSize)
packages/shared/src/hooks/useViewSize.ts:44
↓ 151 callersFunctionuseToastNotification
()
packages/shared/src/hooks/useToastNotification.ts:57
↓ 140 callersMethodreplace
(url: Url)
packages/extension/src/lib/CustomRouter.ts:60
↓ 139 callersFunctionuseRouter
()
packages/shared/src/components/tabs/TabContainer.spec.tsx:114
↓ 125 callersFunctionuseLazyModal
()
packages/shared/src/hooks/useLazyModal.ts:15
↓ 111 callersFunctionuseRouter
()
packages/webapp/__tests__/AccountNotificationsPage.tsx:34
↓ 99 callersFunctionclassed
( type: ElementType, className: string | Record<string, string>, ...classes: string[] )
packages/shared/src/lib/classed.ts:127
↓ 86 callersFunctiongetPageSeoTitles
( title: string, template = '| daily.dev', )
packages/webapp/components/layouts/utils.ts:22
↓ 81 callersFunctionuseActions
()
packages/shared/src/hooks/useActions.ts:21
↓ 81 callersFunctionuseSettingsContext
()
packages/shared/src/contexts/SettingsContext.tsx:383
↓ 70 callersFunctionusePlusSubscription
()
packages/shared/src/hooks/usePlusSubscription.ts:17
↓ 63 callersFunctionuseConditionalFeature
({ feature, shouldEvaluate, }: { feature: Feature<T>; shouldEvaluate?: boolean; })
packages/shared/src/hooks/useConditionalFeature.ts:12
↓ 52 callersFunctiononRequestClose
()
packages/shared/src/components/modals/award/BuyCoresModal.tsx:258
↓ 49 callersFunctionlargeNumberFormat
(value: number)
packages/shared/src/lib/numberFormat.ts:3
↓ 48 callersFunctionpostLogEvent
( eventName: string, post: Post | ReadHistoryPost | PostBootData, opts?: PostLogEventFnOptions, )
packages/shared/src/lib/feed.ts:104
↓ 44 callersFunctionuseLayoutVariant
()
packages/shared/src/hooks/layout/useLayoutVariant.ts:11
↓ 44 callersFunctionusePrompt
()
packages/shared/src/hooks/usePrompt.ts:44
↓ 42 callersFunctionisNullOrUndefined
(param: unknown)
packages/shared/src/lib/func.ts:28
↓ 39 callersFunctionuseDebounceFn
( callback: StartFn<T>, delay: number, minimumTime?: number, )
packages/shared/src/hooks/useDebounceFn.ts:6
↓ 36 callersFunctiononClose
(e)
packages/shared/src/components/auth/AuthModal.tsx:33
↓ 35 callersFunctionmockGraphQL
( res: MockedGraphQLResponse<TData>, )
packages/shared/__tests__/helpers/graphql.ts:22
↓ 35 callersFunctionuseRequestProtocol
()
packages/shared/src/hooks/useRequestProtocol.ts:12
↓ 30 callersFunctiongetPathnameWithQuery
( pathname: string, params: URLSearchParams | string, )
packages/shared/src/lib/links.ts:102
↓ 29 callersFunctioncombinedClicks
( func: React.MouseEventHandler<T>, )
packages/shared/src/lib/click.ts:18
↓ 29 callersFunctiongetNextPageParam
(pageInfo: PageInfo)
packages/shared/src/lib/query.ts:98
↓ 27 callersMethodopen
()
packages/shared/src/lib/liveRoom/connection.ts:95
↓ 27 callersFunctionopportunityByIdOptions
({ id }: { id: string })
packages/shared/src/features/opportunity/queries.ts:45
↓ 26 callersFunctioncheckIsExtension
()
packages/shared/src/lib/func.ts:46
↓ 26 callersFunctionisIOSNative
()
packages/shared/src/lib/func.ts:101
↓ 25 callersFunctionisSourceUserSource
(source?: Source)
packages/shared/src/graphql/sources.ts:70
↓ 25 callersFunctionuseBoot
()
packages/shared/src/hooks/useBoot.ts:41
↓ 25 callersFunctionuseUpdateQuery
({ queryKey, }: UseQueryOptions< TQueryFnData, TError, TData, TQueryKey >)
packages/shared/src/hooks/useUpdateQuery.ts:14
↓ 25 callersFunctionwaitForNock
()
packages/shared/__tests__/helpers/utilities.ts:6
↓ 24 callersFunctiongetLayout
( page: ReactNode, pageProps?: Record<string, unknown>, layoutProps?: MainLayoutProps, )
packages/webapp/components/layouts/MainLayout.tsx:9
↓ 24 callersFunctionuseFeedSettings
({ enabled = true, feedId, }: UseFeedSettingsProps = {})
packages/shared/src/hooks/useFeedSettings.ts:41
↓ 23 callersFunctionuseFeature
(feature)
packages/shared/src/components/GrowthBookProvider.tsx:207
↓ 23 callersFunctionuseFeedLayout
({ feedRelated = true, }: UseFeedLayoutProps = {})
packages/shared/src/hooks/useFeedLayout.ts:116
↓ 23 callersFunctionverifyPermission
( squad: Pick<Squad, 'currentMember'>, permission: SourcePermissions, )
packages/shared/src/graphql/squads.ts:753
↓ 22 callersFunctioncreateContext
()
packages/webapp/__tests__/StandupPage.spec.ts:17
↓ 22 callersFunctiononChange
(base64, file)
packages/shared/src/components/squads/Details.tsx:182
↓ 22 callersFunctionuseEventListener
( target: RefObject<T> | T | null | undefined, eventType: K, listener: GenericEventListener<DOMEvent<T,
packages/shared/src/hooks/useEventListener.ts:107
↓ 22 callersFunctionusePersistentContext
( key: string, valueWhenCacheEmpty?: T, validValues?: T[], fallbackValue?: T, )
packages/shared/src/hooks/usePersistentContext.ts:31
↓ 21 callersFunctiongetAppOrigin
()
packages/webapp/lib/seo.ts:21
↓ 20 callersFunctioncheckFetchMore
( queryResult: UseInfiniteQueryResult<InfiniteData<TPage>>, )
packages/shared/src/components/containers/InfiniteScrolling.tsx:25
↓ 20 callersFunctionusePushNotificationContext
()
packages/shared/src/contexts/PushNotificationContext.tsx:376
↓ 19 callersFunctionuseSmartTitle
(post: Post)
packages/shared/src/hooks/post/useSmartTitle.ts:30
↓ 18 callersFunctionuseFeedPreviewMode
()
packages/shared/src/hooks/useFeedPreviewMode.ts:5
↓ 18 callersFunctionwithGiveback
(options: GivebackMockOptions = {})
packages/storybook/stories/features/giveback/giveback.mocks.tsx:455
↓ 17 callersFunctionformToJson
( form: HTMLFormElement, initialValue?: T, )
packages/shared/src/lib/form.ts:18
↓ 17 callersFunctiongetLogContextStatic
()
packages/shared/src/contexts/LogContext.tsx:20
↓ 17 callersFunctiongetPostByIdKey
(id: string)
packages/shared/src/lib/query.ts:287
↓ 16 callersFunctionsetOpen
(value: boolean)
packages/shared/src/components/quest/QuestButton.spec.tsx:87
↓ 16 callersFunctionupdatePostCache
( client: QueryClient, id: string, postUpdate: | Partial<Omit<Post, 'id'>> | ((current: Post) =>
packages/shared/src/lib/query.ts:660
↓ 16 callersFunctionuseInView
( fallbackMs = 1400, )
packages/shared/src/features/giveback/useGivebackMotion.ts:38
↓ 16 callersFunctionuseMutationSubscription
({ matcher, callback, }: UseMutationSubscriptionProps<TVariables>)
packages/shared/src/hooks/mutationSubscription/useMutationSubscription.ts:10
↓ 15 callersFunctionformatDate
({ value, type, now }: FormatDateProps)
packages/shared/src/lib/dateFormat.ts:295
↓ 15 callersFunctionsanitizeMessage
( message: string, allowedTags = ['b', 'strong', 'br'], allowedAttributes = ['class'], )
packages/shared/src/features/onboarding/lib/utils.ts:11
↓ 15 callersFunctiontoggleBookmark
()
packages/extension/src/companion/CompanionMenu.tsx:209
↓ 15 callersFunctionuseContentPreference
({ showToastOnSuccess, }: UseContentPreferenceProps = {})
packages/shared/src/hooks/contentPreference/useContentPreference.ts:36
↓ 15 callersFunctionuseVotePost
({ onMutate, variables, }: UseVotePostProps = {})
packages/shared/src/hooks/vote/useVotePost.ts:38
↓ 14 callersFunctionclearMarketingCta
(campaignId: string)
packages/shared/src/hooks/useBoot.ts:134
↓ 14 callersFunctionisVideoPost
(post: Post | ReadHistoryPost)
packages/shared/src/graphql/posts.ts:56
↓ 14 callersFunctiononSubmit
(e: FormEvent)
packages/shared/src/components/squads/SharePostBar.tsx:84
↓ 14 callersFunctionuseBookmarkPost
({ onMutate, mutationKey, }: UseBookmarkPostProps = {})
packages/shared/src/hooks/useBookmarkPost.ts:88
↓ 14 callersFunctionuseBuyCoresContext
()
packages/shared/src/contexts/BuyCoresContext/types.ts:11
↓ 14 callersFunctionuseFeeds
()
packages/shared/src/hooks/feed/useFeeds.ts:37
↓ 14 callersFunctionuseIsLightTheme
()
packages/shared/src/hooks/utils/useThemedAsset.ts:35
↓ 14 callersFunctionusePaymentContext
()
packages/shared/src/contexts/payment/context.ts:36
↓ 14 callersFunctionusePersonalizedDigest
()
packages/shared/src/hooks/usePersonalizedDigest.ts:54
↓ 14 callersFunctionusePushNotificationMutation
({ onPopupGranted, }: UsePushNotificationMutationProps = {})
packages/shared/src/hooks/notifications/usePushNotificationMutation.tsx:37
↓ 14 callersFunctionuseTagAndSource
({ origin, postId, shouldInvalidateQueries = true, shouldUpdateAlerts = true, feedId, shouldFilter
packages/shared/src/hooks/useTagAndSource.ts:48
↓ 14 callersFunctionwithIsActiveGuard
( Component: React.FC<Step>, )
packages/shared/src/features/onboarding/shared/withActiveGuard.tsx:4
↓ 13 callersFunctionbetterAuthPost
( path: string, body?: Record<string, unknown>, fallbackError = 'Request failed', headers?: Record<str
packages/shared/src/lib/betterAuth.ts:56
↓ 13 callersFunctiondateFormatInTimezone
( date: Date, format: string, timezone?: string, )
packages/shared/src/lib/timezones.ts:613
↓ 13 callersFunctionformatCoresCurrency
(value: number)
packages/shared/src/lib/utils.ts:30
↓ 13 callersFunctiononSelect
(user: UserShortProfile)
packages/shared/src/components/plus/GiftPlusModal.tsx:120
↓ 13 callersFunctionuseActiveFeedContext
()
packages/shared/src/contexts/ActiveFeedContext.tsx:24
↓ 13 callersFunctionuseCopyLink
( getLink?: () => string, shorten = false, )
packages/shared/src/hooks/useCopy.ts:22
↓ 13 callersFunctionuseEngagementAdsContext
()
packages/shared/src/contexts/EngagementAdsContext.tsx:45
↓ 13 callersFunctionuseGetShortUrl
({ query, }: UseGetShortUrl = {})
packages/shared/src/hooks/utils/useGetShortUrl.ts:43
↓ 13 callersFunctionuseHasAccessToCores
()
packages/shared/src/hooks/useCoresFeature.ts:17
↓ 13 callersFunctionuseNotificationSettings
()
packages/shared/src/hooks/notifications/useNotificationSettings.ts:56
↓ 12 callersFunctionclearInterval
()
packages/shared/src/hooks/useTimedAnimation.ts:37
↓ 12 callersMethodclose
(code = 1000, reason = 'Client closed')
packages/shared/src/lib/liveRoom/connection.ts:147
↓ 12 callersFunctiongenerateTestSquad
(props: Partial<Squad> = {})
packages/shared/__tests__/fixture/squads.ts:247
↓ 12 callersFunctiongetArchiveDescription
( scopeName: string, periodType: ArchivePeriodType, year: number, month?: number, )
packages/shared/src/lib/archive.ts:93
↓ 12 callersFunctiongetMonthName
(month: number, short = false)
packages/shared/src/lib/archive.ts:15
↓ 12 callersFunctionisSocialTwitterPost
( post: Pick<Post, 'type'> | undefined | null, )
packages/shared/src/graphql/posts.ts:61
↓ 12 callersFunctionopenCheckout
({ priceId, giftToUserId, discountId, }: OpenCheckoutProps)
packages/shared/src/contexts/payment/ChromeExtension.tsx:13
↓ 12 callersFunctionuseBlockPostPanel
( post: Post | ReadHistoryPost, { toastOnSuccess, blockedSource, feedId }: UseBlockPostProps = {}, )
packages/shared/src/hooks/post/useBlockPostPanel.ts:73
↓ 12 callersFunctionuseContentPreferenceStatusQuery
({ id, entity, queryOptions, }: UseContentPreferenceStatusQueryProps)
packages/shared/src/hooks/contentPreference/useContentPreferenceStatusQuery.ts:30
↓ 12 callersFunctionuseCustomDefaultFeed
()
packages/shared/src/hooks/feed/useCustomDefaultFeed.ts:8
↓ 12 callersFunctionuseOrganization
( organizationId: string, options?: Partial<UseQueryOptions<UserOrganization>> & { includeMembers?: bo
packages/shared/src/features/organizations/hooks/useOrganization.ts:127
↓ 12 callersFunctionuseSharePost
(origin: Origin)
packages/shared/src/hooks/useSharePost.ts:23
next →1–100 of 6,160, ranked by callers