| 200 | ) |
| 201 | |
| 202 | type CheckContexts struct { |
| 203 | // These fields are available on newer versions of the GraphQL API |
| 204 | // to support summary counts by state |
| 205 | CheckRunCount int |
| 206 | CheckRunCountsByState []CheckRunCountByState |
| 207 | StatusContextCount int |
| 208 | StatusContextCountsByState []StatusContextCountByState |
| 209 | |
| 210 | // These are available on older versions and provide more details |
| 211 | // required for checks |
| 212 | Nodes []CheckContext |
| 213 | PageInfo struct { |
| 214 | HasNextPage bool |
| 215 | EndCursor string |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | type CheckContext struct { |
| 220 | TypeName string `json:"__typename"` |
nothing calls this directly
no outgoing calls
no test coverage detected