@zodic/shared 0.0.262 → 0.0.263

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.262",
3
+ "version": "0.0.263",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,4 +1,10 @@
1
- import { AspectType, PointSlug, ZodiacSign } from './legacy';
1
+ import {
2
+ AspectType,
3
+ PlacementSlug,
4
+ PointSlug,
5
+ ZodiacSign,
6
+ ZodiacSignSlug,
7
+ } from './legacy';
2
8
 
3
9
  export type Provider = 'google' | 'facebook';
4
10
 
@@ -410,15 +416,17 @@ export type ControlNetConfig =
410
416
  weight: number;
411
417
  };
412
418
 
419
+ export type PlacementObject = {
420
+ type: PlacementType;
421
+ name: PlacementSlug;
422
+ sign: ZodiacSignSlug;
423
+ house: number | null;
424
+ };
425
+
413
426
  export interface AstroKVData {
414
427
  natalChart: {
415
428
  wheelUrl: string;
416
- placements: Array<{
417
- type: PlacementType;
418
- name: string;
419
- sign: string;
420
- house: number | null;
421
- }>;
429
+ placements: Array<PlacementObject>;
422
430
  ascendant: {
423
431
  sign: string;
424
432
  };
@@ -123,6 +123,7 @@ export const aspectPoints: PointSlug[] = [
123
123
  ];
124
124
 
125
125
  export type PointSlug = keyof typeof pointNameMap;
126
+ export type PlacementSlug = PointSlug;
126
127
 
127
128
  export type ZodiacSign =
128
129
  | 'aries'