@zodic/shared 0.0.266 → 0.0.268
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 +94 -74
package/package.json
CHANGED
package/types/scopes/generic.ts
CHANGED
|
@@ -423,84 +423,104 @@ export type PlacementObject = {
|
|
|
423
423
|
house: number | null;
|
|
424
424
|
};
|
|
425
425
|
|
|
426
|
-
export interface
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
};
|
|
442
|
-
hemisphere: {
|
|
443
|
-
description: string | null;
|
|
444
|
-
east_west: HemisphereDetail & {
|
|
445
|
-
description: string | null;
|
|
446
|
-
report: string | null;
|
|
447
|
-
};
|
|
448
|
-
north_south: HemisphereDetail & {
|
|
449
|
-
description: string | null;
|
|
450
|
-
report: string | null;
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
elements: Elements & {
|
|
454
|
-
description: string | null;
|
|
455
|
-
report: string | null;
|
|
456
|
-
};
|
|
457
|
-
modes: Modes & {
|
|
458
|
-
description: string | null;
|
|
459
|
-
report: string | null;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
};
|
|
463
|
-
corePlanets: Array<{
|
|
464
|
-
type: string;
|
|
465
|
-
name: string;
|
|
466
|
-
sign: string;
|
|
467
|
-
house: number | null;
|
|
468
|
-
fullDegree: number; // Non-nullable, ensure data exists
|
|
469
|
-
normDegree: number; // Non-nullable, ensure data exists
|
|
470
|
-
speed: number | null;
|
|
471
|
-
isRetro: boolean;
|
|
472
|
-
description: string | null;
|
|
473
|
-
signReport: string | null;
|
|
474
|
-
houseReport: string | null;
|
|
475
|
-
}>;
|
|
476
|
-
advancedPlacements: Array<{
|
|
477
|
-
type: string;
|
|
478
|
-
name: string;
|
|
479
|
-
sign: string;
|
|
480
|
-
house: number | null;
|
|
481
|
-
fullDegree: number; // Non-nullable, ensure data exists
|
|
482
|
-
normDegree: number; // Non-nullable, ensure data exists
|
|
483
|
-
description: string | null;
|
|
484
|
-
signReport: string | null;
|
|
485
|
-
houseReport: string | null;
|
|
486
|
-
}>;
|
|
487
|
-
houses: Array<{
|
|
488
|
-
house: number;
|
|
489
|
-
sign: string;
|
|
490
|
-
degree: number;
|
|
491
|
-
description: string | null;
|
|
426
|
+
export interface MoonPhaseKVData {
|
|
427
|
+
moon_phase_id: number;
|
|
428
|
+
name: string;
|
|
429
|
+
description: string | null;
|
|
430
|
+
report: string | null;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export interface HemisphereKVDetail {
|
|
434
|
+
description: string | null;
|
|
435
|
+
report: string | null;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export interface HemisphereKVData {
|
|
439
|
+
description: string | null;
|
|
440
|
+
east_west: HemisphereDetail & {
|
|
492
441
|
report: string | null;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
aspectingPlanet: string;
|
|
496
|
-
aspectedPlanet: string;
|
|
497
|
-
type: string;
|
|
498
|
-
orb: number;
|
|
499
|
-
diff: number;
|
|
442
|
+
};
|
|
443
|
+
north_south: HemisphereDetail & {
|
|
500
444
|
report: string | null;
|
|
501
|
-
}
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export interface ElementsKVData extends Elements {
|
|
449
|
+
report: string | null;
|
|
502
450
|
}
|
|
503
451
|
|
|
452
|
+
export interface ModesKVData extends Modes {
|
|
453
|
+
report: string | null;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export interface FeaturesKVData {
|
|
457
|
+
moon_phase: MoonPhaseKVData;
|
|
458
|
+
hemisphere: HemisphereKVData;
|
|
459
|
+
elements: ElementsKVData;
|
|
460
|
+
modes: ModesKVData;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export interface NatalChartData {
|
|
464
|
+
wheelUrl: string;
|
|
465
|
+
placements: Array<PlacementObject>;
|
|
466
|
+
ascendant: {
|
|
467
|
+
sign: string;
|
|
468
|
+
};
|
|
469
|
+
features: FeaturesKVData;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export interface CorePlanetKVData {
|
|
473
|
+
type: string;
|
|
474
|
+
name: string;
|
|
475
|
+
sign: string;
|
|
476
|
+
house: number | null;
|
|
477
|
+
fullDegree: number;
|
|
478
|
+
normDegree: number;
|
|
479
|
+
speed: number | null;
|
|
480
|
+
isRetro: boolean;
|
|
481
|
+
description: string | null;
|
|
482
|
+
signReport: string | null;
|
|
483
|
+
houseReport: string | null;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export interface AdvancedPlacementKVData {
|
|
487
|
+
type: string;
|
|
488
|
+
name: string;
|
|
489
|
+
sign: string;
|
|
490
|
+
house: number | null;
|
|
491
|
+
fullDegree: number;
|
|
492
|
+
normDegree: number;
|
|
493
|
+
description: string | null;
|
|
494
|
+
signReport: string | null;
|
|
495
|
+
houseReport: string | null;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export interface HouseKVData {
|
|
499
|
+
house: number;
|
|
500
|
+
sign: string;
|
|
501
|
+
degree: number;
|
|
502
|
+
description: string | null;
|
|
503
|
+
report: string | null;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export interface AspectKVData {
|
|
507
|
+
aspectingPlanet: string;
|
|
508
|
+
aspectedPlanet: string;
|
|
509
|
+
type: string;
|
|
510
|
+
orb: number;
|
|
511
|
+
diff: number;
|
|
512
|
+
report: string | null;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export interface AstroKVData {
|
|
516
|
+
natalChart: NatalChartData;
|
|
517
|
+
corePlanets: Array<CorePlanetKVData>;
|
|
518
|
+
advancedPlacements: Array<AdvancedPlacementKVData>;
|
|
519
|
+
houses: Array<HouseKVData>;
|
|
520
|
+
aspects: Array<AspectKVData>;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
|
|
504
524
|
// Helper type for transforming astro_features to API types
|
|
505
525
|
// In your-types.ts or where types are defined
|
|
506
526
|
export interface AstroFeature {
|