@singularsystems/neo-core 0.10.69 → 0.10.71

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.
@@ -1,6 +1,6 @@
1
1
  import { AxiosPromise } from 'axios';
2
- import { PlainObject } from '../Model/IModelBase';
3
2
  import { ApiClientBase } from './ApiClientBase';
3
+ import { PlainObject } from '../Model/IModelBase';
4
4
  export interface IReadApiClient<TModel, TKey extends string | number> {
5
5
  /** Gets a list of entities. */
6
6
  get(): AxiosPromise<PlainObject<TModel>[]>;
@@ -12,5 +12,5 @@ export declare class ReadApiClient<TModel, TKey extends string | number> extends
12
12
  /** Gets a list of entities */
13
13
  get(): AxiosPromise<PlainObject<TModel>[]>;
14
14
  /** Gets a single entity using the provided id. */
15
- getById(id: TKey): AxiosPromise<{ [P_2 in Exclude<keyof TModel, keyof import("../Model/IModelBase").IModelBase> & { [P_1 in keyof TModel]: TModel[P_1] extends Function ? never : P_1; }[keyof TModel]]: TModel[P_2]; } extends infer T ? { [P in keyof T]: { [P_2 in Exclude<keyof TModel, keyof import("../Model/IModelBase").IModelBase> & { [P_1 in keyof TModel]: TModel[P_1] extends Function ? never : P_1; }[keyof TModel]]: TModel[P_2]; }[P] extends import("..").List<infer I> ? I[] : { [P_2 in Exclude<keyof TModel, keyof import("../Model/IModelBase").IModelBase> & { [P_1 in keyof TModel]: TModel[P_1] extends Function ? never : P_1; }[keyof TModel]]: TModel[P_2]; }[P]; } : never>;
15
+ getById(id: TKey): AxiosPromise<PlainObject<TModel>>;
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
+ import { ApiClientBase } from './ApiClientBase';
2
3
  import { Globals } from '../Misc';
3
4
  import { NeoTypes } from '../AppServices';
4
- import { ApiClientBase } from './ApiClientBase';
5
5
  var ReadApiClient = /** @class */ (function (_super) {
6
6
  __extends(ReadApiClient, _super);
7
7
  function ReadApiClient(apiPath, axios) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singularsystems/neo-core",
3
- "version": "0.10.69",
3
+ "version": "0.10.71",
4
4
  "description": "Core functionality for the Neo client library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",