(_ []string)
| 300 | } |
| 301 | |
| 302 | func (p ProjectMutationQuery) ExportData(_ []string) map[string]any { |
| 303 | return map[string]any{ |
| 304 | "number": p.Number, |
| 305 | "url": p.URL, |
| 306 | "shortDescription": p.ShortDescription, |
| 307 | "public": p.Public, |
| 308 | "closed": p.Closed, |
| 309 | "title": p.Title, |
| 310 | "id": p.ID, |
| 311 | "readme": p.Readme, |
| 312 | "items": map[string]any{ |
| 313 | "totalCount": p.Items.TotalCount, |
| 314 | }, |
| 315 | "fields": map[string]any{ |
| 316 | "totalCount": p.Fields.TotalCount, |
| 317 | }, |
| 318 | "owner": map[string]any{ |
| 319 | "type": p.OwnerType(), |
| 320 | "login": p.OwnerLogin(), |
| 321 | }, |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | func (p ProjectMutationQuery) OwnerType() string { |
| 326 | return p.Owner.TypeName |
nothing calls this directly
no test coverage detected