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

Function getProjectThreadsQuery

src/app/query/desktop-query.ts:95–97  ·  view source on GitHub ↗
(projectId: string, chat = false)

Source from the content-addressed store, hash-verified

93}
94
95export async function getProjectThreadsQuery(projectId: string, chat = false): Promise<Thread[]> {
96 return (await window.piDesktop?.getProjectThreads?.(projectId, { chat })) ?? []
97}
98
99export async function getChatSidebarStateQuery(
100 selectedGroupId?: string | null | undefined,

Callers 1

useDesktopShellFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected