( id: string, )
| 200 | `; |
| 201 | |
| 202 | export const getSourceTooltip = async ( |
| 203 | id: string, |
| 204 | ): Promise<SourceTooltip | null> => { |
| 205 | const res = await gqlClient.request<SourceData>(SOURCE_TOOLTIP_QUERY, { id }); |
| 206 | |
| 207 | return (res.source as SourceTooltip) ?? null; |
| 208 | }; |
| 209 | |
| 210 | export const SOURCE_DIRECTORY_QUERY = gql` |
| 211 | query SourceDirectory { |
no outgoing calls
no test coverage detected