@new-project-media/client-frontends-shared-types 1.1.1 → 1.1.18

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.1",
3
+ "version": "1.1.18",
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>>>;
@@ -225,6 +254,26 @@ export declare const OptionalAddressSchema: z.ZodOptional<z.ZodObject<{
225
254
  longitude?: number;
226
255
  }>>;
227
256
  export type OptionalAddressType = z.infer<typeof OptionalAddressSchema>;
257
+ export declare const CoordinateSchema: z.ZodObject<{
258
+ lat: z.ZodNumber;
259
+ lon: z.ZodNumber;
260
+ }, "strip", z.ZodTypeAny, {
261
+ lat?: number;
262
+ lon?: number;
263
+ }, {
264
+ lat?: number;
265
+ lon?: number;
266
+ }>;
267
+ export declare const OptionalCoordinateSchema: z.ZodOptional<z.ZodObject<{
268
+ lat: z.ZodNumber;
269
+ lon: z.ZodNumber;
270
+ }, "strip", z.ZodTypeAny, {
271
+ lat?: number;
272
+ lon?: number;
273
+ }, {
274
+ lat?: number;
275
+ lon?: number;
276
+ }>>;
228
277
  export declare const DocumentS3RecordSchema: z.ZodArray<z.ZodObject<{
229
278
  filename: z.ZodString;
230
279
  created: z.ZodEffects<z.ZodString, string, string>;
@@ -383,21 +432,21 @@ export declare const GeoSchema: z.ZodObject<{
383
432
  lon: z.ZodNumber;
384
433
  lat: z.ZodNumber;
385
434
  }, "strip", z.ZodTypeAny, {
386
- lon?: number;
387
435
  lat?: number;
388
- }, {
389
436
  lon?: number;
437
+ }, {
390
438
  lat?: number;
439
+ lon?: number;
391
440
  }>;
392
441
  }, "strip", z.ZodTypeAny, {
393
442
  project?: {
394
- lon?: number;
395
443
  lat?: number;
444
+ lon?: number;
396
445
  };
397
446
  }, {
398
447
  project?: {
399
- lon?: number;
400
448
  lat?: number;
449
+ lon?: number;
401
450
  };
402
451
  }>;
403
452
  export type Geo = z.infer<typeof GeoSchema>;
@@ -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.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.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()
@@ -56,6 +60,8 @@ exports.AddressSchema = zod_1.z.object({
56
60
  longitude: exports.OptionalNumberSchema,
57
61
  });
58
62
  exports.OptionalAddressSchema = exports.AddressSchema.optional();
63
+ exports.CoordinateSchema = zod_1.z.object({ lat: zod_1.z.number(), lon: zod_1.z.number() });
64
+ exports.OptionalCoordinateSchema = exports.CoordinateSchema.optional();
59
65
  exports.DocumentS3RecordSchema = zod_1.z
60
66
  .object({
61
67
  filename: zod_1.z.string(),
@@ -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,CAAC,CAAC,QAAQ,EAAE,CAAA;AAG/D,QAAA,qBAAqB,GAAG,OAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC,CAAA;AAGjD,QAAA,6BAA6B,GAAG,6BAAqB,CAAC,QAAQ,EAAE,CAAA;AAKhE,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAA;AAC5C,Q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B,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"}
@@ -12,21 +12,21 @@ declare const queue: z.ZodObject<{
12
12
  lon: z.ZodNumber;
13
13
  lat: z.ZodNumber;
14
14
  }, "strip", z.ZodTypeAny, {
15
- lon?: number;
16
15
  lat?: number;
17
- }, {
18
16
  lon?: number;
17
+ }, {
19
18
  lat?: number;
19
+ lon?: number;
20
20
  }>;
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  project?: {
23
- lon?: number;
24
23
  lat?: number;
24
+ lon?: number;
25
25
  };
26
26
  }, {
27
27
  project?: {
28
- lon?: number;
29
28
  lat?: number;
29
+ lon?: number;
30
30
  };
31
31
  }>;
32
32
  id: z.ZodString;
@@ -89,6 +89,12 @@ declare const queue: z.ZodObject<{
89
89
  applicationId?: string;
90
90
  queueDataset?: string;
91
91
  country?: string;
92
+ geo?: {
93
+ project?: {
94
+ lat?: number;
95
+ lon?: number;
96
+ };
97
+ };
92
98
  organizations?: {
93
99
  id?: string;
94
100
  identifier?: string;
@@ -99,12 +105,6 @@ declare const queue: z.ZodObject<{
99
105
  allSectors?: string;
100
106
  constructionDate?: string;
101
107
  developmentStatus?: string;
102
- geo?: {
103
- project?: {
104
- lon?: number;
105
- lat?: number;
106
- };
107
- };
108
108
  indexed_at?: string;
109
109
  localCounty?: string;
110
110
  localRegion?: string;
@@ -138,6 +138,12 @@ declare const queue: z.ZodObject<{
138
138
  applicationId?: string;
139
139
  queueDataset?: string;
140
140
  country?: string;
141
+ geo?: {
142
+ project?: {
143
+ lat?: number;
144
+ lon?: number;
145
+ };
146
+ };
141
147
  organizations?: {
142
148
  id?: string;
143
149
  identifier?: string;
@@ -148,12 +154,6 @@ declare const queue: z.ZodObject<{
148
154
  allSectors?: string;
149
155
  constructionDate?: string;
150
156
  developmentStatus?: string;
151
- geo?: {
152
- project?: {
153
- lon?: number;
154
- lat?: number;
155
- };
156
- };
157
157
  indexed_at?: string;
158
158
  localCounty?: string;
159
159
  localRegion?: string;
@@ -116,6 +116,99 @@ declare const signal: z.ZodObject<{
116
116
  latitude?: number;
117
117
  longitude?: number;
118
118
  }>>;
119
+ location: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
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">;
133
+ geo: z.ZodObject<{
134
+ default: z.ZodOptional<z.ZodObject<{
135
+ lat: z.ZodNumber;
136
+ lon: z.ZodNumber;
137
+ }, "strip", z.ZodTypeAny, {
138
+ lat?: number;
139
+ lon?: number;
140
+ }, {
141
+ lat?: number;
142
+ lon?: number;
143
+ }>>;
144
+ defaultValue: z.ZodOptional<z.ZodString>;
145
+ location: z.ZodOptional<z.ZodObject<{
146
+ lat: z.ZodNumber;
147
+ lon: z.ZodNumber;
148
+ }, "strip", z.ZodTypeAny, {
149
+ lat?: number;
150
+ lon?: number;
151
+ }, {
152
+ lat?: number;
153
+ lon?: number;
154
+ }>>;
155
+ facility: z.ZodOptional<z.ZodObject<{
156
+ lat: z.ZodNumber;
157
+ lon: z.ZodNumber;
158
+ }, "strip", z.ZodTypeAny, {
159
+ lat?: number;
160
+ lon?: number;
161
+ }, {
162
+ lat?: number;
163
+ lon?: number;
164
+ }>>;
165
+ county: z.ZodOptional<z.ZodObject<{
166
+ lat: z.ZodNumber;
167
+ lon: z.ZodNumber;
168
+ }, "strip", z.ZodTypeAny, {
169
+ lat?: number;
170
+ lon?: number;
171
+ }, {
172
+ lat?: number;
173
+ lon?: number;
174
+ }>>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ county?: {
177
+ lat?: number;
178
+ lon?: number;
179
+ };
180
+ location?: {
181
+ lat?: number;
182
+ lon?: number;
183
+ };
184
+ default?: {
185
+ lat?: number;
186
+ lon?: number;
187
+ };
188
+ defaultValue?: string;
189
+ facility?: {
190
+ lat?: number;
191
+ lon?: number;
192
+ };
193
+ }, {
194
+ county?: {
195
+ lat?: number;
196
+ lon?: number;
197
+ };
198
+ location?: {
199
+ lat?: number;
200
+ lon?: number;
201
+ };
202
+ default?: {
203
+ lat?: number;
204
+ lon?: number;
205
+ };
206
+ defaultValue?: string;
207
+ facility?: {
208
+ lat?: number;
209
+ lon?: number;
210
+ };
211
+ }>;
119
212
  organizations: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
120
213
  identifier: z.ZodString;
121
214
  id: z.ZodString;
@@ -381,6 +474,30 @@ declare const signal: z.ZodObject<{
381
474
  latitude?: number;
382
475
  longitude?: number;
383
476
  };
477
+ location?: {
478
+ id?: string;
479
+ identifier?: string;
480
+ isApproximate?: boolean;
481
+ }[];
482
+ geo?: {
483
+ county?: {
484
+ lat?: number;
485
+ lon?: number;
486
+ };
487
+ location?: {
488
+ lat?: number;
489
+ lon?: number;
490
+ };
491
+ default?: {
492
+ lat?: number;
493
+ lon?: number;
494
+ };
495
+ defaultValue?: string;
496
+ facility?: {
497
+ lat?: number;
498
+ lon?: number;
499
+ };
500
+ };
384
501
  organizations?: {
385
502
  id?: string;
386
503
  identifier?: string;
@@ -507,6 +624,30 @@ declare const signal: z.ZodObject<{
507
624
  latitude?: number;
508
625
  longitude?: number;
509
626
  };
627
+ location?: {
628
+ id?: string;
629
+ identifier?: string;
630
+ isApproximate?: boolean;
631
+ }[];
632
+ geo?: {
633
+ county?: {
634
+ lat?: number;
635
+ lon?: number;
636
+ };
637
+ location?: {
638
+ lat?: number;
639
+ lon?: number;
640
+ };
641
+ default?: {
642
+ lat?: number;
643
+ lon?: number;
644
+ };
645
+ defaultValue?: string;
646
+ facility?: {
647
+ lat?: number;
648
+ lon?: number;
649
+ };
650
+ };
510
651
  organizations?: {
511
652
  id?: string;
512
653
  identifier?: string;
@@ -27,6 +27,14 @@ 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.LocationItemArraySchema,
31
+ geo: zod_1.z.object({
32
+ default: entity_1.OptionalCoordinateSchema,
33
+ defaultValue: entity_1.OptionalStringSchema,
34
+ location: entity_1.OptionalCoordinateSchema,
35
+ facility: entity_1.OptionalCoordinateSchema,
36
+ county: entity_1.OptionalCoordinateSchema,
37
+ }),
30
38
  organizations: entity_1.OrganizationSchema,
31
39
  keyPeople: entity_1.LinkedPeopleOptionalSchema,
32
40
  documents: entity_1.DocumentRecordSchema,
@@ -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,qCAgBiB;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,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;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,qCAkBiB;AAEjB,IAAY,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