interface
RiduDefinitionOptions
Public interface RiduDefinitionOptions from @riducms/sveltekit.
Properties
| Property | Type | Description |
|---|---|---|
createClient | Factory | The generated factory, which binds the application's types. |
baseURL | string | Public Ridu origin, such as PUBLIC_RIDU_URL. Browsers call it directly. |
authCollection | Slug | The auth collection whose users sign in to this application. |
cookieName | string | Frontend-domain cookie that stores the session token. Defaults to ridu_token. |
fetch | ((input: Parameters< | Fetch used by server-side clients. Defaults to SvelteKit's event.fetch. |
Full signature
interface RiduDefinitionOptions<Factory extends ClientFactory, Slug extends string> {
...
}Methods
RiduDefinitionOptions.createClient()The generated factory, which binds the application's types.