esi-cap 1.6.13 → 1.6.14

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.
@@ -23,7 +23,7 @@ export namespace service {
23
23
  function handleInsert(oService: object, oRequest: object, fPreInsert?: Function): Promise<any>;
24
24
  function handleUpdate(oService: object, oRequest: object, fPreUpdate: Function, oWhere: any, isOldDataRequired?: boolean): Promise<any>;
25
25
  function handleCount(oData: object, oRequest: object): Promise<void>;
26
- function handlePostOn(oRequest: object): Promise<any>;
26
+ function handlePostOn(oService: object, oRequest: object): Promise<any>;
27
27
  function handleAction(oService: any, oRequest: any): Promise<any>;
28
28
  function handleRead(oService: object, oRequest: object, fNextHandler: Function): Promise<any>;
29
29
  }
@@ -11,7 +11,7 @@ export namespace json {
11
11
  export function replace(oJson: object, sOldValue: string, sNewValue: string): void;
12
12
  export function getValue(oJson: object, sPropertyPath: string): any;
13
13
  export function unique(oNestedArray: any[]): any[];
14
- export function order(oJson: object, oKeyOrder: any[]): object;
14
+ export function order(oJson: object, oKeyOrder: string[]): object;
15
15
  export function projection(oJson: object, oColumns: string[]): object;
16
16
  export function map(oJson: object, oMap: object): object;
17
17
  export function merge(oJson1: object, oJson2: object): object;
@@ -24,9 +24,9 @@ export namespace array {
24
24
  export { flat_1 as flat };
25
25
  export function unique_1(oArray: any[]): any;
26
26
  export { unique_1 as unique };
27
- export function order_1(oArray: any[], oOrder: any[]): any[];
27
+ export function order_1(oArray: any[], oOrder: string[]): any[];
28
28
  export { order_1 as order };
29
- export function projection_1(oArray: any[], oColumns: any[]): any[];
29
+ export function projection_1(oArray: any[], oColumns: string[]): any[];
30
30
  export { projection_1 as projection };
31
31
  export function map_1(oArray: any[], oMap: any[]): any[];
32
32
  export { map_1 as map };