---
url: >-
  https://lit-ui-router.dev/reference/lit-ui-router-ssr/client/interfaces/HydrationSignature.md
---
[lit-ui-router-ssr](../../index.md) / [client](../index.md) / HydrationSignature

# Interface: HydrationSignature

Defined in: [packages/lit-ui-router-ssr/src/signature.ts:14](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/lit-ui-router-ssr/src/signature.ts#L14)

What a document's signature block carries, as
[readHydrationSignature](../functions/readHydrationSignature.md) reads it: `version` checked, the rest as the
block holds it.

`prerender()` writes `state` as the name of the state the router stood on and
`params` as an object of that state's url parameters, each encoded by its
type as the url spells it. Narrow both before use.

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
|  `params?` | `readonly` | `unknown` | That state's url parameter values, keyed by parameter id. | [packages/lit-ui-router-ssr/src/signature.ts:20](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/lit-ui-router-ssr/src/signature.ts#L20) |
|  `resolves?` | `readonly` | `unknown` | The resolved values the document was drawn with, keyed by state name, then by resolve token, when `prerender()`'s `payload` hook supplied them. | [packages/lit-ui-router-ssr/src/signature.ts:31](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/lit-ui-router-ssr/src/signature.ts#L31) |
|  `state?` | `readonly` | `unknown` | The name of the state the document was drawn for. | [packages/lit-ui-router-ssr/src/signature.ts:18](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/lit-ui-router-ssr/src/signature.ts#L18) |
|  `transported?` | `readonly` | `unknown` | Where values a transporter encoded sit in `resolves`, when the payload marked any. | [packages/lit-ui-router-ssr/src/signature.ts:33](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/lit-ui-router-ssr/src/signature.ts#L33) |
|  `version` | `readonly` | `string` | The `lit-ui-router-ssr` version that drew the document. | [packages/lit-ui-router-ssr/src/signature.ts:16](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/lit-ui-router-ssr/src/signature.ts#L16) |
|  `views?` | `readonly` | `unknown` | The fully qualified name of each `<ui-view>` the document drew a routed component into, parent first: `$default`, `$default.$default`, or a named view's `$default.aside`. `prerender()` writes it as an array of strings. | [packages/lit-ui-router-ssr/src/signature.ts:26](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/lit-ui-router-ssr/src/signature.ts#L26) |
