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

Function collapsePinnedPosts

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

Source from the content-addressed store, hash-verified

1219}
1220
1221export const collapsePinnedPosts = async (
1222 sourceId: string,
1223): Promise<EmptyResponse> => {
1224 const res = await gqlClient.request(COLLAPSE_PINNED_POSTS_MUTATION, {
1225 sourceId,
1226 });
1227
1228 return res.collapsePinnedPosts;
1229};
1230
1231export const expandPinnedPosts = async (
1232 sourceId: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected