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

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.0",
3
+ "version": "1.1.17",
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/",
@@ -23,6 +23,7 @@ export declare const OrganizationItemSchema: z.ZodObject<z.objectUtil.extendShap
23
23
  identifier?: string;
24
24
  role?: string;
25
25
  }>;
26
+ export type OrganizationItemType = z.infer<typeof OrganizationItemSchema>;
26
27
  export declare const OrganizationSchema: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
27
28
  identifier: z.ZodString;
28
29
  id: z.ZodString;
@@ -224,6 +225,26 @@ export declare const OptionalAddressSchema: z.ZodOptional<z.ZodObject<{
224
225
  longitude?: number;
225
226
  }>>;
226
227
  export type OptionalAddressType = z.infer<typeof OptionalAddressSchema>;
228
+ export declare const CoordinateSchema: z.ZodObject<{
229
+ lat: z.ZodNumber;
230
+ lon: z.ZodNumber;
231
+ }, "strip", z.ZodTypeAny, {
232
+ lat?: number;
233
+ lon?: number;
234
+ }, {
235
+ lat?: number;
236
+ lon?: number;
237
+ }>;
238
+ export declare const OptionalCoordinateSchema: z.ZodOptional<z.ZodObject<{
239
+ lat: z.ZodNumber;
240
+ lon: z.ZodNumber;
241
+ }, "strip", z.ZodTypeAny, {
242
+ lat?: number;
243
+ lon?: number;
244
+ }, {
245
+ lat?: number;
246
+ lon?: number;
247
+ }>>;
227
248
  export declare const DocumentS3RecordSchema: z.ZodArray<z.ZodObject<{
228
249
  filename: z.ZodString;
229
250
  created: z.ZodEffects<z.ZodString, string, string>;
@@ -382,21 +403,21 @@ export declare const GeoSchema: z.ZodObject<{
382
403
  lon: z.ZodNumber;
383
404
  lat: z.ZodNumber;
384
405
  }, "strip", z.ZodTypeAny, {
385
- lon?: number;
386
406
  lat?: number;
387
- }, {
388
407
  lon?: number;
408
+ }, {
389
409
  lat?: number;
410
+ lon?: number;
390
411
  }>;
391
412
  }, "strip", z.ZodTypeAny, {
392
413
  project?: {
393
- lon?: number;
394
414
  lat?: number;
415
+ lon?: number;
395
416
  };
396
417
  }, {
397
418
  project?: {
398
- lon?: number;
399
419
  lat?: number;
420
+ lon?: number;
400
421
  };
401
422
  }>;
402
423
  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.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),
@@ -56,6 +56,8 @@ exports.AddressSchema = zod_1.z.object({
56
56
  longitude: exports.OptionalNumberSchema,
57
57
  });
58
58
  exports.OptionalAddressSchema = exports.AddressSchema.optional();
59
+ exports.CoordinateSchema = zod_1.z.object({ lat: zod_1.z.number(), lon: zod_1.z.number() });
60
+ exports.OptionalCoordinateSchema = exports.CoordinateSchema.optional();
59
61
  exports.DocumentS3RecordSchema = zod_1.z
60
62
  .object({
61
63
  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;AAEW,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,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AAA;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,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,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAA;AAE5C,QAAA,aAAa,GAAG,mDAAmD,CAAA;AACnE,QAAA,mBAAmB,GAAG,OAAC;KACjC,MAAM,EAAE;KACR,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,qBAAa,CAAC,IAAI,CAAC,KAAK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AAM,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,95 @@ declare const signal: z.ZodObject<{
116
116
  latitude?: number;
117
117
  longitude?: number;
118
118
  }>>;
119
+ location: z.ZodArray<z.ZodObject<{
120
+ identifier: z.ZodString;
121
+ id: z.ZodString;
122
+ }, "strip", z.ZodTypeAny, {
123
+ id?: string;
124
+ identifier?: string;
125
+ }, {
126
+ id?: string;
127
+ identifier?: string;
128
+ }>, "many">;
129
+ geo: z.ZodObject<{
130
+ default: z.ZodOptional<z.ZodObject<{
131
+ lat: z.ZodNumber;
132
+ lon: z.ZodNumber;
133
+ }, "strip", z.ZodTypeAny, {
134
+ lat?: number;
135
+ lon?: number;
136
+ }, {
137
+ lat?: number;
138
+ lon?: number;
139
+ }>>;
140
+ defaultValue: z.ZodOptional<z.ZodString>;
141
+ location: z.ZodOptional<z.ZodObject<{
142
+ lat: z.ZodNumber;
143
+ lon: z.ZodNumber;
144
+ }, "strip", z.ZodTypeAny, {
145
+ lat?: number;
146
+ lon?: number;
147
+ }, {
148
+ lat?: number;
149
+ lon?: number;
150
+ }>>;
151
+ facility: z.ZodOptional<z.ZodObject<{
152
+ lat: z.ZodNumber;
153
+ lon: z.ZodNumber;
154
+ }, "strip", z.ZodTypeAny, {
155
+ lat?: number;
156
+ lon?: number;
157
+ }, {
158
+ lat?: number;
159
+ lon?: number;
160
+ }>>;
161
+ county: z.ZodOptional<z.ZodObject<{
162
+ lat: z.ZodNumber;
163
+ lon: z.ZodNumber;
164
+ }, "strip", z.ZodTypeAny, {
165
+ lat?: number;
166
+ lon?: number;
167
+ }, {
168
+ lat?: number;
169
+ lon?: number;
170
+ }>>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ county?: {
173
+ lat?: number;
174
+ lon?: number;
175
+ };
176
+ location?: {
177
+ lat?: number;
178
+ lon?: number;
179
+ };
180
+ default?: {
181
+ lat?: number;
182
+ lon?: number;
183
+ };
184
+ defaultValue?: string;
185
+ facility?: {
186
+ lat?: number;
187
+ lon?: number;
188
+ };
189
+ }, {
190
+ county?: {
191
+ lat?: number;
192
+ lon?: number;
193
+ };
194
+ location?: {
195
+ lat?: number;
196
+ lon?: number;
197
+ };
198
+ default?: {
199
+ lat?: number;
200
+ lon?: number;
201
+ };
202
+ defaultValue?: string;
203
+ facility?: {
204
+ lat?: number;
205
+ lon?: number;
206
+ };
207
+ }>;
119
208
  organizations: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
120
209
  identifier: z.ZodString;
121
210
  id: z.ZodString;
@@ -381,6 +470,29 @@ declare const signal: z.ZodObject<{
381
470
  latitude?: number;
382
471
  longitude?: number;
383
472
  };
473
+ location?: {
474
+ id?: string;
475
+ identifier?: string;
476
+ }[];
477
+ geo?: {
478
+ county?: {
479
+ lat?: number;
480
+ lon?: number;
481
+ };
482
+ location?: {
483
+ lat?: number;
484
+ lon?: number;
485
+ };
486
+ default?: {
487
+ lat?: number;
488
+ lon?: number;
489
+ };
490
+ defaultValue?: string;
491
+ facility?: {
492
+ lat?: number;
493
+ lon?: number;
494
+ };
495
+ };
384
496
  organizations?: {
385
497
  id?: string;
386
498
  identifier?: string;
@@ -507,6 +619,29 @@ declare const signal: z.ZodObject<{
507
619
  latitude?: number;
508
620
  longitude?: number;
509
621
  };
622
+ location?: {
623
+ id?: string;
624
+ identifier?: string;
625
+ }[];
626
+ geo?: {
627
+ county?: {
628
+ lat?: number;
629
+ lon?: number;
630
+ };
631
+ location?: {
632
+ lat?: number;
633
+ lon?: number;
634
+ };
635
+ default?: {
636
+ lat?: number;
637
+ lon?: number;
638
+ };
639
+ defaultValue?: string;
640
+ facility?: {
641
+ lat?: number;
642
+ lon?: number;
643
+ };
644
+ };
510
645
  organizations?: {
511
646
  id?: string;
512
647
  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.EntityItemArraySchema,
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,qCAiBiB;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,sC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