MCPcopy Create free account

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

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

↓ 5 callersFunctionnewSlackIntegration
({ query, getSlackAccessToken = api.getSlackAccessToken, fetchTeamInfo = api.fetchTeamInfo, eventNewIn
apps/web/services/accounts/slack.ts:8
↓ 5 callersFunctionnormalizeVideoUrl
(url: string)
apps/web/ui/Message/Link/Video/utilities.ts:3
↓ 5 callersFunctionnow
()
packages/auth-client/src/client/utils.ts:85
↓ 5 callersFunctiononClick
()
apps/web/ui/MembersView/index.tsx:251
↓ 5 callersFunctiononRemind
(threadId: string, reminderType: ReminderTypes)
apps/web/ui/ChannelView/index.tsx:342
↓ 5 callersFunctionpre
(value)
packages/ast/parse/slack/spec-helpers/index.js:29
↓ 5 callersFunctionrandomEmail
()
apps/web/__tests__/pages/api/auth.test.ts:13
↓ 5 callersMethodreload
()
apps/web/ui/JoinButton/JoinLinen/index.tsx:12
↓ 5 callersFunctionselectPreviousThread
()
apps/web/ui/ChannelView/index.tsx:132
↓ 5 callersFunctionsetMessageExternalId
(id: string, externalId: string)
packages/integration-discord/src/utils/linen.ts:198
↓ 5 callersFunctionsetSessionCookies
({ token, req, res, maxAge, }: { token: string; req: any; res: any; maxAge?: number; })
packages/auth-server/src/server/cookies.ts:72
↓ 5 callersFunctionsleep
(ms: number)
packages/utilities/src/sleep.ts:1
↓ 5 callersMethodstart
({ to }: { to: string })
apps/web/mailers/SyncMailer.ts:5
↓ 5 callersFunctionthreadGetServerSideProps
( context: GetServerSidePropsContext, isSubdomainbasedRouting: boolean )
apps/web/services/ssr/threads.ts:13
↓ 5 callersFunctiontoKeywords
(query: string)
packages/llm/src/typesense.ts:13
↓ 5 callersFunctiontruncate
(text: string, limit: number)
packages/utilities/src/string.ts:14
↓ 5 callersFunctionuploadFile
({ Key, Body, CacheControl = 'max-age=15557000, stale-if-error=31536000', }: UploadFileInput)
apps/web/services/aws/s3.ts:31
↓ 5 callersFunctionuseRouter
()
apps/web/__mocks__/next/router.js:1
↓ 4 callersFunctionError
(code: 404 | 403 | 500 | 'bot')
apps/web/ui/Error/index.tsx:29
↓ 4 callersFunctionacceptInvite
(id: string, email: string)
apps/web/services/invites.ts:154
↓ 4 callersFunctionaddHttpsToUrl
(url: string)
packages/utilities/src/url.ts:15
↓ 4 callersFunctionaddReaction
( threads: SerializedThread[], { active, threadId, messageId, type, currentUser, }:
packages/utilities/src/reaction.ts:138
↓ 4 callersFunctionbold
(children)
packages/ast/parse/discord/spec-helpers/index.js:13
↓ 4 callersFunctionbuildCursor
({ pathCursor, sort, sentAt, direction, total, nextDate, prevDate, loadMore = false, }: { pa
apps/web/utilities/buildCursor.ts:6
↓ 4 callersFunctioncapitalize
(string: string)
packages/utilities/src/string.ts:25
↓ 4 callersFunctioncleanMock
()
apps/web/__tests__/invites.test.ts:37
↓ 4 callersFunctiondiv
( { align, background, spacing, padding, width, height, textAlign, style,
apps/web/mailers/views/components/div.ts:12
↓ 4 callersFunctioneventChannelUpdate
({ channelId, isNameChanged, isTypeChanged, }: { channelId: string; isTypeChanged: boolean; isName
apps/web/services/events/eventChannelUpdate.ts:6
↓ 4 callersFunctionfakeEmail
()
apps/web/__tests__/invites.test.ts:29
↓ 4 callersFunctionfetchCommon
( permissions: Permissions, community: accounts, isBot: boolean = false )
apps/web/services/ssr/common/index.ts:73
↓ 4 callersFunctionfindAuthByEmail
(email: string)
apps/web/services/users/index.ts:7
↓ 4 callersFunctionfindChannelByAccountIdAndExternalId
({ accountId, externalChannelId, }: { accountId: string; externalChannelId: string; })
packages/integration-discord/src/utils/linen.ts:79
↓ 4 callersFunctionfindInvitesByEmail
( email: string, params?: { accountsId?: string } )
apps/web/services/invites.ts:228
↓ 4 callersMethodfindOrCreateChannel
({ accountId, channelName, externalChannelId, hidden, viewType, members, type, }
apps/web/services/channels/index.ts:282
↓ 4 callersFunctionfindOrCreateUserFromUserInfo
( externalUserId: string, accountId: string, accessToken?: string )
apps/web/services/slack/webhooks/processMessageEvents.ts:33
↓ 4 callersMethodgetAccountByThreadId
(threadId: string)
apps/web/services/accounts/index.ts:285
↓ 4 callersMethodgetChannel
( search: LinenTypes.channelGetType )
packages/sdk/src/index.ts:43
↓ 4 callersFunctiongetLinenUrl
()
packages/utilities/src/domain.ts:83
↓ 4 callersFunctiongetSession
(params?: GetSessionParams)
packages/auth-client/src/client/index.tsx:195
↓ 4 callersFunctiongetToken
(bot: number)
packages/integration-discord/src/utils/token.ts:18
↓ 4 callersFunctiongetToken
(req: any, cookieName = cookiesName.session)
packages/auth-server/src/server/tokens.ts:47
↓ 4 callersFunctionhandleScroll
()
apps/web/ui/ChannelView/ChatView/index.tsx:288
↓ 4 callersFunctionhandleScroll
()
apps/web/ui/ChannelView/TopicView/index.tsx:296
↓ 4 callersFunctionhandleSend
(event: React.SyntheticEvent)
apps/web/ui/MessageForm/index.tsx:228
↓ 4 callersMethodhas
({ dir })
packages/llm/src/stores/file/index.ts:29
↓ 4 callersMethodisChannelUsable
({ channelId, accountId, }: { channelId?: string; accountId?: string; })
apps/web/services/channels/index.ts:577
↓ 4 callersFunctionisUsernameCharacter
(character: string)
apps/web/ui/MessageForm/index.tsx:58
↓ 4 callersFunctionnormalizeUrl
(url: string)
packages/utilities/src/url.ts:7
↓ 4 callersFunctiononChange
(type: AnonymizeType)
apps/web/ui/ConfigurationsView/AnonymizeUsersRow/index.tsx:17
↓ 4 callersFunctiononChange
(e: any)
apps/web/ui/MembersView/index.tsx:154
↓ 4 callersFunctiononDrop
(event: React.DragEvent)
apps/web/ui/ChannelsView/index.tsx:116
↓ 4 callersFunctionparse
(input, matchers)
packages/ast/parse/parse.js:37
↓ 4 callersFunctionparseDiscordSentAt
(ts: string)
packages/serializers/src/sentAt.ts:5
↓ 4 callersFunctionparseMessage
(message: T)
apps/web/services/slack/sync/parseMessage.ts:7
↓ 4 callersFunctionprocessAttachments
( m: ConversationHistoryMessage, message: messages, token: string, logger: Logger )
apps/web/services/slack/sync/attachments.ts:10
↓ 4 callersFunctionquote
(children)
packages/ast/parse/slack/spec-helpers/index.js:75
↓ 4 callersFunctionrandom
()
packages/queue/src/tasks/email-notification/index.test.ts:30
↓ 4 callersFunctionreplaceMentionsWithDisplayName
(text: string, mentions: any[])
apps/web/services/slack/api/utilities/mentions.ts:7
↓ 4 callersFunctionscrollToBottom
(node: HTMLElement, smooth?: boolean)
packages/utilities/src/scroll.ts:1
↓ 4 callersFunctionsendEmailNotification
( payload: emailNotificationPayloadType & { locked_at?: Date | null; }, sendEmail: typeof Notificati
packages/queue/src/tasks/email-notification/handleNotificationEmailTask.ts:28
↓ 4 callersFunctionserializeUser
(user: users)
packages/serializers/src/user.ts:12
↓ 4 callersMethodsetPrefix
(prefix: string)
packages/types/src/logger.ts:7
↓ 4 callersFunctionsetThreadExternalId
(id: string, externalId: string)
packages/integration-discord/src/utils/linen.ts:155
↓ 4 callersFunctionshallow
(type)
packages/ast/parse/combinators.js:42
↓ 4 callersFunctionsignToken
(user: any)
packages/auth-server/src/server/tokens.ts:39
↓ 4 callersFunctionsignal
(id)
packages/ast/parse/linen/spec-helpers/index.js:37
↓ 4 callersFunctionstartSignUp
(props: StartSignUpProps)
apps/web/contexts/Join.tsx:48
↓ 4 callersFunctiontc
(fn: () => T)
packages/utilities/src/tc.ts:1
↓ 4 callersFunctiontransform
(node: any, count = 1)
apps/web/ui/Message/utilities/transform.ts:1
↓ 4 callersFunctiontsToSentAt
(ts: string)
packages/serializers/src/sentAt.ts:9
↓ 4 callersFunctionunderline
(children)
packages/ast/parse/discord/spec-helpers/index.js:25
↓ 4 callersMethodupdate
({ messageId, body, externalMessageId }: messagePutType)
apps/web/services/messages/index.ts:289
↓ 4 callersFunctionupdateNextPageCursor
( channelId: string, externalPageCursor: string )
apps/web/services/channels/index.ts:762
↓ 4 callersMethodupdateUserRole
({ userId, role, }: { userId: string; role: Roles; })
apps/web/services/users/users.ts:18
↓ 4 callersFunctionuseKeyboard
( { onKeyUp, onKeyDown }: Props = {}, dependencies?: any )
apps/web/hooks/keyboard.tsx:8
↓ 4 callersFunctionuseMode
()
apps/web/hooks/mode.tsx:8
↓ 4 callersFunctionverifyToken
(token: string)
packages/auth-server/src/server/tokens.ts:43
↓ 3 callersFunctionCustomRouterPush
({ isSubDomainRouting, communityName, communityType, }: { isSubDomainRouting: boolean; communityName
apps/web/components/Link/CustomRouterPush.tsx:4
↓ 3 callersFunctionError
({ error }: { error?: string })
apps/web/ui/Auth/index.tsx:44
↓ 3 callersFunctionRemove
(onClick: () => Promise<void>)
apps/web/ui/IntegrationsModal/index.tsx:224
↓ 3 callersFunctionacceptInvites
(userEmail: string)
apps/web/server/routers/auth.ts:26
↓ 3 callersMethodauth
( request: GetServerSidePropsContext['req'] | NextApiRequest, response: GetServerSidePropsContext['res
apps/web/services/session/index.ts:42
↓ 3 callersFunctionbot_profile
(account: any)
apps/web/services/slack/webhooks/messages.test.ts:19
↓ 3 callersMethodbuildExternalId
( channelId: string, owner: string, repo: string, issueNumber: number )
packages/integration-github/src/helpers/serializer.ts:5
↓ 3 callersFunctionchannelRenameEvent
( team_id: string, externalId = v4(), channelName = v4() )
apps/web/services/slack/webhooks/webhook.channels.test.ts:10
↓ 3 callersFunctioncheckoutTenant
(authId: string, accountId: string)
apps/web/services/invites.ts:314
↓ 3 callersMethodclean
(text: string)
packages/llm/src/utils/string.ts:2
↓ 3 callersMethodcreate
({ body, files, accountId, channelId, threadId, imitationId, userId, externalM
apps/web/services/messages/index.ts:21
↓ 3 callersFunctioncreateKey
({ keyWithSearchPermissions, filter_by, }: { keyWithSearchPermissions: string; filter_by: string; })
packages/typesense/src/utils/keys.ts:6
↓ 3 callersFunctioncreateNotificationEmailTask
({ jobKey, runAt, payload, helpers, }: { jobKey: string; runAt: Date; payload: emailNotification
packages/queue/src/tasks/email-notification/createNotificationEmailTask.ts:4
↓ 3 callersFunctioncreateSsoSession
( userId: string, encryptedToken: string )
apps/web/services/sso/index.ts:10
↓ 3 callersFunctioncreateThreadImitation
({ message, title, author, files, mentions, channel, }: { message: string; title?: string; a
packages/serializers/src/thread.ts:43
↓ 3 callersFunctioncreateThreadsOneByDay
( channel: channels, account: accounts, threadsCount: number )
apps/web/bin/factory/threads.ts:16
↓ 3 callersFunctioncsrfMiddleware
(_?: never)
packages/auth-server/src/server/router/csrf.ts:20
↓ 3 callersFunctiondecrypt
(dataToDecrypt: string)
packages/auth-server/src/server/crypto.ts:24
↓ 3 callersFunctiondiscordSync
({ logger, ...args }: { accountId: string; fullSync?: boolean; logger: Logger; })
apps/web/services/discord/sync.ts:91
↓ 3 callersFunctioneventUserJoin
(event: UserJoin)
apps/web/services/events/eventUserJoin.ts:10
↓ 3 callersFunctioneventUserNameUpdate
({ userId, accountId, }: { userId: string; accountId: string; })
apps/web/services/events/eventUserNameUpdate.ts:3
↓ 3 callersFunctionexpireSessionCookies
({ req, res }: { req: any; res: any })
packages/auth-server/src/server/cookies.ts:99
↓ 3 callersFunctionextractEmail
(text: string)
packages/integration-email/src/helper/parser.ts:4
← previousnext →201–300 of 2,204, ranked by callers