@zodic/shared 0.0.255 → 0.0.256

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.255",
3
+ "version": "0.0.256",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -445,8 +445,8 @@ export interface AstroKVData {
445
445
  name: string;
446
446
  sign: string;
447
447
  house: number | null;
448
- fullDegree: number;
449
- normDegree: number;
448
+ fullDegree: number; // Non-nullable, ensure data exists
449
+ normDegree: number; // Non-nullable, ensure data exists
450
450
  speed: number | null;
451
451
  isRetro: boolean;
452
452
  description: string | null;
@@ -458,8 +458,8 @@ export interface AstroKVData {
458
458
  name: string;
459
459
  sign: string;
460
460
  house: number | null;
461
- fullDegree: number;
462
- normDegree: number;
461
+ fullDegree: number; // Non-nullable, ensure data exists
462
+ normDegree: number; // Non-nullable, ensure data exists
463
463
  description: string | null;
464
464
  signReport: string | null;
465
465
  houseReport: string | null;
@@ -481,6 +481,20 @@ export interface AstroKVData {
481
481
  report: string | null;
482
482
  }>;
483
483
  }
484
+
485
+ // Helper type for transforming astro_features to API types
486
+ // In your-types.ts or where types are defined
487
+ export interface AstroFeature {
488
+ name: string;
489
+ description: string | null;
490
+ id: string;
491
+ userId: string;
492
+ featureType: string;
493
+ percentage: number | null;
494
+ order: number | null;
495
+ prominentId: number | null;
496
+ }
497
+
484
498
  export type ConceptProgress = {
485
499
  count: number;
486
500
  total: number;