testing.FakeSessionOptions.models ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromtesting.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Property of testing.FakeSessionOptions · stable · since 2.0.0
models?: Readonly<Record<string, FakeModel>>;
GLBs keyed by URL as written in the scene model, before assetBaseUrl (a twin by its stored
name). A node walks spec section 6.4's chain: optGlbUrl, its plain twin, glbUrl, its plain
twin (a twin only for a .holo). A URL other than glbUrl with no entry is skipped, with no
Problem. An entry whose load.fail is set fails as that URL's fetch, decrypt or key would and
the chain goes on: a later entry that loads records 'asset-degraded' (url the first URL that
failed); none records 'asset-failed' (url the last URL tried). A .holo entry needs no key
material. A glbUrl with no entry fails as a load does, and its 'asset-failed' message says
the entry is missing, its didYouMean the keys with the same or a close file name (an
absolute glbUrl beside a bare key, a typo); a node with no or empty glbUrl needs none and
loads nothing.
Default: {}
| Rule | Result |
|---|---|
| 1. Neutral name | pass: models names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | not recorded: no ledger row names this member or its owner |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |