[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/flow](../../README) / [index](../README) / UrlOptions

# Interface: UrlOptions

Defined in: [flow/src/decorators.ts:796](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow/src/decorators.ts#L796)

Options for the [url](../functions/url) decorator, controlling how a property maps onto the browser URL
query string.

## Properties

### as?

> `optional` **as?**: `string`

Defined in: [flow/src/decorators.ts:798](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow/src/decorators.ts#L798)

Override the URL query parameter name. Defaults to the property name.

***

### history?

> `optional` **history?**: `"replace"` \| `"push"`

Defined in: [flow/src/decorators.ts:800](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow/src/decorators.ts#L800)

Push a new history entry or replace the current one. Defaults to `'replace'`.
