Function
setFeedTopicWeight
(
keyword: string,
weight: number,
duration?: FeedControlDuration,
)
Source from the content-addressed store, hash-verified
| 164 | |
| 165 | // Plus only. 0 turns the topic off. |
| 166 | export 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 | |
| 177 | export const SET_FEED_SOURCE_MODE_MUTATION = gql` |
| 178 | mutation SetFeedSourceMode( |
Tested by
no test coverage detected