-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtypes.ts
More file actions
43 lines (38 loc) · 901 Bytes
/
types.ts
File metadata and controls
43 lines (38 loc) · 901 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
43
export interface Tool {
id: string;
title: string;
description: string;
category: ToolCategory;
url: string; // Real link to the tool
imageUrl?: string; // Real logo URL
icon: string; // Fallback icon name
recommended?: boolean;
}
export enum ToolCategory {
PROFESSIONAL = 'Professional Tools',
SAMSUNG = 'Samsung Specific',
APK = 'Bypass APKs',
ROM = 'Custom ROMs',
REMOTE = 'Remote Services',
DRIVER = 'Drivers',
UTILITY = 'Utilities'
}
export interface ChatMessage {
role: 'user' | 'model';
text: string;
timestamp: Date;
isError?: boolean;
sources?: { title: string; uri: string }[];
}
export interface GenerationConfig {
temperature: number;
topK: number;
topP: number;
maxOutputTokens: number;
}
export type Language = 'en' | 'am';
export interface AppState {
language: Language;
theme: 'dark' | 'light';
apiKey: string;
}