@new-project-media/client-frontends-shared-types 1.1.17 → 1.1.19

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.1.17",
3
+ "version": "1.1.19",
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/",
@@ -63,6 +63,35 @@ export declare const EntityItemArrayOptionalSchema: z.ZodOptional<z.ZodArray<z.Z
63
63
  export type EntityItemArrayOptionalSchemaType = z.infer<typeof EntityItemArrayOptionalSchema>;
64
64
  export declare const OptionalStringSchema: z.ZodOptional<z.ZodString>;
65
65
  export declare const OptionalNumberSchema: z.ZodOptional<z.ZodNumber>;
66
+ export declare const LocationItemSchema: z.ZodObject<z.objectUtil.extendShape<{
67
+ identifier: z.ZodString;
68
+ id: z.ZodString;
69
+ }, {
70
+ isApproximate: z.ZodOptional<z.ZodBoolean>;
71
+ }>, "strip", z.ZodTypeAny, {
72
+ id?: string;
73
+ identifier?: string;
74
+ isApproximate?: boolean;
75
+ }, {
76
+ id?: string;
77
+ identifier?: string;
78
+ isApproximate?: boolean;
79
+ }>;
80
+ export type LocationItemType = z.infer<typeof LocationItemSchema>;
81
+ export declare const LocationItemArraySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
82
+ identifier: z.ZodString;
83
+ id: z.ZodString;
84
+ }, {
85
+ isApproximate: z.ZodOptional<z.ZodBoolean>;
86
+ }>, "strip", z.ZodTypeAny, {
87
+ id?: string;
88
+ identifier?: string;
89
+ isApproximate?: boolean;
90
+ }, {
91
+ id?: string;
92
+ identifier?: string;
93
+ isApproximate?: boolean;
94
+ }>, "many">;
66
95
  export declare const YYYYMMDDRegex: RegExp;
67
96
  export declare const YYYYMMDDRegexSchema: z.ZodEffects<z.ZodString, string, string>;
68
97
  export declare const YYYYMMDDRegexOptionalSchema: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
@@ -421,3 +450,54 @@ export declare const GeoSchema: z.ZodObject<{
421
450
  };
422
451
  }>;
423
452
  export type Geo = z.infer<typeof GeoSchema>;
453
+ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
454
+ offtaker: z.ZodOptional<z.ZodNumber>;
455
+ projects: z.ZodOptional<z.ZodNumber>;
456
+ keyPeople: z.ZodOptional<z.ZodNumber>;
457
+ documents: z.ZodOptional<z.ZodNumber>;
458
+ organizations: z.ZodOptional<z.ZodNumber>;
459
+ queueApplications: z.ZodOptional<z.ZodNumber>;
460
+ utility: z.ZodOptional<z.ZodNumber>;
461
+ puc: z.ZodOptional<z.ZodNumber>;
462
+ developer: z.ZodOptional<z.ZodNumber>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ keyPeople?: number;
465
+ offtaker?: number;
466
+ projects?: number;
467
+ documents?: number;
468
+ organizations?: number;
469
+ queueApplications?: number;
470
+ utility?: number;
471
+ puc?: number;
472
+ developer?: number;
473
+ }, {
474
+ keyPeople?: number;
475
+ offtaker?: number;
476
+ projects?: number;
477
+ documents?: number;
478
+ organizations?: number;
479
+ queueApplications?: number;
480
+ utility?: number;
481
+ puc?: number;
482
+ developer?: number;
483
+ }>, {
484
+ keyPeople?: number;
485
+ offtaker?: number;
486
+ projects?: number;
487
+ documents?: number;
488
+ organizations?: number;
489
+ queueApplications?: number;
490
+ utility?: number;
491
+ puc?: number;
492
+ developer?: number;
493
+ }, {
494
+ keyPeople?: number;
495
+ offtaker?: number;
496
+ projects?: number;
497
+ documents?: number;
498
+ organizations?: number;
499
+ queueApplications?: number;
500
+ utility?: number;
501
+ puc?: number;
502
+ developer?: number;
503
+ }>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GeoSchema = 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.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.OrganizationItemSchema = exports.EntityItemSchema = void 0;
3
+ exports.TotalsSchema = exports.GeoSchema = 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.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.LocationItemArraySchema = exports.LocationItemSchema = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.OrganizationItemSchema = 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),
@@ -14,6 +14,10 @@ exports.EntityItemArraySchema = zod_1.z.array(exports.EntityItemSchema);
14
14
  exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema.optional();
15
15
  exports.OptionalStringSchema = zod_1.z.string().optional();
16
16
  exports.OptionalNumberSchema = zod_1.z.number().optional();
17
+ exports.LocationItemSchema = exports.EntityItemSchema.extend({
18
+ isApproximate: zod_1.z.boolean().optional(),
19
+ });
20
+ exports.LocationItemArraySchema = zod_1.z.array(exports.LocationItemSchema);
17
21
  exports.YYYYMMDDRegex = /([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))/;
18
22
  exports.YYYYMMDDRegexSchema = zod_1.z
19
23
  .string()
@@ -91,4 +95,20 @@ exports.GeoSchema = zod_1.z.object({
91
95
  lat: zod_1.z.number(),
92
96
  }),
93
97
  });
98
+ exports.TotalsSchema = zod_1.z
99
+ .object({
100
+ offtaker: zod_1.z.number().optional(),
101
+ projects: zod_1.z.number().optional(),
102
+ keyPeople: zod_1.z.number().optional(),
103
+ documents: zod_1.z.number().optional(),
104
+ organizations: zod_1.z.number().optional(),
105
+ queueApplications: zod_1.z.number().optional(),
106
+ utility: zod_1.z.number().optional(),
107
+ puc: zod_1.z.number().optional(),
108
+ developer: zod_1.z.number().optional(),
109
+ })
110
+ .refine((obj) => Object.keys(obj).length > 0, {
111
+ message: 'At least one property must be present if totals object exists',
112
+ })
113
+ .optional();
94
114
  //# 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,sBAAsB,GAAG,wBAAgB,CAAC,MAAM,CAAC;IAC5D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAA;AAGW,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC,8BAAsB,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,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,OAAO,EAAE,4BAAoB;IAC7B,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,2BAAmB;IACjC,MAAM,EAAE,4BAAoB;IAC5B,EAAE,EAAE,4BAAoB;CACzB,CAAC;KACD,KAAK,EAAE,CAAA;AAEG,QAAA,0BAA0B,GAAG,0BAAkB,CAAC,QAAQ,EAAE,CAAA;AAK1D,QAAA,oBAAoB,GAAG,OAAC;KAClC,KAAK,CAAC,CAAC,8BAAsB,EAAE,0BAAkB,CAAC,CAAC;KACnD,QAAQ,EAAE,CAAA;AAMA,QAAA,SAAS,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;QACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;KAChB,CAAC;CACH,CAAC,CAAA"}
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,sBAAsB,GAAG,wBAAgB,CAAC,MAAM,CAAC;IAC5D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAA;AAGW,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC,8BAAsB,CAAC,CAAC,QAAQ,EAAE,CAAA;AAG/D,QAA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AE;IACxC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC;KACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;IAC5C,OAAO,EAAE,+DAA+D;CACzE,CAAC;KACD,QAAQ,EAAE,CAAA"}
@@ -89,17 +89,17 @@ declare const queue: z.ZodObject<{
89
89
  applicationId?: string;
90
90
  queueDataset?: string;
91
91
  country?: string;
92
+ organizations?: {
93
+ id?: string;
94
+ identifier?: string;
95
+ role?: string;
96
+ }[];
92
97
  geo?: {
93
98
  project?: {
94
99
  lat?: number;
95
100
  lon?: number;
96
101
  };
97
102
  };
98
- organizations?: {
99
- id?: string;
100
- identifier?: string;
101
- role?: string;
102
- }[];
103
103
  actualOperationalDate?: string;
104
104
  address?: string;
105
105
  allSectors?: string;
@@ -138,17 +138,17 @@ declare const queue: z.ZodObject<{
138
138
  applicationId?: string;
139
139
  queueDataset?: string;
140
140
  country?: string;
141
+ organizations?: {
142
+ id?: string;
143
+ identifier?: string;
144
+ role?: string;
145
+ }[];
141
146
  geo?: {
142
147
  project?: {
143
148
  lat?: number;
144
149
  lon?: number;
145
150
  };
146
151
  };
147
- organizations?: {
148
- id?: string;
149
- identifier?: string;
150
- role?: string;
151
- }[];
152
152
  actualOperationalDate?: string;
153
153
  address?: string;
154
154
  allSectors?: string;
@@ -116,15 +116,19 @@ declare const signal: z.ZodObject<{
116
116
  latitude?: number;
117
117
  longitude?: number;
118
118
  }>>;
119
- location: z.ZodArray<z.ZodObject<{
119
+ location: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
120
120
  identifier: z.ZodString;
121
121
  id: z.ZodString;
122
- }, "strip", z.ZodTypeAny, {
122
+ }, {
123
+ isApproximate: z.ZodOptional<z.ZodBoolean>;
124
+ }>, "strip", z.ZodTypeAny, {
123
125
  id?: string;
124
126
  identifier?: string;
127
+ isApproximate?: boolean;
125
128
  }, {
126
129
  id?: string;
127
130
  identifier?: string;
131
+ isApproximate?: boolean;
128
132
  }>, "many">;
129
133
  geo: z.ZodObject<{
130
134
  default: z.ZodOptional<z.ZodObject<{
@@ -404,6 +408,57 @@ declare const signal: z.ZodObject<{
404
408
  id?: string;
405
409
  identifier?: string;
406
410
  }>, "many">>;
411
+ totals: z.ZodOptional<z.ZodEffects<z.ZodObject<{
412
+ offtaker: z.ZodOptional<z.ZodNumber>;
413
+ projects: z.ZodOptional<z.ZodNumber>;
414
+ keyPeople: z.ZodOptional<z.ZodNumber>;
415
+ documents: z.ZodOptional<z.ZodNumber>;
416
+ organizations: z.ZodOptional<z.ZodNumber>;
417
+ queueApplications: z.ZodOptional<z.ZodNumber>;
418
+ utility: z.ZodOptional<z.ZodNumber>;
419
+ puc: z.ZodOptional<z.ZodNumber>;
420
+ developer: z.ZodOptional<z.ZodNumber>;
421
+ }, "strip", z.ZodTypeAny, {
422
+ keyPeople?: number;
423
+ offtaker?: number;
424
+ projects?: number;
425
+ documents?: number;
426
+ organizations?: number;
427
+ queueApplications?: number;
428
+ utility?: number;
429
+ puc?: number;
430
+ developer?: number;
431
+ }, {
432
+ keyPeople?: number;
433
+ offtaker?: number;
434
+ projects?: number;
435
+ documents?: number;
436
+ organizations?: number;
437
+ queueApplications?: number;
438
+ utility?: number;
439
+ puc?: number;
440
+ developer?: number;
441
+ }>, {
442
+ keyPeople?: number;
443
+ offtaker?: number;
444
+ projects?: number;
445
+ documents?: number;
446
+ organizations?: number;
447
+ queueApplications?: number;
448
+ utility?: number;
449
+ puc?: number;
450
+ developer?: number;
451
+ }, {
452
+ keyPeople?: number;
453
+ offtaker?: number;
454
+ projects?: number;
455
+ documents?: number;
456
+ organizations?: number;
457
+ queueApplications?: number;
458
+ utility?: number;
459
+ puc?: number;
460
+ developer?: number;
461
+ }>>;
407
462
  }, "strip", z.ZodTypeAny, {
408
463
  type?: {
409
464
  id?: string;
@@ -442,6 +497,32 @@ declare const signal: z.ZodObject<{
442
497
  identifier?: string;
443
498
  }[];
444
499
  created?: string;
500
+ projects?: {
501
+ id?: string;
502
+ identifier?: string;
503
+ }[];
504
+ documents?: {
505
+ type?: string[];
506
+ key?: string;
507
+ filename?: string;
508
+ created?: string;
509
+ document_id?: string;
510
+ mimeType?: string;
511
+ userName?: string;
512
+ }[] | {
513
+ type?: string[];
514
+ id?: string;
515
+ source?: string;
516
+ created?: string;
517
+ file?: string;
518
+ url?: string;
519
+ documentDate?: string;
520
+ }[];
521
+ organizations?: {
522
+ id?: string;
523
+ identifier?: string;
524
+ role?: string;
525
+ }[];
445
526
  queueApplications?: {
446
527
  id?: string;
447
528
  identifier?: string;
@@ -473,6 +554,7 @@ declare const signal: z.ZodObject<{
473
554
  location?: {
474
555
  id?: string;
475
556
  identifier?: string;
557
+ isApproximate?: boolean;
476
558
  }[];
477
559
  geo?: {
478
560
  county?: {
@@ -493,28 +575,6 @@ declare const signal: z.ZodObject<{
493
575
  lon?: number;
494
576
  };
495
577
  };
496
- organizations?: {
497
- id?: string;
498
- identifier?: string;
499
- role?: string;
500
- }[];
501
- documents?: {
502
- type?: string[];
503
- key?: string;
504
- filename?: string;
505
- created?: string;
506
- document_id?: string;
507
- mimeType?: string;
508
- userName?: string;
509
- }[] | {
510
- type?: string[];
511
- id?: string;
512
- source?: string;
513
- created?: string;
514
- file?: string;
515
- url?: string;
516
- documentDate?: string;
517
- }[];
518
578
  mw?: number;
519
579
  pucTracker?: {
520
580
  id?: string;
@@ -541,10 +601,6 @@ declare const signal: z.ZodObject<{
541
601
  id?: string;
542
602
  identifier?: string;
543
603
  }[];
544
- projects?: {
545
- id?: string;
546
- identifier?: string;
547
- }[];
548
604
  countyBoard?: {
549
605
  id?: string;
550
606
  identifier?: string;
@@ -553,6 +609,17 @@ declare const signal: z.ZodObject<{
553
609
  id?: string;
554
610
  identifier?: string;
555
611
  }[];
612
+ totals?: {
613
+ keyPeople?: number;
614
+ offtaker?: number;
615
+ projects?: number;
616
+ documents?: number;
617
+ organizations?: number;
618
+ queueApplications?: number;
619
+ utility?: number;
620
+ puc?: number;
621
+ developer?: number;
622
+ };
556
623
  }, {
557
624
  type?: {
558
625
  id?: string;
@@ -591,6 +658,32 @@ declare const signal: z.ZodObject<{
591
658
  identifier?: string;
592
659
  }[];
593
660
  created?: string;
661
+ projects?: {
662
+ id?: string;
663
+ identifier?: string;
664
+ }[];
665
+ documents?: {
666
+ type?: string[];
667
+ key?: string;
668
+ filename?: string;
669
+ created?: string;
670
+ document_id?: string;
671
+ mimeType?: string;
672
+ userName?: string;
673
+ }[] | {
674
+ type?: string[];
675
+ id?: string;
676
+ source?: string;
677
+ created?: string;
678
+ file?: string;
679
+ url?: string;
680
+ documentDate?: string;
681
+ }[];
682
+ organizations?: {
683
+ id?: string;
684
+ identifier?: string;
685
+ role?: string;
686
+ }[];
594
687
  queueApplications?: {
595
688
  id?: string;
596
689
  identifier?: string;
@@ -622,6 +715,7 @@ declare const signal: z.ZodObject<{
622
715
  location?: {
623
716
  id?: string;
624
717
  identifier?: string;
718
+ isApproximate?: boolean;
625
719
  }[];
626
720
  geo?: {
627
721
  county?: {
@@ -642,28 +736,6 @@ declare const signal: z.ZodObject<{
642
736
  lon?: number;
643
737
  };
644
738
  };
645
- organizations?: {
646
- id?: string;
647
- identifier?: string;
648
- role?: string;
649
- }[];
650
- documents?: {
651
- type?: string[];
652
- key?: string;
653
- filename?: string;
654
- created?: string;
655
- document_id?: string;
656
- mimeType?: string;
657
- userName?: string;
658
- }[] | {
659
- type?: string[];
660
- id?: string;
661
- source?: string;
662
- created?: string;
663
- file?: string;
664
- url?: string;
665
- documentDate?: string;
666
- }[];
667
739
  mw?: number;
668
740
  pucTracker?: {
669
741
  id?: string;
@@ -690,10 +762,6 @@ declare const signal: z.ZodObject<{
690
762
  id?: string;
691
763
  identifier?: string;
692
764
  }[];
693
- projects?: {
694
- id?: string;
695
- identifier?: string;
696
- }[];
697
765
  countyBoard?: {
698
766
  id?: string;
699
767
  identifier?: string;
@@ -702,6 +770,17 @@ declare const signal: z.ZodObject<{
702
770
  id?: string;
703
771
  identifier?: string;
704
772
  }[];
773
+ totals?: {
774
+ keyPeople?: number;
775
+ offtaker?: number;
776
+ projects?: number;
777
+ documents?: number;
778
+ organizations?: number;
779
+ queueApplications?: number;
780
+ utility?: number;
781
+ puc?: number;
782
+ developer?: number;
783
+ };
705
784
  }>;
706
785
  export type Signal = z.infer<typeof signal>;
707
786
  export type OrganizationItem = z.infer<typeof OrganizationItemSchema>;
@@ -27,7 +27,7 @@ const signal = zod_1.z.object({
27
27
  commercialOperationDate: entity_1.YYYYMMDDRegexOptionalSchema,
28
28
  facilityName: entity_1.OptionalStringSchema,
29
29
  facilityAddress: entity_1.OptionalAddressSchema,
30
- location: entity_1.EntityItemArraySchema,
30
+ location: entity_1.LocationItemArraySchema,
31
31
  geo: zod_1.z.object({
32
32
  default: entity_1.OptionalCoordinateSchema,
33
33
  defaultValue: entity_1.OptionalStringSchema,
@@ -56,5 +56,6 @@ const signal = zod_1.z.object({
56
56
  projects: entity_1.EntityItemArrayOptionalSchema,
57
57
  countyBoard: entity_1.EntityItemArrayOptionalSchema,
58
58
  schoolDistrict: entity_1.EntityItemArrayOptionalSchema,
59
+ totals: entity_1.TotalsSchema,
59
60
  });
60
61
  //# 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,qCAiBiB;AAEjB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,6CAA4B,CAAA;IAC5B,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,0DAAyC,CAAA;IACz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AQ,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;CAC9C,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;AAED,MAAM,MAAM,GAAG,OAAC,CAAC,MAAM,CAAC;IACtB,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,EAA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