refactor(frontend): normalize naming conventions

This commit is contained in:
2026-06-13 13:07:16 +08:00
parent 6ff8886524
commit 0dea655f68
30 changed files with 87 additions and 33 deletions
@@ -643,7 +643,7 @@ const Timeline: React.FC<TimelineProps> = ({
};
const response = await apiFetch(
`${config.BACKEND_URL}/api/v1/runsimulationmanuallybydate/`,
`${config.BACKEND_URL}/api/v1/simulations/run-by-date`,
{
method: "POST",
headers: {
@@ -1,6 +1,6 @@
import { FlatStyleLike } from "ol/style/flat";
import { calculateClassification } from "@utils/breaks_classification";
import { calculateClassification } from "@utils/breaksClassification";
import { parseColor } from "@utils/parseColor";
import {
@@ -31,7 +31,7 @@ import {
StyleEditorStateProps,
} from "./styleEditorTypes";
import { LegendStyleConfig } from "./StyleLegend";
import { calculateClassification } from "@utils/breaks_classification";
import { calculateClassification } from "@utils/breaksClassification";
const UNIT_HEADLOSS_RANGE: [number, number] = [0, 5];