@new-project-media/client-frontends-shared-types 1.0.1 → 1.0.5
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": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
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,6 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const queue: z.ZodObject<{
|
|
3
|
-
|
|
3
|
+
actualOperationalDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
4
|
+
address: z.ZodOptional<z.ZodString>;
|
|
5
|
+
allSectors: z.ZodString;
|
|
6
|
+
applicationId: z.ZodString;
|
|
7
|
+
constructionDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
4
8
|
country: z.ZodArray<z.ZodObject<{
|
|
5
9
|
identifier: z.ZodString;
|
|
6
10
|
id: z.ZodString;
|
|
@@ -11,11 +15,7 @@ declare const queue: z.ZodObject<{
|
|
|
11
15
|
identifier?: string;
|
|
12
16
|
id?: string;
|
|
13
17
|
}>, "many">;
|
|
14
|
-
|
|
15
|
-
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
16
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
17
|
-
sourceUpdate: z.ZodEffects<z.ZodString, string, string>;
|
|
18
|
-
planningAuthority: z.ZodOptional<z.ZodString>;
|
|
18
|
+
developmentStatus: z.ZodOptional<z.ZodString>;
|
|
19
19
|
geo: z.ZodObject<{
|
|
20
20
|
project: z.ZodObject<{
|
|
21
21
|
lon: z.ZodNumber;
|
|
@@ -38,36 +38,14 @@ declare const queue: z.ZodObject<{
|
|
|
38
38
|
lat?: number;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
|
-
|
|
41
|
+
id: z.ZodString;
|
|
42
42
|
indexed_at: z.ZodEffects<z.ZodString, string, string>;
|
|
43
|
-
queueDate: z.ZodEffects<z.ZodString, string, string>;
|
|
44
|
-
localRegion: z.ZodOptional<z.ZodString>;
|
|
45
|
-
queueDataset: z.ZodOptional<z.ZodString>;
|
|
46
|
-
sectors: z.ZodArray<z.ZodObject<{
|
|
47
|
-
identifier: z.ZodString;
|
|
48
|
-
id: z.ZodString;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
identifier?: string;
|
|
51
|
-
id?: string;
|
|
52
|
-
}, {
|
|
53
|
-
identifier?: string;
|
|
54
|
-
id?: string;
|
|
55
|
-
}>, "many">;
|
|
56
|
-
address: z.ZodOptional<z.ZodString>;
|
|
57
|
-
mwNet: z.ZodOptional<z.ZodNumber>;
|
|
58
|
-
technology: z.ZodOptional<z.ZodString>;
|
|
59
43
|
localCounty: z.ZodOptional<z.ZodString>;
|
|
60
|
-
|
|
61
|
-
allSectors: z.ZodString;
|
|
62
|
-
refId: z.ZodOptional<z.ZodNumber>;
|
|
63
|
-
projectName: z.ZodOptional<z.ZodString>;
|
|
64
|
-
applicationId: z.ZodString;
|
|
65
|
-
constructionDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
66
|
-
status: z.ZodString;
|
|
67
|
-
developmentStatus: z.ZodOptional<z.ZodString>;
|
|
44
|
+
localRegion: z.ZodOptional<z.ZodString>;
|
|
68
45
|
localState: z.ZodOptional<z.ZodString>;
|
|
69
46
|
localTown: z.ZodOptional<z.ZodString>;
|
|
70
47
|
mwGross: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
mwNet: z.ZodOptional<z.ZodNumber>;
|
|
71
49
|
organizations: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
72
50
|
identifier: z.ZodString;
|
|
73
51
|
id: z.ZodString;
|
|
@@ -83,9 +61,31 @@ declare const queue: z.ZodObject<{
|
|
|
83
61
|
role?: string;
|
|
84
62
|
}>, "many">>;
|
|
85
63
|
plannedOperationalDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
64
|
+
planningAuthority: z.ZodOptional<z.ZodString>;
|
|
65
|
+
planningGranted: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
66
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
67
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
68
|
+
queueDataset: z.ZodOptional<z.ZodString>;
|
|
69
|
+
queueDate: z.ZodEffects<z.ZodString, string, string>;
|
|
70
|
+
refId: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
reportDate: z.ZodEffects<z.ZodString, string, string>;
|
|
86
72
|
sectorDetail: z.ZodOptional<z.ZodString>;
|
|
73
|
+
sectors: z.ZodArray<z.ZodObject<{
|
|
74
|
+
identifier: z.ZodString;
|
|
75
|
+
id: z.ZodString;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
identifier?: string;
|
|
78
|
+
id?: string;
|
|
79
|
+
}, {
|
|
80
|
+
identifier?: string;
|
|
81
|
+
id?: string;
|
|
82
|
+
}>, "many">;
|
|
83
|
+
sourceUpdate: z.ZodEffects<z.ZodString, string, string>;
|
|
84
|
+
status: z.ZodString;
|
|
87
85
|
storageCapacity: z.ZodOptional<z.ZodNumber>;
|
|
88
86
|
storageType: z.ZodOptional<z.ZodString>;
|
|
87
|
+
technology: z.ZodOptional<z.ZodString>;
|
|
88
|
+
totalMw: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
windFarmName: z.ZodOptional<z.ZodString>;
|
|
90
90
|
withdrawnDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -106,38 +106,38 @@ declare const queue: z.ZodObject<{
|
|
|
106
106
|
id?: string;
|
|
107
107
|
role?: string;
|
|
108
108
|
}[];
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
actualOperationalDate?: string;
|
|
110
|
+
address?: string;
|
|
111
|
+
allSectors?: string;
|
|
112
|
+
constructionDate?: string;
|
|
113
|
+
developmentStatus?: string;
|
|
114
114
|
geo?: {
|
|
115
115
|
project?: {
|
|
116
116
|
lon?: number;
|
|
117
117
|
lat?: number;
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
|
-
reportDate?: string;
|
|
121
120
|
indexed_at?: string;
|
|
122
|
-
queueDate?: string;
|
|
123
|
-
localRegion?: string;
|
|
124
|
-
address?: string;
|
|
125
|
-
mwNet?: number;
|
|
126
|
-
technology?: string;
|
|
127
121
|
localCounty?: string;
|
|
128
|
-
|
|
129
|
-
allSectors?: string;
|
|
130
|
-
refId?: number;
|
|
131
|
-
projectName?: string;
|
|
132
|
-
constructionDate?: string;
|
|
133
|
-
developmentStatus?: string;
|
|
122
|
+
localRegion?: string;
|
|
134
123
|
localState?: string;
|
|
135
124
|
localTown?: string;
|
|
136
125
|
mwGross?: number;
|
|
126
|
+
mwNet?: number;
|
|
137
127
|
plannedOperationalDate?: string;
|
|
128
|
+
planningAuthority?: string;
|
|
129
|
+
planningGranted?: string;
|
|
130
|
+
postalCode?: string;
|
|
131
|
+
projectName?: string;
|
|
132
|
+
queueDate?: string;
|
|
133
|
+
refId?: number;
|
|
134
|
+
reportDate?: string;
|
|
138
135
|
sectorDetail?: string;
|
|
136
|
+
sourceUpdate?: string;
|
|
139
137
|
storageCapacity?: number;
|
|
140
138
|
storageType?: string;
|
|
139
|
+
technology?: string;
|
|
140
|
+
totalMw?: number;
|
|
141
141
|
windFarmName?: string;
|
|
142
142
|
withdrawnDate?: string;
|
|
143
143
|
}, {
|
|
@@ -158,38 +158,38 @@ declare const queue: z.ZodObject<{
|
|
|
158
158
|
id?: string;
|
|
159
159
|
role?: string;
|
|
160
160
|
}[];
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
actualOperationalDate?: string;
|
|
162
|
+
address?: string;
|
|
163
|
+
allSectors?: string;
|
|
164
|
+
constructionDate?: string;
|
|
165
|
+
developmentStatus?: string;
|
|
166
166
|
geo?: {
|
|
167
167
|
project?: {
|
|
168
168
|
lon?: number;
|
|
169
169
|
lat?: number;
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
reportDate?: string;
|
|
173
172
|
indexed_at?: string;
|
|
174
|
-
queueDate?: string;
|
|
175
|
-
localRegion?: string;
|
|
176
|
-
address?: string;
|
|
177
|
-
mwNet?: number;
|
|
178
|
-
technology?: string;
|
|
179
173
|
localCounty?: string;
|
|
180
|
-
|
|
181
|
-
allSectors?: string;
|
|
182
|
-
refId?: number;
|
|
183
|
-
projectName?: string;
|
|
184
|
-
constructionDate?: string;
|
|
185
|
-
developmentStatus?: string;
|
|
174
|
+
localRegion?: string;
|
|
186
175
|
localState?: string;
|
|
187
176
|
localTown?: string;
|
|
188
177
|
mwGross?: number;
|
|
178
|
+
mwNet?: number;
|
|
189
179
|
plannedOperationalDate?: string;
|
|
180
|
+
planningAuthority?: string;
|
|
181
|
+
planningGranted?: string;
|
|
182
|
+
postalCode?: string;
|
|
183
|
+
projectName?: string;
|
|
184
|
+
queueDate?: string;
|
|
185
|
+
refId?: number;
|
|
186
|
+
reportDate?: string;
|
|
190
187
|
sectorDetail?: string;
|
|
188
|
+
sourceUpdate?: string;
|
|
191
189
|
storageCapacity?: number;
|
|
192
190
|
storageType?: string;
|
|
191
|
+
technology?: string;
|
|
192
|
+
totalMw?: number;
|
|
193
193
|
windFarmName?: string;
|
|
194
194
|
withdrawnDate?: string;
|
|
195
195
|
}>;
|
|
@@ -3,40 +3,40 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const zod_1 = require("zod");
|
|
4
4
|
const entity_1 = require("./entity");
|
|
5
5
|
const queue = zod_1.z.object({
|
|
6
|
-
id: zod_1.z.string(),
|
|
7
|
-
country: entity_1.EntityItemArraySchema,
|
|
8
|
-
planningGranted: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
9
|
-
totalMw: entity_1.OptionalNumberSchema,
|
|
10
|
-
postalCode: entity_1.OptionalStringSchema,
|
|
11
|
-
sourceUpdate: entity_1.YYYYMMDDRegexSchema,
|
|
12
|
-
planningAuthority: entity_1.OptionalStringSchema,
|
|
13
|
-
geo: entity_1.GeoSchema,
|
|
14
|
-
reportDate: entity_1.YYYYMMDDRegexSchema,
|
|
15
|
-
indexed_at: entity_1.YYYYMMDDRegexSchema,
|
|
16
|
-
queueDate: entity_1.YYYYMMDDRegexSchema,
|
|
17
|
-
localRegion: entity_1.OptionalStringSchema,
|
|
18
|
-
queueDataset: entity_1.OptionalStringSchema,
|
|
19
|
-
sectors: entity_1.EntityItemArraySchema,
|
|
20
|
-
address: entity_1.OptionalStringSchema,
|
|
21
|
-
mwNet: entity_1.OptionalNumberSchema,
|
|
22
|
-
technology: entity_1.OptionalStringSchema,
|
|
23
|
-
localCounty: entity_1.OptionalStringSchema,
|
|
24
6
|
actualOperationalDate: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
7
|
+
address: entity_1.OptionalStringSchema,
|
|
25
8
|
allSectors: zod_1.z.string(),
|
|
26
|
-
refId: entity_1.OptionalNumberSchema,
|
|
27
|
-
projectName: entity_1.OptionalStringSchema,
|
|
28
9
|
applicationId: zod_1.z.string(),
|
|
29
10
|
constructionDate: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
30
|
-
|
|
11
|
+
country: entity_1.EntityItemArraySchema,
|
|
31
12
|
developmentStatus: entity_1.OptionalStringSchema,
|
|
13
|
+
geo: entity_1.GeoSchema,
|
|
14
|
+
id: zod_1.z.string(),
|
|
15
|
+
indexed_at: entity_1.YYYYMMDDRegexSchema,
|
|
16
|
+
localCounty: entity_1.OptionalStringSchema,
|
|
17
|
+
localRegion: entity_1.OptionalStringSchema,
|
|
32
18
|
localState: entity_1.OptionalStringSchema,
|
|
33
19
|
localTown: entity_1.OptionalStringSchema,
|
|
34
20
|
mwGross: entity_1.OptionalNumberSchema,
|
|
21
|
+
mwNet: entity_1.OptionalNumberSchema,
|
|
35
22
|
organizations: entity_1.OrganizationSchema,
|
|
36
23
|
plannedOperationalDate: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
24
|
+
planningAuthority: entity_1.OptionalStringSchema,
|
|
25
|
+
planningGranted: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
26
|
+
postalCode: entity_1.OptionalStringSchema,
|
|
27
|
+
projectName: entity_1.OptionalStringSchema,
|
|
28
|
+
queueDataset: entity_1.OptionalStringSchema,
|
|
29
|
+
queueDate: entity_1.YYYYMMDDRegexSchema,
|
|
30
|
+
refId: entity_1.OptionalNumberSchema,
|
|
31
|
+
reportDate: entity_1.YYYYMMDDRegexSchema,
|
|
37
32
|
sectorDetail: entity_1.OptionalStringSchema,
|
|
33
|
+
sectors: entity_1.EntityItemArraySchema,
|
|
34
|
+
sourceUpdate: entity_1.YYYYMMDDRegexSchema,
|
|
35
|
+
status: zod_1.z.string(),
|
|
38
36
|
storageCapacity: entity_1.OptionalNumberSchema,
|
|
39
37
|
storageType: entity_1.OptionalStringSchema,
|
|
38
|
+
technology: entity_1.OptionalStringSchema,
|
|
39
|
+
totalMw: entity_1.OptionalNumberSchema,
|
|
40
40
|
windFarmName: entity_1.OptionalStringSchema,
|
|
41
41
|
withdrawnDate: entity_1.YYYYMMDDRegexOptionalSchema,
|
|
42
42
|
});
|
|
@@ -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,qCAQiB;AAEjB,MAAM,KAAK,GAAG,OAAC,CAAC,MAAM,CAAC;IACrB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"queues.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/queues.ts"],"names":[],"mappings":";;AAAA,6BAAuB;AACvB,qCAQiB;AAEjB,MAAM,KAAK,GAAG,OAAC,CAAC,MAAM,CAAC;IACrB,qBAAqB,EAAE,oCAA2B;IAClD,OAAO,EAAE,6BAAoB;IAC7B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,gBAAgB,EAAE,oCAA2B;IAC7C,OAAO,EAAE,8BAAqB;IAC9B,iBAAiB,EAAE,6BAAoB;IACvC,GAAG,EAAE,kBAAS;IACd,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,UAAU,EAAE,4BAAmB;IAC/B,WAAW,EAAE,6BAAoB;IACjC,WAAW,EAAE,6BAAoB;IACjC,UAAU,EAAE,6BAAoB;IAChC,SAAS,EAAE,6BAAoB;IAC/B,OAAO,EAAE,6BAAoB;IAC7B,KAAK,EAAE,6BAAoB;IAC3B,aAAa,EAAE,2BAAkB;IACjC,sBAAsB,EAAE,oCAA2B;IACnD,iBAAiB,EAAE,6BAAoB;IACvC,eAAe,EAAE,oCAA2B;IAC5C,UAAU,EAAE,6BAAoB;IAChC,WAAW,EAAE,6BAAoB;IACjC,YAAY,EAAE,6BAAoB;IAClC,SAAS,EAAE,4BAAmB;IAC9B,KAAK,EAAE,6BAAoB;IAC3B,UAAU,EAAE,4BAAmB;IAC/B,YAAY,EAAE,6BAAoB;IAClC,OAAO,EAAE,8BAAqB;IAC9B,YAAY,EAAE,4BAAmB;IACjC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,eAAe,EAAE,6BAAoB;IACrC,WAAW,EAAE,6BAAoB;IACjC,UAAU,EAAE,6BAAoB;IAChC,OAAO,EAAE,6BAAoB;IAC7B,YAAY,EAAE,6BAAoB;IAClC,aAAa,EAAE,oCAA2B;CAC3C,CAAC,CAAA"}
|