@zodiacs/engine 0.1.1-rc.14 → 0.1.1-rc.16
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/CHANGELOG.md +797 -6
- package/LICENSING.md +354 -21
- package/NOTICE +166 -9
- package/README.md +327 -84
- package/dist/api-VOW6Umy5.d.ts +197 -0
- package/dist/calc.d.ts +279 -0
- package/dist/calc.js +853 -0
- package/dist/{chunk-NAJ735VN.js → chunk-2OWGBT3O.js} +1 -1
- package/dist/{chunk-4OSOCZY2.js → chunk-4NV4ZEFZ.js} +21 -6
- package/dist/chunk-A3U2ZS2W.js +29 -0
- package/dist/chunk-I7O5EGFV.js +25 -0
- package/dist/chunk-KFTJMMG7.js +61 -0
- package/dist/chunk-KHBLFXFG.js +227 -0
- package/dist/chunk-L6ZHWJZ6.js +355 -0
- package/dist/chunk-N4B5JNMA.js +473 -0
- package/dist/chunk-O3NJRGJ2.js +56 -0
- package/dist/{chunk-RETEVD4F.js → chunk-WOU7JVD3.js} +293 -154
- package/dist/crossings.d.ts +1 -1
- package/dist/deltat.d.ts +8 -8
- package/dist/geo.d.ts +137 -8
- package/dist/geo.js +28 -166
- package/dist/houses-extra.d.ts +81 -0
- package/dist/houses-extra.js +337 -0
- package/dist/houses-q1O2GGp4.d.ts +128 -0
- package/dist/index.d.ts +8 -201
- package/dist/index.js +38 -315
- package/dist/internal-math-CmJ9xtaW.d.ts +160 -0
- package/dist/internal-math.d.ts +3 -2
- package/dist/internal-math.js +2 -2
- package/dist/internal.d.ts +2 -1
- package/dist/internal.js +4 -4
- package/dist/receipt.d.ts +74 -29
- package/dist/receipt.js +194 -33
- package/dist/rulers-9wljfVaO.d.ts +10 -0
- package/dist/sky.d.ts +158 -0
- package/dist/sky.js +377 -0
- package/dist/techniques.d.ts +410 -0
- package/dist/techniques.js +830 -0
- package/dist/timing.d.ts +473 -0
- package/dist/timing.js +904 -0
- package/dist/{types-CeafogFp.d.ts → types-B4MCoCCS.d.ts} +35 -4
- package/dist/tzdb-2025c-00-6GVG6RYL.js +6 -0
- package/dist/tzdb-2025c-01-CEYMG3LE.js +6 -0
- package/dist/tzdb-2025c-02-NWQJCVUU.js +6 -0
- package/dist/tzdb-2025c-03-PLHP6VH4.js +6 -0
- package/dist/tzdb-2025c-04-MEKUJA6M.js +6 -0
- package/dist/tzdb-2025c-05-3K5YKZBL.js +6 -0
- package/dist/tzdb-2025c-06-L2VV5XJV.js +6 -0
- package/dist/tzdb-2025c-07-H3GLGJGY.js +6 -0
- package/dist/tzdb-2025c-08-DA7QQIGD.js +6 -0
- package/dist/tzdb-2025c-09-MTXIO3QL.js +6 -0
- package/dist/tzdb-2025c-10-ASL4UW5C.js +6 -0
- package/dist/tzdb-2025c-11-EQEOANYB.js +6 -0
- package/dist/tzdb-2025c-12-NKCCXJ5G.js +6 -0
- package/dist/tzdb-2025c-13-DYTF3UC7.js +6 -0
- package/dist/tzdb-2025c-14-C25H45R5.js +6 -0
- package/dist/tzdb-2025c-15-7OYYZWRY.js +6 -0
- package/dist/vedic.d.ts +393 -0
- package/dist/vedic.js +930 -0
- package/dist/window.d.ts +178 -0
- package/dist/window.js +961 -0
- package/package.json +31 -3
- package/dist/chunk-GFT24GFR.js +0 -25
- package/dist/internal-math-BE2hcSHd.d.ts +0 -271
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { g as AspectType, c as BodyPosition, n as Aspect, Z as ZodiacSign, u as SignDefinition } from './types-B4MCoCCS.js';
|
|
2
|
+
import './houses-q1O2GGp4.js';
|
|
3
|
+
|
|
4
|
+
interface AspectDefinition {
|
|
5
|
+
type: AspectType;
|
|
6
|
+
angle: number;
|
|
7
|
+
orb: number;
|
|
8
|
+
luminaryOrb: number;
|
|
9
|
+
}
|
|
10
|
+
declare const ASPECT_TYPES: readonly ["conjunction", "sextile", "square", "trine", "opposition"];
|
|
11
|
+
declare const ASPECTS: readonly [{
|
|
12
|
+
readonly type: "conjunction";
|
|
13
|
+
readonly angle: 0;
|
|
14
|
+
readonly orb: 8;
|
|
15
|
+
readonly luminaryOrb: 10;
|
|
16
|
+
}, {
|
|
17
|
+
readonly type: "sextile";
|
|
18
|
+
readonly angle: 60;
|
|
19
|
+
readonly orb: 4;
|
|
20
|
+
readonly luminaryOrb: 5;
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "square";
|
|
23
|
+
readonly angle: 90;
|
|
24
|
+
readonly orb: 7;
|
|
25
|
+
readonly luminaryOrb: 8;
|
|
26
|
+
}, {
|
|
27
|
+
readonly type: "trine";
|
|
28
|
+
readonly angle: 120;
|
|
29
|
+
readonly orb: 7;
|
|
30
|
+
readonly luminaryOrb: 8;
|
|
31
|
+
}, {
|
|
32
|
+
readonly type: "opposition";
|
|
33
|
+
readonly angle: 180;
|
|
34
|
+
readonly orb: 8;
|
|
35
|
+
readonly luminaryOrb: 10;
|
|
36
|
+
}];
|
|
37
|
+
declare const ASPECT_BODIES: Set<string>;
|
|
38
|
+
/** Whether an aspect's orb is shrinking, growing, or neither, at an instant. */
|
|
39
|
+
type AspectMotion = "applying" | "separating" | "stationary";
|
|
40
|
+
/**
|
|
41
|
+
* Below this relative speed, in degrees per day, two bodies are treated as
|
|
42
|
+
* not moving against each other, and the aspect as neither applying nor
|
|
43
|
+
* separating.
|
|
44
|
+
*/
|
|
45
|
+
declare const STATIONARY_RELATIVE_SPEED = 1e-9;
|
|
46
|
+
/**
|
|
47
|
+
* The motion of an aspect at the chart instant, from the two longitudes and
|
|
48
|
+
* their speeds (degrees per day). It is applying when the orb is strictly
|
|
49
|
+
* decreasing: the sign of the orb's rate of change, not a step forward in
|
|
50
|
+
* time, decides. An exact aspect (orb 0) can only separate.
|
|
51
|
+
*/
|
|
52
|
+
declare function aspectMotion(a: {
|
|
53
|
+
lon: number;
|
|
54
|
+
speed: number;
|
|
55
|
+
}, b: {
|
|
56
|
+
lon: number;
|
|
57
|
+
speed: number;
|
|
58
|
+
}, angle: number): AspectMotion;
|
|
59
|
+
/** Unsigned angular separation in [0, 180]. */
|
|
60
|
+
declare function separation(a: number, b: number): number;
|
|
61
|
+
declare function matchAspect(aBody: string, aLongitude: number, bBody: string, bLongitude: number): {
|
|
62
|
+
definition: AspectDefinition;
|
|
63
|
+
orb: number;
|
|
64
|
+
} | null;
|
|
65
|
+
declare function findAspects(bodies: readonly BodyPosition[]): Aspect[];
|
|
66
|
+
|
|
67
|
+
declare const ELEMENTS: readonly ["fire", "earth", "air", "water"];
|
|
68
|
+
declare const MODALITIES: readonly ["cardinal", "fixed", "mutable"];
|
|
69
|
+
declare const SIGNS: readonly [{
|
|
70
|
+
readonly slug: "aries";
|
|
71
|
+
readonly name: "Aries";
|
|
72
|
+
readonly element: "fire";
|
|
73
|
+
readonly modality: "cardinal";
|
|
74
|
+
readonly polarity: "day";
|
|
75
|
+
readonly naturalHouse: 1;
|
|
76
|
+
}, {
|
|
77
|
+
readonly slug: "taurus";
|
|
78
|
+
readonly name: "Taurus";
|
|
79
|
+
readonly element: "earth";
|
|
80
|
+
readonly modality: "fixed";
|
|
81
|
+
readonly polarity: "night";
|
|
82
|
+
readonly naturalHouse: 2;
|
|
83
|
+
}, {
|
|
84
|
+
readonly slug: "gemini";
|
|
85
|
+
readonly name: "Gemini";
|
|
86
|
+
readonly element: "air";
|
|
87
|
+
readonly modality: "mutable";
|
|
88
|
+
readonly polarity: "day";
|
|
89
|
+
readonly naturalHouse: 3;
|
|
90
|
+
}, {
|
|
91
|
+
readonly slug: "cancer";
|
|
92
|
+
readonly name: "Cancer";
|
|
93
|
+
readonly element: "water";
|
|
94
|
+
readonly modality: "cardinal";
|
|
95
|
+
readonly polarity: "night";
|
|
96
|
+
readonly naturalHouse: 4;
|
|
97
|
+
}, {
|
|
98
|
+
readonly slug: "leo";
|
|
99
|
+
readonly name: "Leo";
|
|
100
|
+
readonly element: "fire";
|
|
101
|
+
readonly modality: "fixed";
|
|
102
|
+
readonly polarity: "day";
|
|
103
|
+
readonly naturalHouse: 5;
|
|
104
|
+
}, {
|
|
105
|
+
readonly slug: "virgo";
|
|
106
|
+
readonly name: "Virgo";
|
|
107
|
+
readonly element: "earth";
|
|
108
|
+
readonly modality: "mutable";
|
|
109
|
+
readonly polarity: "night";
|
|
110
|
+
readonly naturalHouse: 6;
|
|
111
|
+
}, {
|
|
112
|
+
readonly slug: "libra";
|
|
113
|
+
readonly name: "Libra";
|
|
114
|
+
readonly element: "air";
|
|
115
|
+
readonly modality: "cardinal";
|
|
116
|
+
readonly polarity: "day";
|
|
117
|
+
readonly naturalHouse: 7;
|
|
118
|
+
}, {
|
|
119
|
+
readonly slug: "scorpio";
|
|
120
|
+
readonly name: "Scorpio";
|
|
121
|
+
readonly element: "water";
|
|
122
|
+
readonly modality: "fixed";
|
|
123
|
+
readonly polarity: "night";
|
|
124
|
+
readonly naturalHouse: 8;
|
|
125
|
+
}, {
|
|
126
|
+
readonly slug: "sagittarius";
|
|
127
|
+
readonly name: "Sagittarius";
|
|
128
|
+
readonly element: "fire";
|
|
129
|
+
readonly modality: "mutable";
|
|
130
|
+
readonly polarity: "day";
|
|
131
|
+
readonly naturalHouse: 9;
|
|
132
|
+
}, {
|
|
133
|
+
readonly slug: "capricorn";
|
|
134
|
+
readonly name: "Capricorn";
|
|
135
|
+
readonly element: "earth";
|
|
136
|
+
readonly modality: "cardinal";
|
|
137
|
+
readonly polarity: "night";
|
|
138
|
+
readonly naturalHouse: 10;
|
|
139
|
+
}, {
|
|
140
|
+
readonly slug: "aquarius";
|
|
141
|
+
readonly name: "Aquarius";
|
|
142
|
+
readonly element: "air";
|
|
143
|
+
readonly modality: "fixed";
|
|
144
|
+
readonly polarity: "day";
|
|
145
|
+
readonly naturalHouse: 11;
|
|
146
|
+
}, {
|
|
147
|
+
readonly slug: "pisces";
|
|
148
|
+
readonly name: "Pisces";
|
|
149
|
+
readonly element: "water";
|
|
150
|
+
readonly modality: "mutable";
|
|
151
|
+
readonly polarity: "night";
|
|
152
|
+
readonly naturalHouse: 12;
|
|
153
|
+
}];
|
|
154
|
+
declare const SIGN_NAMES: readonly ZodiacSign[];
|
|
155
|
+
declare function normalizeLongitude(lon: number): number;
|
|
156
|
+
declare function signIndexForLongitude(lon: number): number;
|
|
157
|
+
declare function signForLongitude(lon: number): SignDefinition;
|
|
158
|
+
declare function degreeInSign(lon: number): number;
|
|
159
|
+
|
|
160
|
+
export { ASPECTS as A, ELEMENTS as E, MODALITIES as M, SIGNS as S, ASPECT_BODIES as a, ASPECT_TYPES as b, type AspectDefinition as c, type AspectMotion as d, SIGN_NAMES as e, STATIONARY_RELATIVE_SPEED as f, aspectMotion as g, degreeInSign as h, findAspects as i, signForLongitude as j, signIndexForLongitude as k, matchAspect as m, normalizeLongitude as n, separation as s };
|
package/dist/internal-math.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { A as ASPECTS, a as ASPECT_BODIES, b as ASPECT_TYPES, c as
|
|
2
|
-
export { A as
|
|
1
|
+
export { A as ASPECTS, a as ASPECT_BODIES, b as ASPECT_TYPES, c as AspectDefinition, d as AspectMotion, f as STATIONARY_RELATIVE_SPEED, g as aspectMotion, i as findAspects, m as matchAspect, n as normalizeLongitude, s as separation } from './internal-math-CmJ9xtaW.js';
|
|
2
|
+
export { A as AngleInput, H as HOUSE_SYSTEMS, P as PLACIDUS_POLAR_FALLBACK, a as POLAR_FALLBACK, b as POLAR_UNDEFINED_HOUSE_SYSTEMS, c as alcabitiusCusps, d as campanusCusps, e as computeAngles, f as computeHouses, g as eastPointOf, h as equalCusps, i as equalMcCusps, j as houseOf, k as isPolarUndefinedHouseSystem, l as kochCusps, m as meanObliquity, n as meridianCusps, o as morinusCusps, p as placidusCusps, q as porphyryCusps, r as ramcOf, s as regiomontanusCusps, t as topocentricCusps, v as vehlowCusps, u as vertexOf, w as wholeSignCusps } from './houses-q1O2GGp4.js';
|
|
3
|
+
export { A as Angles, n as Aspect, g as AspectType, B as BodyName, c as BodyPosition, d as Chart, e as ChartFlag, C as ChartInput, o as ENGINE_VERSION, b as HouseNumber, H as HouseSystem, a as Houses } from './types-B4MCoCCS.js';
|
|
3
4
|
import './deltat.js';
|
package/dist/internal-math.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
vehlowCusps,
|
|
25
25
|
vertexOf,
|
|
26
26
|
wholeSignCusps
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4NV4ZEFZ.js";
|
|
28
28
|
import {
|
|
29
29
|
ASPECTS,
|
|
30
30
|
ASPECT_BODIES,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
matchAspect,
|
|
37
37
|
normalizeLongitude,
|
|
38
38
|
separation
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2OWGBT3O.js";
|
|
40
40
|
export {
|
|
41
41
|
ASPECTS,
|
|
42
42
|
ASPECT_BODIES,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { B as BodyName,
|
|
1
|
+
import { B as BodyName, c as BodyPosition, C as ChartInput, d as Chart } from './types-B4MCoCCS.js';
|
|
2
2
|
import './deltat.js';
|
|
3
3
|
|
|
4
|
+
/** Apparent longitude at a UTC instant, on the engine's time basis. */
|
|
4
5
|
declare function bodyLongitude(body: BodyName, date: Date): number;
|
|
5
6
|
declare function longitudeSpeed(body: BodyName, date: Date): number;
|
|
6
7
|
declare function computeBodies(date: Date): BodyPosition[];
|
package/dist/internal.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
computeBodies,
|
|
4
4
|
computeChart,
|
|
5
5
|
longitudeSpeed
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-GFT24GFR.js";
|
|
6
|
+
} from "./chunk-WOU7JVD3.js";
|
|
7
|
+
import "./chunk-KHBLFXFG.js";
|
|
9
8
|
import "./chunk-ONBZ4HK7.js";
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-4NV4ZEFZ.js";
|
|
10
|
+
import "./chunk-2OWGBT3O.js";
|
|
11
11
|
export {
|
|
12
12
|
bodyLongitude,
|
|
13
13
|
computeBodies,
|
package/dist/receipt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as HouseSystem,
|
|
1
|
+
import { T as TimeScaleName, H as HouseSystem, e as ChartFlag, d as Chart, f as BirthInput } from './types-B4MCoCCS.js';
|
|
2
2
|
import './deltat.js';
|
|
3
3
|
|
|
4
4
|
/** Zodiacs-owned draft vocabulary; not an industry interoperability standard. */
|
|
@@ -20,19 +20,43 @@ interface NatalJsonObject {
|
|
|
20
20
|
[key: string]: NatalJsonValue;
|
|
21
21
|
}
|
|
22
22
|
type NatalReference = "supplied-instant" | "utc-noon" | "local-noon";
|
|
23
|
-
/**
|
|
23
|
+
/** A clock change a local resolution records. */
|
|
24
|
+
interface NatalZoneTransition {
|
|
25
|
+
at: string;
|
|
26
|
+
offsetBeforeMinutes: number;
|
|
27
|
+
offsetAfterMinutes: number;
|
|
28
|
+
cause: "dst" | "legal-change" | "date-line";
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Captured assertions, checked arithmetically without consulting today's
|
|
32
|
+
* Intl/tzdb. The fields after `policy` are optional from the time-basis
|
|
33
|
+
* conventions set on, so a record in rc.14's shape is accepted, and absent
|
|
34
|
+
* before it; each one given is checked. `resolveLocalToUtc` returns the whole
|
|
35
|
+
* object as `localResolution` (docs/time.md).
|
|
36
|
+
*/
|
|
24
37
|
interface NatalLocalResolution {
|
|
38
|
+
/** The proleptic Gregorian date resolved. */
|
|
25
39
|
date: string;
|
|
26
40
|
time: string;
|
|
27
41
|
timeZone: string;
|
|
28
|
-
/** Offset at the resolved instant, minutes east of UTC;
|
|
42
|
+
/** Offset at the resolved instant, minutes east of UTC; may be fractional. */
|
|
29
43
|
offsetMinutes: number;
|
|
30
|
-
/** Forward wall-clock shift; positive only for a reported
|
|
44
|
+
/** Forward wall-clock shift; positive only for a reported gap. */
|
|
31
45
|
gapShiftMinutes: number;
|
|
32
46
|
policy: {
|
|
33
47
|
fold: "earlier";
|
|
34
48
|
gap: "shift-forward";
|
|
35
49
|
};
|
|
50
|
+
calendar?: "gregorian" | "julian";
|
|
51
|
+
writtenDate?: string;
|
|
52
|
+
tzdbVersion?: string | null;
|
|
53
|
+
dataForm?: "main+backzone" | "main" | "host";
|
|
54
|
+
clock?: "local-mean-time" | "legal";
|
|
55
|
+
transition?: NatalZoneTransition | null;
|
|
56
|
+
localMeanTime?: {
|
|
57
|
+
longitude: number;
|
|
58
|
+
zoneOffsetMinutes: number;
|
|
59
|
+
} | null;
|
|
36
60
|
}
|
|
37
61
|
/** Supplied facts are claims, including hashes. This codec authenticates none of them. */
|
|
38
62
|
interface NatalProvenanceClaims {
|
|
@@ -92,11 +116,12 @@ declare const CONVENTIONS_RC7: Readonly<{
|
|
|
92
116
|
readonly longitudeUnit: "degrees-[0,360)";
|
|
93
117
|
}>;
|
|
94
118
|
/**
|
|
95
|
-
* The conventions
|
|
96
|
-
* time and aberration but not for gravitational
|
|
97
|
-
* series
|
|
119
|
+
* The conventions engine versions 0.1.1-rc.8 to rc.14 recorded: the planets
|
|
120
|
+
* corrected for light time and aberration but not for gravitational
|
|
121
|
+
* deflection, the Moon's series for neither, and the instant read as UT1.
|
|
122
|
+
* Their receipts stay readable.
|
|
98
123
|
*/
|
|
99
|
-
declare const
|
|
124
|
+
declare const CONVENTIONS_RC8: Readonly<{
|
|
100
125
|
readonly planetPositions: "aberrated-geocentric-ecliptic-of-date;no-deflection";
|
|
101
126
|
readonly moonPosition: "astronomy-engine-ecliptic-geo-moon;no-light-time;no-aberration";
|
|
102
127
|
readonly deltaT: "tt-minus-ut1;ut1-read-as-utc;value-in-result";
|
|
@@ -108,12 +133,19 @@ declare const CONVENTIONS: Readonly<{
|
|
|
108
133
|
readonly moonNodes: "instantaneous-geocentric-moon-orbit-plane";
|
|
109
134
|
readonly longitudeUnit: "degrees-[0,360)";
|
|
110
135
|
}>;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
136
|
+
/**
|
|
137
|
+
* The conventions engine version 0.1.1-rc.15 recorded: the rc.8 set, with the
|
|
138
|
+
* time basis in the result (`result.timeScale`, docs/time.md) and local times
|
|
139
|
+
* resolved on the shipped tzdb history before 1970, their flags from its
|
|
140
|
+
* records. Its engine took astronomy-engine's nutation, the five largest terms
|
|
141
|
+
* of IAU 2000B, which the set does not name. Its receipts stay readable.
|
|
142
|
+
*/
|
|
143
|
+
declare const CONVENTIONS_RC15: Readonly<{
|
|
144
|
+
readonly deltaT: "tt-minus-ut1;value-in-result";
|
|
145
|
+
readonly timeScale: "tt-from-leap-seconds-and-ut1-from-iers-1972-to-table-end;delta-t-model-otherwise;in-result";
|
|
146
|
+
readonly localTime: "tzdb-shards-before-1970;host-intl-from-1970;flags-from-transition-record";
|
|
114
147
|
readonly planetPositions: "aberrated-geocentric-ecliptic-of-date;no-deflection";
|
|
115
148
|
readonly moonPosition: "astronomy-engine-ecliptic-geo-moon;no-light-time;no-aberration";
|
|
116
|
-
readonly deltaT: "tt-minus-ut1;ut1-read-as-utc;value-in-result";
|
|
117
149
|
readonly angles: "gast-and-true-obliquity";
|
|
118
150
|
readonly speed: "degrees-per-day;central-difference-plus-minus-0.001-day;nodes-plus-minus-0.25-day";
|
|
119
151
|
readonly aspects: "major-aspects;sun-moon-eight-planets;no-nodes;applying-instantaneous-orb-rate";
|
|
@@ -121,27 +153,38 @@ declare const NATAL_RECEIPT_CONVENTION_SETS: readonly [Readonly<{
|
|
|
121
153
|
readonly zodiac: "tropical";
|
|
122
154
|
readonly moonNodes: "instantaneous-geocentric-moon-orbit-plane";
|
|
123
155
|
readonly longitudeUnit: "degrees-[0,360)";
|
|
124
|
-
}
|
|
156
|
+
}>;
|
|
157
|
+
/**
|
|
158
|
+
* The conventions this engine records: the rc.15 set, naming the nutation,
|
|
159
|
+
* the engine's own IAU 2000B series (all 77 luni-solar terms and the planetary
|
|
160
|
+
* offsets, src/nutation.ts) with the two largest complementary terms of the
|
|
161
|
+
* equation of the equinoxes, and the Moon as astronomy-engine's geocentric
|
|
162
|
+
* series (GeoMoon) turned to the ecliptic of date by it.
|
|
163
|
+
*/
|
|
164
|
+
declare const CONVENTIONS: Readonly<{
|
|
165
|
+
readonly moonPosition: "astronomy-engine-geo-moon;no-light-time;no-aberration";
|
|
166
|
+
readonly nutation: "iau2000b;equation-of-equinoxes-with-two-complementary-terms";
|
|
167
|
+
readonly deltaT: "tt-minus-ut1;value-in-result";
|
|
168
|
+
readonly timeScale: "tt-from-leap-seconds-and-ut1-from-iers-1972-to-table-end;delta-t-model-otherwise;in-result";
|
|
169
|
+
readonly localTime: "tzdb-shards-before-1970;host-intl-from-1970;flags-from-transition-record";
|
|
170
|
+
readonly planetPositions: "aberrated-geocentric-ecliptic-of-date;no-deflection";
|
|
125
171
|
readonly angles: "gast-and-true-obliquity";
|
|
126
172
|
readonly speed: "degrees-per-day;central-difference-plus-minus-0.001-day;nodes-plus-minus-0.25-day";
|
|
127
173
|
readonly aspects: "major-aspects;sun-moon-eight-planets;no-nodes;applying-instantaneous-orb-rate";
|
|
128
174
|
readonly calendar: "proleptic-gregorian";
|
|
129
175
|
readonly zodiac: "tropical";
|
|
130
|
-
readonly planetPositions: "apparent-geocentric-ecliptic-of-date";
|
|
131
|
-
readonly moonPosition: "astronomy-engine-ecliptic-geo-moon";
|
|
132
|
-
readonly moonNodes: "instantaneous-geocentric-moon-orbit-plane";
|
|
133
|
-
readonly longitudeUnit: "degrees-[0,360)";
|
|
134
|
-
}>, Readonly<{
|
|
135
|
-
readonly calendar: "proleptic-gregorian";
|
|
136
|
-
readonly zodiac: "tropical";
|
|
137
|
-
readonly planetPositions: "apparent-geocentric-ecliptic-of-date";
|
|
138
|
-
readonly moonPosition: "astronomy-engine-ecliptic-geo-moon";
|
|
139
176
|
readonly moonNodes: "instantaneous-geocentric-moon-orbit-plane";
|
|
140
|
-
readonly angles: "gast-and-mean-obliquity";
|
|
141
177
|
readonly longitudeUnit: "degrees-[0,360)";
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
178
|
+
}>;
|
|
179
|
+
type ConventionSet = typeof CONVENTIONS | typeof CONVENTIONS_RC15 | typeof CONVENTIONS_RC8 | typeof CONVENTIONS_RC7 | typeof CONVENTIONS_RC3;
|
|
180
|
+
/** Every conventions set a receipt may carry, the current one first. */
|
|
181
|
+
declare const NATAL_RECEIPT_CONVENTION_SETS: readonly [
|
|
182
|
+
typeof CONVENTIONS,
|
|
183
|
+
typeof CONVENTIONS_RC15,
|
|
184
|
+
typeof CONVENTIONS_RC8,
|
|
185
|
+
typeof CONVENTIONS_RC7,
|
|
186
|
+
typeof CONVENTIONS_RC3
|
|
187
|
+
];
|
|
145
188
|
declare const COVERAGE: Readonly<{
|
|
146
189
|
readonly assessment: "finite-reference-cases-only";
|
|
147
190
|
readonly broadDateRange: "not-certified";
|
|
@@ -150,7 +193,9 @@ declare const COVERAGE: Readonly<{
|
|
|
150
193
|
}>;
|
|
151
194
|
interface NatalReceipt {
|
|
152
195
|
schema: typeof NATAL_RECEIPT_SCHEMA;
|
|
196
|
+
/** On the scale `timeScale` names; UTC before the time-basis set. */
|
|
153
197
|
instant: string;
|
|
198
|
+
timeScale?: TimeScaleName;
|
|
154
199
|
sourceInstant: string | null;
|
|
155
200
|
/** Caller declaration, not verification of a human birth time's precision. */
|
|
156
201
|
timeKnown: boolean;
|
|
@@ -188,8 +233,8 @@ interface NatalEnvelope {
|
|
|
188
233
|
/** This draft implements no optional required features; unknown ones fail closed. */
|
|
189
234
|
requiredFeatures: string[];
|
|
190
235
|
receipt: NatalReceipt;
|
|
191
|
-
/** `deltaT`
|
|
192
|
-
result: Pick<Chart, "bodies" | "angles" | "houses" | "aspects"> & Partial<Pick<Chart, "deltaT">>;
|
|
236
|
+
/** `deltaT` from the rc.8 set on, `timeScale` from the time-basis set on. */
|
|
237
|
+
result: Pick<Chart, "bodies" | "angles" | "houses" | "aspects"> & Partial<Pick<Chart, "deltaT" | "timeScale">>;
|
|
193
238
|
extensions?: NatalJsonObject;
|
|
194
239
|
}
|
|
195
240
|
type NatalEnvelopeParseResult = {
|
|
@@ -221,4 +266,4 @@ declare function natalReplayInput(envelope: NatalEnvelope): BirthInput;
|
|
|
221
266
|
/** A fresh fixed allowlist: no claimed identifiers, versions, hashes, or input/result values. */
|
|
222
267
|
declare function redactNatalEnvelope(envelope: NatalEnvelope): NatalDiagnostic;
|
|
223
268
|
|
|
224
|
-
export { NATAL_DIAGNOSTIC_SCHEMA, NATAL_ENVELOPE_LIMITS, NATAL_ENVELOPE_SCHEMA, NATAL_RECEIPT_CONVENTION_SETS, NATAL_RECEIPT_SCHEMA, type NatalDiagnostic, type NatalEnvelope, type NatalEnvelopeContext, NatalEnvelopeError, type NatalEnvelopeErrorCode, type NatalEnvelopeParseResult, type NatalJsonObject, type NatalJsonValue, type NatalLocalResolution, type NatalProvenanceClaims, type NatalReceipt, type NatalReference, createNatalEnvelope, natalReplayInput, parseNatalEnvelope, redactNatalEnvelope, serializeNatalEnvelope };
|
|
269
|
+
export { NATAL_DIAGNOSTIC_SCHEMA, NATAL_ENVELOPE_LIMITS, NATAL_ENVELOPE_SCHEMA, NATAL_RECEIPT_CONVENTION_SETS, NATAL_RECEIPT_SCHEMA, type NatalDiagnostic, type NatalEnvelope, type NatalEnvelopeContext, NatalEnvelopeError, type NatalEnvelopeErrorCode, type NatalEnvelopeParseResult, type NatalJsonObject, type NatalJsonValue, type NatalLocalResolution, type NatalProvenanceClaims, type NatalReceipt, type NatalReference, type NatalZoneTransition, createNatalEnvelope, natalReplayInput, parseNatalEnvelope, redactNatalEnvelope, serializeNatalEnvelope };
|