MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / getChatSidebarStateQuery

Function getChatSidebarStateQuery

src/app/query/desktop-query.ts:99–103  ·  view source on GitHub ↗
(
  selectedGroupId?: string | null | undefined,
)

Source from the content-addressed store, hash-verified

97}
98
99export async function getChatSidebarStateQuery(
100 selectedGroupId?: string | null | undefined,
101): Promise<ChatSidebarState | null> {
102 return (await window.piDesktop?.getChatSidebarState?.(selectedGroupId ?? null)) ?? null
103}
104
105export async function createChatGroupQuery(name: string): Promise<ChatSidebarState | null> {
106 return (await window.piDesktop?.createChatGroup?.(name)) ?? null

Callers 1

useAppShellControllerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected