-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponses.ts
More file actions
153 lines (145 loc) · 3.18 KB
/
responses.ts
File metadata and controls
153 lines (145 loc) · 3.18 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
import {
CityDetails,
LunarMetricsResponse,
NatalChartResponse,
NatalReportResponse,
PaginatedResponse,
PersonalDailyHoroscopeResponse,
PlanetaryPositionsResponse,
SynastryReportResponse,
} from '../../src/types';
export const mockPlanetaryPositionsResponse: PlanetaryPositionsResponse = {
positions: [
{
name: 'Sun',
sign: 'Ari',
degree: 15.25,
absolute_longitude: 15.25,
house: 7,
is_retrograde: false,
speed: 0.98,
},
{
name: 'Moon',
sign: 'Lib',
degree: 12.45,
absolute_longitude: 192.45,
house: 1,
is_retrograde: false,
speed: 13.11,
},
],
};
export const mockLunarMetricsResponse: LunarMetricsResponse = {
date: '2024-01-15',
within_perigee_range: false,
distance: 384400,
within_apogee_range: true,
apogee_distance: 405500,
moon_sign: 'Pisces',
moon_phase: 'Waxing Crescent',
moon_age_in_days: 4.5,
moon_day: 5,
moon_illumination: 23.5,
};
export const mockNatalChartResponse: NatalChartResponse = {
subject_data: {
name: 'Demo',
},
chart_data: {
planetary_positions: mockPlanetaryPositionsResponse.positions,
house_cusps: [
{
house: 1,
sign: 'Lib',
degree: 10.5,
absolute_longitude: 190.5,
},
],
aspects: [
{
point1: 'Sun',
point2: 'Moon',
aspect_type: 'opposition',
orb: 1.5,
},
],
fixed_stars: null,
},
};
export const mockNatalReportResponse: NatalReportResponse = {
subject: {
name: 'Demo',
},
interpretations: [
{
title: 'Sun in Aries',
text: 'Dynamic and action oriented.',
},
],
};
export const mockSynastryReportResponse: SynastryReportResponse = {
report_title: 'Synastry Overview',
sections: [
{
title: 'Emotional Connection',
interpretations: [
{
factor: 'Moon conjunction Moon',
text: 'Strong emotional resonance.',
},
],
},
],
};
export const mockPersonalDailyHoroscopeResponse: PersonalDailyHoroscopeResponse = {
date: '2024-01-15',
overall_theme: 'Communication breakthroughs',
overall_rating: 4,
life_areas: [
{
area: 'communication',
title: 'Expressive Clarity',
prediction: 'Ideal day for heartfelt conversations.',
rating: 5,
keywords: ['clarity', 'confidence'],
},
],
planetary_influences: [
{
planet: 'Mercury',
aspect_type: 'conjunction',
description: 'Mercury conjunct Venus enhances communication harmony.',
strength: 5,
natal_planet: 'Venus',
aspect_name: 'Conjunction',
orb: 1.1,
},
],
lucky_elements: {
colors: ['light blue'],
numbers: [3, 9],
},
moon: {
phase: 'Waxing Crescent',
sign: 'Pisces',
prediction: 'Intuition is heightened.',
illumination: 24,
},
tips: ['Write down your insights before midday.'],
};
export const mockCitiesResponse: PaginatedResponse<CityDetails> = {
items: [
{
name: 'London',
country_code: 'GB',
latitude: 51.5074,
longitude: -0.1278,
population: 8982000,
timezone: 'Europe/London',
},
],
total: 1,
limit: 10,
offset: 0,
};