API reference > @kontsedal/olas-router
olas-router package
Functions
Function | Description |
|---|---|
Build a router adapter — a paired Wire-up: tsx In any controller: ts The adapter is router-agnostic by design — wire whatever client-side router you use. Next.js's app router is not supported: its server components run outside the browser tree a controller lives in. **SSR:** pass ts |
Variables
Variable | Description |
|---|---|
Route URL params. Shape matches what a typical router exposes: | |
Current pathname (URL path portion, no search/hash). E.g. | |
The plugin's name. | |
Parsed search-string params. Values are |
Type Aliases
Type Alias | Description |
|---|---|
Result of | |
A snapshot of route state. Params values are |