-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
56 lines (49 loc) · 1.01 KB
/
Copy pathtypes.ts
File metadata and controls
56 lines (49 loc) · 1.01 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
export enum ArcanaType {
MAJOR = '大阿卡纳',
MINOR = '小阿卡纳'
}
export enum Suit {
WANDS = '权杖',
CUPS = '圣杯',
SWORDS = '宝剑',
PENTACLES = '星币',
NONE = '无'
}
export interface TarotCard {
id: number;
name: string;
englishName: string; // Added field for English display
suit: Suit;
number: number;
arcana: ArcanaType;
keywords: string[];
element?: string;
description: string;
}
export interface DrawnCard extends TarotCard {
isReversed: boolean;
spreadPositionIndex: number;
}
export interface SpreadPosition {
index: number;
name: string;
description: string;
x: number; // Relative x position (0 is center)
y: number; // Relative y position (0 is center)
}
export interface Spread {
id: string;
name: string;
description: string;
positions: SpreadPosition[];
}
export type AppState =
| 'INPUT'
| 'ANALYZING_INTENT'
| 'SHUFFLING'
| 'DRAWING'
| 'READING';
export interface ChatMessage {
role: 'user' | 'model';
text: string;
}