@xy-planning-network/trees 0.6.2-rc-4 → 0.6.2-rc-6

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-4",
3
+ "version": "0.6.2-rc-6",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "repository": "github:xy-planning-network/trees",
@@ -40,6 +40,18 @@ export declare class HttpError<T = unknown> extends Error {
40
40
  */
41
41
  export interface HttpPromise<T = any> extends Promise<T> {
42
42
  }
43
+ /**
44
+ * TrailsPromise
45
+ * The successfully resolved interface of an http client request returned by @xy-planning-network/Trails.
46
+ */
47
+ export interface TrailsPromise<T = any> extends Promise<TrailsResponse<T>> {
48
+ }
49
+ /**
50
+ * TrailsPromisePaged
51
+ * The successfully resolved interface of a paged http client request returned by @xy-planning-network/Trails.
52
+ */
53
+ export interface TrailsPromisePaged<T = any> extends Promise<TrailsResponsePaged<T>> {
54
+ }
43
55
  /**
44
56
  * TrailsResponse
45
57
  * A convenience interface to represent the shape of a Trails delivered API response.
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, QueryParams, RequestOptions, RequestPayload, TrailsResponse, TrailsResponsePaged } from "./api/client";
3
+ import type { HttpPromise, HttpError, QueryParams, RequestOptions, RequestPayload, TrailsPromise, TrailsPromisePaged, 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, QueryParams, RequestOptions, RequestPayload, TrailsResponse, TrailsResponsePaged, };
9
+ export type { HttpPromise, HttpError, QueryParams, RequestOptions, RequestPayload, TrailsPromise, TrailsPromisePaged, TrailsResponse, TrailsResponsePaged, };