Skip to content

Commit

Permalink
fix(traverse): fix expand level by making traverse method async
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminDobler committed Feb 19, 2018
1 parent f144308 commit 322a9e1
Show file tree
Hide file tree
Showing 13 changed files with 357 additions and 215 deletions.
5 changes: 3 additions & 2 deletions dist/helpers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export declare function pathof(baseUri: string, service: Service, resource: Reso
*/
export declare function filterByKeys(inputObject: any, keep: string[]): Object;
export declare function getEventParams(value: string): any;
export declare function asyncForEach(array: any, callback: any): Promise<void>;
export declare class ElementUtil {
private availableServices;
private serviceMap;
Expand All @@ -29,7 +30,7 @@ export declare class ElementUtil {
name: string;
uri: string;
}[], serviceMap: any);
getElementById(id: string): any;
getElementById(id: string): Promise<any>;
/**
* Deep clone object, except for keys that contain RSI-object references.
*
Expand All @@ -38,5 +39,5 @@ export declare class ElementUtil {
*/
private clone(obj);
private isObjectReference(obj);
traverse(obj: any, maxLevel?: any, level?: number): void;
traverse(obj: any, maxLevel?: any, level?: number): Promise<void>;
}
211 changes: 159 additions & 52 deletions dist/helpers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 322a9e1

Please sign in to comment.