Class: BursarRuntime
Defined in: javascript/src/storage/runtime.ts:178
Node composition root for Bursar's stores and optional data infrastructure.
Without S3 or ClickHouse it constructs the same PostgreSQL-only Bursar and no outbox polling loop. Tenant and operator work always use distinct pools.
Properties
billingStore
readonlybillingStore:PostgresBillingStore
Defined in: javascript/src/storage/runtime.ts:181
bursar
readonlybursar:Bursar
Defined in: javascript/src/storage/runtime.ts:179
clickhouse
readonlyclickhouse:UsageEventSink&UsageAnalyticsStore|null
Defined in: javascript/src/storage/runtime.ts:186
creditStore
readonlycreditStore:PostgresStore
Defined in: javascript/src/storage/runtime.ts:180
maintenance
readonlymaintenance:BursarMaintenance
Defined in: javascript/src/storage/runtime.ts:182
operatorMaintenance
readonlyoperatorMaintenance:BursarOperatorMaintenance
Defined in: javascript/src/storage/runtime.ts:183
outboxRecovery
readonlyoutboxRecovery:OutboxRecoveryStore
Defined in: javascript/src/storage/runtime.ts:185
providerEnvironment
readonlyproviderEnvironment:"live"|"test"|"sandbox"
Defined in: javascript/src/storage/runtime.ts:199
s3
readonlys3:BillingPayloadArchive|null
Defined in: javascript/src/storage/runtime.ts:187
worker
readonlyworker:OutboxWorker|null
Defined in: javascript/src/storage/runtime.ts:184
Methods
checkDependencies()
checkDependencies(
options?):Promise<BursarRuntimeDiagnostics>
Defined in: javascript/src/storage/runtime.ts:464
Parameters
options?
Returns
Promise<BursarRuntimeDiagnostics>
close()
close():
Promise<void>
Defined in: javascript/src/storage/runtime.ts:494
Returns
Promise<void>
flush()
flush():
Promise<OutboxRunResult>
Defined in: javascript/src/storage/runtime.ts:488
Returns
Promise<OutboxRunResult>
health()
health():
BursarRuntimeHealth
Defined in: javascript/src/storage/runtime.ts:475
Returns
start()
start(
options?):Promise<void>
Defined in: javascript/src/storage/runtime.ts:418
Parameters
options?
BursarRuntimeStartOptions = {}
Returns
Promise<void>
state()
state():
BursarRuntimeState
Defined in: javascript/src/storage/runtime.ts:456
Returns
create()
staticcreate(options):Promise<BursarRuntime>
Defined in: javascript/src/storage/runtime.ts:206
Construct a runtime while keeping pool ownership inside the SDK.
Parameters
options
Returns
Promise<BursarRuntime>