@new-project-media/client-frontends-shared-types 1.0.6 → 1.0.9

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.6",
3
+ "version": "1.0.9",
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,18 +3,12 @@ export type CommonItem = {
3
3
  id: string;
4
4
  parentId?: string;
5
5
  };
6
- export type AggregationBucket = {
6
+ type BaseAggregationBucket = {
7
7
  key: string;
8
8
  id?: string;
9
9
  doc_count: number;
10
- sectors?: AggregationItem;
11
- allSectors?: AggregationItem;
12
- type?: AggregationItem;
13
- subType?: AggregationItem;
14
- state?: AggregationItem;
15
- county?: AggregationItem;
16
- audiences?: AggregationItem;
17
10
  };
11
+ export type AggregationBucket<T = BaseAggregationBucket> = BaseAggregationBucket & T;
18
12
  export type NestedAggregation = {
19
13
  doc_count: number;
20
14
  nested?: AggregationItem;
@@ -61,9 +55,7 @@ export type NestedFilteredAggregation = {
61
55
  nested: AggregationItem;
62
56
  };
63
57
  export type AggregationBuckets = Record<string, AggregationItem | FilteredAggregation | NestedFilteredAggregation>;
64
- export interface ChartAggregationBucket {
65
- key: string;
66
- doc_count: number;
58
+ export interface ChartAggregationBucket extends AggregationBucket {
67
59
  [key: string]: number | string;
68
60
  }
69
61
  export declare const isAggregationItem: (item: AggregationItem | FilteredAggregation | undefined) => item is AggregationItem;
@@ -71,6 +63,11 @@ type AggregationParam = {
71
63
  primary: string;
72
64
  secondary?: string;
73
65
  };
66
+ export type ChartAggregationDocCountSelector = (subBucket: AggregationBucket<{
67
+ totalMw?: {
68
+ sum: number;
69
+ };
70
+ }>) => number | string;
74
71
  export type ClientApiListRequestQueryParams = {
75
72
  page?: number;
76
73
  filters?: Array<{
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/common.ts"],"names":[],"mappings":";;;AAmFO,MAAM,iBAAiB,GAAG,CAC/B,IAAuD,EAC9B,EAAE;IAC3B,OAAO,CAAC,CAAC,IAAI,IAAI,SAAS,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B"}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/common.ts"],"names":[],"mappings":";;;AA8EO,MAAM,iBAAiB,GAAG,CAC/B,IAAuD,EAC9B,EAAE;IAC3B,OAAO,CAAC,CAAC,IAAI,IAAI,SAAS,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B"}
@@ -3,11 +3,11 @@ export declare const EntityItemSchema: z.ZodObject<{
3
3
  identifier: z.ZodString;
4
4
  id: z.ZodString;
5
5
  }, "strip", z.ZodTypeAny, {
6
- identifier?: string;
7
6
  id?: string;
8
- }, {
9
7
  identifier?: string;
8
+ }, {
10
9
  id?: string;
10
+ identifier?: string;
11
11
  }>;
12
12
  export declare const OrganizationItemSchema: z.ZodObject<z.objectUtil.extendShape<{
13
13
  identifier: z.ZodString;
@@ -15,12 +15,12 @@ export declare const OrganizationItemSchema: z.ZodObject<z.objectUtil.extendShap
15
15
  }, {
16
16
  role: z.ZodString;
17
17
  }>, "strip", z.ZodTypeAny, {
18
- identifier?: string;
19
18
  id?: string;
19
+ identifier?: string;
20
20
  role?: string;
21
21
  }, {
22
- identifier?: string;
23
22
  id?: string;
23
+ identifier?: string;
24
24
  role?: string;
25
25
  }>;
26
26
  export declare const OrganizationSchema: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
@@ -29,12 +29,12 @@ export declare const OrganizationSchema: z.ZodOptional<z.ZodArray<z.ZodObject<z.
29
29
  }, {
30
30
  role: z.ZodString;
31
31
  }>, "strip", z.ZodTypeAny, {
32
- identifier?: string;
33
32
  id?: string;
33
+ identifier?: string;
34
34
  role?: string;
35
35
  }, {
36
- identifier?: string;
37
36
  id?: string;
37
+ identifier?: string;
38
38
  role?: string;
39
39
  }>, "many">>;
40
40
  export type OrganizationType = z.infer<typeof OrganizationSchema>;
@@ -42,22 +42,22 @@ export declare const EntityItemArraySchema: z.ZodArray<z.ZodObject<{
42
42
  identifier: z.ZodString;
43
43
  id: z.ZodString;
44
44
  }, "strip", z.ZodTypeAny, {
45
- identifier?: string;
46
45
  id?: string;
47
- }, {
48
46
  identifier?: string;
47
+ }, {
49
48
  id?: string;
49
+ identifier?: string;
50
50
  }>, "many">;
51
51
  export type EntityItemArrayType = z.infer<typeof EntityItemArraySchema>;
52
52
  export declare const EntityItemArrayOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
53
  identifier: z.ZodString;
54
54
  id: z.ZodString;
55
55
  }, "strip", z.ZodTypeAny, {
56
- identifier?: string;
57
56
  id?: string;
58
- }, {
59
57
  identifier?: string;
58
+ }, {
60
59
  id?: string;
60
+ identifier?: string;
61
61
  }>, "many">>;
62
62
  export type EntityItemArrayOptionalSchemaType = z.infer<typeof EntityItemArrayOptionalSchema>;
63
63
  export declare const OptionalStringSchema: z.ZodOptional<z.ZodString>;
@@ -72,14 +72,14 @@ export declare const QueueJoinSchema: z.ZodArray<z.ZodObject<{
72
72
  id: z.ZodString;
73
73
  identifier: z.ZodString;
74
74
  }, "strip", z.ZodTypeAny, {
75
- identifier?: string;
76
75
  id?: string;
76
+ identifier?: string;
77
77
  queueKey?: string;
78
78
  applicationId?: string;
79
79
  queueDataset?: string;
80
80
  }, {
81
- identifier?: string;
82
81
  id?: string;
82
+ identifier?: string;
83
83
  queueKey?: string;
84
84
  applicationId?: string;
85
85
  queueDataset?: string;
@@ -91,14 +91,14 @@ export declare const QueueJoinOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodObje
91
91
  id: z.ZodString;
92
92
  identifier: z.ZodString;
93
93
  }, "strip", z.ZodTypeAny, {
94
- identifier?: string;
95
94
  id?: string;
95
+ identifier?: string;
96
96
  queueKey?: string;
97
97
  applicationId?: string;
98
98
  queueDataset?: string;
99
99
  }, {
100
- identifier?: string;
101
100
  id?: string;
101
+ identifier?: string;
102
102
  queueKey?: string;
103
103
  applicationId?: string;
104
104
  queueDataset?: string;
@@ -114,8 +114,8 @@ export declare const LinkedPeopleSchema: z.ZodArray<z.ZodObject<{
114
114
  phone: z.ZodOptional<z.ZodString>;
115
115
  source: z.ZodOptional<z.ZodString>;
116
116
  }, "strip", z.ZodTypeAny, {
117
- identifier?: string;
118
117
  id?: string;
118
+ identifier?: string;
119
119
  role?: string;
120
120
  linkedinUrl?: string;
121
121
  fullName?: string;
@@ -123,8 +123,8 @@ export declare const LinkedPeopleSchema: z.ZodArray<z.ZodObject<{
123
123
  phone?: string;
124
124
  source?: string;
125
125
  }, {
126
- identifier?: string;
127
126
  id?: string;
127
+ identifier?: string;
128
128
  role?: string;
129
129
  linkedinUrl?: string;
130
130
  fullName?: string;
@@ -142,8 +142,8 @@ export declare const LinkedPeopleOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodO
142
142
  phone: z.ZodOptional<z.ZodString>;
143
143
  source: z.ZodOptional<z.ZodString>;
144
144
  }, "strip", z.ZodTypeAny, {
145
- identifier?: string;
146
145
  id?: string;
146
+ identifier?: string;
147
147
  role?: string;
148
148
  linkedinUrl?: string;
149
149
  fullName?: string;
@@ -151,8 +151,8 @@ export declare const LinkedPeopleOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodO
151
151
  phone?: string;
152
152
  source?: string;
153
153
  }, {
154
- identifier?: string;
155
154
  id?: string;
155
+ identifier?: string;
156
156
  role?: string;
157
157
  linkedinUrl?: string;
158
158
  fullName?: string;
@@ -43,12 +43,12 @@ declare const queue: z.ZodObject<{
43
43
  }, {
44
44
  role: z.ZodString;
45
45
  }>, "strip", z.ZodTypeAny, {
46
- identifier?: string;
47
46
  id?: string;
47
+ identifier?: string;
48
48
  role?: string;
49
49
  }, {
50
- identifier?: string;
51
50
  id?: string;
51
+ identifier?: string;
52
52
  role?: string;
53
53
  }>, "many">>;
54
54
  plannedOperationalDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
@@ -65,11 +65,11 @@ declare const queue: z.ZodObject<{
65
65
  identifier: z.ZodString;
66
66
  id: z.ZodString;
67
67
  }, "strip", z.ZodTypeAny, {
68
- identifier?: string;
69
68
  id?: string;
70
- }, {
71
69
  identifier?: string;
70
+ }, {
72
71
  id?: string;
72
+ identifier?: string;
73
73
  }>, "many">;
74
74
  sourceUpdate: z.ZodEffects<z.ZodString, string, string>;
75
75
  status: z.ZodString;
@@ -81,8 +81,8 @@ declare const queue: z.ZodObject<{
81
81
  withdrawnDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  sectors?: {
84
- identifier?: string;
85
84
  id?: string;
85
+ identifier?: string;
86
86
  }[];
87
87
  id?: string;
88
88
  status?: string;
@@ -90,8 +90,8 @@ declare const queue: z.ZodObject<{
90
90
  queueDataset?: string;
91
91
  country?: string;
92
92
  organizations?: {
93
- identifier?: string;
94
93
  id?: string;
94
+ identifier?: string;
95
95
  role?: string;
96
96
  }[];
97
97
  actualOperationalDate?: string;
@@ -130,8 +130,8 @@ declare const queue: z.ZodObject<{
130
130
  withdrawnDate?: string;
131
131
  }, {
132
132
  sectors?: {
133
- identifier?: string;
134
133
  id?: string;
134
+ identifier?: string;
135
135
  }[];
136
136
  id?: string;
137
137
  status?: string;
@@ -139,8 +139,8 @@ declare const queue: z.ZodObject<{
139
139
  queueDataset?: string;
140
140
  country?: string;
141
141
  organizations?: {
142
- identifier?: string;
143
142
  id?: string;
143
+ identifier?: string;
144
144
  role?: string;
145
145
  }[];
146
146
  actualOperationalDate?: string;
@@ -14,31 +14,31 @@ declare const signal: z.ZodObject<{
14
14
  identifier: z.ZodString;
15
15
  id: z.ZodString;
16
16
  }, "strip", z.ZodTypeAny, {
17
- identifier?: string;
18
17
  id?: string;
19
- }, {
20
18
  identifier?: string;
19
+ }, {
21
20
  id?: string;
21
+ identifier?: string;
22
22
  }>, "many">;
23
23
  county: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
24
  identifier: z.ZodString;
25
25
  id: z.ZodString;
26
26
  }, "strip", z.ZodTypeAny, {
27
- identifier?: string;
28
27
  id?: string;
29
- }, {
30
28
  identifier?: string;
29
+ }, {
31
30
  id?: string;
31
+ identifier?: string;
32
32
  }>, "many">>;
33
33
  sectors: z.ZodArray<z.ZodObject<{
34
34
  identifier: z.ZodString;
35
35
  id: z.ZodString;
36
36
  }, "strip", z.ZodTypeAny, {
37
- identifier?: string;
38
37
  id?: string;
39
- }, {
40
38
  identifier?: string;
39
+ }, {
41
40
  id?: string;
41
+ identifier?: string;
42
42
  }>, "many">;
43
43
  queueApplications: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
44
  queueKey: z.ZodOptional<z.ZodString>;
@@ -47,14 +47,14 @@ declare const signal: z.ZodObject<{
47
47
  id: z.ZodString;
48
48
  identifier: z.ZodString;
49
49
  }, "strip", z.ZodTypeAny, {
50
- identifier?: string;
51
50
  id?: string;
51
+ identifier?: string;
52
52
  queueKey?: string;
53
53
  applicationId?: string;
54
54
  queueDataset?: string;
55
55
  }, {
56
- identifier?: string;
57
56
  id?: string;
57
+ identifier?: string;
58
58
  queueKey?: string;
59
59
  applicationId?: string;
60
60
  queueDataset?: string;
@@ -63,11 +63,11 @@ declare const signal: z.ZodObject<{
63
63
  identifier: z.ZodString;
64
64
  id: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
- identifier?: string;
67
66
  id?: string;
68
- }, {
69
67
  identifier?: string;
68
+ }, {
70
69
  id?: string;
70
+ identifier?: string;
71
71
  }>, "many">>;
72
72
  headline: z.ZodString;
73
73
  body: z.ZodOptional<z.ZodString>;
@@ -112,12 +112,12 @@ declare const signal: z.ZodObject<{
112
112
  }, {
113
113
  role: z.ZodString;
114
114
  }>, "strip", z.ZodTypeAny, {
115
- identifier?: string;
116
115
  id?: string;
116
+ identifier?: string;
117
117
  role?: string;
118
118
  }, {
119
- identifier?: string;
120
119
  id?: string;
120
+ identifier?: string;
121
121
  role?: string;
122
122
  }>, "many">>;
123
123
  keyPeople: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -130,8 +130,8 @@ declare const signal: z.ZodObject<{
130
130
  phone: z.ZodOptional<z.ZodString>;
131
131
  source: z.ZodOptional<z.ZodString>;
132
132
  }, "strip", z.ZodTypeAny, {
133
- identifier?: string;
134
133
  id?: string;
134
+ identifier?: string;
135
135
  role?: string;
136
136
  linkedinUrl?: string;
137
137
  fullName?: string;
@@ -139,8 +139,8 @@ declare const signal: z.ZodObject<{
139
139
  phone?: string;
140
140
  source?: string;
141
141
  }, {
142
- identifier?: string;
143
142
  id?: string;
143
+ identifier?: string;
144
144
  role?: string;
145
145
  linkedinUrl?: string;
146
146
  fullName?: string;
@@ -202,11 +202,11 @@ declare const signal: z.ZodObject<{
202
202
  identifier: z.ZodString;
203
203
  id: z.ZodString;
204
204
  }, "strip", z.ZodTypeAny, {
205
- identifier?: string;
206
205
  id?: string;
207
- }, {
208
206
  identifier?: string;
207
+ }, {
209
208
  id?: string;
209
+ identifier?: string;
210
210
  }>, "many">>;
211
211
  editorNotes: z.ZodOptional<z.ZodString>;
212
212
  analystNotes: z.ZodOptional<z.ZodString>;
@@ -214,11 +214,11 @@ declare const signal: z.ZodObject<{
214
214
  identifier: z.ZodString;
215
215
  id: z.ZodString;
216
216
  }, "strip", z.ZodTypeAny, {
217
- identifier?: string;
218
217
  id?: string;
219
- }, {
220
218
  identifier?: string;
219
+ }, {
221
220
  id?: string;
221
+ identifier?: string;
222
222
  }>, "many">;
223
223
  created: z.ZodEffects<z.ZodString, string, string>;
224
224
  status: z.ZodNativeEnum<typeof PublishStatus>;
@@ -228,107 +228,107 @@ declare const signal: z.ZodObject<{
228
228
  identifier: z.ZodString;
229
229
  id: z.ZodString;
230
230
  }, "strip", z.ZodTypeAny, {
231
- identifier?: string;
232
231
  id?: string;
233
- }, {
234
232
  identifier?: string;
233
+ }, {
235
234
  id?: string;
235
+ identifier?: string;
236
236
  }>>;
237
237
  subType: z.ZodOptional<z.ZodArray<z.ZodObject<{
238
238
  identifier: z.ZodString;
239
239
  id: z.ZodString;
240
240
  }, "strip", z.ZodTypeAny, {
241
- identifier?: string;
242
241
  id?: string;
243
- }, {
244
242
  identifier?: string;
243
+ }, {
245
244
  id?: string;
245
+ identifier?: string;
246
246
  }>, "many">>;
247
247
  audiences: z.ZodArray<z.ZodObject<{
248
248
  identifier: z.ZodString;
249
249
  id: z.ZodString;
250
250
  }, "strip", z.ZodTypeAny, {
251
- identifier?: string;
252
251
  id?: string;
253
- }, {
254
252
  identifier?: string;
253
+ }, {
255
254
  id?: string;
255
+ identifier?: string;
256
256
  }>, "many">;
257
257
  lastUpdatedBy: z.ZodArray<z.ZodObject<{
258
258
  identifier: z.ZodString;
259
259
  id: z.ZodString;
260
260
  }, "strip", z.ZodTypeAny, {
261
- identifier?: string;
262
261
  id?: string;
263
- }, {
264
262
  identifier?: string;
263
+ }, {
265
264
  id?: string;
265
+ identifier?: string;
266
266
  }>, "many">;
267
267
  phase: z.ZodOptional<z.ZodString>;
268
268
  dgChannels: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
269
  identifier: z.ZodString;
270
270
  id: z.ZodString;
271
271
  }, "strip", z.ZodTypeAny, {
272
- identifier?: string;
273
272
  id?: string;
274
- }, {
275
273
  identifier?: string;
274
+ }, {
276
275
  id?: string;
276
+ identifier?: string;
277
277
  }>, "many">>;
278
278
  projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
279
279
  identifier: z.ZodString;
280
280
  id: z.ZodString;
281
281
  }, "strip", z.ZodTypeAny, {
282
- identifier?: string;
283
282
  id?: string;
284
- }, {
285
283
  identifier?: string;
284
+ }, {
286
285
  id?: string;
286
+ identifier?: string;
287
287
  }>, "many">>;
288
288
  countyBoard: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
289
  identifier: z.ZodString;
290
290
  id: z.ZodString;
291
291
  }, "strip", z.ZodTypeAny, {
292
- identifier?: string;
293
292
  id?: string;
294
- }, {
295
293
  identifier?: string;
294
+ }, {
296
295
  id?: string;
296
+ identifier?: string;
297
297
  }>, "many">>;
298
298
  schoolDistrict: z.ZodOptional<z.ZodArray<z.ZodObject<{
299
299
  identifier: z.ZodString;
300
300
  id: z.ZodString;
301
301
  }, "strip", z.ZodTypeAny, {
302
- identifier?: string;
303
302
  id?: string;
304
- }, {
305
303
  identifier?: string;
304
+ }, {
306
305
  id?: string;
306
+ identifier?: string;
307
307
  }>, "many">>;
308
308
  }, "strip", z.ZodTypeAny, {
309
309
  type?: {
310
- identifier?: string;
311
310
  id?: string;
311
+ identifier?: string;
312
312
  };
313
313
  subType?: {
314
- identifier?: string;
315
314
  id?: string;
315
+ identifier?: string;
316
316
  }[];
317
317
  sectors?: {
318
- identifier?: string;
319
318
  id?: string;
319
+ identifier?: string;
320
320
  }[];
321
321
  state?: {
322
- identifier?: string;
323
322
  id?: string;
323
+ identifier?: string;
324
324
  }[];
325
325
  county?: {
326
- identifier?: string;
327
326
  id?: string;
327
+ identifier?: string;
328
328
  }[];
329
329
  keyPeople?: {
330
- identifier?: string;
331
330
  id?: string;
331
+ identifier?: string;
332
332
  role?: string;
333
333
  linkedinUrl?: string;
334
334
  fullName?: string;
@@ -340,15 +340,15 @@ declare const signal: z.ZodObject<{
340
340
  status?: PublishStatus;
341
341
  created?: string;
342
342
  queueApplications?: {
343
- identifier?: string;
344
343
  id?: string;
344
+ identifier?: string;
345
345
  queueKey?: string;
346
346
  applicationId?: string;
347
347
  queueDataset?: string;
348
348
  }[];
349
349
  projectPipeline?: {
350
- identifier?: string;
351
350
  id?: string;
351
+ identifier?: string;
352
352
  }[];
353
353
  headline?: string;
354
354
  body?: string;
@@ -368,8 +368,8 @@ declare const signal: z.ZodObject<{
368
368
  longitude?: number;
369
369
  };
370
370
  organizations?: {
371
- identifier?: string;
372
371
  id?: string;
372
+ identifier?: string;
373
373
  role?: string;
374
374
  }[];
375
375
  documents?: {
@@ -391,66 +391,66 @@ declare const signal: z.ZodObject<{
391
391
  }[];
392
392
  mw?: number;
393
393
  pucTracker?: {
394
- identifier?: string;
395
394
  id?: string;
395
+ identifier?: string;
396
396
  }[];
397
397
  editorNotes?: string;
398
398
  analystNotes?: string;
399
399
  createdBy?: {
400
- identifier?: string;
401
400
  id?: string;
401
+ identifier?: string;
402
402
  }[];
403
403
  curateDocLink?: string;
404
404
  curateMunicipalityLink?: string;
405
405
  audiences?: {
406
- identifier?: string;
407
406
  id?: string;
407
+ identifier?: string;
408
408
  }[];
409
409
  lastUpdatedBy?: {
410
- identifier?: string;
411
410
  id?: string;
411
+ identifier?: string;
412
412
  }[];
413
413
  phase?: string;
414
414
  dgChannels?: {
415
- identifier?: string;
416
415
  id?: string;
416
+ identifier?: string;
417
417
  }[];
418
418
  projects?: {
419
- identifier?: string;
420
419
  id?: string;
420
+ identifier?: string;
421
421
  }[];
422
422
  countyBoard?: {
423
- identifier?: string;
424
423
  id?: string;
424
+ identifier?: string;
425
425
  }[];
426
426
  schoolDistrict?: {
427
- identifier?: string;
428
427
  id?: string;
428
+ identifier?: string;
429
429
  }[];
430
430
  }, {
431
431
  type?: {
432
- identifier?: string;
433
432
  id?: string;
433
+ identifier?: string;
434
434
  };
435
435
  subType?: {
436
- identifier?: string;
437
436
  id?: string;
437
+ identifier?: string;
438
438
  }[];
439
439
  sectors?: {
440
- identifier?: string;
441
440
  id?: string;
441
+ identifier?: string;
442
442
  }[];
443
443
  state?: {
444
- identifier?: string;
445
444
  id?: string;
445
+ identifier?: string;
446
446
  }[];
447
447
  county?: {
448
- identifier?: string;
449
448
  id?: string;
449
+ identifier?: string;
450
450
  }[];
451
451
  keyPeople?: {
452
- identifier?: string;
453
452
  id?: string;
453
+ identifier?: string;
454
454
  role?: string;
455
455
  linkedinUrl?: string;
456
456
  fullName?: string;
@@ -462,15 +462,15 @@ declare const signal: z.ZodObject<{
462
462
  status?: PublishStatus;
463
463
  created?: string;
464
464
  queueApplications?: {
465
- identifier?: string;
466
465
  id?: string;
466
+ identifier?: string;
467
467
  queueKey?: string;
468
468
  applicationId?: string;
469
469
  queueDataset?: string;
470
470
  }[];
471
471
  projectPipeline?: {
472
- identifier?: string;
473
472
  id?: string;
473
+ identifier?: string;
474
474
  }[];
475
475
  headline?: string;
476
476
  body?: string;
@@ -490,8 +490,8 @@ declare const signal: z.ZodObject<{
490
490
  longitude?: number;
491
491
  };
492
492
  organizations?: {
493
- identifier?: string;
494
493
  id?: string;
494
+ identifier?: string;
495
495
  role?: string;
496
496
  }[];
497
497
  documents?: {
@@ -513,41 +513,41 @@ declare const signal: z.ZodObject<{
513
513
  }[];
514
514
  mw?: number;
515
515
  pucTracker?: {
516
- identifier?: string;
517
516
  id?: string;
517
+ identifier?: string;
518
518
  }[];
519
519
  editorNotes?: string;
520
520
  analystNotes?: string;
521
521
  createdBy?: {
522
- identifier?: string;
523
522
  id?: string;
523
+ identifier?: string;
524
524
  }[];
525
525
  curateDocLink?: string;
526
526
  curateMunicipalityLink?: string;
527
527
  audiences?: {
528
- identifier?: string;
529
528
  id?: string;
529
+ identifier?: string;
530
530
  }[];
531
531
  lastUpdatedBy?: {
532
- identifier?: string;
533
532
  id?: string;
533
+ identifier?: string;
534
534
  }[];
535
535
  phase?: string;
536
536
  dgChannels?: {
537
- identifier?: string;
538
537
  id?: string;
538
+ identifier?: string;
539
539
  }[];
540
540
  projects?: {
541
- identifier?: string;
542
541
  id?: string;
542
+ identifier?: string;
543
543
  }[];
544
544
  countyBoard?: {
545
- identifier?: string;
546
545
  id?: string;
546
+ identifier?: string;
547
547
  }[];
548
548
  schoolDistrict?: {
549
- identifier?: string;
550
549
  id?: string;
550
+ identifier?: string;
551
551
  }[];
552
552
  }>;
553
553
  export type Signal = z.infer<typeof signal>;
@@ -19,9 +19,10 @@ export type SearchRoleField = {
19
19
  label: string;
20
20
  field: string;
21
21
  };
22
- export type FilterType = 'autocomplete' | 'date-range' | 'exists';
22
+ export type FilterType = 'autocomplete' | 'date-range' | 'exists' | 'label';
23
23
  export type FilterDefinition = {
24
24
  id: string;
25
+ filterId?: string;
25
26
  variant: FilterType;
26
27
  label: string;
27
28
  options: FilterSelectOption[];