Skip to main content

Api Decorator

Resolver param decorator which returns which Api the request came though. This is useful because sometimes the same resolver will have different behaviour depending whether it is being called from the shop API or the admin API.

Returns a string of type ApiType.

Example

Ts
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page