function
createAdminClient
Creates the admin's own client for the API at baseURL, the page's origin by default. The admin reads its schema at run time, so this needs no generated application types; pass it as clientFactory unless the admin must reach another origin or add request middleware.
Arguments
| Argument | Type | Description |
|---|---|---|
baseURL | string | The baseURL value. |
Returns
The declared result.
AdminClientFull signature
function createAdminClient(baseURL?: string): AdminClientRelated types
AdminClientPublic type AdminClient from @riducms/admin.