47 lines
979 B
TypeScript
47 lines
979 B
TypeScript
export interface Message {
|
|
id: string;
|
|
text: string;
|
|
sender: 'user' | 'ai';
|
|
type: 'text' | 'image' | 'audio';
|
|
timestamp: number;
|
|
imageUrl?: string;
|
|
isLocked?: boolean;
|
|
}
|
|
|
|
export interface Scenario {
|
|
id: string;
|
|
title: string;
|
|
category: string;
|
|
cover: string;
|
|
duration: string; // e.g., "15:00"
|
|
intensity: 'Low' | 'Medium' | 'High' | 'Extreme';
|
|
isLocked: boolean;
|
|
tags: string[];
|
|
}
|
|
|
|
export interface Character {
|
|
id: string;
|
|
name: string;
|
|
tagline: string;
|
|
avatar: string;
|
|
description: string;
|
|
tags: string[];
|
|
compatibility: number; // 硬件契合度 %
|
|
status: 'online' | 'busy' | 'offline';
|
|
isLocked?: boolean;
|
|
}
|
|
|
|
export interface DeviceStatus {
|
|
connected: boolean;
|
|
battery: number;
|
|
temperature: number;
|
|
signalStrength: number;
|
|
currentMode: 'Idle' | 'Pattern' | 'Manual';
|
|
}
|
|
|
|
export enum UserTab {
|
|
Discovery = 'discovery', // Changed from Interaction
|
|
Library = 'library',
|
|
Control = 'control',
|
|
Profile = 'profile',
|
|
} |