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

Function setFeedSourceWeight

packages/shared/src/features/feedExplain/graphql.ts:217–226  ·  view source on GitHub ↗
(
  sourceId: string,
  weight: number,
  duration?: FeedControlDuration,
)

Source from the content-addressed store, hash-verified

215
216// Plus only.
217export const setFeedSourceWeight = (
218 sourceId: string,
219 weight: number,
220 duration?: FeedControlDuration,
221): Promise<unknown> =>
222 gqlClient.request(SET_FEED_SOURCE_WEIGHT_MUTATION, {
223 sourceId,
224 weight,
225 duration,
226 });
227
228export const SET_FEED_AUTHOR_MODE_MUTATION = gql`
229 mutation SetFeedAuthorMode(

Callers 1

sendChangeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected