MCPcopy Create free account
hub / github.com/dailydotdev/apps / collapsePinnedPosts

Function collapsePinnedPosts

packages/shared/src/graphql/squads.ts:1191–1199  ·  view source on GitHub ↗
(
  sourceId: string,
)

Source from the content-addressed store, hash-verified

1189}
1190
1191export const collapsePinnedPosts = async (
1192 sourceId: string,
1193): Promise<EmptyResponse> => {
1194 const res = await gqlClient.request(COLLAPSE_PINNED_POSTS_MUTATION, {
1195 sourceId,
1196 });
1197
1198 return res.collapsePinnedPosts;
1199};
1200
1201export const expandPinnedPosts = async (
1202 sourceId: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected