MCPcopy Create free account

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

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

↓ 10 callersFunctionlogin
({ email, password }: any)
apps/web/__tests__/helpers/login.ts:9
↓ 10 callersFunctionmatches
(query: string, title: string)
apps/web/ui/NavBar/Desktop/ChannelsGroup/RecentTopics/utilities/search.ts:1
↓ 10 callersFunctionreplaceMentions
({ body, mentions, }: { body: string | null; mentions: SerializedUser[]; })
apps/web/utilities/seo/utils/replaceMentions.ts:3
↓ 10 callersFunctionstrike
(children)
packages/ast/parse/linen/spec-helpers/index.js:21
↓ 10 callersFunctiontrackPage
( context: GetServerSidePropsContext, data: | { redirect: { destination: string;
apps/web/utilities/ssr-metrics/trackPage.ts:9
↓ 10 callersMethodupdate
({ params, accountId, tags, }: { params: { description?: string; homeUrl?: strin
apps/web/services/accounts/index.ts:125
↓ 10 callersFunctionuseUsersContext
()
packages/contexts/src/Users.tsx:25
↓ 9 callersFunctionCustomLinkHelper
({ isSubDomainRouting, path, communityName, communityType, }: { isSubDomainRouting: boolean; path:
packages/utilities/src/custom-link.ts:7
↓ 9 callersFunctionanonymizeMessages
( thread: ThreadWithMessages, anonymize: AnonymizeType )
packages/serializers/src/anonymizeMessages.ts:34
↓ 9 callersFunctioncalculateDimensions
(dimensions: Dimensions | null)
apps/web/ui/Message/Link/Image/utilities/image.ts:13
↓ 9 callersFunctionencodeCursor
(data: string)
apps/web/utilities/cursor.ts:6
↓ 9 callersMethodfetchMentions
(term?: string)
apps/web/ui/ChannelView/Chat/index.tsx:47
↓ 9 callersFunctiongetHomeUrl
(account?: { premium: boolean; redirectDomain?: string; slackDomain?: string; discordDomain?: string;
packages/utilities/src/home.ts:11
↓ 9 callersFunctiongetImageDimensionsFromUrl
(filename: string)
packages/utilities/src/files.ts:56
↓ 9 callersFunctionisVideo
(href: string)
apps/web/ui/Message/Link/utilities.ts:27
↓ 9 callersFunctionmarkUserThreadStatuses
( threadId: string, { muted, read, reminder, reminderType, }: { mute
apps/web/ui/ChannelView/index.tsx:279
↓ 9 callersFunctionparseSlackSentAt
(ts: string)
packages/serializers/src/sentAt.ts:1
↓ 9 callersFunctionsendNotification
(message: string)
apps/web/services/slack/api/notification.ts:5
↓ 9 callersFunctionserializeChannel
( channel: channels & { lastThreadAt?: bigint; threadCount?: number; } )
packages/serializers/src/channel.ts:4
↓ 9 callersFunctionsource
(children)
packages/ast/parse/discord/spec-helpers/index.js:1
↓ 9 callersFunctiontrackPageView
( context: GetServerSidePropsContext, email?: string )
apps/web/utilities/ssr-metrics/trackPageView.ts:12
↓ 9 callersFunctionupdateAndNotifySyncStatus
({ accountId, status, accountName, homeUrl, communityUrl, pathDomain, }: { accountId: string;
apps/web/services/accounts/sync.ts:20
↓ 9 callersMethodupdateThread
({ state, title }: { state?: ThreadState; title?: string })
apps/web/ui/ChannelView/TopicView/index.tsx:128
↓ 9 callersFunctionuser
(id)
packages/ast/parse/linen/spec-helpers/index.js:33
↓ 9 callersFunctionusername
(displayName: string | null)
packages/serializers/src/user.ts:5
↓ 8 callersFunctioncode
(value)
packages/ast/parse/linen/spec-helpers/index.js:25
↓ 8 callersFunctioncreateAuth
(options?: Partial<auths>)
packages/factory/src/create/auth.ts:15
↓ 8 callersFunctionemoji
(name, variation)
packages/ast/parse/slack/spec-helpers/index.js:83
↓ 8 callersMethodformat
(level: 'INFO' | 'ERROR' | 'WARN' | 'DEBUG', json: object)
packages/integration-discord/src/utils/logger.ts:15
↓ 8 callersFunctionisImage
(name: string)
packages/utilities/src/files.ts:17
↓ 8 callersFunctionlayout
(children: string)
apps/web/mailers/views/layouts/default.ts:5
↓ 8 callersFunctiononSelectThread
(threadId?: string)
apps/web/ui/ChannelView/index.tsx:220
↓ 8 callersFunctionprocessMessage
(body: string, displayName: string)
apps/web/services/channels/userJoined.ts:65
↓ 8 callersFunctionrandom
()
apps/web/__tests__/topics.test.ts:19
↓ 8 callersFunctionrewrite
({ hostname, pathname, url, userAgent, }: { hostname: string | null; pathname: string; url: Next
apps/web/utilities/middlewareHelper.ts:42
↓ 8 callersFunctionsecureCompare
(a: string, b: string)
packages/utilities/src/password.ts:13
↓ 8 callersFunctiontimestamp
()
packages/utilities/src/date.ts:11
↓ 8 callersFunctionupdateAccount
(options?: any)
apps/web/ui/BrandingView/index.tsx:66
↓ 8 callersFunctionwalk
(root, callback)
packages/ast/walk/index.js:1
↓ 8 callersMethodwrite
({ dir, files })
packages/llm/src/stores/file/index.ts:6
↓ 7 callersFunctionencode
Issues a JWT. By default, the JWT is encrypted using "A256GCM".
packages/auth-server/src/server/tokens.ts:11
↓ 7 callersMethodfindOrCreateUser
(user: LinenTypes.userPostType)
packages/sdk/src/index.ts:122
↓ 7 callersFunctionflush
()
packages/ast/parse/linen/tokenize/index.js:16
↓ 7 callersFunctiongetCurrentConfig
()
apps/web/services/accounts/discord.test.ts:22
↓ 7 callersFunctiongetIntegrationUrl
()
packages/utilities/src/domain.ts:79
↓ 7 callersFunctionhandler
(request: NextApiRequest, response: NextApiResponse)
apps/web/pages/api/sync.ts:6
↓ 7 callersFunctionisFormattable
(code: string)
apps/web/ui/Message/BlockCode/utilities.ts:5
↓ 7 callersFunctionnormalize
(str?: string | null)
packages/utilities/src/string.ts:33
↓ 7 callersFunctionserializeAccount
(account?: any)
packages/serializers/src/account.ts:34
↓ 7 callersFunctionserializeEmail
(email: string)
packages/serializers/src/email.ts:3
↓ 7 callersFunctionserializeMessage
( message: MessageForSerialization )
packages/serializers/src/message.ts:46
↓ 7 callersFunctionsetup
({ accountId, logger, }: { accountId: string; logger: Logger; })
packages/typesense/src/setup.ts:17
↓ 7 callersFunctionsource
(children)
packages/ast/parse/linen/spec-helpers/index.js:1
↓ 7 callersFunctionurl
(link, label)
packages/ast/parse/slack/spec-helpers/index.js:64
↓ 6 callersMethod_readParseFile
(filename: string)
apps/web/services/slack/file/index.ts:29
↓ 6 callersFunctionbuildChannelSeo
({ settings, currentChannel, isSubDomainRouting, pathCursor, currentCommunity, }: { settings: Sett
apps/web/utilities/seo/buildChannelSeo.tsx:5
↓ 6 callersFunctioncode
(value)
packages/ast/parse/slack/spec-helpers/index.js:25
↓ 6 callersFunctioncopyToClipboard
(text: string)
packages/utilities/src/clipboard.ts:1
↓ 6 callersFunctioncreateCSRFToken
()
packages/auth-server/src/server/csrf.ts:18
↓ 6 callersMethodcreateNewMessage
(message: LinenTypes.messagePostType)
packages/sdk/src/index.ts:93
↓ 6 callersFunctioncreateUser
(user: Prisma.usersUncheckedCreateInput)
apps/web/services/users/index.ts:44
↓ 6 callersMethoderror
(json: object)
packages/integration-discord/src/utils/logger.ts:31
↓ 6 callersFunctionformat
(date: string, pattern: string = 'p')
packages/utilities/src/date.ts:7
↓ 6 callersFunctiongetHostFromHeaders
(headers?: { host?: string; origin?: string; })
packages/utilities/src/domain.ts:16
↓ 6 callersFunctiongetThreadUrl
({ isSubDomainRouting, slug, incrementId, settings, messageId, LINEN_URL, }: { isSubDomainRoutin
packages/utilities/src/url.ts:42
↓ 6 callersFunctionhandleNotificationEvent
( data: notificationListenerType, helpers: JobHelpers )
packages/queue/src/tasks/email-notification/handleNotificationEvent.ts:7
↓ 6 callersFunctionisEmailValid
(emailString: string)
packages/utilities/src/email.ts:8
↓ 6 callersFunctionpostprocess
(message, allUsers)
packages/ast/postprocess/index.js:15
↓ 6 callersFunctionpushToTypesense
({ threads, is_restrict, logger, anonymize, }: { threads: (threads & { messages: (messages & {
packages/typesense/src/utils/shared.ts:108
↓ 6 callersFunctionqueryThreads
({ where, orderBy, take, }: Prisma.threadsFindManyArgs)
packages/typesense/src/utils/shared.ts:45
↓ 6 callersFunctionquote
(children)
packages/ast/parse/linen/spec-helpers/index.js:51
↓ 6 callersFunctionsetQuery
(newQuery: string)
apps/web/ui/Typesense/SearchBox.tsx:49
↓ 6 callersFunctionstripProtocol
(url: string)
packages/utilities/src/url.ts:3
↓ 6 callersFunctiontoRows
(topics: SerializedTopic[][])
apps/web/ui/ChannelView/TopicView/Grid/utilities/topics.ts:25
↓ 6 callersMethodupload
(files: File[])
apps/web/ui/MessageForm/index.tsx:43
↓ 5 callersFunctionbuildUserFromInfo
( user: UserInfo, accountId: string )
apps/web/services/slack/serializers/buildUserFromInfo.ts:5
↓ 5 callersFunctioncleanUpUrl
(reqUrl?: string)
packages/utilities/src/url.ts:35
↓ 5 callersMethodcreate
({ email, name, slackDomain, description, channels = [], }: { email: string; nam
apps/web/services/accounts/index.ts:21
↓ 5 callersMethodcreateNewThread
(thread: LinenTypes.threadPostType)
packages/sdk/src/index.ts:83
↓ 5 callersFunctioncreateNotification
( data: Prisma.notificationsUncheckedCreateInput )
packages/queue/src/tasks/email-notification/createNotification.ts:3
↓ 5 callersFunctioncreateTwoWaySyncJob
(payload: TwoWaySyncType)
apps/web/queue/jobs.ts:82
↓ 5 callersMethoddebug
(json: object)
packages/types/src/logger.ts:6
↓ 5 callersFunctiondecodeCursor
(data?: string)
apps/web/utilities/cursor.ts:16
↓ 5 callersFunctiondiscordApi
({ path, query = {}, token, }: { path: string; query?: any; token: string; })
apps/web/services/discord/api.ts:13
↓ 5 callersFunctionemailUs
({ channelName, accountId, type, action = 'Setup', }: { channelName: string; accountId: string | n
apps/web/ui/IntegrationsModal/index.tsx:235
↓ 5 callersFunctionencrypt
(dataToEncrypt: string)
packages/auth-server/src/server/crypto.ts:11
↓ 5 callersFunctionfindAccountByExternalId
(externalId: string)
packages/integration-discord/src/utils/linen.ts:35
↓ 5 callersFunctionfindOrCreateThread
(thread: { channelId: string; externalThreadId: string; sentAt: number; lastReplyAt: number; slug?:
apps/web/services/threads/index.ts:394
↓ 5 callersMethodfindPublic
( communityId: string, isBot: boolean = false )
apps/web/services/channels/index.ts:30
↓ 5 callersFunctionfindThreadsByCursor
({ channelIds, sentAt, sort = 'desc', limit = PAGE_SIZE, direction, anonymizeUsers = false, anon
apps/web/services/threads/index.ts:311
↓ 5 callersFunctiongenerateSalt
()
packages/utilities/src/password.ts:3
↓ 5 callersFunctiongetCsrfToken
(params?: CtxOrReq)
packages/auth-client/src/client/index.tsx:215
↓ 5 callersFunctiongetPushUrlSSR
()
packages/utilities/src/domain.ts:99
↓ 5 callersFunctionisAuthorActive
( author: SerializedUser | null, currentUser: SerializedUser | null, activeUsers?: string[] )
packages/utilities/src/isAuthorActive.ts:3
↓ 5 callersFunctionisNotManager
(role?: Roles)
apps/web/utilities/roles.ts:9
↓ 5 callersFunctionisSubdomainNotAllowed
(host: string)
packages/utilities/src/domain.ts:71
↓ 5 callersFunctionisUrlValid
(url: string)
apps/web/ui/Message/Link/utilities.ts:35
↓ 5 callersFunctionitalic
(children, character = '_')
packages/ast/parse/discord/spec-helpers/index.js:17
↓ 5 callersMethodlist
({ accountId }: { accountId: string })
apps/web/services/api-keys.ts:28
↓ 5 callersFunctionnewDiscordIntegration
({ query, getDiscordAccessToken = discord.getDiscordAccessToken, createIntegrationDiscord = jobs.createI
apps/web/services/accounts/discord.ts:10
← previousnext →101–200 of 2,204, ranked by callers