Graphorin API reference v0.13.8
Graphorin API reference / @graphorin/server / / GraphorinAppContext
Interface: GraphorinAppContext
Defined in: packages/server/src/app.ts:225
Stable
Context handed to a GraphorinAppFactory by the standalone launcher (graphorin start). Carries the validated config plus the config file's location so the factory can resolve relative paths (SQLite files, credential bundles, ...) against the project directory.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
config | readonly | ServerConfigSpec | Validated server config (CLI overrides already applied). | packages/server/src/app.ts:227 |
configDir | readonly | string | Directory containing the config file. | packages/server/src/app.ts:231 |
configPath | readonly | string | Absolute path of the resolved graphorin.config.* file. | packages/server/src/app.ts:229 |