@zodic/shared 0.0.10 → 0.0.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -41,8 +41,10 @@ export type CentralBindings = {
41
41
  FACEBOOK_CLIENT_ID: string;
42
42
  FACEBOOK_CLIENT_SECRET: string;
43
43
  OAUTH_REDIRECT_URI: string;
44
- ASTROLOGY_API_USER: string;
45
- ASTROLOGY_API_KEY: string;
44
+ ASTROLOGY_WESTERN_USER_ID: string;
45
+ ASTROLOGY_WESTERN_API_KEY: string;
46
+ ASTROLOGY_PDF_USER_ID: string;
47
+ ASTROLOGY_PDF_API_KEY: string;
46
48
 
47
49
  API_BASE_URL: string;
48
50
  PUBLIC_GOOGLE_CLIENT_ID: string;
@@ -90,8 +92,10 @@ export type BackendBindings = Env &
90
92
  | 'FACEBOOK_CLIENT_ID'
91
93
  | 'FACEBOOK_CLIENT_SECRET'
92
94
  | 'OAUTH_REDIRECT_URI'
93
- | 'ASTROLOGY_API_USER'
94
- | 'ASTROLOGY_API_KEY'
95
+ | 'ASTROLOGY_WESTERN_API_KEY'
96
+ | 'ASTROLOGY_WESTERN_USER_ID'
97
+ | 'ASTROLOGY_PDF_API_KEY'
98
+ | 'ASTROLOGY_PDF_USER_ID'
95
99
  | 'AI'
96
100
  | 'KV_USER_PRODUCT_STATUS'
97
101
  >;
@@ -11,4 +11,12 @@ export const VALID_GENDERS_ARRAY = ['male', 'female', 'non-binary'] as const;
11
11
 
12
12
  export type Gender = (typeof VALID_GENDERS_ARRAY)[number];
13
13
 
14
- export const VALID_GENDERS = new Set<Gender>(VALID_GENDERS_ARRAY);
14
+ export const VALID_GENDERS = new Set<Gender>(VALID_GENDERS_ARRAY);
15
+
16
+ export type AstroEntity = {
17
+ name: string;
18
+ full_degree: number;
19
+ norm_degree: number;
20
+ sign: string;
21
+ house: number;
22
+ };