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

Function setFeedTopicMode

packages/shared/src/features/feedExplain/graphql.ts:142–147  ·  view source on GitHub ↗
(
  keyword: string,
  mode: FeedTopicMode | null,
  duration?: FeedControlDuration,
)

Source from the content-addressed store, hash-verified

140
141// No mode sets the topic back to Auto. A duration is Plus.
142export const setFeedTopicMode = (
143 keyword: string,
144 mode: FeedTopicMode | null,
145 duration?: FeedControlDuration,
146): Promise<unknown> =>
147 gqlClient.request(SET_FEED_TOPIC_MODE_MUTATION, { keyword, mode, duration });
148
149export const SET_FEED_TOPIC_WEIGHT_MUTATION = gql`
150 mutation SetFeedTopicWeight(

Callers 1

sendChangeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected