MCPcopy Create free account

hub / github.com/msgbyte/tailchat / functions

Functions1,612 in github.com/msgbyte/tailchat

↓ 3 callersMethodcheckGroupFieldPermission
* 检查群组字段操作权限,如果没有权限会直接抛出异常
server/models/group/group.ts:345
↓ 3 callersMethodcleanCurrentUserCache
* 清理当前用户的缓存信息
server/services/core/user/user.service.ts:1174
↓ 3 callersMethodconnect
* Connect to database * * @returns {Promise} * * @memberof MongooseDbAdapter
server/packages/sdk/src/services/lib/moleculer-db-adapter-mongoose/index.ts:88
↓ 3 callersFunctionconvertId
(obj: T)
server/admin/src/server/middleware/express-mongoose-ra-json-server/utils/convertId.ts:2
↓ 3 callersFunctioncreateClient
(url: string, token: string)
apps/cli/src/commands/benchmark/connections.ts:97
↓ 3 callersFunctioncreateDMConverse
( memberIds: string[] )
client/shared/model/converse.ts:27
↓ 3 callersFunctioncreateGroup
* 创建群组
client/web/e2e/playwright/tests/main.spec.ts:46
↓ 3 callersFunctiondatetimeFromNow
(input: dayjs.ConfigType)
client/shared/utils/date-helper.ts:94
↓ 3 callersMethoddisconnect
()
client/packages/tailchat-client-sdk/src/openapi/client/ws.ts:58
↓ 3 callersMethoddisconnect
* 断开连接
client/shared/api/socket.ts:117
↓ 3 callersFunctionencodeHMac
(key, message)
server/plugins/com.msgbyte.agora/services/utils/AccessToken2.ts:294
↓ 3 callersMethodentityChanged
(type: EntityChangedType, json: {}, ctx: Context)
server/packages/sdk/src/services/mixins/db.mixin.ts:39
↓ 3 callersFunctionfetchConverseMessage
( converseId: string, startId?: string )
client/shared/model/message.ts:48
↓ 3 callersFunctionfetchImagePrimaryColor
(imageUrl: string)
client/web/src/utils/image-helper.ts:19
↓ 3 callersFunctionfixRect
* fix rect into correct size
client/desktop/src/main/lib/webview-manager.ts:20
↓ 3 callersFunctionformatShortTime
(date: dayjs.ConfigType)
client/shared/utils/date-helper.ts:68
↓ 3 callersFunctiongeneratePostMessageHtml
(obj: Record<string, any>)
server/plugins/com.msgbyte.iam/services/iam.service.ts:145
↓ 3 callersFunctiongenerateRandomNumStr
(length = 6)
server/lib/utils.ts:22
↓ 3 callersFunctiongetCachedConverseInfo
( converseId: string )
client/shared/cache/cache.ts:54
↓ 3 callersFunctiongetCachedUserSettings
()
client/shared/cache/cache.ts:162
↓ 3 callersFunctiongetClientLocalTrack
( client: IAgoraRTCClient, trackMediaType: string )
server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/utils.ts:19
↓ 3 callersFunctiongetGroupConfigWithInfo
( groupInfo: GroupInfo | null | undefined )
client/shared/model/group.ts:51
↓ 3 callersFunctiongetLanguage
()
client/shared/i18n/index.ts:122
↓ 3 callersFunctiongetPermissionList
()
client/shared/utils/role-helper.ts:64
↓ 3 callersFunctiongetVersion
()
server/plugins/com.msgbyte.agora/services/utils/AccessToken2.ts:6
↓ 3 callersFunctiongrantKeyFor
(id)
server/services/openapi/oidc/adapter.ts:26
↓ 3 callersFunctionimageUrlParser
(url: string)
client/packages/design/components/Image/index.tsx:4
↓ 3 callersFunctionisToday
(date: dayjs.ConfigType)
client/shared/utils/date-helper.ts:26
↓ 3 callersFunctionisValidJson
(jsonStr: string)
client/shared/utils/json-helper.ts:5
↓ 3 callersFunctionjoinArray
(arr: T[], separator: K)
client/shared/utils/array-helper.ts:11
↓ 3 callersFunctionopenConfirmModal
(props: OpenConfirmModalProps)
client/web/src/components/Modal.tsx:176
↓ 3 callersFunctionopenReconfirmModal
(props: OpenReconfirmModalProps)
client/web/src/components/Modal.tsx:213
↓ 3 callersFunctionparseLanguageFromHead
( headerLanguage = 'en-US' )
server/packages/sdk/src/services/lib/i18n/parser.ts:9
↓ 3 callersFunctionparsePluginManifest
(json: string)
client/web/src/plugin/utils.ts:14
↓ 3 callersFunctionpreProcessLinkText
(plainText: string)
client/web/plugins/com.msgbyte.bbcode/src/bbcode/index.tsx:9
↓ 3 callersFunctionpreprocessMessage
(message: string)
client/web/src/components/ChatBox/preprocessMessage.tsx:9
↓ 3 callersFunctionpurgeRequestConfig
* 处理axios的request config * * 为了防止用户的jwt因为请求被传递到其他地方
client/web/src/plugin/common/index.ts:119
↓ 3 callersMethodremoveListener
* 移除监听函数
client/shared/api/socket.ts:81
↓ 3 callersMethodsaveInstalledPlugins
* 记录已安装插件信息
client/web/src/plugin/manager.ts:133
↓ 3 callersFunctionshowNotification
(info: NotificationInfo)
client/mobile/src/lib/notifications/index.ts:24
↓ 3 callersFunctionsleep
(milliseconds: number)
client/shared/utils/utils.ts:6
↓ 3 callersFunctionstripMentionTag
(message: string)
client/packages/tailchat-client-sdk/src/utils.ts:4
↓ 3 callersMethodupdateMany
* Update many entities by `query` and `update` * * @param {Object} query * @param {Object} update * @returns {Promise} * * @memberof
server/packages/sdk/src/services/lib/moleculer-db-adapter-mongoose/index.ts:264
↓ 3 callersFunctionuploadMessageImage
(image: File)
client/web/src/components/ChatBox/ChatInputBox/utils.tsx:11
↓ 3 callersFunctionuseAlphaMode
()
client/shared/hooks/useAlphaMode.ts:9
↓ 3 callersFunctionuseCachedOnlineStatus
( ids: string[], onOnlineStatusUpdate?: (onlineStatus: boolean[]) => void )
client/shared/cache/useCache.ts:9
↓ 3 callersFunctionuseChatBoxContext
()
client/shared/contexts/ChatBoxContext.tsx:42
↓ 3 callersFunctionuseCurrentUserInfo
()
client/web/src/plugin/common/index.ts:102
↓ 3 callersFunctionuseDMConverseName
(converse: ChatConverseState | undefined)
client/shared/redux/hooks/useDMConverseName.ts:7
↓ 3 callersFunctionuseHasGroupPanelPermission
( groupId: string, panelId: string, permissions: string[] )
client/shared/redux/hooks/useGroupPermission.ts:113
↓ 3 callersFunctionuseInboxList
()
client/shared/redux/hooks/useInbox.ts:7
↓ 3 callersFunctionuseLanguage
()
client/shared/i18n/language.ts:28
↓ 3 callersFunctionuseOpenAppAction
()
client/web/plugins/com.msgbyte.openapi/src/MainPanel/AppInfo/useOpenAppAction.tsx:15
↓ 3 callersFunctionusePanelWindow
(panelUrl: string)
client/web/src/hooks/usePanelWindow.ts:9
↓ 3 callersFunctionuseSearchParam
(param)
client/web/src/hooks/useSearchParam.ts:6
↓ 3 callersFunctionuseSidebarContext
()
client/web/src/routes/Main/SidebarContext.tsx:41
↓ 3 callersFunctionuseSingleUserSetting
( name: K, defaultValue?: UserSettings[K] )
client/shared/hooks/model/useUserSettings.ts:51
↓ 3 callersFunctionuseUserSessionPreference
( scope: T )
client/web/src/hooks/useUserPreference.ts:21
↓ 3 callersFunctionuseUserSettings
()
client/shared/hooks/model/useUserSettings.ts:16
↓ 3 callersMethodverifyEmail
* 验证用户邮箱, 会往邮箱发送一个 OTP 作为唯一标识 * 需要在注册的时候带上
server/services/core/user/user.service.ts:374
↓ 3 callersMethodverifyJWT
(token: string)
server/services/core/user/user.service.ts:1219
↓ 3 callersFunctionwriteMarkdown
* 写入markdown
website/scripts/generate-plugin-list.ts:80
↓ 2 callersFunctionLoadable
(load: any)
client/web/src/components/__mocks__/Loadable.tsx:7
↓ 2 callersFunctionTcSocketIOService
( options: TcSocketIOServiceOptions )
server/mixins/socketio.mixin.ts:72
↓ 2 callersMethodadd
* 新增任务
server/plugins/com.msgbyte.tasks/services/tasks.service.ts:72
↓ 2 callersFunctionaddReaction
( messageId: string, emoji: string )
client/shared/model/message.ts:179
↓ 2 callersMethodadd_service
(service)
server/plugins/com.msgbyte.agora/services/utils/AccessToken2.ts:233
↓ 2 callersMethodappendGroupMemberRoles
* 追加群组成员的角色
server/services/core/group/group.service.ts:666
↓ 2 callersFunctionappendMessage
()
client/shared/redux/setup.ts:139
↓ 2 callersFunctionappendUserDMConverse
( converseId: string )
client/shared/model/user.ts:340
↓ 2 callersFunctionbadgeTemplate
(title: string, text: string)
server/plugins/com.msgbyte.prettyinvite/services/prettyinvite.service.ts:4
↓ 2 callersMethodbuild
()
server/plugins/com.msgbyte.agora/services/utils/AccessToken2.ts:237
↓ 2 callersFunctionbuildCachedRequest
( name: string, fn: F, options?: FetchQueryOptions )
client/shared/cache/utils.ts:14
↓ 2 callersFunctionbuildFriendNicknameMap
( friends: FriendInfo[] )
client/shared/helper/converse-helper.ts:30
↓ 2 callersFunctionbuildRegMap
()
client/shared/manager/buildReg.ts:158
↓ 2 callersMethodbuildTokenWithUserAccount
* Builds an RTC token using an Integer uid. * @param {*} appId The App ID issued to you by Agora. * @param {*} appCertificate Certificate of th
server/plugins/com.msgbyte.agora/services/utils/RtcTokenBuilder2.ts:67
↓ 2 callersFunctionbuildWatchDom
(selector: string)
client/web/plugins/com.msgbyte.intro/src/steps.ts:4
↓ 2 callersFunctionbuildWindowFeatures
( options: Record<string, string | number | boolean> )
client/web/src/utils/window-helper.ts:11
↓ 2 callersFunctioncalcUsage
(startTime: [number, number])
apps/cli/src/commands/benchmark/message.ts:109
↓ 2 callersFunctioncalcWordWidth
* 计算文本占据宽度 * 单位为字符宽度
server/plugins/com.msgbyte.prettyinvite/services/prettyinvite.service.ts:116
↓ 2 callersFunctioncastFilter
( obj: Record<string, any>, model: T, allowedRegexes: string[] = [] )
server/admin/src/server/middleware/express-mongoose-ra-json-server/utils/castFilter.ts:8
↓ 2 callersMethodcheckConversePermission
* 校验会话权限,如果没有抛出异常则视为正常
server/services/core/chat/message.service.ts:577
↓ 2 callersFunctioncheckPathMatch
(urlList: string[], url: string)
server/lib/utils.ts:74
↓ 2 callersFunctioncheckSettingConfig
(settings: Record<string, any>)
client/web/plugins/com.msgbyte.env.electron/src/index.tsx:63
↓ 2 callersFunctioncheckUpdate
()
client/web/plugins/com.msgbyte.env.electron/src/checkUpdate.tsx:8
↓ 2 callersMethodcleanGroupAllUserPermissionCache
* 清理群组所有用户缓存 * @param groupId 群组id
server/services/core/group/group.service.ts:1309
↓ 2 callersMethodcleanGroupUserPermission
* 清理群组用户缓存 * @param groupId 群组id * @param userId 用户id
server/services/core/group/group.service.ts:1301
↓ 2 callersFunctioncreateAndEmitMessage
( eventName: string, eventData: unknown = {} )
server/mixins/__tests__/socketio.spec.ts:10
↓ 2 callersMethodcreateCursor
* Create a filtered query * Available filters in `params`: * - search * - sort * - limit * - offset * - query * * @param
server/packages/sdk/src/services/lib/moleculer-db-adapter-mongoose/index.ts:347
↓ 2 callersFunctioncreateDefaultChannel
()
client/mobile/src/lib/notifications/index.ts:12
↓ 2 callersMethodcreateMailerTransporter
* 创建邮件发送实例
server/models/user/mail.ts:97
↓ 2 callersFunctioncreateStore
()
client/shared/redux/store.ts:4
↓ 2 callersFunctioncreateTailchatClient
(tailchatHost = defaultTailchatApiUrl)
apps/github-app/src/app.ts:200
↓ 2 callersFunctioncreateTailchatContextWithConfig
* 从配置文件中创建上下文 * * 因为考虑serverless服务因此不能全局管理
apps/github-app/src/app.ts:180
↓ 2 callersFunctioncreateUseStorageState
(getStorage: () => Storage | undefined)
client/shared/hooks/factory/createUseStorageState.ts:21
↓ 2 callersFunctioncreateWelcomeWindow
()
client/desktop/src/main/main.ts:115
↓ 2 callersFunctiondecode
(miao: string)
client/web/plugins/com.msgbyte.miaolang/src/miaotrans.ts:12
↓ 2 callersFunctiondeleteGroup
* 删除测试群组
client/web/e2e/playwright/tests/main.spec.ts:65
↓ 2 callersFunctiondesEncrypt
(message: string, key: string = config.secret)
server/lib/crypto/des.ts:5
↓ 2 callersFunctiondownloadUrl
(url: string, fileName: string)
client/web/src/utils/file-helper.ts:93
← previousnext →201–300 of 1,612, ranked by callers