Function
updateSquadIntelSettings
({
sourceId,
...selection
}: SquadIntelSelection & { sourceId: string })
Source from the content-addressed store, hash-verified
| 147 | }); |
| 148 | |
| 149 | export const updateSquadIntelSettings = async ({ |
| 150 | sourceId, |
| 151 | ...selection |
| 152 | }: SquadIntelSelection & { sourceId: string }): Promise<SquadIntelSettings> => { |
| 153 | const res = await gqlClient.request<{ |
| 154 | updateSquadIntelSettings: SquadIntelSettings; |
| 155 | }>(UPDATE_SQUAD_INTEL_SETTINGS_MUTATION, { sourceId, ...selection }); |
| 156 | |
| 157 | return res.updateSquadIntelSettings; |
| 158 | }; |
Tested by
no test coverage detected