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

Function setFeedTopicWeight

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

Source from the content-addressed store, hash-verified

164
165// Plus only. 0 turns the topic off.
166export const setFeedTopicWeight = (
167 keyword: string,
168 weight: number,
169 duration?: FeedControlDuration,
170): Promise<unknown> =>
171 gqlClient.request(SET_FEED_TOPIC_WEIGHT_MUTATION, {
172 keyword,
173 weight,
174 duration,
175 });
176
177export const SET_FEED_SOURCE_MODE_MUTATION = gql`
178 mutation SetFeedSourceMode(

Callers 1

sendChangeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected