Initial commit for frontend refactor

This commit is contained in:
Christoph Kluge
2024-07-09 09:17:50 +02:00
parent a54acb8c42
commit f1e341f0b9
6 changed files with 242 additions and 178 deletions

View File

@@ -45,8 +45,8 @@ func (r *jobResolver) ConcurrentJobs(ctx context.Context, obj *schema.Job) (*mod
}
// Footprint is the resolver for the footprint field.
func (r *jobResolver) Footprint(ctx context.Context, obj *schema.Job) ([]*schema.MetricValue, error) {
panic(fmt.Errorf("not implemented: Footprint - footprint"))
func (r *jobResolver) Footprint(ctx context.Context, obj *schema.Job) (interface{}, error) {
return r.Repo.FetchFootprint(obj)
}
// MetaData is the resolver for the metaData field.