-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiff_types.diff
More file actions
42 lines (42 loc) · 924 Bytes
/
diff_types.diff
File metadata and controls
42 lines (42 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff --git a/admin/src/lib/types.ts b/admin/src/lib/types.ts
index d4c940ea..eed3dfee 100644
--- a/admin/src/lib/types.ts
+++ b/admin/src/lib/types.ts
@@ -736,4 +736,35 @@ export interface DashboardErrorsResponse {
unresolved_errors: number;
critical_errors: number;
};
-}
\ No newline at end of file
+}
+
+// Docs & Playground types
+export type ValidationRequestDto = Record<string, unknown>;
+
+export interface ValidationResultDto {
+ readonly id: string;
+ readonly status: 'pass' | 'fail';
+ readonly errors: string[];
+}
+
+
+// Support types
+export interface SystemStatusDto {
+ status: 'ok' | 'degraded' | 'down';
+ updated_at: string;
+}
+
+export interface FaqDto {
+ question: string;
+ answer: string;
+}
+
+export interface TicketRequestDto {
+ subject: string;
+ message: string;
+}
+
+export interface TicketResponseDto {
+ id: string;
+ status: 'open' | 'closed' | 'pending';
+}