@tstdl/base 0.71.34 → 0.71.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/client/client.d.ts +2 -1
- package/package.json +1 -1
package/api/client/client.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { Injectable } from "../../container";
|
|
1
2
|
import type { HttpClientOptions } from "../../http/client";
|
|
2
3
|
import { HttpClient } from "../../http/client";
|
|
3
4
|
import type { ApiClientImplementation, ApiDefinition, ApiEndpointDefinition } from '../types';
|
|
4
|
-
export declare type ApiClient<T extends ApiDefinition> = new (httpClient: HttpClient) => ApiClientImplementation<T>;
|
|
5
|
+
export declare type ApiClient<T extends ApiDefinition> = new (httpClient: HttpClient) => ApiClientImplementation<T> & Injectable<HttpClientOptions>;
|
|
5
6
|
export declare type ClientOptions = {
|
|
6
7
|
/**
|
|
7
8
|
* url prefix (default: 'api/')
|