@new-project-media/client-frontends-shared-types 2.0.17 → 2.0.18
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/dataCenters.d.ts +47 -26
- package/src/lib/dataGrid/api/dataCenters.js +9 -8
- package/src/lib/dataGrid/api/dataCenters.js.map +1 -1
- package/src/lib/dataGrid/api/entity.d.ts +55 -0
- package/src/lib/dataGrid/api/entity.js +7 -1
- package/src/lib/dataGrid/api/entity.js.map +1 -1
- package/src/lib/dataGrid/dataGrid.d.ts +2 -2
- package/src/lib/dataGrid/dataGrid.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@new-project-media/client-frontends-shared-types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
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/",
|
|
@@ -5,6 +5,7 @@ export declare enum RegionType {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const DataCenterSchema: z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
|
+
country: z.ZodOptional<z.ZodString>;
|
|
8
9
|
audiences: z.ZodArray<z.ZodObject<{
|
|
9
10
|
identifier: z.ZodString;
|
|
10
11
|
id: z.ZodString;
|
|
@@ -15,7 +16,7 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
15
16
|
id?: string;
|
|
16
17
|
identifier?: string;
|
|
17
18
|
}>, "many">;
|
|
18
|
-
allSectors: z.
|
|
19
|
+
allSectors: z.ZodOptional<z.ZodString>;
|
|
19
20
|
showProject: z.ZodBoolean;
|
|
20
21
|
projectName: z.ZodString;
|
|
21
22
|
substation: z.ZodOptional<z.ZodString>;
|
|
@@ -257,6 +258,8 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
257
258
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
258
259
|
}>>;
|
|
259
260
|
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
enabled?: boolean;
|
|
262
|
+
description?: string;
|
|
260
263
|
powerCapacity?: {
|
|
261
264
|
sectors?: {
|
|
262
265
|
id?: string;
|
|
@@ -265,9 +268,9 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
265
268
|
value?: number;
|
|
266
269
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
267
270
|
};
|
|
271
|
+
}, {
|
|
268
272
|
enabled?: boolean;
|
|
269
273
|
description?: string;
|
|
270
|
-
}, {
|
|
271
274
|
powerCapacity?: {
|
|
272
275
|
sectors?: {
|
|
273
276
|
id?: string;
|
|
@@ -276,8 +279,6 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
276
279
|
value?: number;
|
|
277
280
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
278
281
|
};
|
|
279
|
-
enabled?: boolean;
|
|
280
|
-
description?: string;
|
|
281
282
|
}>>;
|
|
282
283
|
totals: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
283
284
|
offtaker: z.ZodOptional<z.ZodNumber>;
|
|
@@ -555,6 +556,12 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
555
556
|
identifier?: string;
|
|
556
557
|
}>, "many">;
|
|
557
558
|
modified: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
559
|
+
'#developers': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
560
|
+
'#epcs': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
561
|
+
'#utilities': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
562
|
+
localCity: z.ZodOptional<z.ZodString>;
|
|
563
|
+
localState: z.ZodOptional<z.ZodString>;
|
|
564
|
+
localCounty: z.ZodOptional<z.ZodString>;
|
|
558
565
|
}, "strip", z.ZodTypeAny, {
|
|
559
566
|
sectors?: {
|
|
560
567
|
id?: string;
|
|
@@ -594,6 +601,7 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
594
601
|
id?: string;
|
|
595
602
|
identifier?: string;
|
|
596
603
|
}[];
|
|
604
|
+
country?: string;
|
|
597
605
|
created?: string;
|
|
598
606
|
organizations?: {
|
|
599
607
|
id?: string;
|
|
@@ -608,7 +616,15 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
608
616
|
applicationId?: string;
|
|
609
617
|
queueDataset?: string;
|
|
610
618
|
}[];
|
|
611
|
-
|
|
619
|
+
powerCapacity?: {
|
|
620
|
+
sectors?: {
|
|
621
|
+
id?: string;
|
|
622
|
+
identifier?: string;
|
|
623
|
+
}[];
|
|
624
|
+
value?: number;
|
|
625
|
+
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
626
|
+
};
|
|
627
|
+
allSectors?: string;
|
|
612
628
|
audiences?: {
|
|
613
629
|
id?: string;
|
|
614
630
|
identifier?: string;
|
|
@@ -645,6 +661,8 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
645
661
|
developer?: number;
|
|
646
662
|
intels?: number;
|
|
647
663
|
};
|
|
664
|
+
localCounty?: string;
|
|
665
|
+
localState?: string;
|
|
648
666
|
plannedOperationalDate?: string;
|
|
649
667
|
projectName?: string;
|
|
650
668
|
cost?: {
|
|
@@ -660,14 +678,6 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
660
678
|
internalNotes?: string;
|
|
661
679
|
externalNotes?: string;
|
|
662
680
|
region?: RegionType;
|
|
663
|
-
powerCapacity?: {
|
|
664
|
-
sectors?: {
|
|
665
|
-
id?: string;
|
|
666
|
-
identifier?: string;
|
|
667
|
-
}[];
|
|
668
|
-
value?: number;
|
|
669
|
-
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
670
|
-
};
|
|
671
681
|
buildingSize?: {
|
|
672
682
|
value?: number;
|
|
673
683
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
@@ -691,6 +701,8 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
691
701
|
};
|
|
692
702
|
};
|
|
693
703
|
onsiteGeneration?: {
|
|
704
|
+
enabled?: boolean;
|
|
705
|
+
description?: string;
|
|
694
706
|
powerCapacity?: {
|
|
695
707
|
sectors?: {
|
|
696
708
|
id?: string;
|
|
@@ -699,8 +711,6 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
699
711
|
value?: number;
|
|
700
712
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
701
713
|
};
|
|
702
|
-
enabled?: boolean;
|
|
703
|
-
description?: string;
|
|
704
714
|
};
|
|
705
715
|
intel?: {
|
|
706
716
|
id?: string;
|
|
@@ -711,6 +721,10 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
711
721
|
identifier?: string;
|
|
712
722
|
}[];
|
|
713
723
|
modified?: string;
|
|
724
|
+
'#developers'?: string[];
|
|
725
|
+
'#epcs'?: string[];
|
|
726
|
+
'#utilities'?: string[];
|
|
727
|
+
localCity?: string;
|
|
714
728
|
}, {
|
|
715
729
|
sectors?: {
|
|
716
730
|
id?: string;
|
|
@@ -750,6 +764,7 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
750
764
|
id?: string;
|
|
751
765
|
identifier?: string;
|
|
752
766
|
}[];
|
|
767
|
+
country?: string;
|
|
753
768
|
created?: string;
|
|
754
769
|
organizations?: {
|
|
755
770
|
id?: string;
|
|
@@ -764,7 +779,15 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
764
779
|
applicationId?: string;
|
|
765
780
|
queueDataset?: string;
|
|
766
781
|
}[];
|
|
767
|
-
|
|
782
|
+
powerCapacity?: {
|
|
783
|
+
sectors?: {
|
|
784
|
+
id?: string;
|
|
785
|
+
identifier?: string;
|
|
786
|
+
}[];
|
|
787
|
+
value?: number;
|
|
788
|
+
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
789
|
+
};
|
|
790
|
+
allSectors?: string;
|
|
768
791
|
audiences?: {
|
|
769
792
|
id?: string;
|
|
770
793
|
identifier?: string;
|
|
@@ -801,6 +824,8 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
801
824
|
developer?: number;
|
|
802
825
|
intels?: number;
|
|
803
826
|
};
|
|
827
|
+
localCounty?: string;
|
|
828
|
+
localState?: string;
|
|
804
829
|
plannedOperationalDate?: string;
|
|
805
830
|
projectName?: string;
|
|
806
831
|
cost?: {
|
|
@@ -816,14 +841,6 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
816
841
|
internalNotes?: string;
|
|
817
842
|
externalNotes?: string;
|
|
818
843
|
region?: RegionType;
|
|
819
|
-
powerCapacity?: {
|
|
820
|
-
sectors?: {
|
|
821
|
-
id?: string;
|
|
822
|
-
identifier?: string;
|
|
823
|
-
}[];
|
|
824
|
-
value?: number;
|
|
825
|
-
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
826
|
-
};
|
|
827
844
|
buildingSize?: {
|
|
828
845
|
value?: number;
|
|
829
846
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
@@ -847,6 +864,8 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
847
864
|
};
|
|
848
865
|
};
|
|
849
866
|
onsiteGeneration?: {
|
|
867
|
+
enabled?: boolean;
|
|
868
|
+
description?: string;
|
|
850
869
|
powerCapacity?: {
|
|
851
870
|
sectors?: {
|
|
852
871
|
id?: string;
|
|
@@ -855,8 +874,6 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
855
874
|
value?: number;
|
|
856
875
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
857
876
|
};
|
|
858
|
-
enabled?: boolean;
|
|
859
|
-
description?: string;
|
|
860
877
|
};
|
|
861
878
|
intel?: {
|
|
862
879
|
id?: string;
|
|
@@ -867,5 +884,9 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
867
884
|
identifier?: string;
|
|
868
885
|
}[];
|
|
869
886
|
modified?: string;
|
|
887
|
+
'#developers'?: string[];
|
|
888
|
+
'#epcs'?: string[];
|
|
889
|
+
'#utilities'?: string[];
|
|
890
|
+
localCity?: string;
|
|
870
891
|
}>;
|
|
871
892
|
export type DataCenter = z.infer<typeof DataCenterSchema>;
|
|
@@ -10,8 +10,9 @@ var RegionType;
|
|
|
10
10
|
})(RegionType || (exports.RegionType = RegionType = {}));
|
|
11
11
|
exports.DataCenterSchema = zod_1.z.object({
|
|
12
12
|
id: zod_1.z.string(),
|
|
13
|
+
country: entity_1.OptionalStringSchema,
|
|
13
14
|
audiences: entity_1.EntityItemArraySchema,
|
|
14
|
-
allSectors:
|
|
15
|
+
allSectors: entity_1.OptionalStringSchema,
|
|
15
16
|
showProject: zod_1.z.boolean(),
|
|
16
17
|
projectName: zod_1.z.string().min(2),
|
|
17
18
|
substation: entity_1.OptionalStringSchema,
|
|
@@ -35,13 +36,7 @@ exports.DataCenterSchema = zod_1.z.object({
|
|
|
35
36
|
storage: entity_1.OptionalNumberWithUnitSchema,
|
|
36
37
|
})
|
|
37
38
|
.optional(),
|
|
38
|
-
onsiteGeneration:
|
|
39
|
-
.object({
|
|
40
|
-
enabled: zod_1.z.boolean().optional(),
|
|
41
|
-
description: entity_1.OptionalStringSchema,
|
|
42
|
-
powerCapacity: entity_1.OptionalNumberWithUnitAndSectorSchema,
|
|
43
|
-
})
|
|
44
|
-
.optional(),
|
|
39
|
+
onsiteGeneration: entity_1.OnsiteGenerationSchema.optional(),
|
|
45
40
|
totals: entity_1.TotalsSchema,
|
|
46
41
|
regions: entity_1.EntityItemArraySchema,
|
|
47
42
|
sectors: entity_1.EntityItemSourceArraySchema.optional(),
|
|
@@ -54,5 +49,11 @@ exports.DataCenterSchema = zod_1.z.object({
|
|
|
54
49
|
created: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
55
50
|
createdBy: entity_1.EntityItemArraySchema,
|
|
56
51
|
modified: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
52
|
+
'#developers': entity_1.OptionalStringArraySchema,
|
|
53
|
+
'#epcs': entity_1.OptionalStringArraySchema,
|
|
54
|
+
'#utilities': entity_1.OptionalStringArraySchema,
|
|
55
|
+
localCity: entity_1.OptionalStringSchema,
|
|
56
|
+
localState: entity_1.OptionalStringSchema,
|
|
57
|
+
localCounty: entity_1.OptionalStringSchema,
|
|
57
58
|
});
|
|
58
59
|
//# sourceMappingURL=dataCenters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataCenters.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/dataCenters.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,
|
|
1
|
+
{"version":3,"file":"dataCenters.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib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IACjC,iBAAiB,EAAE,gCAAuB;IAC1C,KAAK,EAAE,8BAAqB;IAC5B,QAAQ,EAAE,gCAAuB,CAAC,GAAG,CAAC,CAAC,CAAC;IACxC,MAAM,EAAE,8BAAqB,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,OAAO,EAAE,oCAA2B;IACpC,SAAS,EAAE,8BAAqB;IAChC,QAAQ,EAAE,oCAA2B;IACrC,aAAa,EAAE,kCAAyB;IACxC,OAAO,EAAE,kCAAyB;IAClC,YAAY,EAAE,kCAAyB;IACvC,SAAS,EAAE,6BAAoB;IAC/B,UAAU,EAAE,6BAAoB;IAChC,WAAW,EAAE,6BAAoB;CAClC,CAAC,CAAA"}
|
|
@@ -103,6 +103,7 @@ export declare const EntityItemArrayOptionalSchema: z.ZodOptional<z.ZodArray<z.Z
|
|
|
103
103
|
export type EntityItemArrayOptionalSchemaType = z.infer<typeof EntityItemArrayOptionalSchema>;
|
|
104
104
|
export declare const OptionalStringSchema: z.ZodOptional<z.ZodString>;
|
|
105
105
|
export declare const OptionalNumberSchema: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
export declare const OptionalStringArraySchema: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
106
107
|
export declare const ComponentsSchema: z.ZodObject<{
|
|
107
108
|
'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
|
|
108
109
|
'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
|
|
@@ -960,3 +961,57 @@ export declare const OptionalNumberWithUnitAndSectorSchema: z.ZodOptional<z.ZodO
|
|
|
960
961
|
value?: number;
|
|
961
962
|
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
962
963
|
}>>;
|
|
964
|
+
export declare const OnsiteGenerationSchema: z.ZodObject<{
|
|
965
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
966
|
+
description: z.ZodOptional<z.ZodString>;
|
|
967
|
+
powerCapacity: z.ZodOptional<z.ZodObject<{
|
|
968
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
969
|
+
unit: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
|
|
970
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
971
|
+
identifier: z.ZodString;
|
|
972
|
+
id: z.ZodString;
|
|
973
|
+
}, "strip", z.ZodTypeAny, {
|
|
974
|
+
id?: string;
|
|
975
|
+
identifier?: string;
|
|
976
|
+
}, {
|
|
977
|
+
id?: string;
|
|
978
|
+
identifier?: string;
|
|
979
|
+
}>>, "many">>;
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
981
|
+
sectors?: {
|
|
982
|
+
id?: string;
|
|
983
|
+
identifier?: string;
|
|
984
|
+
}[];
|
|
985
|
+
value?: number;
|
|
986
|
+
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
987
|
+
}, {
|
|
988
|
+
sectors?: {
|
|
989
|
+
id?: string;
|
|
990
|
+
identifier?: string;
|
|
991
|
+
}[];
|
|
992
|
+
value?: number;
|
|
993
|
+
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
994
|
+
}>>;
|
|
995
|
+
}, "strip", z.ZodTypeAny, {
|
|
996
|
+
enabled?: boolean;
|
|
997
|
+
description?: string;
|
|
998
|
+
powerCapacity?: {
|
|
999
|
+
sectors?: {
|
|
1000
|
+
id?: string;
|
|
1001
|
+
identifier?: string;
|
|
1002
|
+
}[];
|
|
1003
|
+
value?: number;
|
|
1004
|
+
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
1005
|
+
};
|
|
1006
|
+
}, {
|
|
1007
|
+
enabled?: boolean;
|
|
1008
|
+
description?: string;
|
|
1009
|
+
powerCapacity?: {
|
|
1010
|
+
sectors?: {
|
|
1011
|
+
id?: string;
|
|
1012
|
+
identifier?: string;
|
|
1013
|
+
}[];
|
|
1014
|
+
value?: number;
|
|
1015
|
+
unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
|
|
1016
|
+
};
|
|
1017
|
+
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OptionalNumberWithUnitAndSectorSchema = exports.OptionalNumberWithUnitSchema = exports.FingerprintSchema = exports.TotalsSchema = exports.GeoSchema = exports.geoPoint = exports.defaultValue = exports.DocumentRecordSchema = exports.OptionalDocumentLinkSchema = exports.DocumentLinkSchema = exports.OptionalS3DocumentSchema = exports.DocumentS3RecordSchema = exports.OptionalCoordinateSchema = exports.CoordinateSchema = exports.OptionalAddressSchema = exports.AddressSchema = exports.LinkedPeopleOptionalSchema = exports.LinkedPeopleSchema = exports.QueueJoinOptionalSchema = exports.QueueJoinSchema = exports.ISODateTimeOptionalSchema = exports.ISODateTimeSchema = exports.FlexibleDateRegexOptionalSchema = exports.FlexibleDateRegexSchema = exports.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.LocationItemArraySchema = exports.LocationItemSchema = exports.GeometrySchema = exports.ComponentsSchema = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemSourceArraySchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.EntityItemSourceSchema = exports.OrganizationItemSchema = exports.IdentifierOnlyEntityItemSchema = exports.EntityItemSchema = void 0;
|
|
3
|
+
exports.OnsiteGenerationSchema = exports.OptionalNumberWithUnitAndSectorSchema = exports.OptionalNumberWithUnitSchema = exports.FingerprintSchema = exports.TotalsSchema = exports.GeoSchema = exports.geoPoint = exports.defaultValue = exports.DocumentRecordSchema = exports.OptionalDocumentLinkSchema = exports.DocumentLinkSchema = exports.OptionalS3DocumentSchema = exports.DocumentS3RecordSchema = exports.OptionalCoordinateSchema = exports.CoordinateSchema = exports.OptionalAddressSchema = exports.AddressSchema = exports.LinkedPeopleOptionalSchema = exports.LinkedPeopleSchema = exports.QueueJoinOptionalSchema = exports.QueueJoinSchema = exports.ISODateTimeOptionalSchema = exports.ISODateTimeSchema = exports.FlexibleDateRegexOptionalSchema = exports.FlexibleDateRegexSchema = exports.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.LocationItemArraySchema = exports.LocationItemSchema = exports.GeometrySchema = exports.ComponentsSchema = exports.OptionalStringArraySchema = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemSourceArraySchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.EntityItemSourceSchema = exports.OrganizationItemSchema = exports.IdentifierOnlyEntityItemSchema = exports.EntityItemSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.EntityItemSchema = zod_1.z.object({
|
|
6
6
|
identifier: zod_1.z.string().min(1),
|
|
@@ -20,6 +20,7 @@ exports.EntityItemSourceArraySchema = zod_1.z.array(exports.EntityItemSourceSche
|
|
|
20
20
|
exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema.optional();
|
|
21
21
|
exports.OptionalStringSchema = zod_1.z.string().optional();
|
|
22
22
|
exports.OptionalNumberSchema = zod_1.z.number().optional();
|
|
23
|
+
exports.OptionalStringArraySchema = zod_1.z.string().array().optional();
|
|
23
24
|
exports.ComponentsSchema = zod_1.z.object({
|
|
24
25
|
'ISO_3166-1_alpha-2': zod_1.z.string().optional(),
|
|
25
26
|
'ISO_3166-1_alpha-3': zod_1.z.string().optional(),
|
|
@@ -209,4 +210,9 @@ const NumberWithUnitAndSectorSchema = zod_1.z.object({
|
|
|
209
210
|
.optional(),
|
|
210
211
|
});
|
|
211
212
|
exports.OptionalNumberWithUnitAndSectorSchema = NumberWithUnitAndSectorSchema.optional();
|
|
213
|
+
exports.OnsiteGenerationSchema = zod_1.z.object({
|
|
214
|
+
enabled: zod_1.z.boolean().optional(),
|
|
215
|
+
description: exports.OptionalStringSchema,
|
|
216
|
+
powerCapacity: exports.OptionalNumberWithUnitAndSectorSchema,
|
|
217
|
+
});
|
|
212
218
|
//# sourceMappingURL=entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/entity.ts"],"names":[],"mappings":";;;AAAA,6BAAiC;AAEpB,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACtB,CAAC,CAAA;AAEW,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC9B,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,wBAAgB,CAAC,MAAM,CAAC;IAC5D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,iCACzC,wBAAgB,CAAC,KAAK,KACzB,MAAM,EAAE,OAAC,CAAC,MAAM,EAA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ACN,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,QAAQ;CACf,CAAC,CAAA;AAEW,QAAA,4BAA4B,GAAG,oBAAoB,CAAC,QAAQ,EAAE,CAAA;AAE3E,MAAM,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAC;SACP,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;SACtE,QAAQ,EAAE;CACd,CAAC,CAAA;AAEW,QAAA,qCAAqC,GAChD,6BAA6B,CAAC,QAAQ,EAAE,CAAA;AAE7B,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,WAAW,EAAE,4BAAoB;IACjC,aAAa,EAAE,6CAAqC;CACrD,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InfiniteData, QueryObserverResult, UseInfiniteQueryResult, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { ClientApiListRequestQueryParams, ClientApiListResponse, QueueListUnionType, Signal } from './api';
|
|
3
|
-
export type Entity = Signal | QueueListUnionType;
|
|
2
|
+
import { ClientApiListRequestQueryParams, ClientApiListResponse, DataCenter, QueueListUnionType, Signal } from './api';
|
|
3
|
+
export type Entity = Signal | QueueListUnionType | 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>;
|
|
@@ -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":";;;AAmHA,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,6CAAe,CAAA;IACf,2CAAa,CAAA;AACf,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC"}
|