TransactionReport ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Type · import type { TransactionReport } from '@holostep-configurators/runtime-client/contract'; · stable · since 2.0.0 · section 2. Operations, reports, causes, problems
A transaction's report. value is what work returned: present when the transaction committed,
ran dry, or (a savepoint) staged. Narrow on outcome first: no ! is needed.
Inherited from ReportFields: op, origin, seq, revision, changed, matched, pending, completed, problems.
export type TransactionReport<T> = Report & ({
readonly outcome: 'committed' | 'staged' | 'dry-run';
readonly value: T;
} | {
readonly outcome: 'deferred' | 'superseded' | 'rolled-back' | 'refused' | 'other';
readonly value?: undefined;
});
| Rule | Result |
|---|---|
| 1. Neutral name | pass: TransactionReport names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | pass: 17 apps (fleet cross-check: app-04c2774145, app-37356bf09f, app-4762caacdc, app-4fd23bc869, app-510d750508, app-822bb9d6aa, app-8675b3225c, app-bcb7ef21da and 9 more) |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |