-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed two unused files - Applied some code style to a few files. This should decrease the number of changed LoC
- Loading branch information
1 parent
c7361a3
commit b4e2561
Showing
9 changed files
with
47 additions
and
107 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,4 @@ export default function useDownloadExpertEvaluationData( | |
}, | ||
...options, | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import {DataMode} from "@/model/data_mode"; | ||
import { DataMode } from "@/model/data_mode"; | ||
import baseUrl from "@/helpers/base_url"; | ||
import {Metric} from "@/model/metric"; | ||
import { Metric } from "@/model/metric"; | ||
|
||
export async function fetchMetrics( | ||
dataMode: DataMode, | ||
expertEvaluationId: string | ||
) { | ||
dataMode: DataMode, | ||
expertEvaluationId: string | ||
) { | ||
const response = await fetch(`${baseUrl}/api/data/${dataMode}/expert_evaluation/${expertEvaluationId}/metrics`); | ||
|
||
return await response.json() as Promise<Metric[]>; | ||
} | ||
} |
60 changes: 0 additions & 60 deletions
60
playground/src/pages/api/data/[dataMode]/expert_evaluation_config.ts
This file was deleted.
Oops, something went wrong.