@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xy-planning-network/trees",
3
- "version": "0.6.2-rc-2",
3
+ "version": "0.6.2-rc-4",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "repository": "github:xy-planning-network/trees",
@@ -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, };