mobx-tanstack-query-api 0.0.44 → 0.0.45

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": "mobx-tanstack-query-api",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "keywords": [],
5
5
  "author": "js2me",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@ export declare class Endpoint<TResponse extends HttpResponse<any, any>, TInput e
23
23
  request(...args: AllPropertiesOptional<TInput> extends true ? [input?: TInput] : [input: TInput]): Promise<TResponse>;
24
24
  getQueryKey(...args: AllPropertiesOptional<TInput> extends true ? [input?: TInput] : [input: TInput]): any[];
25
25
  /**
26
- * segment - segment number in path
26
+ * segment - last segment number in path which need to crop for invalidate
27
27
  * @example
28
28
  * // endpoint path ["v1", "api", "kek"]
29
29
  * endpoint.invalidateByPath({ segment: 1 }) // "v1/api*"
@@ -56,7 +56,7 @@ export class Endpoint {
56
56
  return [...this.configuration.path, this.configuration.operationId, input];
57
57
  }
58
58
  /**
59
- * segment - segment number in path
59
+ * segment - last segment number in path which need to crop for invalidate
60
60
  * @example
61
61
  * // endpoint path ["v1", "api", "kek"]
62
62
  * endpoint.invalidateByPath({ segment: 1 }) // "v1/api*"