generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
74 lines (64 loc) · 1.39 KB
/
types.ts
File metadata and controls
74 lines (64 loc) · 1.39 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
export enum EngineStatus {
IDLE = 'IDLE',
RUNNING = 'RUNNING',
PAUSED = 'PAUSED',
ERROR = 'ERROR',
OPTIMIZING = 'OPTIMIZING'
}
export interface EngineMetric {
timestamp: string;
throughput: number;
temperature: number;
efficiency: number;
load: number;
}
export interface EngineLog {
id: string;
timestamp: Date;
level: 'info' | 'warn' | 'error' | 'success';
message: string;
}
export interface EngineConfig {
coreFrequency: number;
plasmaDensity: number;
coolantFlow: number;
safetyThreshold: number;
}
export interface EnginePreset {
id: string;
name: string;
config: Omit<EngineConfig, 'safetyThreshold'>;
}
export interface CryptoMarketData {
symbol: string;
price: number;
change24h: number;
volume: number[];
lastUpdate: Date;
}
export type NeuralViewMode = 'TERRAIN' | 'VORTEX' | 'NETWORK' | 'CLUSTER' | 'DIVE' | 'FLOW' | 'VOLUME3D';
export interface TransactionPacket {
id: string;
value: number;
startX: number;
startY: number;
endX: number;
endY: number;
progress: number;
color: string;
hash?: string;
}
export interface DetailedTransaction {
id: string;
from: string;
to: string;
amount: number;
timestamp: string;
status: 'confirmed' | 'pending';
}
export interface AIChatMessage {
role: 'user' | 'model';
text: string;
sources?: { uri: string; title: string }[];
chartConfig?: any; // Highcharts Options
}