Reference
The reference section is a complete lookup guide for every API in @digital-alchemy/core. Pages are organized by concern.
Application​
| Page | Description |
|---|---|
| CreateApplication | All CreateApplication options and the ApplicationDefinition API |
| Bootstrap Options | All BootstrapOptions fields, process exit codes, signal handling |
Libraries​
| Page | Description |
|---|---|
| CreateLibrary | CreateLibrary options, depends vs optionalDepends |
| Dependency Graph | buildSortOrder, BAD_SORT, MISSING_DEPENDENCY |
| Module Extension | createModule and ModuleExtension chainable API |
Services​
| Page | Description |
|---|---|
| Service Functions | ServiceFunction signature, wiring semantics |
| TServiceParams | All TServiceParams properties, internal utilities |
| Object Return | Methods, getters, live state |
| Function Return | Factory and callable patterns |
| priorityInit | Wiring order within a module |
Lifecycle​
| Page | Description |
|---|---|
| Overview | LIFECYCLE_STAGES, stage reference, full sequence diagram |
| Hooks | All 7 hook methods |
| Execution Order | Priority tiers, parallel vs serial, late registration |
Configuration​
| Page | Description |
|---|---|
| Overview | LOAD_PROJECT, TInjectedConfig, module scoping |
| Types | All 6 config types with TypeScript mappings |
| Sourcing | Env, argv, file loaders; merge order; custom loaders |
| Accessing Config | Timing, required entries, source restriction |
Builtins​
| Page | Description |
|---|---|
| Overview | What builtins are; standalone exports |
| Logger | GetLogger, levels, targets, overrides |
| Scheduler | TScheduler — all 5 methods |
| Event Bus | EventEmitter, typed events, error constants |
| Utilities | sleep, debounce, is, each, timing constants |
Testing​
| Page | Description |
|---|---|
| TestRunner | Constructor, all fluent builder methods |
| Module Replacements | appendLibrary, appendService, replaceLibrary |
| Test Lifecycle | Lifecycle stages in tests, setup, teardown |
| Configuration Overrides | .configure(), PartialConfiguration, isolation |