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

Function createInterest

packages/shared/src/graphql/interests.ts:364–378  ·  view source on GitHub ↗
({
  query,
  settings,
  onboarding,
}: {
  query: string;
  settings?: CreateInterestSettings;
  onboarding?: boolean;
})

Source from the content-addressed store, hash-verified

362};
363
364export const createInterest = async ({
365 query,
366 settings,
367 onboarding,
368}: {
369 query: string;
370 settings?: CreateInterestSettings;
371 onboarding?: boolean;
372}): Promise<UserInterest> => {
373 const res = await gqlClient.request<{ createInterest: UserInterest }>(
374 CREATE_INTEREST_MUTATION,
375 { query, settings, onboarding },
376 );
377 return res.createInterest;
378};
379
380export const confirmInterestBrief = async ({
381 id,

Callers 1

useCreateInterestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected