# `InfoReport.document`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Property of [`InfoReport`](InfoReport.md) · stable · since 2.0.0 · called as `session.info().document`

```ts
readonly document: {
  readonly layers: readonly string[];
  readonly lastReport: ApplyReport | null;
};
```

The viewer document's layers and the last apply.

## Fields

<a id="layers"></a>
### `layers`

```ts
readonly layers: readonly string[];
```

The layers that were merged, lowest first: 'default', 'platform', 'boot' (your page document), 'account', 'tenant' (the configurator's stored document), then 'url' when the page URL set a `holo.*` value (a support and QA tool).

<a id="lastreport"></a>
### `lastReport`

```ts
readonly lastReport: ApplyReport | null;
```

The last document apply, as [`applyDocument`](Session.applyDocument.md) reported it; null before the first.

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `document` 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: 4 apps (fleet cross-check: app-b362a81c85, app-f9a32142f1, app-fc07850558, app-fd09090420) |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |
