@new-project-media/client-frontends-shared-types 2.0.10 → 2.0.12

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.
@@ -277,8 +277,8 @@ exports.usQueueAPISchema = usQueueDetailsSchema
277
277
  }));
278
278
  exports.queueAPISchema = exports.euQueueAPISchema.or(exports.usQueueAPISchema);
279
279
  exports.queueAPIUnionSchema = zod_1.z.discriminatedUnion('schema', [
280
- exports.euQueueAPISchema,
281
280
  exports.usQueueAPISchema,
281
+ exports.euQueueAPISchema,
282
282
  ]);
283
283
  const euQueueExportSchema = euQueueListWithSortSchema.extend({
284
284
  sectors: entity_1.EntityItemArraySchema,
@@ -9,8 +9,9 @@ export declare enum PublishStatus {
9
9
  Hold = "HOLD"
10
10
  }
11
11
  export declare const SignalSchema: z.ZodObject<{
12
- id: z.ZodString;
13
- state: z.ZodArray<z.ZodObject<{
12
+ $organizations: z.ZodOptional<z.ZodString>;
13
+ allSectors: z.ZodOptional<z.ZodString>;
14
+ audiences: z.ZodArray<z.ZodObject<{
14
15
  identifier: z.ZodString;
15
16
  id: z.ZodString;
16
17
  }, "strip", z.ZodTypeAny, {
@@ -20,6 +21,8 @@ export declare const SignalSchema: z.ZodObject<{
20
21
  id?: string;
21
22
  identifier?: string;
22
23
  }>, "many">;
24
+ body: z.ZodOptional<z.ZodString>;
25
+ commercialOperationDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
23
26
  country: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
27
  identifier: z.ZodString;
25
28
  id: z.ZodString;
@@ -40,7 +43,7 @@ export declare const SignalSchema: z.ZodObject<{
40
43
  id?: string;
41
44
  identifier?: string;
42
45
  }>, "many">>;
43
- sectors: z.ZodArray<z.ZodObject<{
46
+ countyBoard: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
47
  identifier: z.ZodString;
45
48
  id: z.ZodString;
46
49
  }, "strip", z.ZodTypeAny, {
@@ -49,42 +52,63 @@ export declare const SignalSchema: z.ZodObject<{
49
52
  }, {
50
53
  id?: string;
51
54
  identifier?: string;
52
- }>, "many">;
53
- queueApplications: z.ZodOptional<z.ZodArray<z.ZodObject<{
54
- queueKey: z.ZodOptional<z.ZodString>;
55
- applicationId: z.ZodOptional<z.ZodString>;
56
- queueDataset: z.ZodOptional<z.ZodString>;
57
- id: z.ZodString;
58
- identifier: z.ZodString;
55
+ }>, "many">>;
56
+ created: z.ZodEffects<z.ZodString, string, string>;
57
+ documents: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
58
+ filename: z.ZodString;
59
+ created: z.ZodEffects<z.ZodString, string, string>;
60
+ document_id: z.ZodString;
61
+ mimetype: z.ZodString;
62
+ scanResultStatus: z.ZodOptional<z.ZodString>;
63
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
64
+ key: z.ZodOptional<z.ZodString>;
65
+ userName: z.ZodOptional<z.ZodString>;
59
66
  }, "strip", z.ZodTypeAny, {
60
- id?: string;
61
- identifier?: string;
62
- queueKey?: string;
63
- applicationId?: string;
64
- queueDataset?: string;
67
+ type?: string[];
68
+ key?: string;
69
+ filename?: string;
70
+ created?: string;
71
+ document_id?: string;
72
+ mimetype?: string;
73
+ scanResultStatus?: string;
74
+ userName?: string;
65
75
  }, {
66
- id?: string;
67
- identifier?: string;
68
- queueKey?: string;
69
- applicationId?: string;
70
- queueDataset?: string;
71
- }>, "many">>;
72
- projectPipeline: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
- identifier: z.ZodString;
74
- id: z.ZodString;
76
+ type?: string[];
77
+ key?: string;
78
+ filename?: string;
79
+ created?: string;
80
+ document_id?: string;
81
+ mimetype?: string;
82
+ scanResultStatus?: string;
83
+ userName?: string;
84
+ }>, "many">, z.ZodArray<z.ZodObject<{
85
+ file: z.ZodOptional<z.ZodString>;
86
+ url: z.ZodString;
87
+ created: z.ZodOptional<z.ZodString>;
88
+ type: z.ZodArray<z.ZodString, "many">;
89
+ scanResultStatus: z.ZodOptional<z.ZodString>;
90
+ documentDate: z.ZodEffects<z.ZodString, string, string>;
91
+ source: z.ZodOptional<z.ZodString>;
92
+ id: z.ZodOptional<z.ZodString>;
75
93
  }, "strip", z.ZodTypeAny, {
94
+ type?: string[];
76
95
  id?: string;
77
- identifier?: string;
96
+ source?: string;
97
+ created?: string;
98
+ scanResultStatus?: string;
99
+ file?: string;
100
+ url?: string;
101
+ documentDate?: string;
78
102
  }, {
103
+ type?: string[];
79
104
  id?: string;
80
- identifier?: string;
81
- }>, "many">>;
82
- headline: z.ZodString;
83
- body: z.ZodOptional<z.ZodString>;
84
- filingDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
85
- publishedDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
86
- commercialOperationDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
87
- facilityName: z.ZodOptional<z.ZodString>;
105
+ source?: string;
106
+ created?: string;
107
+ scanResultStatus?: string;
108
+ file?: string;
109
+ url?: string;
110
+ documentDate?: string;
111
+ }>, "many">]>>;
88
112
  facilityAddress: z.ZodOptional<z.ZodObject<{
89
113
  full: z.ZodOptional<z.ZodString>;
90
114
  city: z.ZodOptional<z.ZodString>;
@@ -116,20 +140,8 @@ export declare const SignalSchema: z.ZodObject<{
116
140
  latitude?: number;
117
141
  longitude?: number;
118
142
  }>>;
119
- location: z.ZodArray<z.ZodObject<{
120
- identifier: z.ZodString;
121
- id: z.ZodString;
122
- } & {
123
- isApproximate: z.ZodOptional<z.ZodBoolean>;
124
- }, "strip", z.ZodTypeAny, {
125
- id?: string;
126
- identifier?: string;
127
- isApproximate?: boolean;
128
- }, {
129
- id?: string;
130
- identifier?: string;
131
- isApproximate?: boolean;
132
- }>, "many">;
143
+ facilityName: z.ZodOptional<z.ZodString>;
144
+ filingDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
133
145
  geo: z.ZodObject<{
134
146
  default: z.ZodOptional<z.ZodObject<{
135
147
  lat: z.ZodNumber;
@@ -209,23 +221,8 @@ export declare const SignalSchema: z.ZodObject<{
209
221
  lon?: number;
210
222
  };
211
223
  }>;
212
- organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
213
- identifier: z.ZodString;
214
- id: z.ZodString;
215
- } & {
216
- role: z.ZodString;
217
- ref: z.ZodOptional<z.ZodString>;
218
- }, "strip", z.ZodTypeAny, {
219
- id?: string;
220
- identifier?: string;
221
- role?: string;
222
- ref?: string;
223
- }, {
224
- id?: string;
225
- identifier?: string;
226
- role?: string;
227
- ref?: string;
228
- }>, "many">>;
224
+ headline: z.ZodString;
225
+ id: z.ZodString;
229
226
  keyPeople: z.ZodOptional<z.ZodArray<z.ZodObject<{
230
227
  id: z.ZodOptional<z.ZodString>;
231
228
  identifier: z.ZodOptional<z.ZodString>;
@@ -254,89 +251,40 @@ export declare const SignalSchema: z.ZodObject<{
254
251
  phone?: string;
255
252
  source?: string;
256
253
  }>, "many">>;
257
- documents: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
258
- filename: z.ZodString;
259
- created: z.ZodEffects<z.ZodString, string, string>;
260
- document_id: z.ZodString;
261
- mimetype: z.ZodString;
262
- scanResultStatus: z.ZodOptional<z.ZodString>;
263
- type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
264
- key: z.ZodOptional<z.ZodString>;
265
- userName: z.ZodOptional<z.ZodString>;
266
- }, "strip", z.ZodTypeAny, {
267
- type?: string[];
268
- key?: string;
269
- filename?: string;
270
- created?: string;
271
- document_id?: string;
272
- mimetype?: string;
273
- scanResultStatus?: string;
274
- userName?: string;
275
- }, {
276
- type?: string[];
277
- key?: string;
278
- filename?: string;
279
- created?: string;
280
- document_id?: string;
281
- mimetype?: string;
282
- scanResultStatus?: string;
283
- userName?: string;
284
- }>, "many">, z.ZodArray<z.ZodObject<{
285
- file: z.ZodOptional<z.ZodString>;
286
- url: z.ZodString;
287
- created: z.ZodOptional<z.ZodString>;
288
- type: z.ZodArray<z.ZodString, "many">;
289
- scanResultStatus: z.ZodOptional<z.ZodString>;
290
- documentDate: z.ZodEffects<z.ZodString, string, string>;
291
- source: z.ZodOptional<z.ZodString>;
292
- id: z.ZodOptional<z.ZodString>;
293
- }, "strip", z.ZodTypeAny, {
294
- type?: string[];
295
- id?: string;
296
- source?: string;
297
- created?: string;
298
- scanResultStatus?: string;
299
- file?: string;
300
- url?: string;
301
- documentDate?: string;
302
- }, {
303
- type?: string[];
304
- id?: string;
305
- source?: string;
306
- created?: string;
307
- scanResultStatus?: string;
308
- file?: string;
309
- url?: string;
310
- documentDate?: string;
311
- }>, "many">]>>;
312
- mw: z.ZodOptional<z.ZodNumber>;
313
- pucTracker: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ location: z.ZodArray<z.ZodObject<{
314
255
  identifier: z.ZodString;
315
256
  id: z.ZodString;
257
+ } & {
258
+ isApproximate: z.ZodOptional<z.ZodBoolean>;
316
259
  }, "strip", z.ZodTypeAny, {
317
260
  id?: string;
318
261
  identifier?: string;
262
+ isApproximate?: boolean;
319
263
  }, {
320
264
  id?: string;
321
265
  identifier?: string;
322
- }>, "many">>;
323
- editorNotes: z.ZodOptional<z.ZodString>;
324
- analystNotes: z.ZodOptional<z.ZodString>;
325
- createdBy: z.ZodArray<z.ZodObject<{
266
+ isApproximate?: boolean;
267
+ }>, "many">;
268
+ mw: z.ZodOptional<z.ZodNumber>;
269
+ organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
270
  identifier: z.ZodString;
327
271
  id: z.ZodString;
272
+ } & {
273
+ role: z.ZodString;
274
+ ref: z.ZodOptional<z.ZodString>;
328
275
  }, "strip", z.ZodTypeAny, {
329
276
  id?: string;
330
277
  identifier?: string;
278
+ role?: string;
279
+ ref?: string;
331
280
  }, {
332
281
  id?: string;
333
282
  identifier?: string;
334
- }>, "many">;
335
- created: z.ZodEffects<z.ZodString, string, string>;
336
- status: z.ZodNativeEnum<typeof PublishStatus>;
337
- curateDocLink: z.ZodOptional<z.ZodString>;
338
- curateMunicipalityLink: z.ZodOptional<z.ZodString>;
339
- type: z.ZodOptional<z.ZodObject<{
283
+ role?: string;
284
+ ref?: string;
285
+ }>, "many">>;
286
+ phase: z.ZodOptional<z.ZodString>;
287
+ projectPipeline: z.ZodOptional<z.ZodArray<z.ZodObject<{
340
288
  identifier: z.ZodString;
341
289
  id: z.ZodString;
342
290
  }, "strip", z.ZodTypeAny, {
@@ -345,8 +293,8 @@ export declare const SignalSchema: z.ZodObject<{
345
293
  }, {
346
294
  id?: string;
347
295
  identifier?: string;
348
- }>>;
349
- subType: z.ZodOptional<z.ZodArray<z.ZodObject<{
296
+ }>, "many">>;
297
+ projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
350
298
  identifier: z.ZodString;
351
299
  id: z.ZodString;
352
300
  }, "strip", z.ZodTypeAny, {
@@ -356,7 +304,8 @@ export declare const SignalSchema: z.ZodObject<{
356
304
  id?: string;
357
305
  identifier?: string;
358
306
  }>, "many">>;
359
- audiences: z.ZodArray<z.ZodObject<{
307
+ publishedDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
308
+ pucTracker: z.ZodOptional<z.ZodArray<z.ZodObject<{
360
309
  identifier: z.ZodString;
361
310
  id: z.ZodString;
362
311
  }, "strip", z.ZodTypeAny, {
@@ -365,19 +314,27 @@ export declare const SignalSchema: z.ZodObject<{
365
314
  }, {
366
315
  id?: string;
367
316
  identifier?: string;
368
- }>, "many">;
369
- lastUpdatedBy: z.ZodArray<z.ZodObject<{
370
- identifier: z.ZodString;
317
+ }>, "many">>;
318
+ queueApplications: z.ZodOptional<z.ZodArray<z.ZodObject<{
319
+ queueKey: z.ZodOptional<z.ZodString>;
320
+ applicationId: z.ZodOptional<z.ZodString>;
321
+ queueDataset: z.ZodOptional<z.ZodString>;
371
322
  id: z.ZodString;
323
+ identifier: z.ZodString;
372
324
  }, "strip", z.ZodTypeAny, {
373
325
  id?: string;
374
326
  identifier?: string;
327
+ queueKey?: string;
328
+ applicationId?: string;
329
+ queueDataset?: string;
375
330
  }, {
376
331
  id?: string;
377
332
  identifier?: string;
378
- }>, "many">;
379
- phase: z.ZodOptional<z.ZodString>;
380
- dgChannels: z.ZodOptional<z.ZodArray<z.ZodObject<{
333
+ queueKey?: string;
334
+ applicationId?: string;
335
+ queueDataset?: string;
336
+ }>, "many">>;
337
+ schoolDistrict: z.ZodOptional<z.ZodArray<z.ZodObject<{
381
338
  identifier: z.ZodString;
382
339
  id: z.ZodString;
383
340
  }, "strip", z.ZodTypeAny, {
@@ -387,7 +344,7 @@ export declare const SignalSchema: z.ZodObject<{
387
344
  id?: string;
388
345
  identifier?: string;
389
346
  }>, "many">>;
390
- projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
347
+ sectors: z.ZodArray<z.ZodObject<{
391
348
  identifier: z.ZodString;
392
349
  id: z.ZodString;
393
350
  }, "strip", z.ZodTypeAny, {
@@ -396,8 +353,8 @@ export declare const SignalSchema: z.ZodObject<{
396
353
  }, {
397
354
  id?: string;
398
355
  identifier?: string;
399
- }>, "many">>;
400
- countyBoard: z.ZodOptional<z.ZodArray<z.ZodObject<{
356
+ }>, "many">;
357
+ state: z.ZodArray<z.ZodObject<{
401
358
  identifier: z.ZodString;
402
359
  id: z.ZodString;
403
360
  }, "strip", z.ZodTypeAny, {
@@ -406,8 +363,9 @@ export declare const SignalSchema: z.ZodObject<{
406
363
  }, {
407
364
  id?: string;
408
365
  identifier?: string;
409
- }>, "many">>;
410
- schoolDistrict: z.ZodOptional<z.ZodArray<z.ZodObject<{
366
+ }>, "many">;
367
+ status: z.ZodNativeEnum<typeof PublishStatus>;
368
+ subType: z.ZodOptional<z.ZodArray<z.ZodObject<{
411
369
  identifier: z.ZodString;
412
370
  id: z.ZodString;
413
371
  }, "strip", z.ZodTypeAny, {
@@ -473,8 +431,16 @@ export declare const SignalSchema: z.ZodObject<{
473
431
  epc?: number;
474
432
  developer?: number;
475
433
  }>>;
476
- allSectors: z.ZodOptional<z.ZodString>;
477
- $organizations: z.ZodOptional<z.ZodString>;
434
+ type: z.ZodOptional<z.ZodObject<{
435
+ identifier: z.ZodString;
436
+ id: z.ZodString;
437
+ }, "strip", z.ZodTypeAny, {
438
+ id?: string;
439
+ identifier?: string;
440
+ }, {
441
+ id?: string;
442
+ identifier?: string;
443
+ }>>;
478
444
  }, "strip", z.ZodTypeAny, {
479
445
  type?: {
480
446
  id?: string;
@@ -554,16 +520,18 @@ export declare const SignalSchema: z.ZodObject<{
554
520
  applicationId?: string;
555
521
  queueDataset?: string;
556
522
  }[];
557
- projectPipeline?: {
523
+ $organizations?: string;
524
+ allSectors?: string;
525
+ audiences?: {
558
526
  id?: string;
559
527
  identifier?: string;
560
528
  }[];
561
- headline?: string;
562
529
  body?: string;
563
- filingDate?: string;
564
- publishedDate?: string;
565
530
  commercialOperationDate?: string;
566
- facilityName?: string;
531
+ countyBoard?: {
532
+ id?: string;
533
+ identifier?: string;
534
+ }[];
567
535
  facilityAddress?: {
568
536
  state?: string;
569
537
  full?: string;
@@ -575,6 +543,8 @@ export declare const SignalSchema: z.ZodObject<{
575
543
  latitude?: number;
576
544
  longitude?: number;
577
545
  };
546
+ facilityName?: string;
547
+ filingDate?: string;
578
548
  geo?: {
579
549
  county?: {
580
550
  lat?: number;
@@ -594,33 +564,15 @@ export declare const SignalSchema: z.ZodObject<{
594
564
  lon?: number;
595
565
  };
596
566
  };
567
+ headline?: string;
597
568
  mw?: number;
598
- pucTracker?: {
599
- id?: string;
600
- identifier?: string;
601
- }[];
602
- editorNotes?: string;
603
- analystNotes?: string;
604
- createdBy?: {
605
- id?: string;
606
- identifier?: string;
607
- }[];
608
- curateDocLink?: string;
609
- curateMunicipalityLink?: string;
610
- audiences?: {
611
- id?: string;
612
- identifier?: string;
613
- }[];
614
- lastUpdatedBy?: {
615
- id?: string;
616
- identifier?: string;
617
- }[];
618
569
  phase?: string;
619
- dgChannels?: {
570
+ projectPipeline?: {
620
571
  id?: string;
621
572
  identifier?: string;
622
573
  }[];
623
- countyBoard?: {
574
+ publishedDate?: string;
575
+ pucTracker?: {
624
576
  id?: string;
625
577
  identifier?: string;
626
578
  }[];
@@ -640,8 +592,6 @@ export declare const SignalSchema: z.ZodObject<{
640
592
  epc?: number;
641
593
  developer?: number;
642
594
  };
643
- allSectors?: string;
644
- $organizations?: string;
645
595
  }, {
646
596
  type?: {
647
597
  id?: string;
@@ -721,16 +671,18 @@ export declare const SignalSchema: z.ZodObject<{
721
671
  applicationId?: string;
722
672
  queueDataset?: string;
723
673
  }[];
724
- projectPipeline?: {
674
+ $organizations?: string;
675
+ allSectors?: string;
676
+ audiences?: {
725
677
  id?: string;
726
678
  identifier?: string;
727
679
  }[];
728
- headline?: string;
729
680
  body?: string;
730
- filingDate?: string;
731
- publishedDate?: string;
732
681
  commercialOperationDate?: string;
733
- facilityName?: string;
682
+ countyBoard?: {
683
+ id?: string;
684
+ identifier?: string;
685
+ }[];
734
686
  facilityAddress?: {
735
687
  state?: string;
736
688
  full?: string;
@@ -742,6 +694,8 @@ export declare const SignalSchema: z.ZodObject<{
742
694
  latitude?: number;
743
695
  longitude?: number;
744
696
  };
697
+ facilityName?: string;
698
+ filingDate?: string;
745
699
  geo?: {
746
700
  county?: {
747
701
  lat?: number;
@@ -761,33 +715,15 @@ export declare const SignalSchema: z.ZodObject<{
761
715
  lon?: number;
762
716
  };
763
717
  };
718
+ headline?: string;
764
719
  mw?: number;
765
- pucTracker?: {
766
- id?: string;
767
- identifier?: string;
768
- }[];
769
- editorNotes?: string;
770
- analystNotes?: string;
771
- createdBy?: {
772
- id?: string;
773
- identifier?: string;
774
- }[];
775
- curateDocLink?: string;
776
- curateMunicipalityLink?: string;
777
- audiences?: {
778
- id?: string;
779
- identifier?: string;
780
- }[];
781
- lastUpdatedBy?: {
782
- id?: string;
783
- identifier?: string;
784
- }[];
785
720
  phase?: string;
786
- dgChannels?: {
721
+ projectPipeline?: {
787
722
  id?: string;
788
723
  identifier?: string;
789
724
  }[];
790
- countyBoard?: {
725
+ publishedDate?: string;
726
+ pucTracker?: {
791
727
  id?: string;
792
728
  identifier?: string;
793
729
  }[];
@@ -807,8 +743,6 @@ export declare const SignalSchema: z.ZodObject<{
807
743
  epc?: number;
808
744
  developer?: number;
809
745
  };
810
- allSectors?: string;
811
- $organizations?: string;
812
746
  }>;
813
747
  export type Signal = z.infer<typeof SignalSchema>;
814
748
  export type OrganizationItem = z.infer<typeof OrganizationItemSchema>;
@@ -13,21 +13,19 @@ var PublishStatus;
13
13
  PublishStatus["Hold"] = "HOLD";
14
14
  })(PublishStatus || (exports.PublishStatus = PublishStatus = {}));
15
15
  exports.SignalSchema = zod_1.z.object({
16
- id: zod_1.z.string(),
17
- state: entity_1.EntityItemArraySchema,
18
- country: entity_1.EntityItemArrayOptionalSchema,
19
- county: entity_1.EntityItemArrayOptionalSchema,
20
- sectors: entity_1.EntityItemArraySchema,
21
- queueApplications: entity_1.QueueJoinOptionalSchema,
22
- projectPipeline: entity_1.EntityItemArrayOptionalSchema,
23
- headline: zod_1.z.string().min(1),
16
+ $organizations: zod_1.z.string().optional(),
17
+ allSectors: entity_1.OptionalStringSchema,
18
+ audiences: entity_1.EntityItemArraySchema,
24
19
  body: entity_1.OptionalStringSchema,
25
- filingDate: entity_1.YYYYMMDDRegexOptionalSchema,
26
- publishedDate: entity_1.YYYYMMDDRegexOptionalSchema,
27
20
  commercialOperationDate: entity_1.YYYYMMDDRegexOptionalSchema,
28
- facilityName: entity_1.OptionalStringSchema,
21
+ country: entity_1.EntityItemArrayOptionalSchema,
22
+ county: entity_1.EntityItemArrayOptionalSchema,
23
+ countyBoard: entity_1.EntityItemArrayOptionalSchema,
24
+ created: entity_1.YYYYMMDDRegexSchema,
25
+ documents: entity_1.DocumentRecordSchema,
29
26
  facilityAddress: entity_1.OptionalAddressSchema,
30
- location: entity_1.LocationItemArraySchema,
27
+ facilityName: entity_1.OptionalStringSchema,
28
+ filingDate: entity_1.YYYYMMDDRegexOptionalSchema,
31
29
  geo: zod_1.z.object({
32
30
  default: entity_1.OptionalCoordinateSchema,
33
31
  defaultValue: entity_1.OptionalStringSchema,
@@ -35,29 +33,24 @@ exports.SignalSchema = zod_1.z.object({
35
33
  facility: entity_1.OptionalCoordinateSchema,
36
34
  county: entity_1.OptionalCoordinateSchema,
37
35
  }),
38
- organizations: entity_1.OrganizationSchema,
36
+ headline: zod_1.z.string().min(1),
37
+ id: zod_1.z.string(),
39
38
  keyPeople: entity_1.LinkedPeopleOptionalSchema,
40
- documents: entity_1.DocumentRecordSchema,
39
+ location: entity_1.LocationItemArraySchema,
41
40
  mw: entity_1.OptionalNumberSchema,
42
- pucTracker: entity_1.EntityItemArrayOptionalSchema,
43
- editorNotes: entity_1.OptionalStringSchema,
44
- analystNotes: entity_1.OptionalStringSchema,
45
- createdBy: entity_1.EntityItemArraySchema,
46
- created: entity_1.YYYYMMDDRegexSchema,
47
- status: zod_1.z.nativeEnum(PublishStatus),
48
- curateDocLink: zod_1.z.string().url().optional(),
49
- curateMunicipalityLink: zod_1.z.string().url().optional(),
50
- type: entity_1.EntityItemSchema.optional(),
51
- subType: entity_1.EntityItemArrayOptionalSchema,
52
- audiences: entity_1.EntityItemArraySchema,
53
- lastUpdatedBy: entity_1.EntityItemArraySchema,
41
+ organizations: entity_1.OrganizationSchema,
54
42
  phase: entity_1.OptionalStringSchema,
55
- dgChannels: entity_1.EntityItemArrayOptionalSchema,
43
+ projectPipeline: entity_1.EntityItemArrayOptionalSchema,
56
44
  projects: entity_1.EntityItemArrayOptionalSchema,
57
- countyBoard: entity_1.EntityItemArrayOptionalSchema,
45
+ publishedDate: entity_1.YYYYMMDDRegexOptionalSchema,
46
+ pucTracker: entity_1.EntityItemArrayOptionalSchema,
47
+ queueApplications: entity_1.QueueJoinOptionalSchema,
58
48
  schoolDistrict: entity_1.EntityItemArrayOptionalSchema,
49
+ sectors: entity_1.EntityItemArraySchema,
50
+ state: entity_1.EntityItemArraySchema,
51
+ status: zod_1.z.nativeEnum(PublishStatus),
52
+ subType: entity_1.EntityItemArrayOptionalSchema,
59
53
  totals: entity_1.TotalsSchema,
60
- allSectors: entity_1.OptionalStringSchema,
61
- $organizations: zod_1.z.string().optional(), // this could be an empty string
54
+ type: entity_1.EntityItemSchema.optional(),
62
55
  });
63
56
  //# sourceMappingURL=signals.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signals.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/signals.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qCAmBiB;AAEjB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,6CAA4B,CAAA;IAC5B,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,0DAAyC,CAAA;IACzC,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAEY,QAAA,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,8BAAqB;IAC5B,OAAO,EAAE,sCAA6B;IACtC,MAAM,EAAE,sCAA6B;IACrC,OAAO,EAAE,8BAAqB;IAC9B,iBAAiB,EAAE,gCAAuB;IAC1C,eAAe,EAAE,sCAA6B;IAC9C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,6BAAoB;IAC1B,UAAU,EAAE,oCAA2B;IACvC,aAAa,EAAE,oCAA2B;IAC1C,uBAAuB,EAAE,oCAA2B;IACpD,YAAY,EAAE,6BAAoB;IAClC,eAAe,EAAE,8BAAqB;IACtC,QAAQ,EAAE,gCAAuB;IACjC,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,iCAAwB;QACjC,YAAY,EAAE,6BAAoB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,MAAM,EAAE,iCAAwB;KACjC,CAAC;IACF,aAAa,EAAE,2BAAkB;IACjC,SAAS,EAAE,mCAA0B;IACrC,SAAS,EAAE,6BAAoB;IAC/B,EAAE,EAAE,6BAAoB;IACxB,UAAU,EAAE,sCAA6B;IACzC,WAAW,EAAE,6BAAoB;IACjC,YAAY,EAAE,6BAAoB;IAClC,SAAS,EAAE,8BAAqB;IAChC,OAAO,EAAE,4BAAmB;IAC5B,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,aAAa,CAAC;IACnC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1C,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACnD,IAAI,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,sCAA6B;IACtC,SAAS,EAAE,8BAAqB;IAChC,aAAa,EAAE,8BAAqB;IACpC,KAAK,EAAE,6BAAoB;IAC3B,UAAU,EAAE,sCAA6B;IACzC,QAAQ,EAAE,sCAA6B;IACvC,WAAW,EAAE,sCAA6B;IAC1C,cAAc,EAAE,sCAA6B;IAC7C,MAAM,EAAE,qBAAY;IACpB,UAAU,EAAE,6BAAoB;IAChC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,gCAAgC;CACxE,CAAC,CAAA"}
1
+ {"version":3,"file":"signals.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/signals.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qCAmBiB;AAEjB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,6CAA4B,CAAA;IAC5B,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,0DAAyC,CAAA;IACzC,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAEY,QAAA,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,UAAU,EAAE,6BAAoB;IAChC,SAAS,EAAE,8BAAqB;IAChC,IAAI,EAAE,6BAAoB;IAC1B,uBAAuB,EAAE,oCAA2B;IACpD,OAAO,EAAE,sCAA6B;IACtC,MAAM,EAAE,sCAA6B;IACrC,WAAW,EAAE,sCAA6B;IAC1C,OAAO,EAAE,4BAAmB;IAC5B,SAAS,EAAE,6BAAoB;IAC/B,eAAe,EAAE,8BAAqB;IACtC,YAAY,EAAE,6BAAoB;IAClC,UAAU,EAAE,oCAA2B;IACvC,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,iCAAwB;QACjC,YAAY,EAAE,6BAAoB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,MAAM,EAAE,iCAAwB;KACjC,CAAC;IACF,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,mCAA0B;IACrC,QAAQ,EAAE,gCAAuB;IACjC,EAAE,EAAE,6BAAoB;IACxB,aAAa,EAAE,2BAAkB;IACjC,KAAK,EAAE,6BAAoB;IAC3B,eAAe,EAAE,sCAA6B;IAC9C,QAAQ,EAAE,sCAA6B;IACvC,aAAa,EAAE,oCAA2B;IAC1C,UAAU,EAAE,sCAA6B;IACzC,iBAAiB,EAAE,gCAAuB;IAC1C,cAAc,EAAE,sCAA6B;IAC7C,OAAO,EAAE,8BAAqB;IAC9B,KAAK,EAAE,8BAAqB;IAC5B,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,aAAa,CAAC;IACnC,OAAO,EAAE,sCAA6B;IACtC,MAAM,EAAE,qBAAY;IACpB,IAAI,EAAE,yBAAgB,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}