MCPcopy Create free account

hub / github.com/Linen-dev/linen.dev / functions

Functions2,204 in github.com/Linen-dev/linen.dev

↓ 3 callersMethodfetch
()
apps/web/hooks/polling.tsx:4
↓ 3 callersMethodfind
(communityId: string)
apps/web/services/channels/index.ts:19
↓ 3 callersFunctionfindAccountIdByExternalId
(externalId: string)
apps/web/services/accounts/index.ts:317
↓ 3 callersFunctionfindChannelOrGetLandingChannel
( channels: SerializedChannel[], channelName?: string )
apps/web/utilities/findChannelOrGetLandingChannel.ts:3
↓ 3 callersMethodfindOrCreateChannel
( props: LinenTypes.channelFindOrCreateType )
packages/sdk/src/index.ts:49
↓ 3 callersFunctionfindPinnedThreads
({ channelIds, limit = 3, anonymize, anonymizeUsers = false, }: { channelIds: string[]; limit?: nu
apps/web/services/threads/index.ts:463
↓ 3 callersFunctionflush
()
packages/ast/parse/linen/listify/index.js:11
↓ 3 callersFunctionfn
({ brandColor, fontColor, currentCommunity, settings }: Props)
apps/web/ui/JoinButton/index.tsx:17
↓ 3 callersMethodfor
(context: GetServerSidePropsContext)
apps/web/services/permissions/index.ts:62
↓ 3 callersFunctionformatCode
(code: string)
apps/web/ui/Message/BlockCode/utilities.ts:22
↓ 3 callersMethodget
({ request, response, params }: Props)
apps/web/services/permissions/index.ts:26
↓ 3 callersMethodget
( req: AuthedRequestWithTenantAndBody<getMessageType>, res: Response, next: NextFunction )
apps/web/server/routers/messages/controller.ts:24
↓ 3 callersMethodget
( req: AuthedRequestWithBody<userGetType>, res: Response, next: NextFunction )
apps/web/server/routers/integrations/users/controller.ts:24
↓ 3 callersFunctiongetCaretPosition
(ref: any)
apps/web/ui/MessageForm/utilities/caret.ts:1
↓ 3 callersFunctiongetColor
(character: string)
packages/utilities/src/colors.ts:25
↓ 3 callersFunctiongetCommunityId
(event: any)
apps/web/pages/api/webhook/stripe.ts:37
↓ 3 callersFunctiongetCommunityName
(isProd: boolean, hostname: string | null)
apps/web/utilities/middlewareHelper.ts:6
↓ 3 callersFunctiongetDatabaseUrl
({ dbUrl, cert, }: { dbUrl?: string; cert?: string; })
packages/database/src/database.ts:55
↓ 3 callersFunctiongetDisplayName
(userId: string, mentions?: SerializedUser[])
packages/utilities/src/getDisplayName.ts:3
↓ 3 callersFunctiongetExtension
(filename: string)
packages/utilities/src/files.ts:3
↓ 3 callersFunctiongetFormData
(files: File[])
packages/utilities/src/files.ts:82
↓ 3 callersFunctiongetLinenUrl
()
packages/utilities/src/home.ts:3
↓ 3 callersFunctiongetMentionedUsers
(text: string, users: UserMap[])
apps/web/services/slack/sync/getMentionedUsers.ts:3
↓ 3 callersMethodgetMessage
({ messageId, }: LinenTypes.messageGetType)
packages/sdk/src/index.ts:103
↓ 3 callersFunctiongetSelectedText
()
packages/utilities/src/document.ts:1
↓ 3 callersFunctionhandleError
(error: any)
apps/web/ui/MatrixView/index.tsx:159
↓ 3 callersFunctionhandleIssue
( payload: | GitHubTypes.IssuesReopenedEvent | GitHubTypes.IssuesClosedEvent | GitHubTypes.Issue
packages/integration-github/src/inbound.ts:76
↓ 3 callersFunctionhandleLeftScroll
()
apps/web/ui/ChannelView/ChatView/index.tsx:292
↓ 3 callersFunctionhandleLeftScroll
()
apps/web/ui/ChannelView/TopicView/index.tsx:300
↓ 3 callersFunctionisHighlighted
(code: string)
apps/web/ui/Message/BlockCode/utilities.ts:1
↓ 3 callersFunctionisMentionCharacter
(character: string)
apps/web/ui/MessageForm/index.tsx:62
↓ 3 callersFunctionisNotLinenBot
(message: T)
apps/web/services/slack/sync/parseMessage.ts:58
↓ 3 callersFunctionisUndefined
(character: string | undefined)
apps/web/ui/MessageForm/index.tsx:54
↓ 3 callersFunctionisWhitespace
(character: string)
packages/utilities/src/string.ts:29
↓ 3 callersFunctionisWhitespace
(character)
packages/ast/parse/linen/tokenize/index.js:1
↓ 3 callersFunctionisYoutubeShortUrl
(href: string)
apps/web/ui/Message/Link/utilities.ts:1
↓ 3 callersFunctionisYoutubeWatchUrl
(href: string)
apps/web/ui/Message/Link/utilities.ts:12
↓ 3 callersFunctiononMessageCreate
(botId: number)
packages/integration-discord/src/discord/onMessageCreate.ts:15
↓ 3 callersFunctiononWriteMessage
(user: SerializedUser)
apps/web/ui/GridRow/index.tsx:33
↓ 3 callersFunctionooo
(n: number)
apps/web/utilities/seo/buildThreadSeo.test.ts:134
↓ 3 callersFunctionparseChannelAndThread
( message: Pick<Message, 'channel' | 'client'> )
packages/integration-discord/src/utils/parse.ts:37
↓ 3 callersFunctionpickTextColorBasedOnBgColor
( bgColor: string, lightColor: string, darkColor: string )
packages/utilities/src/colors.ts:1
↓ 3 callersFunctionpreload
(src: string)
apps/web/ui/Image/utilities/preload.ts:3
↓ 3 callersFunctionprocessThreadUpdate
({ threadId, integration, event, }: { threadId: string; integration: channelsIntegration; event: T
packages/integration-github/src/outbound.ts:194
↓ 3 callersFunctionrandomEmail
()
apps/web/server/routers/accounts.test.ts:19
↓ 3 callersFunctionrange
(start: number, end: number)
apps/web/ui/PaginationNumbers/index.tsx:102
↓ 3 callersFunctionreplaceS3byCDN
(url: string | undefined)
apps/web/utilities/replaceS3byCDN.ts:3
↓ 3 callersFunctionresolveCrawlerRedirect
({ isSubdomainbasedRouting, communityName, channelName, settings, channel, }: { isSubdomainbasedRo
apps/web/utilities/redirects.ts:5
↓ 3 callersFunctionscheduleDate
(type: notificationType)
packages/queue/src/tasks/email-notification/scheduleDate.ts:3
↓ 3 callersFunctionserialize
(tag, node)
packages/ast/parse/linen/tokenize/index.js:26
↓ 3 callersFunctionsetAuthor
( author?: string | string[] | ArticleAuthor | ArticleAuthor[] )
apps/web/utilities/seo/utils/setAuthor.tsx:37
↓ 3 callersMethodsetLandingChannel
({ channelId, accountId, }: { channelId: string; accountId: string; })
apps/web/services/channels/index.ts:159
↓ 3 callersFunctionsetPhCookie
(res: any, value: string)
apps/web/utilities/ssr-metrics/helpers/setPhCookie.ts:3
↓ 3 callersFunctionshouldRedirectToDomain
({ account, communityName, isSubdomainbasedRouting, }: { account: SerializedAccount; communityName:
apps/web/utilities/redirects.ts:34
↓ 3 callersFunctionsignOut
( options?: SignOutParams<R> )
packages/auth-client/src/client/index.tsx:330
↓ 3 callersFunctionstrike
(children)
packages/ast/parse/slack/spec-helpers/index.js:21
↓ 3 callersMethodtime
(name: string)
packages/types/src/logger.ts:9
↓ 3 callersMethodtimeEnd
(name: string)
packages/types/src/logger.ts:11
↓ 3 callersFunctiontopline
(matcher)
packages/ast/parse/combinators.js:21
↓ 3 callersMethodupdateMessage
(message: LinenTypes.messagePutType)
packages/sdk/src/index.ts:109
↓ 3 callersFunctionupdateThread
({ accessToken, issueId, title, stateId, }: updateThreadType)
packages/integration-linear/src/helpers/linear.ts:103
↓ 3 callersFunctionurl
(link)
packages/ast/parse/discord/spec-helpers/index.js:45
↓ 3 callersFunctionuseJoinContext
()
apps/web/contexts/Join.tsx:129
↓ 3 callersFunctionuseSession
(options?: UseSessionOptions<R>)
packages/auth-client/src/client/index.tsx:162
↓ 3 callersFunctionuseViewport
()
apps/web/hooks/useViewport.ts:3
↓ 2 callersFunction_buildMessage
(body: string, displayName?: string)
packages/integration-github/src/outbound.ts:264
↓ 2 callersFunction_getValidToken
(req: any)
packages/auth-server/src/server/session.ts:3
↓ 2 callersFunctionaddChannel
()
apps/web/ui/OnboardingForm/index.tsx:58
↓ 2 callersFunctionaddEmail
()
apps/web/ui/OnboardingForm/index.tsx:75
↓ 2 callersFunctionanonymizeMentions
(message: Messages, anonymize: AnonymizeType)
packages/serializers/src/anonymizeMessages.ts:50
↓ 2 callersFunctionanonymizeUser
(user: users, anonymize: AnonymizeType)
packages/serializers/src/anonymizeMessages.ts:65
↓ 2 callersMethodarchiveChannel
({ channelId, userId, }: { channelId: string; userId: string; })
apps/web/services/channels/index.ts:490
↓ 2 callersFunctionbotV1
()
apps/web/config/discord.ts:5
↓ 2 callersFunctionbotV2
()
apps/web/config/discord.ts:16
↓ 2 callersFunctionbuild
( uploadFile: (args: { Key: string; Body: any; CacheControl?: string; }) => Promise<any>, lo
packages/sitemap/src/build.ts:14
↓ 2 callersFunctionbuildChannelUrl
({ isSubdomainbasedRouting, settings, communityName, channelName, channel, }: { isSubdomainbasedRo
apps/web/utilities/redirects.ts:107
↓ 2 callersFunctionbuildCookieName
(name: string)
packages/auth-server/src/server/cookies.ts:103
↓ 2 callersFunctionbuildPages
(account: accounts)
packages/pagination/src/buildPages.ts:5
↓ 2 callersFunctionbuildRobots
( redirectDomain: string | null, workDir: string )
packages/sitemap/src/robots.ts:34
↓ 2 callersFunctionbuildUrl
( isSubDomainRouting: boolean, settings: Settings, thread: SerializedThread )
apps/web/utilities/seo/utils/buildThreadUrl.ts:4
↓ 2 callersFunctionbuildUserAvatar
({ userId, avatarId, }: { userId: string; avatarId: string; })
apps/web/services/discord/users.ts:94
↓ 2 callersFunctioncallApi
(url: string, token: string)
apps/web/services/slack/api/fetch_all_conversations.ts:47
↓ 2 callersFunctioncallApi
({ url, method, body, token, }: { url: string; method: string; body?: any; t
apps/web/server/routers/users/index.test.ts:39
↓ 2 callersFunctionchannelCreatedEvent
(team_id: string, channelName = v4())
apps/web/services/slack/webhooks/webhook.channels.test.ts:45
↓ 2 callersFunctionchannelNextPage
({ channelId, cursor, }: { channelId: string; cursor?: string; })
apps/web/services/channels/channelNextPage.ts:12
↓ 2 callersFunctioncleanLinenHost
(hostname: string)
apps/web/utilities/middlewareHelper.ts:39
↓ 2 callersFunctioncleanMock
()
apps/web/__tests__/pages/api/search.test.ts:17
↓ 2 callersFunctioncleanUp
(text: string, quotedRegex: RegExp)
packages/integration-email/src/helper/parser.ts:9
↓ 2 callersFunctioncleanUp
({ accountId, logger, }: { accountId: string; logger: Logger; })
packages/queue/src/tasks/remove-community.ts:39
↓ 2 callersFunctioncleanUpQuotedEmail
(text: string)
packages/integration-email/src/helper/parser.ts:17
↓ 2 callersFunctionclearFileInput
()
apps/web/ui/MessageForm/index.tsx:262
↓ 2 callersFunctioncommand
(name, args = [], label)
packages/ast/parse/slack/spec-helpers/index.js:52
↓ 2 callersFunctioncreateAccountKey
({ keyWithSearchPermissions, accountId, }: { keyWithSearchPermissions: string; accountId: string; })
packages/typesense/src/utils/keys.ts:49
↓ 2 callersFunctioncreateAccountKeyAndPersist
({ account, }: { account: accounts; })
packages/typesense/src/utils/shared.ts:194
↓ 2 callersFunctioncreateChannelMemberships
(accountId: string, userId: string)
apps/web/services/invites.ts:246
↓ 2 callersFunctioncreateFeedJob
( addJob: AddJobFunction, opt: { runAt?: Date } = {} )
packages/queue/src/tasks/build-feed.ts:16
↓ 2 callersFunctioncreateFile
(data: any)
packages/database/src/database.ts:23
↓ 2 callersFunctioncreateInvitation
({ createdByUserId, email: rawEmail, accountId, host, role, }: { createdByUserId: string; email:
apps/web/services/invites.ts:12
↓ 2 callersFunctioncreateMessageWrapper
({ currentUser, allUsers, setUploads, setThreads, setTopics, currentThreadId, currentCommunity,
apps/web/ui/ChannelView/utilities/createMessageWrapper.tsx:14
↓ 2 callersFunctioncreateNotificationJob
( jobKey: string, payload: notificationListenerType )
apps/web/queue/jobs.ts:71
← previousnext →301–400 of 2,204, ranked by callers