Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/msgbyte/tailchat
/ functions
Functions
1,612 in github.com/msgbyte/tailchat
⨍
Functions
1,612
◇
Types & classes
631
↓ 7 callers
Function
getValidateStatus
(error: string | undefined)
client/packages/design/components/WebMetaForm/utils.ts:4
↓ 7 callers
Method
key
(id: string)
server/services/openapi/oidc/adapter.ts:180
↓ 7 callers
Function
raExpressMongoose
( model: T, options?: raExpressMongooseOptions<I> )
server/admin/src/server/middleware/express-mongoose-ra-json-server/index.ts:64
↓ 7 callers
Function
rebuildGroupPanelOrder
( groupPanels: GroupPanelInfo[] )
client/web/src/components/modals/GroupDetail/Panel/utils.ts:34
↓ 7 callers
Function
useCachedUserInfo
( userId: string, refetch = false )
client/shared/hooks/model/useUserInfo.ts:8
↓ 7 callers
Function
useGroupPanelInfo
( groupId: string, panelId: string )
client/shared/redux/hooks/useGroup.ts:51
↓ 7 callers
Function
useHasGroupPermission
( groupId: string, permissions: string[] )
client/shared/redux/hooks/useGroupPermission.ts:88
↓ 6 callers
Function
buildCachedRegFn
( name: string, defaultFunc?: F )
client/shared/manager/buildReg.ts:60
↓ 6 callers
Function
buildStepOption
(options: { id: string; text: string; selector: string; position?: Shepherd.Step.StepOptions['attachTo
client/web/plugins/com.msgbyte.intro/src/steps.ts:22
↓ 6 callers
Function
createTestMessage
(converseId: Types.ObjectId, content = 'bar')
server/test/integration/chat/message.spec.ts:7
↓ 6 callers
Function
getDefaultPermissionList
()
client/shared/utils/role-helper.ts:161
↓ 6 callers
Function
getJWTUserInfo
()
client/web/src/utils/jwt-helper.ts:58
↓ 6 callers
Function
openReconfirmModalP
( props?: Omit<OpenReconfirmModalProps, 'onConfirm' | 'onCancel'> )
client/web/src/components/Modal.tsx:228
↓ 6 callers
Method
readFile
(path: string)
client/packages/plugin-declaration-generator/src/tsgenerator.ts:185
↓ 6 callers
Function
setEnvValue
* 设置环境变量值
apps/cli/src/commands/docker/init.ts:160
↓ 6 callers
Function
setGlobalUserLoginInfo
(loginInfo: UserLoginInfo | null)
client/web/src/utils/user-helper.ts:7
↓ 6 callers
Function
setUserJWT
(jwt: string | null)
client/web/src/utils/jwt-helper.ts:27
↓ 6 callers
Method
unpack
(buffer)
server/plugins/com.msgbyte.agora/services/utils/AccessToken2.ts:43
↓ 6 callers
Function
useGroupIdContext
()
client/web/src/context/GroupIdContext.tsx:8
↓ 6 callers
Function
useIsMobile
()
client/web/src/hooks/useIsMobile.ts:6
↓ 6 callers
Function
useOpenAppInfo
()
client/web/plugins/com.msgbyte.openapi/src/MainPanel/context.tsx:32
↓ 6 callers
Function
useSharedEventHandler
(eventName: T, handler: H)
client/shared/event/index.ts:94
↓ 6 callers
Function
virtualId
(el: Array<T> | T)
server/admin/src/server/middleware/express-mongoose-ra-json-server/utils/virtualId.ts:9
↓ 5 callers
Method
add
* 请求添加好友
server/services/core/user/friendRequest.service.ts:49
↓ 5 callers
Method
cleanGroupInfoCache
* 清理群组缓存 * @param groupId 群组id
server/services/core/group/group.service.ts:1291
↓ 5 callers
Method
disconnect
* Disconnect from database * * @returns {Promise} * * @memberof MongooseDbAdapter
server/packages/sdk/src/services/lib/moleculer-db-adapter-mongoose/index.ts:138
↓ 5 callers
Function
findPluginPanelInfoByName
( pluginPanelName: string )
client/web/src/utils/plugin-helper.ts:7
↓ 5 callers
Function
formatFullTime
(date: dayjs.ConfigType)
client/shared/utils/date-helper.ts:75
↓ 5 callers
Method
init
* Initialize adapter * * @param {ServiceBroker} broker * @param {Service} service * * @memberof MongooseDbAdapter
server/packages/sdk/src/services/lib/moleculer-db-adapter-mongoose/index.ts:55
↓ 5 callers
Method
insert
(entity: Partial<T>)
server/packages/sdk/src/services/mixins/db.mixin.ts:30
↓ 5 callers
Function
parseExports
(filePath: string, options: ts.CompilerOptions)
client/packages/plugin-declaration-generator/src/tsgenerator.ts:75
↓ 5 callers
Function
px2rem
(size: number)
client/packages/design/components/Avatar/utils.ts:39
↓ 5 callers
Function
recordMeasure
(name: string)
client/web/src/utils/measure-helper.ts:25
↓ 5 callers
Method
recordUserLoginMeta
(userId: string, meta: any)
server/services/core/user/user.service.ts:288
↓ 5 callers
Method
register
* 用户注册
server/services/core/user/user.service.ts:448
↓ 5 callers
Method
render
()
client/shared/components/Portal/Manager.tsx:48
↓ 5 callers
Function
renderLazy
(ui: React.ReactElement, ms = 400)
client/web/test/utils/lazy.tsx:19
↓ 5 callers
Method
scrollToItem
(index: number, align: ListItemAlign = 'auto', offset = 0)
client/web/src/components/DynamicVirtualizedList/DynamicSizeList.tsx:300
↓ 5 callers
Method
sendEvent
往JavaScript发送事件通知 @param eventName @param type @param value
client/mobile/android/app/src/main/java/com/msgbyte/tailchat/GetuiModule.java:332
↓ 5 callers
Method
transformEntity
* Transform returned user entity. Generate JWT token if neccessary. * * @param {Object} user * @param {Boolean} withToken
server/services/core/user/user.service.ts:1195
↓ 5 callers
Function
uploadFile
( file: File, options: UploadFileOptions = {} )
client/shared/utils/upload-helper.ts:23
↓ 5 callers
Function
useGlobalSocketEvent
( eventName: string, callback: (data: T) => void )
client/web/src/utils/global-state-helper.ts:30
↓ 5 callers
Function
useMeetingContextState
(selector: (s: MeetingState) => T)
server/plugins/com.msgbyte.livekit/web/plugins/com.msgbyte.livekit/src/context/MeetingContext.tsx:30
↓ 5 callers
Function
useRecordMeasure
(name: string)
client/web/src/utils/measure-helper.ts:37
↓ 5 callers
Function
useWatch
(deps: DependencyList, cb: () => void)
client/shared/hooks/useWatch.ts:7
↓ 4 callers
Method
addListener
(type: string, callback: (...args: any[]) => any)
client/shared/components/Portal/defaultEventEmitter.tsx:20
↓ 4 callers
Function
applyStyle
* 应用样式到元素 * @param el 元素 * @param styles 样式
apps/widget/src/index.ts:129
↓ 4 callers
Method
broadcast
( eventName: K, data: K extends keyof BuiltinEventMap ? BuiltinEventMap[K] : unknown, groups?: str
server/packages/sdk/src/services/base.ts:92
↓ 4 callers
Function
buildUserOnlineKey
* socket online 用户编号
server/mixins/socketio.mixin.ts:45
↓ 4 callers
Method
buildVerifyEmailKey
* 构建验证邮箱的缓存key
server/services/core/user/user.service.ts:1311
↓ 4 callers
Method
call
(action: string, params = {})
client/packages/tailchat-client-sdk/src/openapi/client/base.ts:70
↓ 4 callers
Function
callBrokerAction
( actionName: string, params: any, opts?: Record<string, any> )
server/admin/src/server/broker.ts:16
↓ 4 callers
Function
cb
(stats: NetworkQuality)
server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/NetworkStats.tsx:24
↓ 4 callers
Method
cleanAppInfoCache
* 清理获取开放平台应用的缓存
server/services/openapi/app.service.ts:378
↓ 4 callers
Method
cleanUserInfoCache
* 根据用户ID清理缓存信息
server/services/core/user/user.service.ts:1185
↓ 4 callers
Function
createAutoMergedRequest
( fn: (mergedParams: T[]) => Promise<R[]>, windowMs = 200 )
client/shared/utils/request.ts:16
↓ 4 callers
Function
createAutoSplitRequest
( fn: (keys: Key[]) => Promise<Item[]>, type: 'serial' | 'parallel', limit = 100 )
client/shared/utils/request.ts:61
↓ 4 callers
Method
createComment
* 回复话题
server/plugins/com.msgbyte.topic/services/topic.service.ts:143
↓ 4 callers
Function
createTestUser
* 创建测试用户
server/test/integration/user/user.spec.ts:11
↓ 4 callers
Method
delete
* 删除文件
server/services/core/file.service.ts:377
↓ 4 callers
Function
encodeNoConflictServiceNameKey
(key: string)
server/packages/sdk/src/utils.ts:6
↓ 4 callers
Function
exportModulesTemplate
( items: ExportModuleItem[], existedModules: DeclarationModuleItem[] = [] )
client/web/scripts/generate-plugin-declaration.typescript.ts:12
↓ 4 callers
Method
findLastestMeetingByConverseId
( this: db.ReturnModelType<typeof AgoraMeeting>, converseId: string )
server/plugins/com.msgbyte.agora/models/agora-meeting.ts:42
↓ 4 callers
Function
forwardSharedEvent
( eventName: string, processPayload?: (payload: any) => Promise<{ type: string; payload: any }> )
client/web/plugins/com.msgbyte.env.rn/src/utils.ts:6
↓ 4 callers
Method
generateJWT
* 生成jwt
server/services/core/user/user.service.ts:1234
↓ 4 callers
Method
get
* 获取应用信息
server/services/openapi/app.service.ts:158
↓ 4 callers
Function
getEmailAddress
(email: string)
server/lib/utils.ts:10
↓ 4 callers
Function
getGlobalConfig
()
client/shared/model/config.ts:81
↓ 4 callers
Function
getGlobalState
()
client/web/src/utils/global-state-helper.ts:9
↓ 4 callers
Method
getInstalledPlugins
* 获取已安装插件列表(不包含强制安装的内部插件)
client/web/src/plugin/manager.ts:52
↓ 4 callers
Function
getItemSize
( props: DynamicSizeListProps, index: number, listMetaData: any )
client/web/src/components/DynamicVirtualizedList/DynamicSizeList.tsx:135
↓ 4 callers
Method
getSourceFromChannelName
* NOTICE: 这里不用每次唯一的ChannelName是期望设计是会话维度的,即可以重复使用
server/plugins/com.msgbyte.agora/services/agora.service.ts:366
↓ 4 callers
Method
getSubscribedGroupPanelIds
* 获取会被订阅的群组面板id列表 * * 订阅即加入socket房间
server/services/core/group/group.service.ts:239
↓ 4 callers
Function
getTextColorHex
(text: unknown)
client/packages/design/components/Avatar/utils.ts:27
↓ 4 callers
Method
getUserInfo
(accessToken: string)
server/packages/sdk/src/openapi/oauth.ts:59
↓ 4 callers
Function
getUserJWT
()
client/web/src/utils/jwt-helper.ts:37
↓ 4 callers
Function
modifyGroupField
( groupId: string, fieldName: AllowedModifyField, fieldValue: unknown )
client/shared/model/group.ts:113
↓ 4 callers
Function
parseUrlStr
(originUrl: string)
server/admin/src/client/utils.ts:6
↓ 4 callers
Function
postMessageEvent
( eventType: T, eventData?: MessageEventMap[T] )
client/web/src/utils/event-helper.ts:9
↓ 4 callers
Method
render
()
client/web/src/components/DynamicVirtualizedList/ItemMeasurer.tsx:196
↓ 4 callers
Method
renderError
(res: ServerResponse, error: any)
server/services/openapi/oidc/oidc.service.ts:316
↓ 4 callers
Method
resume
恢复SDK运行,重新接收推送
client/mobile/android/app/src/main/java/com/msgbyte/tailchat/GetuiModule.java:91
↓ 4 callers
Function
sendMessage
( payload: SendMessagePayload )
client/shared/model/message.ts:66
↓ 4 callers
Method
sendMessageToSubscribes
* 向订阅者发送消息
server/plugins/com.msgbyte.github/services/subscribe.service.ts:250
↓ 4 callers
Function
stringifyAddress
* 将地址格式化
server/models/user/mail.ts:21
↓ 4 callers
Function
useAsyncRefresh
( fn: T, deps: DependencyList = [] )
client/shared/hooks/useAsyncRefresh.ts:5
↓ 4 callers
Function
useChatInputActionContext
()
client/web/src/components/ChatBox/ChatInputBox/context.tsx:20
↓ 4 callers
Function
useColorScheme
()
client/shared/contexts/ColorSchemeContext.tsx:37
↓ 4 callers
Function
useGlobalKeyDown
( fn: (e: KeyboardEvent) => void, options?: AddEventListenerOptions )
client/web/src/hooks/useGlobalKeyDown.ts:8
↓ 4 callers
Function
useGroupPanelContext
()
client/web/src/context/GroupPanelContext.tsx:14
↓ 4 callers
Function
useNavToView
()
client/web/src/routes/Entry/utils.ts:7
↓ 4 callers
Function
useStorage
( key: string, defaultValue?: T )
client/shared/manager/storage.ts:30
↓ 4 callers
Function
useUnread
(converseIds: string[])
client/shared/redux/hooks/useUnread.ts:8
↓ 4 callers
Function
useUserNotifyMute
()
client/shared/hooks/model/useUserSettings.ts:70
↓ 3 callers
Method
_getRangeToRender
* 获取渲染范围
client/web/src/components/DynamicVirtualizedList/DynamicSizeList.tsx:669
↓ 3 callers
Function
appendUrlSearch
(obj: Record<string, string>)
client/web/src/utils/url-helper.ts:17
↓ 3 callers
Function
buildDataFromValues
(values: GroupPanelValues)
client/web/src/components/modals/GroupPanel/helper.ts:8
↓ 3 callers
Function
buildLink
(itemId: string)
client/web/src/routes/Main/Content/Inbox/Sidebar.tsx:26
↓ 3 callers
Function
buildMessageItemRow
( messages: LocalChatMessage[], index: number )
client/web/src/components/ChatBox/ChatMessageList/Item.tsx:298
↓ 3 callers
Function
checkForUpdates
({ repository, token, debug, silent, }: Options = defaultOptions)
client/desktop-old/src/lib/electron-update-notifier.ts:41
← previous
next →
101–200 of 1,612, ranked by callers