@gen3/core 0.11.21 → 0.11.23
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/dist/cjs/index.js +1902 -1364
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/cohort/cohortManagerSelector.d.ts +193 -0
- package/dist/dts/features/cohort/cohortManagerSelector.d.ts.map +1 -0
- package/dist/dts/features/cohort/cohortManagerSlice.d.ts +112 -0
- package/dist/dts/features/cohort/cohortManagerSlice.d.ts.map +1 -0
- package/dist/dts/features/cohort/index.d.ts +9 -6
- package/dist/dts/features/cohort/index.d.ts.map +1 -1
- package/dist/dts/features/cohort/reducers.d.ts +2 -2
- package/dist/dts/features/cohort/storage/CohortStorage.d.ts +70 -0
- package/dist/dts/features/cohort/storage/CohortStorage.d.ts.map +1 -0
- package/dist/dts/features/cohort/tests/cohortManager.unit.test.d.ts +2 -0
- package/dist/dts/features/cohort/tests/cohortManager.unit.test.d.ts.map +1 -0
- package/dist/dts/features/cohort/types.d.ts +28 -0
- package/dist/dts/features/cohort/types.d.ts.map +1 -1
- package/dist/dts/features/cohort/utils.d.ts +3 -0
- package/dist/dts/features/cohort/utils.d.ts.map +1 -1
- package/dist/dts/features/dataLibrary/index.d.ts +3 -2
- package/dist/dts/features/dataLibrary/index.d.ts.map +1 -1
- package/dist/dts/features/dataLibrary/storage/LocalStorageService.d.ts +1 -1
- package/dist/dts/features/dataLibrary/storage/LocalStorageService.d.ts.map +1 -1
- package/dist/dts/features/dataLibrary/utils.d.ts +1 -2
- package/dist/dts/features/dataLibrary/utils.d.ts.map +1 -1
- package/dist/dts/features/facets/index.d.ts +2 -0
- package/dist/dts/features/facets/index.d.ts.map +1 -0
- package/dist/dts/features/facets/types.d.ts +20 -0
- package/dist/dts/features/facets/types.d.ts.map +1 -0
- package/dist/dts/features/filters/index.d.ts +1 -2
- package/dist/dts/features/filters/index.d.ts.map +1 -1
- package/dist/dts/features/filters/types.d.ts +4 -6
- package/dist/dts/features/filters/types.d.ts.map +1 -1
- package/dist/dts/features/user/userSliceRTK.d.ts +3 -3
- package/dist/dts/hooks.d.ts +4 -4
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/reducers.d.ts +3 -3
- package/dist/dts/store.d.ts +4 -4
- package/dist/dts/utils/index.d.ts +4 -3
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/time.d.ts +1 -0
- package/dist/dts/utils/time.d.ts.map +1 -1
- package/dist/esm/index.js +1885 -1362
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +265 -58
- package/package.json +2 -2
- package/dist/dts/features/cohort/cohortSlice.d.ts +0 -204
- package/dist/dts/features/cohort/cohortSlice.d.ts.map +0 -1
|
@@ -69,8 +69,8 @@ export interface FilterSet {
|
|
|
69
69
|
readonly mode: 'and' | 'or';
|
|
70
70
|
}
|
|
71
71
|
export declare const isFilterSet: (input: any) => input is FilterSet;
|
|
72
|
-
export declare
|
|
73
|
-
export declare
|
|
72
|
+
export declare const isUnion: (value: unknown) => value is Union;
|
|
73
|
+
export declare const isIntersection: (value: unknown) => value is Intersection;
|
|
74
74
|
export declare const isOperandsType: (operation: Operation) => operation is OperandsType;
|
|
75
75
|
export interface OperationHandler<T> {
|
|
76
76
|
handleEquals: (op: Equals) => T;
|
|
@@ -103,11 +103,9 @@ export type HistogramBucket = {
|
|
|
103
103
|
key: string | [number, number];
|
|
104
104
|
count: number;
|
|
105
105
|
};
|
|
106
|
-
export interface AllowableRange {
|
|
107
|
-
readonly minimum?: number;
|
|
108
|
-
readonly maximum?: number;
|
|
109
|
-
}
|
|
110
106
|
export type IndexedFilterSet = Record<string, FilterSet>;
|
|
107
|
+
export declare const isIndexedFilterSetEmpty: (filters: IndexedFilterSet) => boolean;
|
|
111
108
|
export type UnionOrIntersection = Union | Intersection;
|
|
109
|
+
export declare const EmptyFilterSet: FilterSet;
|
|
112
110
|
export {};
|
|
113
111
|
//# s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WAAW,EAAE,CAAC,EAAE,EAAE,KAAK,KAAK,CAAC,CAAC;IAC9B,kBAAkB,EAAE,CAAC,EAAE,EAAE,YAAY,KAAK,CAAC,CAAC;IAC5C,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,CAAC,CAAC;IAChC,aAAa,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC;AAC/C,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;AACtD,MAAM,MAAM,WAAW,GACnB,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,SAAS,CAAC;AAEd,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAEzD,eAAO,MAAM,uBAAuB,GAAI,SAAS,gBAAgB,KAAG,OAGjE,CAAC;AAEJ,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,YAAY,CAAC;AAEvD,eAAO,MAAM,cAAc,EAAE,SAAqC,CAAC"}
|
|
@@ -1337,7 +1337,7 @@ export declare const selectCSRFToken: ((state: import("@reduxjs/toolkit/query").
|
|
|
1337
1337
|
[x: string]: Record<string, import("../cohort").CombineMode>;
|
|
1338
1338
|
};
|
|
1339
1339
|
sharedFilters: import("../cohort/sharedFiltersSlice").SharedFiltersState;
|
|
1340
|
-
|
|
1340
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import("../cohort").Cohort, string> & import("../cohort/cohortManagerSlice").CurrentCohortState;
|
|
1341
1341
|
};
|
|
1342
1342
|
activeWorkspace: import("../workspace/workspaceSlice").WorkspaceState;
|
|
1343
1343
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -1623,7 +1623,7 @@ export declare const selectHeadersWithCSRFToken: ((state: import("@reduxjs/toolk
|
|
|
1623
1623
|
[x: string]: Record<string, import("../cohort").CombineMode>;
|
|
1624
1624
|
};
|
|
1625
1625
|
sharedFilters: import("../cohort/sharedFiltersSlice").SharedFiltersState;
|
|
1626
|
-
|
|
1626
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import("../cohort").Cohort, string> & import("../cohort/cohortManagerSlice").CurrentCohortState;
|
|
1627
1627
|
};
|
|
1628
1628
|
activeWorkspace: import("../workspace/workspaceSlice").WorkspaceState;
|
|
1629
1629
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -1714,7 +1714,7 @@ export declare const selectHeadersWithCSRFToken: ((state: import("@reduxjs/toolk
|
|
|
1714
1714
|
[x: string]: Record<string, import("../cohort").CombineMode>;
|
|
1715
1715
|
};
|
|
1716
1716
|
sharedFilters: import("../cohort/sharedFiltersSlice").SharedFiltersState;
|
|
1717
|
-
|
|
1717
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import("../cohort").Cohort, string> & import("../cohort/cohortManagerSlice").CurrentCohortState;
|
|
1718
1718
|
};
|
|
1719
1719
|
activeWorkspace: import("../workspace/workspaceSlice").WorkspaceState;
|
|
1720
1720
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
package/dist/dts/hooks.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const useCoreSelector: import("react-redux").UseSelector<{
|
|
|
20
20
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
21
21
|
};
|
|
22
22
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
23
|
-
|
|
23
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
24
24
|
};
|
|
25
25
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
26
26
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -51,7 +51,7 @@ export declare const useCoreDispatch: import("react-redux").UseDispatch<import("
|
|
|
51
51
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
52
52
|
};
|
|
53
53
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
54
|
-
|
|
54
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
55
55
|
};
|
|
56
56
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
57
57
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -84,7 +84,7 @@ export declare const useCoreStore: import("react-redux").UseStore<import("@redux
|
|
|
84
84
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
85
85
|
};
|
|
86
86
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
87
|
-
|
|
87
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
88
88
|
};
|
|
89
89
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
90
90
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -117,7 +117,7 @@ export declare const useCoreStore: import("react-redux").UseStore<import("@redux
|
|
|
117
117
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
118
118
|
};
|
|
119
119
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
120
|
-
|
|
120
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
121
121
|
};
|
|
122
122
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
123
123
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GEN3_API,
|
|
1
|
+
import { Accessibility, GEN3_API, GEN3_AUTHZ_API, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_GUPPY_API, GEN3_MANIFEST_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SOWER_API, GEN3_SUBMISSION_API, GEN3_WORKSPACE_API } from './constants';
|
|
2
2
|
import { type CoreState } from './reducers';
|
|
3
3
|
export * from './features/user';
|
|
4
4
|
export * from './types';
|
|
@@ -12,6 +12,7 @@ export * from './features/authz';
|
|
|
12
12
|
export * from './features/cohort';
|
|
13
13
|
export * from './features/dataLibrary';
|
|
14
14
|
export * from './features/drsResolver';
|
|
15
|
+
export * from './features/facets';
|
|
15
16
|
export * from './features/fence';
|
|
16
17
|
export * from './features/filters';
|
|
17
18
|
export * from './features/gen3';
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAE3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EACL,KAAK,SAAS,EACd,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,aAAa,GACd,CAAC"}
|
package/dist/dts/reducers.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const rootReducer: import("redux").Reducer<{
|
|
|
13
13
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
14
14
|
};
|
|
15
15
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
16
|
-
|
|
16
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
17
17
|
};
|
|
18
18
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
19
19
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -43,7 +43,7 @@ export declare const rootReducer: import("redux").Reducer<{
|
|
|
43
43
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
44
44
|
};
|
|
45
45
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
46
|
-
|
|
46
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
47
47
|
} | Partial<{
|
|
48
48
|
filtersExpanded: {
|
|
49
49
|
[x: string]: Record<string, boolean>;
|
|
@@ -52,7 +52,7 @@ export declare const rootReducer: import("redux").Reducer<{
|
|
|
52
52
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
53
53
|
} | undefined;
|
|
54
54
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState | undefined;
|
|
55
|
-
|
|
55
|
+
cohortManager: (import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState) | undefined;
|
|
56
56
|
}> | undefined;
|
|
57
57
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState | undefined;
|
|
58
58
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
package/dist/dts/store.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare const setupCoreStore: (preloadedState?: Partial<CoreState>) => im
|
|
|
26
26
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
27
27
|
};
|
|
28
28
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
29
|
-
|
|
29
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
30
30
|
};
|
|
31
31
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
32
32
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -59,7 +59,7 @@ export declare const setupCoreStore: (preloadedState?: Partial<CoreState>) => im
|
|
|
59
59
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
60
60
|
};
|
|
61
61
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
62
|
-
|
|
62
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
63
63
|
};
|
|
64
64
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
65
65
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -93,7 +93,7 @@ export declare const coreStore: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
93
93
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
94
94
|
};
|
|
95
95
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
96
|
-
|
|
96
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
97
97
|
};
|
|
98
98
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
99
99
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -126,7 +126,7 @@ export declare const coreStore: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
126
126
|
[x: string]: Record<string, import(".").CombineMode>;
|
|
127
127
|
};
|
|
128
128
|
sharedFilters: import("./features/cohort/sharedFiltersSlice").SharedFiltersState;
|
|
129
|
-
|
|
129
|
+
cohortManager: import("@reduxjs/toolkit").EntityState<import(".").Cohort, string> & import("./features/cohort/cohortManagerSlice").CurrentCohortState;
|
|
130
130
|
};
|
|
131
131
|
activeWorkspace: import("./features/workspace/workspaceSlice").WorkspaceState;
|
|
132
132
|
userAuthApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isArray, isNotDefined, isObject, isString } from './ts-utils';
|
|
2
2
|
import { prepareUrl } from './url';
|
|
3
|
-
import {
|
|
3
|
+
import { fetchFencePresignedURL, fetchJSONDataFromURL, HTTPError, HTTPErrorMessages, HttpMethod } from './fetch';
|
|
4
4
|
import { getCurrentTimestamp, isTimeGreaterThan } from './time';
|
|
5
|
-
import {
|
|
5
|
+
import { calculatePercentageAsNumber, calculatePercentageAsString, convertToHistogramDataAsStringKey } from './conversions';
|
|
6
6
|
export { isObject, isString, isNotDefined, isArray, prepareUrl, fetchFencePresignedURL, fetchJSONDataFromURL, HTTPError, HttpMethod, HTTPErrorMessages, getCurrentTimestamp, isTimeGreaterThan, convertToHistogramDataAsStringKey, calculatePercentageAsString, calculatePercentageAsNumber, };
|
|
7
|
+
export { getTimestamp } from './time';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,iCAAiC,EACjC,2BAA2B,EAC3B,2BAA2B,GAC5B,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC"}
|
package/dist/dts/utils/time.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export declare const isTimeGreaterThan: (startTime: number, minutes: number) =>
|
|
|
5
5
|
export declare const getReadableDuration: (milliseconds: number) => string;
|
|
6
6
|
export declare const measureExecutionTime: (func: () => Promise<any>) => Promise<string>;
|
|
7
7
|
export declare const getHighResolutionTimestamp: () => number;
|
|
8
|
+
export declare const getTimestamp: () => string;
|
|
8
9
|
//# sourceMappingURL=time.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/utils/time.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,QAAO,MAEtC,CAAC;AAGF,eAAO,MAAM,qBAAqB,QAAO,MAExC,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAC9B,WAAW,MAAM,EACjB,UAAS,MAAmB,KAC3B,MAEF,CAAC;AAGF,eAAO,MAAM,iBAAiB,GAC5B,WAAW,MAAM,EACjB,SAAS,MAAM,KACd,OAIF,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAAI,cAAc,MAAM,KAAG,MAY1D,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAAU,MAAM,MAAM,OAAO,CAAC,GAAG,CAAC,oBAKlE,CAAC;AAGF,eAAO,MAAM,0BAA0B,QAAO,MAE7C,CAAC"}
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/utils/time.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,QAAO,MAEtC,CAAC;AAGF,eAAO,MAAM,qBAAqB,QAAO,MAExC,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAC9B,WAAW,MAAM,EACjB,UAAS,MAAmB,KAC3B,MAEF,CAAC;AAGF,eAAO,MAAM,iBAAiB,GAC5B,WAAW,MAAM,EACjB,SAAS,MAAM,KACd,OAIF,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAAI,cAAc,MAAM,KAAG,MAY1D,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAAU,MAAM,MAAM,OAAO,CAAC,GAAG,CAAC,oBAKlE,CAAC;AAGF,eAAO,MAAM,0BAA0B,QAAO,MAE7C,CAAC;AACF,eAAO,MAAM,YAAY,cAExB,CAAC"}
|