MCPcopy Create free account
hub / github.com/msgbyte/tailchat / getCachedGroupInviteInfo

Function getCachedGroupInviteInfo

client/shared/cache/cache.ts:82–91  ·  view source on GitHub ↗
(
  inviteCode: string
)

Source from the content-addressed store, hash-verified

80 * 获取缓存的邀请码信息
81 */
82export async function getCachedGroupInviteInfo(
83 inviteCode: string
84): Promise<GroupInvite | null> {
85 const data = await queryClient.fetchQuery(
86 [CacheKey.groupInvite, inviteCode],
87 () => findGroupInviteByCode(inviteCode)
88 );
89
90 return data;
91}
92
93/**
94 * 获取缓存的用户信息

Callers 2

InviteInfo.tsxFile · 0.85
JoinBtn.tsxFile · 0.85

Calls 1

findGroupInviteByCodeFunction · 0.90

Tested by

no test coverage detected