@zodic/shared 0.0.51 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/scopes/generic.ts +31 -0
package/package.json
CHANGED
package/types/scopes/generic.ts
CHANGED
|
@@ -7,6 +7,24 @@ export type ProviderInfo = {
|
|
|
7
7
|
resourceUrl: string;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
+
export type PlanetData = {
|
|
11
|
+
// for frontend
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
image: string;
|
|
15
|
+
title: string;
|
|
16
|
+
sign: string;
|
|
17
|
+
house: string;
|
|
18
|
+
retrograde: 'YES' | 'NO';
|
|
19
|
+
degree: string;
|
|
20
|
+
description: {
|
|
21
|
+
signText: string;
|
|
22
|
+
houseText: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type PlanetsData = PlanetData[];
|
|
27
|
+
|
|
10
28
|
export type CelestialBody =
|
|
11
29
|
| 'Sun'
|
|
12
30
|
| 'Moon'
|
|
@@ -30,6 +48,19 @@ export type CelestialBody =
|
|
|
30
48
|
| 'Vertex'
|
|
31
49
|
| 'Antivertex';
|
|
32
50
|
|
|
51
|
+
export type HouseData = {
|
|
52
|
+
id: string;
|
|
53
|
+
number: number;
|
|
54
|
+
title: string;
|
|
55
|
+
sign: string;
|
|
56
|
+
degree: string;
|
|
57
|
+
description: {
|
|
58
|
+
houseText: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export type HousesData = HouseData[];
|
|
63
|
+
|
|
33
64
|
export const VALID_GENDERS_ARRAY = ['male', 'female', 'non-binary'] as const;
|
|
34
65
|
|
|
35
66
|
export type Gender = (typeof VALID_GENDERS_ARRAY)[number];
|