The tree, grouped by mechanism. Each group is a @Module whose exports are the
interfaces its children offer the rest of the tree; everything else in a group — the
repos, the seams a test replaces, the route components — is visible only inside it.
A whole group is replaceable, and so is any node inside one.
API
@Module({
children: [
RuntimeConfig,
RuntimeDb,
RuntimeChannels,
RuntimeProxy,
RuntimeHmr,
RuntimeHmrControl,
AppReassembly,
RuntimeDesktop,
RuntimeAuthState,
RuntimeResourceGroups,
ConsoleLog,
SystemClock,
ConfigPaths,
RootDataLayout,
],
exports: [
Config,
Db,
Channels,
Proxy,
Hmr,
HmrControl,
Reassembly,
Desktop,
AuthState,
ResourceGroups,
Log,
Clock,
Paths,
DataLayout,
],
})
export class RuntimeModule {}Children (14)
RuntimeConfig
The claimed capabilities enter the tree one node each, so a consumer names the one it needs and nothing else. They are the only classes with constructor arguments; the platform pre-builds their instances (platform.ts) from the claim, which is the one place the registry is read.
View module → (packages/server/src/hmr/capabilities.ts:664)
RuntimeDb
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:672)
RuntimeChannels
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:680)
RuntimeProxy
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:688)
RuntimeHmr
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:696)
RuntimeHmrControl
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:704)
AppReassembly
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:735)
RuntimeDesktop
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:743)
RuntimeAuthState
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:768)
RuntimeResourceGroups
No JSDoc comment in source.
View module → (packages/server/src/hmr/capabilities.ts:776)
ConsoleLog
The process log; a test replaces it with a sink.
View component → (packages/server/src/hmr/capabilities.ts:786)
SystemClock
Wall-clock time; a test replaces it with a frozen one.
View component → (packages/server/src/hmr/capabilities.ts:794)
ConfigPaths
The data root, read off the config.
View component → (packages/server/src/hmr/capabilities.ts:802)
RootDataLayout
No JSDoc comment in source.
View component → (packages/server/src/services/data-layout.ts:27)
Exports (14)
Config · Db · Channels · Proxy · Hmr · HmrControl · Reassembly · Desktop · AuthState · ResourceGroups · Log · Clock · Paths · DataLayout