---
url: >-
  https://lit-ui-router.dev/reference/ui-router-server/redirects/interfaces/RedirectTable.md
---
[ui-router-server](../../index.md) / [redirects](../index.md) / RedirectTable

# Interface: RedirectTable

Defined in: [redirects.ts:117](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/redirects.ts#L117)

The input to [compileRedirects](../functions/compileRedirects.md): the route set plus the rules evaluated over it.

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `config?` | [`RouteTableConfig`](RouteTableConfig.md) | Url options (defaults: strict, case-sensitive, slashes as requested). | [redirects.ts:123](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/redirects.ts#L123) |
|  `routes` | readonly [`RouteDeclaration`](RouteDeclaration.md)\[] | The states whose urls the table redirects between (see [RouteDeclaration](RouteDeclaration.md)). | [redirects.ts:119](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/redirects.ts#L119) |
|  `rules?` | [`RedirectRule`](RedirectRule.md)\[] | when()-style rules, evaluated in declaration order before per-state redirectTo entries. | [redirects.ts:121](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/redirects.ts#L121) |
