Skip to content

Commit 1f7426a

Browse files
committed
Merge branch 'main' into frontend-tests
# Conflicts: # frontend/README.md # frontend/src/routes/models/+page.server.ts # frontend/src/routes/models/[slug]/observability/+page.server.ts # frontend/src/test/unit/index.test.ts # frontend/vite.config.ts
2 parents a6b1a47 + cb33b6c commit 1f7426a

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

frontend/src/lib/types/Model.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
export type Model = {
2+
name: string;
3+
id: string;
4+
online: boolean;
5+
production: boolean;
6+
team: string;
7+
modelType: string;
8+
createTime: number;
9+
lastUpdated: number;
10+
};
11+
12+
export type ModelsResponse = {
13+
offset: number;
14+
items: Model[];
15+
};
16+
17+
export type TimeSeriesItem = {
18+
value: number;
19+
ts: number;
20+
label: string | null;
21+
};
22+
23+
export type TimeSeriesResponse = {
24+
id: string;
25+
items: TimeSeriesItem[];
26+
};

frontend/src/test/unit/index.test.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)