@new-project-media/client-frontends-shared-types 1.2.2 → 1.3.2
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 +1 -1
- package/src/lib/dataGrid/api/entity.d.ts +55 -2
- package/src/lib/dataGrid/api/entity.js +37 -2
- package/src/lib/dataGrid/api/entity.js.map +1 -1
- package/src/lib/dataGrid/api/queues.d.ts +1294 -40
- package/src/lib/dataGrid/api/queues.js +111 -27
- package/src/lib/dataGrid/api/queues.js.map +1 -1
- package/src/lib/dataGrid/api/signals.d.ts +17 -12
- package/src/lib/dataGrid/dataGrid.d.ts +3 -3
|
@@ -1,48 +1,132 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueueSchema = void 0;
|
|
3
|
+
exports.QueueSchema = exports.usQueueSchema = exports.euQueueSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const entity_1 = require("./entity");
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
const CostSchema = zod_1.z.object({
|
|
7
|
+
costCompany: zod_1.z.string(),
|
|
8
|
+
costYear: zod_1.z.number(),
|
|
9
|
+
networkCostKW: zod_1.z.number(),
|
|
10
|
+
poiCostKW: zod_1.z.number(),
|
|
11
|
+
totalCostKW: zod_1.z.number(),
|
|
12
|
+
});
|
|
13
|
+
const MetaSchema = zod_1.z.object({
|
|
14
|
+
created: entity_1.FlexibleDateRegexSchema,
|
|
15
|
+
computedList: zod_1.z.array(zod_1.z.string()),
|
|
16
|
+
sk: zod_1.z.string(),
|
|
17
|
+
modified: entity_1.FlexibleDateRegexSchema,
|
|
18
|
+
pk: zod_1.z.string(),
|
|
19
|
+
entity: zod_1.z.string(),
|
|
20
|
+
});
|
|
21
|
+
// const TrackedPropsSchema = z.object({
|
|
22
|
+
// applicationId: OptionalStringSchema,
|
|
23
|
+
// id: OptionalStringSchema,
|
|
24
|
+
// key: OptionalStringSchema,
|
|
25
|
+
// propType: OptionalStringSchema,
|
|
26
|
+
// queueKey: OptionalStringSchema,
|
|
27
|
+
// reportDate: YYYYMMDDRegexOptionalSchema,
|
|
28
|
+
// set: OptionalNumberSchema,
|
|
29
|
+
// transition: z.object({
|
|
30
|
+
// durationInDays: OptionalNumberSchema,
|
|
31
|
+
// from: OptionalStringSchema,
|
|
32
|
+
// to: OptionalStringSchema,
|
|
33
|
+
// }),
|
|
34
|
+
// type: OptionalStringSchema,
|
|
35
|
+
// value: OptionalStringSchema,
|
|
36
|
+
// })
|
|
37
|
+
const ProcessInfoSchema = zod_1.z.object({
|
|
38
|
+
county: entity_1.OptionalStringSchema,
|
|
39
|
+
isoRtoConnection: entity_1.OptionalStringSchema,
|
|
40
|
+
newRecord: entity_1.OptionalStringSchema,
|
|
41
|
+
newToQ: entity_1.OptionalStringSchema,
|
|
42
|
+
npmOrganizationProfile: entity_1.OptionalStringSchema,
|
|
43
|
+
sectors: entity_1.OptionalStringSchema,
|
|
44
|
+
state: entity_1.OptionalStringSchema,
|
|
45
|
+
utility: entity_1.OptionalStringSchema,
|
|
46
|
+
});
|
|
47
|
+
const KeyPeopleSchema = zod_1.z.object({
|
|
48
|
+
linkedinUrl: entity_1.OptionalStringSchema,
|
|
49
|
+
phone: entity_1.OptionalStringSchema,
|
|
50
|
+
created: entity_1.ISODateTimeOptionalSchema,
|
|
51
|
+
roles: zod_1.z.array(entity_1.OptionalStringSchema),
|
|
52
|
+
fullName: entity_1.OptionalStringSchema,
|
|
53
|
+
id: entity_1.OptionalStringSchema,
|
|
54
|
+
source: entity_1.OptionalStringSchema,
|
|
55
|
+
email: entity_1.OptionalStringSchema,
|
|
56
|
+
});
|
|
57
|
+
const sharedQueueSchema = zod_1.z.object({
|
|
58
|
+
actualOperationalDate: entity_1.ISODateTimeOptionalSchema,
|
|
59
|
+
allSectors: zod_1.z.string().default(''),
|
|
14
60
|
applicationId: zod_1.z.string(),
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
developmentStatus: entity_1.OptionalStringSchema,
|
|
18
|
-
geo: entity_1.GeoSchema.optional(),
|
|
61
|
+
applicationStatus: zod_1.z.string().optional(),
|
|
62
|
+
audiences: zod_1.z.array(entity_1.IdentifierOnlyEntityItemSchema),
|
|
19
63
|
id: zod_1.z.string(),
|
|
20
|
-
indexed_at: entity_1.
|
|
64
|
+
indexed_at: entity_1.ISODateTimeOptionalSchema,
|
|
65
|
+
lastModified: entity_1.ISODateTimeSchema,
|
|
66
|
+
organizations: entity_1.OrganizationSchema,
|
|
67
|
+
plannedOperationalDate: entity_1.ISODateTimeOptionalSchema,
|
|
68
|
+
projectName: entity_1.OptionalStringSchema,
|
|
69
|
+
queueDataset: entity_1.OptionalStringSchema,
|
|
70
|
+
reportDate: entity_1.YYYYMMDDRegexSchema,
|
|
71
|
+
sectors: entity_1.EntityItemArraySchema.default([]),
|
|
72
|
+
totals: zod_1.z.record(zod_1.z.number()).optional(),
|
|
73
|
+
withdrawnDate: entity_1.ISODateTimeOptionalSchema,
|
|
74
|
+
});
|
|
75
|
+
exports.euQueueSchema = sharedQueueSchema.extend({
|
|
76
|
+
address: entity_1.OptionalStringSchema,
|
|
77
|
+
constructionDate: entity_1.ISODateTimeOptionalSchema,
|
|
78
|
+
country: zod_1.z.string(),
|
|
79
|
+
developmentStatus: entity_1.OptionalStringSchema,
|
|
80
|
+
geo: entity_1.GeoEuSchema.optional(),
|
|
21
81
|
localCounty: entity_1.OptionalStringSchema,
|
|
22
82
|
localRegion: entity_1.OptionalStringSchema,
|
|
23
83
|
localState: entity_1.OptionalStringSchema,
|
|
24
84
|
localTown: entity_1.OptionalStringSchema,
|
|
25
85
|
mwGross: entity_1.OptionalNumberSchema,
|
|
26
86
|
mwNet: entity_1.OptionalNumberSchema,
|
|
27
|
-
|
|
28
|
-
plannedOperationalDate: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
29
|
-
planningAuthority: entity_1.OptionalStringSchema,
|
|
30
|
-
planningGranted: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
87
|
+
planningGranted: entity_1.ISODateTimeOptionalSchema,
|
|
31
88
|
postalCode: entity_1.OptionalStringSchema,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
reportDate: entity_1.YYYYMMDDRegexSchema,
|
|
37
|
-
sectorDetail: entity_1.OptionalStringSchema,
|
|
38
|
-
sectors: entity_1.EntityItemArraySchema,
|
|
39
|
-
sourceUpdate: entity_1.YYYYMMDDRegexSchema,
|
|
89
|
+
queueDate: entity_1.ISODateTimeOptionalSchema,
|
|
90
|
+
refId: zod_1.z.string(),
|
|
91
|
+
sectorDetail: zod_1.z.string().default(''),
|
|
92
|
+
sourceUpdate: entity_1.ISODateTimeOptionalSchema,
|
|
40
93
|
status: zod_1.z.string(),
|
|
41
94
|
storageCapacity: entity_1.OptionalNumberSchema,
|
|
42
95
|
storageType: entity_1.OptionalStringSchema,
|
|
43
96
|
technology: entity_1.OptionalStringSchema,
|
|
44
97
|
totalMw: entity_1.OptionalNumberSchema,
|
|
45
98
|
windFarmName: entity_1.OptionalStringSchema,
|
|
46
|
-
withdrawnDate: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
47
99
|
});
|
|
100
|
+
exports.usQueueSchema = sharedQueueSchema.extend({
|
|
101
|
+
'#developers': zod_1.z.array(zod_1.z.string()).optional(),
|
|
102
|
+
'#keyPeople': zod_1.z.array(zod_1.z.string()).optional(),
|
|
103
|
+
applicationType: entity_1.OptionalStringSchema,
|
|
104
|
+
city: entity_1.EntityItemSchema.optional(),
|
|
105
|
+
compositeQueue: zod_1.z.string(),
|
|
106
|
+
cost: CostSchema.optional(),
|
|
107
|
+
country: entity_1.EntityItemArraySchema,
|
|
108
|
+
county: entity_1.EntityItemSchema.optional(),
|
|
109
|
+
dateAddedToNpm: entity_1.FlexibleDateRegexOptionalSchema,
|
|
110
|
+
dateCreated: entity_1.YYYYMMDDRegexSchema,
|
|
111
|
+
geo: entity_1.GeoUsSchema.optional(),
|
|
112
|
+
interconnectingEntity: entity_1.OptionalStringSchema,
|
|
113
|
+
isoRtoConnection: entity_1.EntityItemSchema.optional(),
|
|
114
|
+
keyPeople: zod_1.z.array(KeyPeopleSchema).optional(),
|
|
115
|
+
kV: entity_1.OptionalNumberSchema,
|
|
116
|
+
meta: MetaSchema,
|
|
117
|
+
nearestTownOrCounty: entity_1.OptionalStringSchema,
|
|
118
|
+
newToQ: entity_1.ISODateTimeOptionalSchema,
|
|
119
|
+
npmOrganizationProfile: entity_1.EntityItemSchema.optional(),
|
|
120
|
+
totalMw: zod_1.z.number(),
|
|
121
|
+
poiLocation: entity_1.OptionalStringSchema,
|
|
122
|
+
processInfo: ProcessInfoSchema.optional(),
|
|
123
|
+
queueDatasetType: zod_1.z.string(),
|
|
124
|
+
queueKey: zod_1.z.string(),
|
|
125
|
+
sourceUpdate: zod_1.z.string(),
|
|
126
|
+
reportCount: entity_1.OptionalNumberSchema,
|
|
127
|
+
state: entity_1.EntityItemSchema.optional(),
|
|
128
|
+
tags: zod_1.z.array(entity_1.IdentifierOnlyEntityItemSchema).optional(),
|
|
129
|
+
utility: entity_1.EntityItemSchema.optional(),
|
|
130
|
+
});
|
|
131
|
+
exports.QueueSchema = exports.usQueueSchema.or(exports.euQueueSchema);
|
|
48
132
|
//# sourceMappingURL=queues.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queues.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/queues.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,
|
|
1
|
+
{"version":3,"file":"queues.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/queues.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qCAaiB;AAEjB,MAAM,UAAU,GAA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AE,6BAAoB;IACxB,IAAI,EAAE,UAAU;IAChB,mBAAmB,EAAE,6BAAoB;IACzC,MAAM,EAAE,kCAAyB;IACjC,sBAAsB,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IACnD,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,6BAAoB;IACjC,WAAW,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IACzC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,6BAAoB;IACjC,KAAK,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,uCAA8B,CAAC,CAAC,QAAQ,EAAE;IACxD,OAAO,EAAE,yBAAgB,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAA;AAIW,QAAA,WAAW,GAAG,qBAAa,CAAC,EAAE,CAAC,qBAAa,CAAC,CAAA"}
|
|
@@ -177,15 +177,15 @@ declare const signal: z.ZodObject<{
|
|
|
177
177
|
lat?: number;
|
|
178
178
|
lon?: number;
|
|
179
179
|
};
|
|
180
|
-
|
|
180
|
+
default?: {
|
|
181
181
|
lat?: number;
|
|
182
182
|
lon?: number;
|
|
183
183
|
};
|
|
184
|
-
|
|
184
|
+
defaultValue?: string;
|
|
185
|
+
location?: {
|
|
185
186
|
lat?: number;
|
|
186
187
|
lon?: number;
|
|
187
188
|
};
|
|
188
|
-
defaultValue?: string;
|
|
189
189
|
facility?: {
|
|
190
190
|
lat?: number;
|
|
191
191
|
lon?: number;
|
|
@@ -195,15 +195,15 @@ declare const signal: z.ZodObject<{
|
|
|
195
195
|
lat?: number;
|
|
196
196
|
lon?: number;
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
default?: {
|
|
199
199
|
lat?: number;
|
|
200
200
|
lon?: number;
|
|
201
201
|
};
|
|
202
|
-
|
|
202
|
+
defaultValue?: string;
|
|
203
|
+
location?: {
|
|
203
204
|
lat?: number;
|
|
204
205
|
lon?: number;
|
|
205
206
|
};
|
|
206
|
-
defaultValue?: string;
|
|
207
207
|
facility?: {
|
|
208
208
|
lat?: number;
|
|
209
209
|
lon?: number;
|
|
@@ -214,14 +214,17 @@ declare const signal: z.ZodObject<{
|
|
|
214
214
|
id: z.ZodString;
|
|
215
215
|
}, {
|
|
216
216
|
role: z.ZodString;
|
|
217
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
217
218
|
}>, "strip", z.ZodTypeAny, {
|
|
218
219
|
id?: string;
|
|
219
220
|
identifier?: string;
|
|
220
221
|
role?: string;
|
|
222
|
+
ref?: string;
|
|
221
223
|
}, {
|
|
222
224
|
id?: string;
|
|
223
225
|
identifier?: string;
|
|
224
226
|
role?: string;
|
|
227
|
+
ref?: string;
|
|
225
228
|
}>, "many">>;
|
|
226
229
|
keyPeople: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
230
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -531,6 +534,7 @@ declare const signal: z.ZodObject<{
|
|
|
531
534
|
id?: string;
|
|
532
535
|
identifier?: string;
|
|
533
536
|
role?: string;
|
|
537
|
+
ref?: string;
|
|
534
538
|
}[];
|
|
535
539
|
queueApplications?: {
|
|
536
540
|
id?: string;
|
|
@@ -570,15 +574,15 @@ declare const signal: z.ZodObject<{
|
|
|
570
574
|
lat?: number;
|
|
571
575
|
lon?: number;
|
|
572
576
|
};
|
|
573
|
-
|
|
577
|
+
default?: {
|
|
574
578
|
lat?: number;
|
|
575
579
|
lon?: number;
|
|
576
580
|
};
|
|
577
|
-
|
|
581
|
+
defaultValue?: string;
|
|
582
|
+
location?: {
|
|
578
583
|
lat?: number;
|
|
579
584
|
lon?: number;
|
|
580
585
|
};
|
|
581
|
-
defaultValue?: string;
|
|
582
586
|
facility?: {
|
|
583
587
|
lat?: number;
|
|
584
588
|
lon?: number;
|
|
@@ -695,6 +699,7 @@ declare const signal: z.ZodObject<{
|
|
|
695
699
|
id?: string;
|
|
696
700
|
identifier?: string;
|
|
697
701
|
role?: string;
|
|
702
|
+
ref?: string;
|
|
698
703
|
}[];
|
|
699
704
|
queueApplications?: {
|
|
700
705
|
id?: string;
|
|
@@ -734,15 +739,15 @@ declare const signal: z.ZodObject<{
|
|
|
734
739
|
lat?: number;
|
|
735
740
|
lon?: number;
|
|
736
741
|
};
|
|
737
|
-
|
|
742
|
+
default?: {
|
|
738
743
|
lat?: number;
|
|
739
744
|
lon?: number;
|
|
740
745
|
};
|
|
741
|
-
|
|
746
|
+
defaultValue?: string;
|
|
747
|
+
location?: {
|
|
742
748
|
lat?: number;
|
|
743
749
|
lon?: number;
|
|
744
750
|
};
|
|
745
|
-
defaultValue?: string;
|
|
746
751
|
facility?: {
|
|
747
752
|
lat?: number;
|
|
748
753
|
lon?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InfiniteData, QueryObserverResult, UseInfiniteQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { ClientApiListRequestQueryParams, ClientApiListResponse,
|
|
3
|
-
export type Entity = Signal |
|
|
4
|
-
export type InfiniteQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean) => UseInfiniteQueryResult<InfiniteData<ClientApiListResponse<Entity>, unknown>, Error>;
|
|
2
|
+
import { ClientApiListRequestQueryParams, ClientApiListResponse, EUQueueType, Signal } from './api';
|
|
3
|
+
export type Entity = Signal | EUQueueType;
|
|
4
|
+
export type InfiniteQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean, customFilter?: ClientApiListRequestQueryParams['filters']) => UseInfiniteQueryResult<InfiniteData<ClientApiListResponse<Entity>, unknown>, Error>;
|
|
5
5
|
export type ReportQueryClient = (queryParams: ClientApiListRequestQueryParams) => Promise<ClientApiListResponse<Entity>>;
|
|
6
6
|
export type RefetchResult = Promise<QueryObserverResult<InfiniteData<ClientApiListResponse<Entity>, unknown>, Error>>;
|
|
7
7
|
export type ExtendedColumnFilter = {
|