bruce-models 2.6.2 → 2.6.3

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.
@@ -96,5 +96,5 @@ __exportStar(require("./internal/uploader"), exports);
96
96
  __exportStar(require("./plugin/plugin"), exports);
97
97
  __exportStar(require("./environment"), exports);
98
98
  __exportStar(require("./data-source/data-source"), exports);
99
- exports.VERSION = "2.6.2";
99
+ exports.VERSION = "2.6.3";
100
100
  //# sourceMappingURL=bruce-models.js.map
@@ -79,4 +79,4 @@ export * from "./internal/uploader";
79
79
  export * from "./plugin/plugin";
80
80
  export * from "./environment";
81
81
  export * from "./data-source/data-source";
82
- export declare const VERSION = "2.6.2";
82
+ export declare const VERSION = "2.6.3";
@@ -2,8 +2,8 @@ import { Api } from "../api/api";
2
2
  import { BruceApi } from "../api/bruce-api";
3
3
  import { EntityAttribute } from "../entity/entity-attribute";
4
4
  export declare namespace DataSource {
5
- export function GetCacheKey(id: number): string;
6
- export function GetListCacheKey(): string;
5
+ function GetCacheKey(id: number): string;
6
+ function GetListCacheKey(): string;
7
7
  interface ISource {
8
8
  ID?: number;
9
9
  Name: string;
@@ -16,30 +16,29 @@ export declare namespace DataSource {
16
16
  DataSchema?: EntityAttribute.IAttribute;
17
17
  Parameters?: object;
18
18
  }
19
- export enum EType {
19
+ enum EType {
20
20
  IDMapping = "IDMapping"
21
21
  }
22
- export type Type = EType | string;
23
- export function Update(params: {
22
+ type Type = EType | string;
23
+ function Update(params: {
24
24
  source: ISource;
25
25
  api?: BruceApi.Api;
26
26
  req?: Api.IReqParams;
27
27
  }): Promise<{
28
28
  source: any;
29
29
  }>;
30
- export function Delete(params: {
30
+ function Delete(params: {
31
31
  id: number;
32
32
  api?: BruceApi.Api;
33
33
  req?: Api.IReqParams;
34
34
  }): Promise<void>;
35
- export function Get(params: {
35
+ function Get(params: {
36
36
  id: number;
37
37
  api?: BruceApi.Api;
38
38
  req?: Api.IReqParams;
39
39
  }): Promise<any>;
40
- export function GetList(params: {
40
+ function GetList(params: {
41
41
  api?: BruceApi.Api;
42
42
  req?: Api.IReqParams;
43
43
  }): Promise<any>;
44
- export {};
45
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-models",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-models.umd.js",