@new-project-media/client-frontends-shared-types 3.2.0 → 3.2.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@new-project-media/client-frontends-shared-types",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
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/",
|
|
@@ -160,7 +160,7 @@ export declare const euQueueListWithSortSchemaV1: z.ZodObject<{
|
|
|
160
160
|
status: z.ZodOptional<z.ZodString>;
|
|
161
161
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
162
162
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
163
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
163
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
164
164
|
}, z.core.$strict>;
|
|
165
165
|
export declare const usQueueListWithSortSchemaV1: z.ZodObject<{
|
|
166
166
|
id: z.ZodString;
|
|
@@ -229,7 +229,7 @@ export declare const usQueueListWithSortSchemaV1: z.ZodObject<{
|
|
|
229
229
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
230
230
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
231
231
|
withdrawnDate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
232
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
232
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
233
233
|
}, z.core.$strict>;
|
|
234
234
|
export declare const queueListSchemaV1: z.ZodUnion<[z.ZodObject<{
|
|
235
235
|
id: z.ZodString;
|
|
@@ -275,7 +275,7 @@ export declare const queueListSchemaV1: z.ZodUnion<[z.ZodObject<{
|
|
|
275
275
|
status: z.ZodOptional<z.ZodString>;
|
|
276
276
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
277
277
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
278
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
278
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
279
279
|
}, z.core.$strict>, z.ZodObject<{
|
|
280
280
|
id: z.ZodString;
|
|
281
281
|
schema: z.ZodLiteral<"us_queue">;
|
|
@@ -343,7 +343,7 @@ export declare const queueListSchemaV1: z.ZodUnion<[z.ZodObject<{
|
|
|
343
343
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
344
344
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
345
345
|
withdrawnDate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
346
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
346
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
347
347
|
}, z.core.$strict>]>;
|
|
348
348
|
export declare const queueListUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
349
349
|
id: z.ZodString;
|
|
@@ -389,7 +389,7 @@ export declare const queueListUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
389
389
|
status: z.ZodOptional<z.ZodString>;
|
|
390
390
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
391
391
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
392
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
392
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
393
393
|
}, z.core.$strict>, z.ZodObject<{
|
|
394
394
|
id: z.ZodString;
|
|
395
395
|
schema: z.ZodLiteral<"us_queue">;
|
|
@@ -457,7 +457,7 @@ export declare const queueListUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
457
457
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
458
458
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
459
459
|
withdrawnDate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
460
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
460
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
461
461
|
}, z.core.$strict>], "schema">;
|
|
462
462
|
export declare const queueListBaseUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
463
463
|
id: z.ZodString;
|
|
@@ -715,14 +715,14 @@ export declare const usQueueDetailsSchemaV1: z.ZodObject<{
|
|
|
715
715
|
}, z.core.$strip>>;
|
|
716
716
|
eventCount: z.ZodNumber;
|
|
717
717
|
eventHash: z.ZodString;
|
|
718
|
-
fromValue: z.ZodOptional<z.
|
|
718
|
+
fromValue: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
719
719
|
key: z.ZodString;
|
|
720
720
|
label: z.ZodString;
|
|
721
721
|
reportDate: z.ZodString;
|
|
722
722
|
searchKey: z.ZodString;
|
|
723
723
|
stage: z.ZodString;
|
|
724
724
|
state: z.ZodString;
|
|
725
|
-
toValue: z.
|
|
725
|
+
toValue: z.ZodCoercedString<unknown>;
|
|
726
726
|
type: z.ZodString;
|
|
727
727
|
}, z.core.$strip>>>;
|
|
728
728
|
organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -900,14 +900,14 @@ export declare const queueDetailsSchemaV1: z.ZodUnion<[z.ZodObject<{
|
|
|
900
900
|
}, z.core.$strip>>;
|
|
901
901
|
eventCount: z.ZodNumber;
|
|
902
902
|
eventHash: z.ZodString;
|
|
903
|
-
fromValue: z.ZodOptional<z.
|
|
903
|
+
fromValue: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
904
904
|
key: z.ZodString;
|
|
905
905
|
label: z.ZodString;
|
|
906
906
|
reportDate: z.ZodString;
|
|
907
907
|
searchKey: z.ZodString;
|
|
908
908
|
stage: z.ZodString;
|
|
909
909
|
state: z.ZodString;
|
|
910
|
-
toValue: z.
|
|
910
|
+
toValue: z.ZodCoercedString<unknown>;
|
|
911
911
|
type: z.ZodString;
|
|
912
912
|
}, z.core.$strip>>>;
|
|
913
913
|
organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1085,14 +1085,14 @@ export declare const queueDetailsUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1085
1085
|
}, z.core.$strip>>;
|
|
1086
1086
|
eventCount: z.ZodNumber;
|
|
1087
1087
|
eventHash: z.ZodString;
|
|
1088
|
-
fromValue: z.ZodOptional<z.
|
|
1088
|
+
fromValue: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
1089
1089
|
key: z.ZodString;
|
|
1090
1090
|
label: z.ZodString;
|
|
1091
1091
|
reportDate: z.ZodString;
|
|
1092
1092
|
searchKey: z.ZodString;
|
|
1093
1093
|
stage: z.ZodString;
|
|
1094
1094
|
state: z.ZodString;
|
|
1095
|
-
toValue: z.
|
|
1095
|
+
toValue: z.ZodCoercedString<unknown>;
|
|
1096
1096
|
type: z.ZodString;
|
|
1097
1097
|
}, z.core.$strip>>>;
|
|
1098
1098
|
organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1288,14 +1288,14 @@ export declare const usQueueAPISchemaV1: z.ZodObject<{
|
|
|
1288
1288
|
}, z.core.$strip>>;
|
|
1289
1289
|
eventCount: z.ZodNumber;
|
|
1290
1290
|
eventHash: z.ZodString;
|
|
1291
|
-
fromValue: z.ZodOptional<z.
|
|
1291
|
+
fromValue: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
1292
1292
|
key: z.ZodString;
|
|
1293
1293
|
label: z.ZodString;
|
|
1294
1294
|
reportDate: z.ZodString;
|
|
1295
1295
|
searchKey: z.ZodString;
|
|
1296
1296
|
stage: z.ZodString;
|
|
1297
1297
|
state: z.ZodString;
|
|
1298
|
-
toValue: z.
|
|
1298
|
+
toValue: z.ZodCoercedString<unknown>;
|
|
1299
1299
|
type: z.ZodString;
|
|
1300
1300
|
}, z.core.$strip>>>;
|
|
1301
1301
|
poi: z.ZodOptional<z.ZodObject<{
|
|
@@ -1547,14 +1547,14 @@ export declare const queueAPISchemaV1: z.ZodUnion<[z.ZodObject<{
|
|
|
1547
1547
|
}, z.core.$strip>>;
|
|
1548
1548
|
eventCount: z.ZodNumber;
|
|
1549
1549
|
eventHash: z.ZodString;
|
|
1550
|
-
fromValue: z.ZodOptional<z.
|
|
1550
|
+
fromValue: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
1551
1551
|
key: z.ZodString;
|
|
1552
1552
|
label: z.ZodString;
|
|
1553
1553
|
reportDate: z.ZodString;
|
|
1554
1554
|
searchKey: z.ZodString;
|
|
1555
1555
|
stage: z.ZodString;
|
|
1556
1556
|
state: z.ZodString;
|
|
1557
|
-
toValue: z.
|
|
1557
|
+
toValue: z.ZodCoercedString<unknown>;
|
|
1558
1558
|
type: z.ZodString;
|
|
1559
1559
|
}, z.core.$strip>>>;
|
|
1560
1560
|
poi: z.ZodOptional<z.ZodObject<{
|
|
@@ -1732,14 +1732,14 @@ export declare const queueAPIUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1732
1732
|
}, z.core.$strip>>;
|
|
1733
1733
|
eventCount: z.ZodNumber;
|
|
1734
1734
|
eventHash: z.ZodString;
|
|
1735
|
-
fromValue: z.ZodOptional<z.
|
|
1735
|
+
fromValue: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
1736
1736
|
key: z.ZodString;
|
|
1737
1737
|
label: z.ZodString;
|
|
1738
1738
|
reportDate: z.ZodString;
|
|
1739
1739
|
searchKey: z.ZodString;
|
|
1740
1740
|
stage: z.ZodString;
|
|
1741
1741
|
state: z.ZodString;
|
|
1742
|
-
toValue: z.
|
|
1742
|
+
toValue: z.ZodCoercedString<unknown>;
|
|
1743
1743
|
type: z.ZodString;
|
|
1744
1744
|
}, z.core.$strip>>>;
|
|
1745
1745
|
poi: z.ZodOptional<z.ZodObject<{
|
|
@@ -1962,7 +1962,7 @@ export declare const euQueueExportSchemaV1: z.ZodObject<{
|
|
|
1962
1962
|
status: z.ZodOptional<z.ZodString>;
|
|
1963
1963
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
1964
1964
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1965
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
1965
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
1966
1966
|
sectors: z.ZodArray<z.ZodObject<{
|
|
1967
1967
|
identifier: z.ZodString;
|
|
1968
1968
|
id: z.ZodString;
|
|
@@ -2035,7 +2035,7 @@ export declare const usQueueExportSchemaV1: z.ZodObject<{
|
|
|
2035
2035
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
2036
2036
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2037
2037
|
withdrawnDate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
2038
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
2038
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
2039
2039
|
}, z.core.$strict>;
|
|
2040
2040
|
export declare const queueExportUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2041
2041
|
id: z.ZodString;
|
|
@@ -2081,7 +2081,7 @@ export declare const queueExportUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2081
2081
|
status: z.ZodOptional<z.ZodString>;
|
|
2082
2082
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
2083
2083
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2084
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
2084
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
2085
2085
|
sectors: z.ZodArray<z.ZodObject<{
|
|
2086
2086
|
identifier: z.ZodString;
|
|
2087
2087
|
id: z.ZodString;
|
|
@@ -2153,7 +2153,7 @@ export declare const queueExportUnionSchemaV1: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2153
2153
|
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
2154
2154
|
totals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2155
2155
|
withdrawnDate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
2156
|
-
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNumber], null>;
|
|
2156
|
+
sort: z.ZodTuple<[z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>, z.ZodNumber], null>;
|
|
2157
2157
|
}, z.core.$strict>], "schema">;
|
|
2158
2158
|
export type QueueExportUnionTypeV1 = z.infer<typeof queueExportUnionSchemaV1>;
|
|
2159
2159
|
export type EUQueueExportTypeV1 = z.infer<typeof euQueueExportSchemaV1>;
|
|
@@ -47,14 +47,14 @@ const milestoneSchema = zod_1.z.object({
|
|
|
47
47
|
entries: zod_1.z.array(milestoneEntrySchema),
|
|
48
48
|
eventCount: zod_1.z.number(),
|
|
49
49
|
eventHash: zod_1.z.string(),
|
|
50
|
-
fromValue:
|
|
50
|
+
fromValue: zod_1.z.coerce.string().optional(),
|
|
51
51
|
key: zod_1.z.string(),
|
|
52
52
|
label: zod_1.z.string(),
|
|
53
53
|
reportDate: zod_1.z.string(),
|
|
54
54
|
searchKey: zod_1.z.string(),
|
|
55
55
|
stage: zod_1.z.string(),
|
|
56
56
|
state: zod_1.z.string(),
|
|
57
|
-
toValue: zod_1.z.string(),
|
|
57
|
+
toValue: zod_1.z.coerce.string(),
|
|
58
58
|
type: zod_1.z.string(),
|
|
59
59
|
});
|
|
60
60
|
const eventTypeSchema = zod_1.z.enum(['add', 'update']);
|
|
@@ -106,8 +106,12 @@ exports.baseQueueSchemaV1 = zod_1.z.object({
|
|
|
106
106
|
id: zod_1.z.string(),
|
|
107
107
|
schema: zod_1.z.string(),
|
|
108
108
|
});
|
|
109
|
-
const baseEUQueueSchema = exports.baseQueueSchemaV1.extend({
|
|
110
|
-
|
|
109
|
+
const baseEUQueueSchema = exports.baseQueueSchemaV1.extend({
|
|
110
|
+
schema: zod_1.z.literal('eu_queue'),
|
|
111
|
+
});
|
|
112
|
+
const baseUSQueueSchema = exports.baseQueueSchemaV1.extend({
|
|
113
|
+
schema: zod_1.z.literal('us_queue'),
|
|
114
|
+
});
|
|
111
115
|
// List
|
|
112
116
|
exports.euQueueListSchemaV1 = baseEUQueueSchema
|
|
113
117
|
.extend({
|
|
@@ -160,10 +164,10 @@ exports.usQueueListSchemaV1 = baseUSQueueSchema
|
|
|
160
164
|
})
|
|
161
165
|
.strict();
|
|
162
166
|
exports.euQueueListWithSortSchemaV1 = exports.euQueueListSchemaV1.extend({
|
|
163
|
-
sort: zod_1.z.tuple([zod_1.z.union([zod_1.z.number(), zod_1.z.string()]), zod_1.z.number()]),
|
|
167
|
+
sort: zod_1.z.tuple([zod_1.z.union([zod_1.z.number(), zod_1.z.string(), zod_1.z.null()]), zod_1.z.number()]),
|
|
164
168
|
});
|
|
165
169
|
exports.usQueueListWithSortSchemaV1 = exports.usQueueListSchemaV1.extend({
|
|
166
|
-
sort: zod_1.z.tuple([zod_1.z.union([zod_1.z.number(), zod_1.z.string()]), zod_1.z.number()]),
|
|
170
|
+
sort: zod_1.z.tuple([zod_1.z.union([zod_1.z.number(), zod_1.z.string(), zod_1.z.null()]), zod_1.z.number()]),
|
|
167
171
|
});
|
|
168
172
|
exports.queueListSchemaV1 = exports.euQueueListWithSortSchemaV1.or(exports.usQueueListWithSortSchemaV1);
|
|
169
173
|
exports.queueListUnionSchemaV1 = zod_1.z.discriminatedUnion('schema', [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/queues/v1.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAQkB;AAElB,iBAAiB;AACjB,MAAM,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,OAAC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AAK,CAAC,oBAAoB,CAAC;IACtC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/queues/v1.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAQkB;AAElB,iBAAiB;AACjB,MAAM,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAA;AAEF,MAAM,SAAS,GAAG,OAAC,CAAC,MAAM,CAAC;IACzB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,EAAE,EAAE,6BAAoB;IACxB,IAAI,EAAE,6BAAoB;IAC1B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAA;AAEF,MAAM,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/B,OAAO,EAAE,kCAAyB;IAClC,KAAK,EAAE,6BAAoB;IAC3B,QAAQ,EAAE,6BAAoB;IAC9B,EAAE,EAAE,6BAAoB;IACxB,WAAW,EAAE,6BAAoB;IACjC,KAAK,EAAE,6BAAoB;IAC3B,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,6BAAoB,CAAC;IACpC,MAAM,EAAE,6BAAoB;CAC7B,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,WAAW,EAAE,6BAAoB;IACjC,KAAK,EAAE,6BAAoB;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CACtB,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InfiniteData, QueryObserverResult, UseInfiniteQueryResult, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { ClientApiListRequestQueryParams, ClientApiListResponse, DataCenter,
|
|
3
|
-
export type Entity = Signal |
|
|
2
|
+
import { ClientApiListRequestQueryParams, ClientApiListResponse, DataCenter, QueueListType, Signal } from './api';
|
|
3
|
+
export type Entity = Signal | QueueListType | DataCenter;
|
|
4
4
|
export type InfiniteQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean, customFilters?: ClientApiListRequestQueryParams['filters']) => UseInfiniteQueryResult<InfiniteData<ClientApiListResponse<Entity>, unknown>, Error>;
|
|
5
5
|
export type ReportQueryClient = (queryParams: ClientApiListRequestQueryParams, customFilters?: ClientApiListRequestQueryParams['filters']) => Promise<ClientApiListResponse<Entity>>;
|
|
6
6
|
export type CenterpointQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean, customFilters?: ClientApiListRequestQueryParams['filters']) => UseQueryResult<ClientApiListResponse<Entity>, Error>;
|