@new-project-media/client-frontends-shared-types 3.3.11 → 3.3.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@new-project-media/client-frontends-shared-types",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.12",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc -p tsconfig.json",
|
|
6
6
|
"postbuild": "mkdir -p ../../dist/packages/client-frontends-shared-types/ && cp package.json ../../dist/packages/client-frontends-shared-types/",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { InfiniteData, QueryObserverResult, UseInfiniteQueryResult, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { StaticRange } from 'react-date-range';
|
|
3
|
+
import { RegionMode } from '@npm-client-frontends/shared-constants';
|
|
3
4
|
import { ClientApiListRequestQueryParams, ClientApiListResponse, DataCenter, QueueListType, SignalListType } from './api';
|
|
4
5
|
export type Entity = SignalListType | QueueListType | DataCenter;
|
|
5
6
|
export type InfiniteQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean, customFilters?: ClientApiListRequestQueryParams['filters']) => UseInfiniteQueryResult<InfiniteData<ClientApiListResponse<Entity>, unknown>, Error>;
|
|
6
|
-
export type ReportQueryClient = (queryParams: ClientApiListRequestQueryParams, customFilters?: ClientApiListRequestQueryParams['filters']) => Promise<ClientApiListResponse<Entity>>;
|
|
7
|
+
export type ReportQueryClient = (queryParams: ClientApiListRequestQueryParams, selectedRegionMode: RegionMode | null, customFilters?: ClientApiListRequestQueryParams['filters']) => Promise<ClientApiListResponse<Entity>>;
|
|
7
8
|
export type CenterpointQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean, customFilters?: ClientApiListRequestQueryParams['filters']) => UseQueryResult<ClientApiListResponse<Entity>, Error>;
|
|
8
9
|
export type RefetchResult = Promise<QueryObserverResult<InfiniteData<ClientApiListResponse<Entity>, unknown>, Error>>;
|
|
9
10
|
export type ExtendedColumnFilter = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataGrid.js","sourceRoot":"","sources":["../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/dataGrid.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"dataGrid.js","sourceRoot":"","sources":["../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/dataGrid.ts"],"names":[],"mappings":";;;AAmEA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;IACf,yCAA6B,CAAA;AAC/B,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAEY,QAAA,oBAAoB,GAAG;IAClC,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,SAAS;IAC9B,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ;IAC5B,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,EAAE,cAAc;CACnC,CAAA;AA4CV,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,6CAAe,CAAA;IACf,2CAAa,CAAA;AACf,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC"}
|