@gitstrology/types
v0.1.0
Published
Shared API types for GitStrology.
Maintainers
Readme
@gitstrology/types
Shared TypeScript types for the GitStrology astrology platform.
Install
npm install @gitstrology/typesUsage
import type { BirthData, NatalChart, ZodiacSign } from "@gitstrology/types";
const birth: BirthData = {
date: "1990-03-15",
time: "14:30",
latitude: 44.8,
longitude: 20.4,
};Exported types
| Type | Description |
|------|-------------|
| ZodiacSign | The twelve tropical signs (aries … pisces) |
| Planet | Astrological planets / points |
| BirthData | Date, time, latitude, longitude input |
| NatalChart | Full natal chart with planets, houses, aspects |
| HoroscopeResult | Daily horoscope reading |
| CompatibilityResult | Synastry between two charts |
| TransitReading | Active transits to a natal chart |
| TarotCard, TarotReading, DrawnCard | Tarot data structures |
| NumerologyResult | Numerology calculation output |
| MoonPhase | Lunar phase data |
| ApiResponse<T> | Standard API envelope { data, meta } |
| Plan, PlanLimits | Billing plan definitions |
License
MIT
