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

Function collapsePinnedPosts

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

Source from the content-addressed store, hash-verified

1208}
1209
1210export const collapsePinnedPosts = async (
1211 sourceId: string,
1212): Promise<EmptyResponse> => {
1213 const res = await gqlClient.request(COLLAPSE_PINNED_POSTS_MUTATION, {
1214 sourceId,
1215 });
1216
1217 return res.collapsePinnedPosts;
1218};
1219
1220export const expandPinnedPosts = async (
1221 sourceId: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected