Function
setFeedSourceWeight
(
sourceId: string,
weight: number,
duration?: FeedControlDuration,
)
Source from the content-addressed store, hash-verified
| 215 | |
| 216 | // Plus only. |
| 217 | export 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 | |
| 228 | export const SET_FEED_AUTHOR_MODE_MUTATION = gql` |
| 229 | mutation SetFeedAuthorMode( |
Tested by
no test coverage detected