@infrab4a/connect 4.0.0-beta.6 → 4.0.0-beta.8
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.
- package/esm2020/infra/hasura-graphql/mixins/helpers/graphql-field.helper.mjs +2 -2
- package/esm2020/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.mjs +4 -6
- package/esm2020/utils/index.mjs +2 -3
- package/fesm2015/infrab4a-connect.mjs +9 -12
- package/fesm2015/infrab4a-connect.mjs.map +1 -1
- package/fesm2020/infrab4a-connect.mjs +8 -12
- package/fesm2020/infrab4a-connect.mjs.map +1 -1
- package/package.json +1 -1
- package/utils/index.d.ts +1 -21
package/package.json
CHANGED
package/utils/index.d.ts
CHANGED
|
@@ -1,26 +1,6 @@
|
|
|
1
1
|
import { add, addBusinessDays, addDays, addMonths, addYears, Duration, endOfDay, format, formatISO9075, parseISO, startOfDay, sub } from 'date-fns';
|
|
2
|
-
import
|
|
2
|
+
import { chunk, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, pick, set } from 'lodash';
|
|
3
3
|
export declare type DateDuration = Duration;
|
|
4
|
-
declare const chunk: <T>(array: lodash.List<T>, size?: number) => T[][], isBoolean: (value?: any) => value is boolean, isDate: (value?: any) => value is Date, isEmpty: {
|
|
5
|
-
<T extends {
|
|
6
|
-
__trapAny: any;
|
|
7
|
-
}>(value?: T): boolean;
|
|
8
|
-
(value: string): value is "";
|
|
9
|
-
(value: Map<any, any> | Set<any> | lodash.List<any>): boolean;
|
|
10
|
-
(value: object): boolean;
|
|
11
|
-
<T_1 extends object>(value: T_1): value is lodash.EmptyObjectOf<T_1>;
|
|
12
|
-
(value?: any): boolean;
|
|
13
|
-
}, isInteger: (value?: any) => boolean, isNaN: (value?: any) => boolean, isNil: (value: any) => value is null, isNumber: (value?: any) => value is number, isObject: (value?: any) => value is object, isString: (value?: any) => value is string, now: () => number, omit: {
|
|
14
|
-
<T extends object, K extends lodash.PropertyName[]>(object: T, ...paths: K): Pick<T, Exclude<keyof T, K[number]>>;
|
|
15
|
-
<T_1 extends object, K_1 extends keyof T_1>(object: T_1, ...paths: lodash.Many<K_1>[]): lodash.Omit<T_1, K_1>;
|
|
16
|
-
<T_2 extends object>(object: T_2, ...paths: lodash.Many<lodash.PropertyName>[]): Partial<T_2>;
|
|
17
|
-
}, pick: {
|
|
18
|
-
<T extends object, U extends keyof T>(object: T, ...props: lodash.Many<U>[]): Pick<T, U>;
|
|
19
|
-
<T_1>(object: T_1, ...props: lodash.Many<lodash.PropertyPath>[]): Partial<T_1>;
|
|
20
|
-
}, set: {
|
|
21
|
-
<T extends object>(object: T, path: lodash.PropertyPath, value: any): T;
|
|
22
|
-
<TResult>(object: object, path: lodash.PropertyPath, value: any): TResult;
|
|
23
|
-
};
|
|
24
4
|
export * from './get';
|
|
25
5
|
export * from './is';
|
|
26
6
|
export * from './is-uuid';
|