pangea-helpers 1.3.82 → 1.3.84

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.
@@ -3,12 +3,11 @@ type Object = {
3
3
  };
4
4
  export declare function cloneObjectProperties<T extends Object>(obj: T): T;
5
5
  export declare function copyAvailableFields(destinationObj?: Object, originObj?: Object): void;
6
- export declare function removeProps<T extends Object, K extends keyof T>(obj: T, propsToRemove: K | K[]): Omit<T, K>;
6
+ export declare function pickFields<T extends Object, K extends keyof T>(obj: T, fieldsToPick: K | K[]): Pick<T, K>;
7
+ export declare function removeFields<T extends Object, K extends keyof T>(obj: T, fieldsToRemove: K | K[]): Omit<T, K>;
7
8
  export declare function isObject(val: any): boolean;
8
9
  export declare function merge(target: Object, source: Object): void;
9
10
  export declare function mergeDeep<T extends Object, S extends Object>(obj1: T, obj2: S): T & S;
10
11
  export declare function filterKeys(objectWithTheKeys: Object, objectToFilter: Object): Object;
11
12
  export declare function filterKeysDeep(objectWithTheKeys: Object, objectToFilter: Object): Object;
12
- export declare function inheritStaticObject(ctor: Function, key: string, initial?: object): {};
13
- export declare function inheritStaticArray(ctor: Function, key: string, initial?: Array<any>): any[];
14
13
  export {};
@@ -4,6 +4,7 @@ export declare function getFirstChartInUppercase<T extends string>(str: T): Capi
4
4
  export declare function camelToSnake(str: string): string;
5
5
  export declare function camelToUpperSnake(str: string): string;
6
6
  export declare function camelToKebab(str: string): string;
7
+ export declare function isDatetime(val: string): boolean;
7
8
  export declare function normalizeText(text: string): string;
8
9
  export declare function generateCode(length: number): string;
9
10
  export declare const accentMap: {