()
| 984 | } |
| 985 | |
| 986 | func (p ProjectField) Options() []SingleSelectFieldOptions { |
| 987 | if p.TypeName == "ProjectV2SingleSelectField" { |
| 988 | var options []SingleSelectFieldOptions |
| 989 | for _, o := range p.SingleSelectField.Options { |
| 990 | options = append(options, SingleSelectFieldOptions{ |
| 991 | ID: o.ID, |
| 992 | Name: o.Name, |
| 993 | }) |
| 994 | } |
| 995 | return options |
| 996 | } |
| 997 | return nil |
| 998 | } |
| 999 | |
| 1000 | func (p ProjectField) ExportData(_ []string) map[string]interface{} { |
| 1001 | v := map[string]interface{}{ |
no outgoing calls
no test coverage detected