(_ []string)
| 1065 | } |
| 1066 | |
| 1067 | func (p ProjectFields) ExportData(_ []string) map[string]any { |
| 1068 | fields := make([]map[string]any, len(p.Nodes)) |
| 1069 | for i := range p.Nodes { |
| 1070 | fields[i] = p.Nodes[i].ExportData(nil) |
| 1071 | } |
| 1072 | return map[string]any{ |
| 1073 | "fields": fields, |
| 1074 | "totalCount": p.TotalCount, |
| 1075 | } |
| 1076 | } |
| 1077 | |
| 1078 | // ProjectFields returns a project with fields. If the OwnerType is VIEWER, no login is required. |
| 1079 | // If limit is 0, the default limit is used. |
nothing calls this directly
no test coverage detected