@xy-planning-network/trees 0.6.2-rc-2 → 0.6.2-rc-4
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/package.json +1 -1
- package/types/api/client.d.ts +1 -1
- package/types/entry.d.ts +2 -2
package/package.json
CHANGED
package/types/api/client.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export interface HttpClient {
|
|
|
132
132
|
* @param err unknown
|
|
133
133
|
* @returns payload is HttpError
|
|
134
134
|
*/
|
|
135
|
-
isHttpError(err: unknown): err is HttpError
|
|
135
|
+
isHttpError<T>(err: unknown): err is HttpError<T>;
|
|
136
136
|
/**
|
|
137
137
|
* A convenience method for checking if a variable is a cancelled http request error.
|
|
138
138
|
* @param err unknown
|
package/types/entry.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Plugin } from "vue";
|
|
2
2
|
import BaseAPI from "./api/base";
|
|
3
|
-
import type { HttpPromise, HttpError, RequestOptions, TrailsResponse, TrailsResponsePaged } from "./api/client";
|
|
3
|
+
import type { HttpPromise, HttpError, QueryParams, RequestOptions, RequestPayload, TrailsResponse, TrailsResponsePaged } from "./api/client";
|
|
4
4
|
declare const install: Exclude<Plugin["install"], undefined>;
|
|
5
5
|
export default install;
|
|
6
6
|
export * from "./composables/index";
|
|
7
7
|
export * from "./lib-components/index";
|
|
8
8
|
export { BaseAPI };
|
|
9
|
-
export type { HttpPromise, HttpError, RequestOptions, TrailsResponse, TrailsResponsePaged, };
|
|
9
|
+
export type { HttpPromise, HttpError, QueryParams, RequestOptions, RequestPayload, TrailsResponse, TrailsResponsePaged, };
|