@zodic/shared 0.0.412 → 0.0.413
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 +44 -7
package/package.json
CHANGED
package/types/scopes/generic.ts
CHANGED
|
@@ -568,7 +568,7 @@ export type UserConceptData = {
|
|
|
568
568
|
content: any[]; // From conceptsData.content (text, JSON-stringified array, parsed)
|
|
569
569
|
images: {
|
|
570
570
|
post: any[]; // From conceptsData.postImages (text, JSON-stringified array, parsed)
|
|
571
|
-
framed: string[];
|
|
571
|
+
framed: string[]; // From conceptsData.framedImages (url text)
|
|
572
572
|
reel: any[]; // From conceptsData.reelImages (text, JSON-stringified array, parsed)
|
|
573
573
|
};
|
|
574
574
|
combinationString: string; // e.g., "sagittarius-aquarius-libra"
|
|
@@ -664,7 +664,6 @@ export interface ProductLabels {
|
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
// types/astro-engine.ts
|
|
667
|
-
|
|
668
667
|
export interface AstroEnginePoint {
|
|
669
668
|
name: string;
|
|
670
669
|
type: 'planet' | 'karmic_point' | 'arabic_part' | 'key_point';
|
|
@@ -690,11 +689,48 @@ export interface AstroEngineAspect {
|
|
|
690
689
|
diff: number;
|
|
691
690
|
}
|
|
692
691
|
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
692
|
+
// Novos tipos para suportar a estrutura "features"
|
|
693
|
+
export interface AstroEngineStatItem {
|
|
694
|
+
name: string;
|
|
695
|
+
percentage: number;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
export interface AstroEngineFeatures {
|
|
699
|
+
moon_phase: {
|
|
700
|
+
moon_phase_id: number;
|
|
701
|
+
moon_phase_name: string;
|
|
702
|
+
name: string; // slug, ex: "new_moon"
|
|
703
|
+
};
|
|
704
|
+
hemisphere: {
|
|
705
|
+
north_south: { id: number };
|
|
706
|
+
east_west: { id: number };
|
|
707
|
+
};
|
|
708
|
+
elements: {
|
|
709
|
+
elements: AstroEngineStatItem[];
|
|
710
|
+
dominant_element_id: number;
|
|
711
|
+
};
|
|
712
|
+
modes: {
|
|
713
|
+
modes: AstroEngineStatItem[];
|
|
714
|
+
dominant_mode_id: number;
|
|
697
715
|
};
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
// Novo tipo para o AstroDraw
|
|
719
|
+
export interface AstroEngineWheelData {
|
|
720
|
+
planets: Record<string, number[]>; // Ex: { "Sun": [120.5] }
|
|
721
|
+
cusps: number[];
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
// Root Response
|
|
725
|
+
export interface AstroEngineResponse {
|
|
726
|
+
// 'meta' foi removido e substituído por 'features' e props na raiz
|
|
727
|
+
features: AstroEngineFeatures;
|
|
728
|
+
|
|
729
|
+
is_diurnal: boolean;
|
|
730
|
+
|
|
731
|
+
wheel_data: AstroEngineWheelData;
|
|
732
|
+
wheel_svg: string | null; // Mantemos opcional caso volte a usar no futuro
|
|
733
|
+
|
|
698
734
|
points: Record<string, AstroEnginePoint>;
|
|
699
735
|
houses: AstroEngineHouse[];
|
|
700
736
|
aspects: AstroEngineAspect[];
|
|
@@ -706,4 +742,5 @@ export interface AstroEngineInput {
|
|
|
706
742
|
time: string; // "HH:MM" (UTC)
|
|
707
743
|
lat: number;
|
|
708
744
|
lon: number;
|
|
709
|
-
|
|
745
|
+
generate_wheel: boolean;
|
|
746
|
+
}
|