kaabalah 5.3.0 → 5.4.0
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/dist/astrology/index.d.mts +194 -1
- package/dist/astrology/index.d.ts +194 -1
- package/dist/astrology/index.js +94 -22
- package/dist/astrology/index.mjs +1 -1
- package/dist/{chunk-AHUZONHJ.js → chunk-7FRU63L3.js} +648 -3
- package/dist/chunk-7FRU63L3.js.map +1 -0
- package/dist/{chunk-VSTGPXLM.mjs → chunk-EBLM443L.mjs} +631 -4
- package/dist/chunk-EBLM443L.mjs.map +1 -0
- package/dist/cli.js +1392 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +94 -22
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-AHUZONHJ.js.map +0 -1
- package/dist/chunk-VSTGPXLM.mjs.map +0 -1
|
@@ -155,6 +155,135 @@ declare function computeMidpoints(planetsA: Record<string, {
|
|
|
155
155
|
}>, planetsB: Record<string, {
|
|
156
156
|
longitude: number;
|
|
157
157
|
}>): Record<string, number>;
|
|
158
|
+
interface TransitAspectEdge extends AspectEdge {
|
|
159
|
+
applying: boolean;
|
|
160
|
+
retrograde: boolean;
|
|
161
|
+
category: "slow" | "fast";
|
|
162
|
+
}
|
|
163
|
+
interface TransitAspectPoint {
|
|
164
|
+
longitude: number;
|
|
165
|
+
longitudeSpeed?: number;
|
|
166
|
+
}
|
|
167
|
+
declare const SLOW_PLANETS: Set<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Compute transit-to-natal aspects with applying/separating, retrograde, and speed category.
|
|
170
|
+
*
|
|
171
|
+
* planetA = transit planet, planetB = natal planet/point.
|
|
172
|
+
*/
|
|
173
|
+
declare function computeTransitAspects(transitPlanets: Record<string, TransitAspectPoint>, natalPlanets: Record<string, TransitAspectPoint>, specs?: AspectSpec[]): TransitAspectEdge[];
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Essential Dignity Table — Traditional Hellenistic rulership data.
|
|
177
|
+
* Pure math, no WASM dependency.
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
type Sign = (typeof SIGNS)[number];
|
|
181
|
+
type TraditionalPlanet = "Sun" | "Moon" | "Mercury" | "Venus" | "Mars" | "Jupiter" | "Saturn";
|
|
182
|
+
interface EssentialDignityResult {
|
|
183
|
+
domicile: boolean;
|
|
184
|
+
exaltation: boolean;
|
|
185
|
+
detriment: boolean;
|
|
186
|
+
fall: boolean;
|
|
187
|
+
domicileRuler: TraditionalPlanet;
|
|
188
|
+
peregrine: boolean;
|
|
189
|
+
}
|
|
190
|
+
declare const DOMICILE_RULERS: Record<Sign, TraditionalPlanet>;
|
|
191
|
+
declare const EXALTATIONS: Record<TraditionalPlanet, {
|
|
192
|
+
sign: Sign;
|
|
193
|
+
degree: number;
|
|
194
|
+
}>;
|
|
195
|
+
declare function getDomicileRuler(sign: Sign): TraditionalPlanet;
|
|
196
|
+
declare function getExaltation(planet: TraditionalPlanet): {
|
|
197
|
+
sign: Sign;
|
|
198
|
+
degree: number;
|
|
199
|
+
};
|
|
200
|
+
declare function getOppositeSign(sign: Sign): Sign;
|
|
201
|
+
/** Signs where the planet is in detriment (opposite of its domicile signs). */
|
|
202
|
+
declare function getDetriment(planet: TraditionalPlanet): Sign[];
|
|
203
|
+
/** Sign where the planet is in fall (opposite of its exaltation sign). */
|
|
204
|
+
declare function getFall(planet: TraditionalPlanet): Sign;
|
|
205
|
+
declare function getEssentialDignity(planet: TraditionalPlanet, sign: Sign): EssentialDignityResult;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Decan (face) lookup — Chaldean rulers + Golden Dawn tarot correspondence.
|
|
209
|
+
* Pure math, no WASM dependency.
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
interface DecanResult {
|
|
213
|
+
sign: string;
|
|
214
|
+
decanNumber: 1 | 2 | 3;
|
|
215
|
+
ruler: TraditionalPlanet;
|
|
216
|
+
tarotCard: string;
|
|
217
|
+
startDegree: number;
|
|
218
|
+
endDegree: number;
|
|
219
|
+
degreeWithinSign: number;
|
|
220
|
+
}
|
|
221
|
+
declare function getDecan(longitude: number): DecanResult;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Dodecatemoria (12th parts) — traditional Hellenistic technique.
|
|
225
|
+
* Pure math, no WASM dependency.
|
|
226
|
+
*/
|
|
227
|
+
interface DodecatemoriaResult {
|
|
228
|
+
originalSign: string;
|
|
229
|
+
originalDegree: number;
|
|
230
|
+
dodecatemoriaSign: string;
|
|
231
|
+
dodecatemoriaIndex: number;
|
|
232
|
+
}
|
|
233
|
+
declare function getDodecatemoria(longitude: number): DodecatemoriaResult;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Annual & Monthly Profections — traditional Hellenistic time-lord technique.
|
|
237
|
+
* Pure math. Requires a whole-sign BirthChart for house sign lookup.
|
|
238
|
+
*/
|
|
239
|
+
|
|
240
|
+
interface AnnualProfection {
|
|
241
|
+
age: number;
|
|
242
|
+
house: number;
|
|
243
|
+
sign: string;
|
|
244
|
+
ruler: TraditionalPlanet;
|
|
245
|
+
targetYear: number;
|
|
246
|
+
}
|
|
247
|
+
interface MonthlyProfection {
|
|
248
|
+
month: number;
|
|
249
|
+
startDate: Date;
|
|
250
|
+
sign: string;
|
|
251
|
+
ruler: TraditionalPlanet;
|
|
252
|
+
}
|
|
253
|
+
interface MonthlyProfectionsResult {
|
|
254
|
+
annualProfection: AnnualProfection;
|
|
255
|
+
months: MonthlyProfection[];
|
|
256
|
+
}
|
|
257
|
+
declare function getAnnualProfection(natalChart: BirthChart, birthDate: Date, targetYear?: number): AnnualProfection;
|
|
258
|
+
declare function getMonthlyProfections(natalChart: BirthChart, birthDate: Date, targetYear?: number): MonthlyProfectionsResult;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Firdaria — traditional planetary period system.
|
|
262
|
+
* Pure math, no WASM dependency.
|
|
263
|
+
*/
|
|
264
|
+
type FirdariaPlanet = "Sun" | "Moon" | "Mercury" | "Venus" | "Mars" | "Jupiter" | "Saturn" | "NorthNode" | "SouthNode";
|
|
265
|
+
interface FirdariaSubPeriod {
|
|
266
|
+
planet: FirdariaPlanet;
|
|
267
|
+
startDate: Date;
|
|
268
|
+
endDate: Date;
|
|
269
|
+
}
|
|
270
|
+
interface FirdariaMajorPeriod {
|
|
271
|
+
planet: FirdariaPlanet;
|
|
272
|
+
years: number;
|
|
273
|
+
startDate: Date;
|
|
274
|
+
endDate: Date;
|
|
275
|
+
subPeriods: FirdariaSubPeriod[];
|
|
276
|
+
}
|
|
277
|
+
interface FirdariaResult {
|
|
278
|
+
sect: "diurnal" | "nocturnal";
|
|
279
|
+
currentMajor: FirdariaMajorPeriod;
|
|
280
|
+
currentSub: FirdariaSubPeriod;
|
|
281
|
+
allPeriods: FirdariaMajorPeriod[];
|
|
282
|
+
}
|
|
283
|
+
interface FirdariaOptions {
|
|
284
|
+
nodeSubPeriodStart?: "jupiter-saturn" | "sun-mars";
|
|
285
|
+
}
|
|
286
|
+
declare function getFirdaria(birthDate: Date, isDiurnal: boolean, targetDate?: Date, options?: FirdariaOptions): FirdariaResult;
|
|
158
287
|
|
|
159
288
|
/**
|
|
160
289
|
* Astrological calculations using Swiss Ephemeris
|
|
@@ -204,6 +333,7 @@ interface BirthChart {
|
|
|
204
333
|
};
|
|
205
334
|
};
|
|
206
335
|
aspects: AspectEdge[];
|
|
336
|
+
sect: "diurnal" | "nocturnal";
|
|
207
337
|
}
|
|
208
338
|
/**
|
|
209
339
|
* Calculate a birth chart using Swiss Ephemeris
|
|
@@ -253,5 +383,68 @@ interface CompositeChart {
|
|
|
253
383
|
}
|
|
254
384
|
declare function getSynastryChart(options: SynastryChartOptions): Promise<SynastryChart>;
|
|
255
385
|
declare function getCompositeChart(options: CompositeChartOptions): Promise<CompositeChart>;
|
|
386
|
+
interface TransitChartOptions {
|
|
387
|
+
natal: BirthChartOptions;
|
|
388
|
+
transitDate: Date;
|
|
389
|
+
transitLatitude?: number;
|
|
390
|
+
transitLongitude?: number;
|
|
391
|
+
transitTimeZoneSettings?: TimeZoneOptions;
|
|
392
|
+
aspectSpecs?: AspectSpec[];
|
|
393
|
+
maxOrb?: number;
|
|
394
|
+
transitPlanets?: string[];
|
|
395
|
+
natalPlanets?: string[];
|
|
396
|
+
aspectFilter?: AspectName[];
|
|
397
|
+
}
|
|
398
|
+
interface TransitPlanet extends HydratedPlanet {
|
|
399
|
+
retrograde: boolean;
|
|
400
|
+
natalHouse: number;
|
|
401
|
+
}
|
|
402
|
+
interface TransitChart {
|
|
403
|
+
natalChart: BirthChart;
|
|
404
|
+
transitDateUtc: Date;
|
|
405
|
+
transitPlanets: Record<string, TransitPlanet>;
|
|
406
|
+
aspects: TransitAspectEdge[];
|
|
407
|
+
}
|
|
408
|
+
interface TransitRangeOptions extends Omit<TransitChartOptions, "transitDate"> {
|
|
409
|
+
from: Date;
|
|
410
|
+
to: Date;
|
|
411
|
+
stepDays?: number;
|
|
412
|
+
}
|
|
413
|
+
interface AspectPerfection {
|
|
414
|
+
transitPlanet: string;
|
|
415
|
+
natalPlanet: string;
|
|
416
|
+
aspect: AspectName;
|
|
417
|
+
exactDate: Date;
|
|
418
|
+
exactOrb: number;
|
|
419
|
+
retrograde: boolean;
|
|
420
|
+
category: "slow" | "fast";
|
|
421
|
+
}
|
|
422
|
+
interface TransitRangeResult {
|
|
423
|
+
natalChart: BirthChart;
|
|
424
|
+
from: Date;
|
|
425
|
+
to: Date;
|
|
426
|
+
perfections: AspectPerfection[];
|
|
427
|
+
}
|
|
428
|
+
declare function getTransitChart(options: TransitChartOptions): Promise<TransitChart>;
|
|
429
|
+
declare function getTransitRange(options: TransitRangeOptions): Promise<TransitRangeResult>;
|
|
430
|
+
interface SolarReturnOptions {
|
|
431
|
+
natal: BirthChartOptions;
|
|
432
|
+
year: number;
|
|
433
|
+
solarReturnLatitude?: number;
|
|
434
|
+
solarReturnLongitude?: number;
|
|
435
|
+
solarReturnHouseSystem?: HouseSystem;
|
|
436
|
+
}
|
|
437
|
+
interface SolarReturnChart {
|
|
438
|
+
natalChart: BirthChart;
|
|
439
|
+
solarReturnChart: BirthChart;
|
|
440
|
+
exactReturnDate: Date;
|
|
441
|
+
natalSunLongitude: number;
|
|
442
|
+
year: number;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Calculate a Solar Return chart — the moment the transiting Sun returns
|
|
446
|
+
* to its natal longitude in the given year.
|
|
447
|
+
*/
|
|
448
|
+
declare function getSolarReturnChart(options: SolarReturnOptions): Promise<SolarReturnChart>;
|
|
256
449
|
|
|
257
|
-
export { type AspectEdge, type AspectName, type AspectSpec, type BirthChart, type BirthChartOptions, CalcFlag, type CompositeChart, type CompositeChartOptions, DEFAULT_ASPECT_SPECS, HouseSystem, type HydratedNode, type HydratedPlanet, PLANET_AND_NODE_NAMES, Planet, SIGNS, type SynastryChart, type SynastryChartOptions, type TwoChartOptions, VirtualNodes, type ZodiacPosition, closeSwissEph, computeAspects, computeMidpoints, computeSynastryAspects, findHouseOf, formatDegreeMinutes, getAspectMatch, getBirthChart, getCompositeChart, getSwissEph, getSynastryChart, getZodiacPosition, normalizeAngle, shorterArcMidpoint };
|
|
450
|
+
export { type AnnualProfection, type AspectEdge, type AspectName, type AspectPerfection, type AspectSpec, type BirthChart, type BirthChartOptions, CalcFlag, type CompositeChart, type CompositeChartOptions, DEFAULT_ASPECT_SPECS, DOMICILE_RULERS, type DecanResult, type DodecatemoriaResult, EXALTATIONS, type EssentialDignityResult, type FirdariaMajorPeriod, type FirdariaOptions, type FirdariaPlanet, type FirdariaResult, type FirdariaSubPeriod, HouseSystem, type HydratedNode, type HydratedPlanet, type MonthlyProfection, type MonthlyProfectionsResult, PLANET_AND_NODE_NAMES, Planet, SIGNS, SLOW_PLANETS, type Sign, type SolarReturnChart, type SolarReturnOptions, type SynastryChart, type SynastryChartOptions, type TraditionalPlanet, type TransitAspectEdge, type TransitAspectPoint, type TransitChart, type TransitChartOptions, type TransitPlanet, type TransitRangeOptions, type TransitRangeResult, type TwoChartOptions, VirtualNodes, type ZodiacPosition, closeSwissEph, computeAspects, computeMidpoints, computeSynastryAspects, computeTransitAspects, findHouseOf, formatDegreeMinutes, getAnnualProfection, getAspectMatch, getBirthChart, getCompositeChart, getDecan, getDetriment, getDodecatemoria, getDomicileRuler, getEssentialDignity, getExaltation, getFall, getFirdaria, getMonthlyProfections, getOppositeSign, getSolarReturnChart, getSwissEph, getSynastryChart, getTransitChart, getTransitRange, getZodiacPosition, normalizeAngle, shorterArcMidpoint };
|
|
@@ -155,6 +155,135 @@ declare function computeMidpoints(planetsA: Record<string, {
|
|
|
155
155
|
}>, planetsB: Record<string, {
|
|
156
156
|
longitude: number;
|
|
157
157
|
}>): Record<string, number>;
|
|
158
|
+
interface TransitAspectEdge extends AspectEdge {
|
|
159
|
+
applying: boolean;
|
|
160
|
+
retrograde: boolean;
|
|
161
|
+
category: "slow" | "fast";
|
|
162
|
+
}
|
|
163
|
+
interface TransitAspectPoint {
|
|
164
|
+
longitude: number;
|
|
165
|
+
longitudeSpeed?: number;
|
|
166
|
+
}
|
|
167
|
+
declare const SLOW_PLANETS: Set<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Compute transit-to-natal aspects with applying/separating, retrograde, and speed category.
|
|
170
|
+
*
|
|
171
|
+
* planetA = transit planet, planetB = natal planet/point.
|
|
172
|
+
*/
|
|
173
|
+
declare function computeTransitAspects(transitPlanets: Record<string, TransitAspectPoint>, natalPlanets: Record<string, TransitAspectPoint>, specs?: AspectSpec[]): TransitAspectEdge[];
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Essential Dignity Table — Traditional Hellenistic rulership data.
|
|
177
|
+
* Pure math, no WASM dependency.
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
type Sign = (typeof SIGNS)[number];
|
|
181
|
+
type TraditionalPlanet = "Sun" | "Moon" | "Mercury" | "Venus" | "Mars" | "Jupiter" | "Saturn";
|
|
182
|
+
interface EssentialDignityResult {
|
|
183
|
+
domicile: boolean;
|
|
184
|
+
exaltation: boolean;
|
|
185
|
+
detriment: boolean;
|
|
186
|
+
fall: boolean;
|
|
187
|
+
domicileRuler: TraditionalPlanet;
|
|
188
|
+
peregrine: boolean;
|
|
189
|
+
}
|
|
190
|
+
declare const DOMICILE_RULERS: Record<Sign, TraditionalPlanet>;
|
|
191
|
+
declare const EXALTATIONS: Record<TraditionalPlanet, {
|
|
192
|
+
sign: Sign;
|
|
193
|
+
degree: number;
|
|
194
|
+
}>;
|
|
195
|
+
declare function getDomicileRuler(sign: Sign): TraditionalPlanet;
|
|
196
|
+
declare function getExaltation(planet: TraditionalPlanet): {
|
|
197
|
+
sign: Sign;
|
|
198
|
+
degree: number;
|
|
199
|
+
};
|
|
200
|
+
declare function getOppositeSign(sign: Sign): Sign;
|
|
201
|
+
/** Signs where the planet is in detriment (opposite of its domicile signs). */
|
|
202
|
+
declare function getDetriment(planet: TraditionalPlanet): Sign[];
|
|
203
|
+
/** Sign where the planet is in fall (opposite of its exaltation sign). */
|
|
204
|
+
declare function getFall(planet: TraditionalPlanet): Sign;
|
|
205
|
+
declare function getEssentialDignity(planet: TraditionalPlanet, sign: Sign): EssentialDignityResult;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Decan (face) lookup — Chaldean rulers + Golden Dawn tarot correspondence.
|
|
209
|
+
* Pure math, no WASM dependency.
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
interface DecanResult {
|
|
213
|
+
sign: string;
|
|
214
|
+
decanNumber: 1 | 2 | 3;
|
|
215
|
+
ruler: TraditionalPlanet;
|
|
216
|
+
tarotCard: string;
|
|
217
|
+
startDegree: number;
|
|
218
|
+
endDegree: number;
|
|
219
|
+
degreeWithinSign: number;
|
|
220
|
+
}
|
|
221
|
+
declare function getDecan(longitude: number): DecanResult;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Dodecatemoria (12th parts) — traditional Hellenistic technique.
|
|
225
|
+
* Pure math, no WASM dependency.
|
|
226
|
+
*/
|
|
227
|
+
interface DodecatemoriaResult {
|
|
228
|
+
originalSign: string;
|
|
229
|
+
originalDegree: number;
|
|
230
|
+
dodecatemoriaSign: string;
|
|
231
|
+
dodecatemoriaIndex: number;
|
|
232
|
+
}
|
|
233
|
+
declare function getDodecatemoria(longitude: number): DodecatemoriaResult;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Annual & Monthly Profections — traditional Hellenistic time-lord technique.
|
|
237
|
+
* Pure math. Requires a whole-sign BirthChart for house sign lookup.
|
|
238
|
+
*/
|
|
239
|
+
|
|
240
|
+
interface AnnualProfection {
|
|
241
|
+
age: number;
|
|
242
|
+
house: number;
|
|
243
|
+
sign: string;
|
|
244
|
+
ruler: TraditionalPlanet;
|
|
245
|
+
targetYear: number;
|
|
246
|
+
}
|
|
247
|
+
interface MonthlyProfection {
|
|
248
|
+
month: number;
|
|
249
|
+
startDate: Date;
|
|
250
|
+
sign: string;
|
|
251
|
+
ruler: TraditionalPlanet;
|
|
252
|
+
}
|
|
253
|
+
interface MonthlyProfectionsResult {
|
|
254
|
+
annualProfection: AnnualProfection;
|
|
255
|
+
months: MonthlyProfection[];
|
|
256
|
+
}
|
|
257
|
+
declare function getAnnualProfection(natalChart: BirthChart, birthDate: Date, targetYear?: number): AnnualProfection;
|
|
258
|
+
declare function getMonthlyProfections(natalChart: BirthChart, birthDate: Date, targetYear?: number): MonthlyProfectionsResult;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Firdaria — traditional planetary period system.
|
|
262
|
+
* Pure math, no WASM dependency.
|
|
263
|
+
*/
|
|
264
|
+
type FirdariaPlanet = "Sun" | "Moon" | "Mercury" | "Venus" | "Mars" | "Jupiter" | "Saturn" | "NorthNode" | "SouthNode";
|
|
265
|
+
interface FirdariaSubPeriod {
|
|
266
|
+
planet: FirdariaPlanet;
|
|
267
|
+
startDate: Date;
|
|
268
|
+
endDate: Date;
|
|
269
|
+
}
|
|
270
|
+
interface FirdariaMajorPeriod {
|
|
271
|
+
planet: FirdariaPlanet;
|
|
272
|
+
years: number;
|
|
273
|
+
startDate: Date;
|
|
274
|
+
endDate: Date;
|
|
275
|
+
subPeriods: FirdariaSubPeriod[];
|
|
276
|
+
}
|
|
277
|
+
interface FirdariaResult {
|
|
278
|
+
sect: "diurnal" | "nocturnal";
|
|
279
|
+
currentMajor: FirdariaMajorPeriod;
|
|
280
|
+
currentSub: FirdariaSubPeriod;
|
|
281
|
+
allPeriods: FirdariaMajorPeriod[];
|
|
282
|
+
}
|
|
283
|
+
interface FirdariaOptions {
|
|
284
|
+
nodeSubPeriodStart?: "jupiter-saturn" | "sun-mars";
|
|
285
|
+
}
|
|
286
|
+
declare function getFirdaria(birthDate: Date, isDiurnal: boolean, targetDate?: Date, options?: FirdariaOptions): FirdariaResult;
|
|
158
287
|
|
|
159
288
|
/**
|
|
160
289
|
* Astrological calculations using Swiss Ephemeris
|
|
@@ -204,6 +333,7 @@ interface BirthChart {
|
|
|
204
333
|
};
|
|
205
334
|
};
|
|
206
335
|
aspects: AspectEdge[];
|
|
336
|
+
sect: "diurnal" | "nocturnal";
|
|
207
337
|
}
|
|
208
338
|
/**
|
|
209
339
|
* Calculate a birth chart using Swiss Ephemeris
|
|
@@ -253,5 +383,68 @@ interface CompositeChart {
|
|
|
253
383
|
}
|
|
254
384
|
declare function getSynastryChart(options: SynastryChartOptions): Promise<SynastryChart>;
|
|
255
385
|
declare function getCompositeChart(options: CompositeChartOptions): Promise<CompositeChart>;
|
|
386
|
+
interface TransitChartOptions {
|
|
387
|
+
natal: BirthChartOptions;
|
|
388
|
+
transitDate: Date;
|
|
389
|
+
transitLatitude?: number;
|
|
390
|
+
transitLongitude?: number;
|
|
391
|
+
transitTimeZoneSettings?: TimeZoneOptions;
|
|
392
|
+
aspectSpecs?: AspectSpec[];
|
|
393
|
+
maxOrb?: number;
|
|
394
|
+
transitPlanets?: string[];
|
|
395
|
+
natalPlanets?: string[];
|
|
396
|
+
aspectFilter?: AspectName[];
|
|
397
|
+
}
|
|
398
|
+
interface TransitPlanet extends HydratedPlanet {
|
|
399
|
+
retrograde: boolean;
|
|
400
|
+
natalHouse: number;
|
|
401
|
+
}
|
|
402
|
+
interface TransitChart {
|
|
403
|
+
natalChart: BirthChart;
|
|
404
|
+
transitDateUtc: Date;
|
|
405
|
+
transitPlanets: Record<string, TransitPlanet>;
|
|
406
|
+
aspects: TransitAspectEdge[];
|
|
407
|
+
}
|
|
408
|
+
interface TransitRangeOptions extends Omit<TransitChartOptions, "transitDate"> {
|
|
409
|
+
from: Date;
|
|
410
|
+
to: Date;
|
|
411
|
+
stepDays?: number;
|
|
412
|
+
}
|
|
413
|
+
interface AspectPerfection {
|
|
414
|
+
transitPlanet: string;
|
|
415
|
+
natalPlanet: string;
|
|
416
|
+
aspect: AspectName;
|
|
417
|
+
exactDate: Date;
|
|
418
|
+
exactOrb: number;
|
|
419
|
+
retrograde: boolean;
|
|
420
|
+
category: "slow" | "fast";
|
|
421
|
+
}
|
|
422
|
+
interface TransitRangeResult {
|
|
423
|
+
natalChart: BirthChart;
|
|
424
|
+
from: Date;
|
|
425
|
+
to: Date;
|
|
426
|
+
perfections: AspectPerfection[];
|
|
427
|
+
}
|
|
428
|
+
declare function getTransitChart(options: TransitChartOptions): Promise<TransitChart>;
|
|
429
|
+
declare function getTransitRange(options: TransitRangeOptions): Promise<TransitRangeResult>;
|
|
430
|
+
interface SolarReturnOptions {
|
|
431
|
+
natal: BirthChartOptions;
|
|
432
|
+
year: number;
|
|
433
|
+
solarReturnLatitude?: number;
|
|
434
|
+
solarReturnLongitude?: number;
|
|
435
|
+
solarReturnHouseSystem?: HouseSystem;
|
|
436
|
+
}
|
|
437
|
+
interface SolarReturnChart {
|
|
438
|
+
natalChart: BirthChart;
|
|
439
|
+
solarReturnChart: BirthChart;
|
|
440
|
+
exactReturnDate: Date;
|
|
441
|
+
natalSunLongitude: number;
|
|
442
|
+
year: number;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Calculate a Solar Return chart — the moment the transiting Sun returns
|
|
446
|
+
* to its natal longitude in the given year.
|
|
447
|
+
*/
|
|
448
|
+
declare function getSolarReturnChart(options: SolarReturnOptions): Promise<SolarReturnChart>;
|
|
256
449
|
|
|
257
|
-
export { type AspectEdge, type AspectName, type AspectSpec, type BirthChart, type BirthChartOptions, CalcFlag, type CompositeChart, type CompositeChartOptions, DEFAULT_ASPECT_SPECS, HouseSystem, type HydratedNode, type HydratedPlanet, PLANET_AND_NODE_NAMES, Planet, SIGNS, type SynastryChart, type SynastryChartOptions, type TwoChartOptions, VirtualNodes, type ZodiacPosition, closeSwissEph, computeAspects, computeMidpoints, computeSynastryAspects, findHouseOf, formatDegreeMinutes, getAspectMatch, getBirthChart, getCompositeChart, getSwissEph, getSynastryChart, getZodiacPosition, normalizeAngle, shorterArcMidpoint };
|
|
450
|
+
export { type AnnualProfection, type AspectEdge, type AspectName, type AspectPerfection, type AspectSpec, type BirthChart, type BirthChartOptions, CalcFlag, type CompositeChart, type CompositeChartOptions, DEFAULT_ASPECT_SPECS, DOMICILE_RULERS, type DecanResult, type DodecatemoriaResult, EXALTATIONS, type EssentialDignityResult, type FirdariaMajorPeriod, type FirdariaOptions, type FirdariaPlanet, type FirdariaResult, type FirdariaSubPeriod, HouseSystem, type HydratedNode, type HydratedPlanet, type MonthlyProfection, type MonthlyProfectionsResult, PLANET_AND_NODE_NAMES, Planet, SIGNS, SLOW_PLANETS, type Sign, type SolarReturnChart, type SolarReturnOptions, type SynastryChart, type SynastryChartOptions, type TraditionalPlanet, type TransitAspectEdge, type TransitAspectPoint, type TransitChart, type TransitChartOptions, type TransitPlanet, type TransitRangeOptions, type TransitRangeResult, type TwoChartOptions, VirtualNodes, type ZodiacPosition, closeSwissEph, computeAspects, computeMidpoints, computeSynastryAspects, computeTransitAspects, findHouseOf, formatDegreeMinutes, getAnnualProfection, getAspectMatch, getBirthChart, getCompositeChart, getDecan, getDetriment, getDodecatemoria, getDomicileRuler, getEssentialDignity, getExaltation, getFall, getFirdaria, getMonthlyProfections, getOppositeSign, getSolarReturnChart, getSwissEph, getSynastryChart, getTransitChart, getTransitRange, getZodiacPosition, normalizeAngle, shorterArcMidpoint };
|
package/dist/astrology/index.js
CHANGED
|
@@ -1,93 +1,165 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7FRU63L3_js = require('../chunk-7FRU63L3.js');
|
|
4
4
|
require('../chunk-FM7WUVZV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "CalcFlag", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk7FRU63L3_js.CalcFlag; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DEFAULT_ASPECT_SPECS", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk7FRU63L3_js.DEFAULT_ASPECT_SPECS; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "DOMICILE_RULERS", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk7FRU63L3_js.DOMICILE_RULERS; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "EXALTATIONS", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk7FRU63L3_js.EXALTATIONS; }
|
|
15
23
|
});
|
|
16
24
|
Object.defineProperty(exports, "HouseSystem", {
|
|
17
25
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk7FRU63L3_js.HouseSystem; }
|
|
19
27
|
});
|
|
20
28
|
Object.defineProperty(exports, "PLANET_AND_NODE_NAMES", {
|
|
21
29
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk7FRU63L3_js.PLANET_AND_NODE_NAMES; }
|
|
23
31
|
});
|
|
24
32
|
Object.defineProperty(exports, "Planet", {
|
|
25
33
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk7FRU63L3_js.Planet; }
|
|
27
35
|
});
|
|
28
36
|
Object.defineProperty(exports, "SIGNS", {
|
|
29
37
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk7FRU63L3_js.SIGNS; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "SLOW_PLANETS", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunk7FRU63L3_js.SLOW_PLANETS; }
|
|
31
43
|
});
|
|
32
44
|
Object.defineProperty(exports, "VirtualNodes", {
|
|
33
45
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk7FRU63L3_js.VirtualNodes; }
|
|
35
47
|
});
|
|
36
48
|
Object.defineProperty(exports, "closeSwissEph", {
|
|
37
49
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk7FRU63L3_js.closeSwissEph; }
|
|
39
51
|
});
|
|
40
52
|
Object.defineProperty(exports, "computeAspects", {
|
|
41
53
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk7FRU63L3_js.computeAspects; }
|
|
43
55
|
});
|
|
44
56
|
Object.defineProperty(exports, "computeMidpoints", {
|
|
45
57
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk7FRU63L3_js.computeMidpoints; }
|
|
47
59
|
});
|
|
48
60
|
Object.defineProperty(exports, "computeSynastryAspects", {
|
|
49
61
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk7FRU63L3_js.computeSynastryAspects; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "computeTransitAspects", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunk7FRU63L3_js.computeTransitAspects; }
|
|
51
67
|
});
|
|
52
68
|
Object.defineProperty(exports, "findHouseOf", {
|
|
53
69
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk7FRU63L3_js.findHouseOf; }
|
|
55
71
|
});
|
|
56
72
|
Object.defineProperty(exports, "formatDegreeMinutes", {
|
|
57
73
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk7FRU63L3_js.formatDegreeMinutes; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "getAnnualProfection", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunk7FRU63L3_js.getAnnualProfection; }
|
|
59
79
|
});
|
|
60
80
|
Object.defineProperty(exports, "getAspectMatch", {
|
|
61
81
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk7FRU63L3_js.getAspectMatch; }
|
|
63
83
|
});
|
|
64
84
|
Object.defineProperty(exports, "getBirthChart", {
|
|
65
85
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk7FRU63L3_js.getBirthChart; }
|
|
67
87
|
});
|
|
68
88
|
Object.defineProperty(exports, "getCompositeChart", {
|
|
69
89
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk7FRU63L3_js.getCompositeChart; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "getDecan", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunk7FRU63L3_js.getDecan; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "getDetriment", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunk7FRU63L3_js.getDetriment; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "getDodecatemoria", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunk7FRU63L3_js.getDodecatemoria; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "getDomicileRuler", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunk7FRU63L3_js.getDomicileRuler; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "getEssentialDignity", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunk7FRU63L3_js.getEssentialDignity; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "getExaltation", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunk7FRU63L3_js.getExaltation; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "getFall", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunk7FRU63L3_js.getFall; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "getFirdaria", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunk7FRU63L3_js.getFirdaria; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "getMonthlyProfections", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunk7FRU63L3_js.getMonthlyProfections; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "getOppositeSign", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunk7FRU63L3_js.getOppositeSign; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "getSolarReturnChart", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunk7FRU63L3_js.getSolarReturnChart; }
|
|
71
135
|
});
|
|
72
136
|
Object.defineProperty(exports, "getSwissEph", {
|
|
73
137
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunk7FRU63L3_js.getSwissEph; }
|
|
75
139
|
});
|
|
76
140
|
Object.defineProperty(exports, "getSynastryChart", {
|
|
77
141
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunk7FRU63L3_js.getSynastryChart; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "getTransitChart", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunk7FRU63L3_js.getTransitChart; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "getTransitRange", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunk7FRU63L3_js.getTransitRange; }
|
|
79
151
|
});
|
|
80
152
|
Object.defineProperty(exports, "getZodiacPosition", {
|
|
81
153
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunk7FRU63L3_js.getZodiacPosition; }
|
|
83
155
|
});
|
|
84
156
|
Object.defineProperty(exports, "normalizeAngle", {
|
|
85
157
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunk7FRU63L3_js.normalizeAngle; }
|
|
87
159
|
});
|
|
88
160
|
Object.defineProperty(exports, "shorterArcMidpoint", {
|
|
89
161
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunk7FRU63L3_js.shorterArcMidpoint; }
|
|
91
163
|
});
|
|
92
164
|
//# sourceMappingURL=index.js.map
|
|
93
165
|
//# sourceMappingURL=index.js.map
|
package/dist/astrology/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CalcFlag, DEFAULT_ASPECT_SPECS, HouseSystem, PLANET_AND_NODE_NAMES, Planet, SIGNS, VirtualNodes, closeSwissEph, computeAspects, computeMidpoints, computeSynastryAspects, findHouseOf, formatDegreeMinutes, getAspectMatch, getBirthChart, getCompositeChart, getSwissEph, getSynastryChart, getZodiacPosition, normalizeAngle, shorterArcMidpoint } from '../chunk-
|
|
1
|
+
export { CalcFlag, DEFAULT_ASPECT_SPECS, DOMICILE_RULERS, EXALTATIONS, HouseSystem, PLANET_AND_NODE_NAMES, Planet, SIGNS, SLOW_PLANETS, VirtualNodes, closeSwissEph, computeAspects, computeMidpoints, computeSynastryAspects, computeTransitAspects, findHouseOf, formatDegreeMinutes, getAnnualProfection, getAspectMatch, getBirthChart, getCompositeChart, getDecan, getDetriment, getDodecatemoria, getDomicileRuler, getEssentialDignity, getExaltation, getFall, getFirdaria, getMonthlyProfections, getOppositeSign, getSolarReturnChart, getSwissEph, getSynastryChart, getTransitChart, getTransitRange, getZodiacPosition, normalizeAngle, shorterArcMidpoint } from '../chunk-EBLM443L.mjs';
|
|
2
2
|
import '../chunk-WY6NIR2V.mjs';
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|