@zodic/shared 0.0.50 → 0.0.52

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.
@@ -1,5 +1,5 @@
1
1
  import { inject } from 'inversify';
2
- import { ConceptPhase } from '../../types/scopes/legacy';
2
+ import { ConceptPhase } from '../../types';
3
3
  import { ConceptService } from '../services/ConceptService';
4
4
 
5
5
  export class ConceptWorkflow {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -7,6 +7,46 @@ export type ProviderInfo = {
7
7
  resourceUrl: string;
8
8
  };
9
9
 
10
+ export type PlanetData = { // for frontend
11
+ id: string;
12
+ name: string;
13
+ image: string;
14
+ title: string;
15
+ sign: string;
16
+ house: string;
17
+ retrograde: "YES" | "NO";
18
+ degree: string;
19
+ description: {
20
+ signText: string;
21
+ houseText: string;
22
+ };
23
+ };
24
+
25
+ export type PlanetsData = PlanetData[];
26
+
27
+ export type CelestialBody =
28
+ | 'Sun'
29
+ | 'Moon'
30
+ | 'Mercury'
31
+ | 'Venus'
32
+ | 'Mars'
33
+ | 'Jupiter'
34
+ | 'Saturn'
35
+ | 'Neptune'
36
+ | 'Uranus'
37
+ | 'Pluto'
38
+ | 'Ascendant'
39
+ | 'Descendant'
40
+ | 'Midheaven'
41
+ | 'Imum Coeli'
42
+ | 'North Node'
43
+ | 'South Node'
44
+ | 'Chiron'
45
+ | 'Pars Fortuna'
46
+ | 'Lilith'
47
+ | 'Vertex'
48
+ | 'Antivertex';
49
+
10
50
  export const VALID_GENDERS_ARRAY = ['male', 'female', 'non-binary'] as const;
11
51
 
12
52
  export type Gender = (typeof VALID_GENDERS_ARRAY)[number];