@new-project-media/client-frontends-shared-types 2.0.20 → 2.0.22
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": "2.0.
|
|
3
|
+
"version": "2.0.22",
|
|
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/",
|
|
@@ -3,6 +3,56 @@ export declare enum RegionType {
|
|
|
3
3
|
Europe = "EUROPE",
|
|
4
4
|
NA = "NA"
|
|
5
5
|
}
|
|
6
|
+
declare const PowerWithStorageSchema: z.ZodObject<{
|
|
7
|
+
value: z.ZodNumber;
|
|
8
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
9
|
+
} & {
|
|
10
|
+
identifier: z.ZodEnum<["onsiteGeneration", "backupGeneration"]>;
|
|
11
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
value: z.ZodNumber;
|
|
13
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
value?: number;
|
|
16
|
+
unit?: string;
|
|
17
|
+
}, {
|
|
18
|
+
value?: number;
|
|
19
|
+
unit?: string;
|
|
20
|
+
}>>;
|
|
21
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
identifier: z.ZodString;
|
|
23
|
+
id: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
id?: string;
|
|
26
|
+
identifier?: string;
|
|
27
|
+
}, {
|
|
28
|
+
id?: string;
|
|
29
|
+
identifier?: string;
|
|
30
|
+
}>, "many">>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
sectors?: {
|
|
33
|
+
id?: string;
|
|
34
|
+
identifier?: string;
|
|
35
|
+
}[];
|
|
36
|
+
identifier?: "onsiteGeneration" | "backupGeneration";
|
|
37
|
+
value?: number;
|
|
38
|
+
unit?: string;
|
|
39
|
+
storage?: {
|
|
40
|
+
value?: number;
|
|
41
|
+
unit?: string;
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
sectors?: {
|
|
45
|
+
id?: string;
|
|
46
|
+
identifier?: string;
|
|
47
|
+
}[];
|
|
48
|
+
identifier?: "onsiteGeneration" | "backupGeneration";
|
|
49
|
+
value?: number;
|
|
50
|
+
unit?: string;
|
|
51
|
+
storage?: {
|
|
52
|
+
value?: number;
|
|
53
|
+
unit?: string;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
6
56
|
export declare const DataCenterSchema: z.ZodObject<{
|
|
7
57
|
'#developers': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8
58
|
'#epcs': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1045,4 +1095,6 @@ export declare const DataCenterSchema: z.ZodObject<{
|
|
|
1045
1095
|
};
|
|
1046
1096
|
substation?: string;
|
|
1047
1097
|
}>;
|
|
1098
|
+
export type PowerWithStorage = z.infer<typeof PowerWithStorageSchema>;
|
|
1048
1099
|
export type DataCenter = z.infer<typeof DataCenterSchema>;
|
|
1100
|
+
export {};
|