solar-spa/.github/wiki/api/interfaces/SpaResult.md
Aric Camarata 3c848806ab docs: add TypeDoc API generation (typedoc@0.28.19 + typedoc-plugin-markdown@4.11.0)
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config
targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to
package.json. Generate initial API reference pages.

Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
2026-05-30 16:41:57 -04:00

109 lines
2.5 KiB
Markdown

[**solar-spa v2.0.1**](../README.md)
***
[solar-spa](../README.md) / SpaResult
# Interface: SpaResult
Defined in: [types.ts:42](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L42)
## Properties
### azimuth
> **azimuth**: `number`
Defined in: [types.ts:48](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L48)
Topocentric azimuth angle, eastward from north (navigational convention), in degrees.
***
### azimuth\_astro
> **azimuth\_astro**: `number`
Defined in: [types.ts:46](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L46)
Topocentric azimuth angle, westward from south (astronomical convention), in degrees.
***
### eot
> **eot**: `number`
Defined in: [types.ts:60](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L60)
Equation of time in minutes.
***
### error\_code
> **error\_code**: `number`
Defined in: [types.ts:62](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L62)
SPA error code. Always 0 on a successful return (non-zero throws).
***
### incidence
> **incidence**: `number`
Defined in: [types.ts:50](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L50)
Surface incidence angle in degrees.
***
### sun\_transit\_alt
> **sun\_transit\_alt**: `number`
Defined in: [types.ts:58](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L58)
Sun transit altitude in degrees.
***
### sunrise
> **sunrise**: `number`
Defined in: [types.ts:52](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L52)
Local sunrise time as fractional hours.
***
### sunset
> **sunset**: `number`
Defined in: [types.ts:54](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L54)
Local sunset time as fractional hours.
***
### suntransit
> **suntransit**: `number`
Defined in: [types.ts:56](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L56)
Local sun transit time (solar noon) as fractional hours.
***
### zenith
> **zenith**: `number`
Defined in: [types.ts:44](https://github.com/acamarata/solar-spa/blob/aa0161a82431adb93846e39b5278ac65de379dec/src/types.ts#L44)
Topocentric zenith angle in degrees.