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

Function upsertPicks

packages/shared/src/graphql/picks.ts:299–307  ·  view source on GitHub ↗
(
  items: PicksItemInput[],
)

Source from the content-addressed store, hash-verified

297});
298
299export const upsertPicks = async (
300 items: PicksItemInput[],
301): Promise<UpsertPicksResult> => {
302 const data = await gqlClient.request<{ upsertPicks: UpsertPicksResult }>(
303 UPSERT_PICKS_MUTATION,
304 { items },
305 );
306 return data.upsertPicks;
307};
308
309/**
310 * The author's own count of unique opens, read on its own: the page itself

Callers 1

usePicksEditorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected