Function
setFeedTopicMode
(
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. |
| 142 | export 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 | |
| 149 | export const SET_FEED_TOPIC_WEIGHT_MUTATION = gql` |
| 150 | mutation SetFeedTopicWeight( |
Tested by
no test coverage detected