Skip to content

Commit d30020c

Browse files
authored
move dashboard pages to JAWN (#5499)
* move dashboard pages to JAWN * move dashboard pages to JAWN * clean up * fix builds
1 parent 3c127af commit d30020c

File tree

25 files changed

+19551
-12197
lines changed

25 files changed

+19551
-12197
lines changed

bifrost/lib/clients/jawnTypes/public.ts

Lines changed: 562 additions & 1 deletion
Large diffs are not rendered by default.

docs/swagger.json

Lines changed: 6241 additions & 4670 deletions
Large diffs are not rendered by default.

helicone-mcp/src/types/public.ts

Lines changed: 562 additions & 1 deletion
Large diffs are not rendered by default.

valhalla/jawn/src/controllers/public/metricsController.ts

Lines changed: 452 additions & 0 deletions
Large diffs are not rendered by default.

valhalla/jawn/src/managers/MetricsManager.ts

Lines changed: 895 additions & 0 deletions
Large diffs are not rendered by default.

valhalla/jawn/src/tsoa-build/public/routes.ts

Lines changed: 3124 additions & 2133 deletions
Large diffs are not rendered by default.

valhalla/jawn/src/tsoa-build/public/swagger.json

Lines changed: 6241 additions & 4670 deletions
Large diffs are not rendered by default.

web/components/templates/dashboard/mockDashboardData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { Result } from "@/packages/common/result";
77
import { TimeIncrement } from "@/lib/timeCalculations/fetchTimeData";
8-
import { ModelMetric } from "@/lib/api/models/models";
8+
import { ModelMetric } from "@/services/hooks/models";
99
import { SingleFilterDef } from "@helicone-package/filters/frontendFilterDefs";
1010

1111
// Mock metrics data

web/components/templates/dashboard/panels/countryPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import StyledAreaChart from "../styledAreaChart";
2-
import { useCountries } from "../../../../services/hooks/country";
2+
import { useCountries, CountryData } from "../../../../services/hooks/country";
33
import { TimeFilter } from "@/types/timeFilter";
44
import { COUTNRY_CODE_DIRECTORY } from "../../requests/countryCodeDirectory";
5-
import { CountryData } from "../../../../services/lib/country";
65
import { FilterNode } from "@helicone-package/filters/filterDefs";
76
import { useOrg } from "@/components/layout/org/organizationContext";
87
import { getMockCountries } from "../mockDashboardData";

0 commit comments

Comments
 (0)