@new-project-media/client-frontends-shared-types 1.0.13 → 1.1.0
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
|
|
3
|
+
"version": "1.1.0",
|
|
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/",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { OrganizationItemSchema, LinkedPeopleSchema, QueueJoinSchema } from './entity';
|
|
2
|
+
import { EntityItemArrayOptionalSchema, OrganizationItemSchema, LinkedPeopleSchema, QueueJoinSchema } from './entity';
|
|
3
3
|
export declare enum PublishStatus {
|
|
4
4
|
NeedsReview = "Needs Review",
|
|
5
5
|
Spiked = "Spiked",
|
|
@@ -20,6 +20,16 @@ declare const signal: z.ZodObject<{
|
|
|
20
20
|
id?: string;
|
|
21
21
|
identifier?: string;
|
|
22
22
|
}>, "many">;
|
|
23
|
+
country: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
|
+
identifier: z.ZodString;
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
id?: string;
|
|
28
|
+
identifier?: string;
|
|
29
|
+
}, {
|
|
30
|
+
id?: string;
|
|
31
|
+
identifier?: string;
|
|
32
|
+
}>, "many">>;
|
|
23
33
|
county: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
34
|
identifier: z.ZodString;
|
|
25
35
|
id: z.ZodString;
|
|
@@ -338,6 +348,10 @@ declare const signal: z.ZodObject<{
|
|
|
338
348
|
}[];
|
|
339
349
|
id?: string;
|
|
340
350
|
status?: PublishStatus;
|
|
351
|
+
country?: {
|
|
352
|
+
id?: string;
|
|
353
|
+
identifier?: string;
|
|
354
|
+
}[];
|
|
341
355
|
created?: string;
|
|
342
356
|
queueApplications?: {
|
|
343
357
|
id?: string;
|
|
@@ -460,6 +474,10 @@ declare const signal: z.ZodObject<{
|
|
|
460
474
|
}[];
|
|
461
475
|
id?: string;
|
|
462
476
|
status?: PublishStatus;
|
|
477
|
+
country?: {
|
|
478
|
+
id?: string;
|
|
479
|
+
identifier?: string;
|
|
480
|
+
}[];
|
|
463
481
|
created?: string;
|
|
464
482
|
queueApplications?: {
|
|
465
483
|
id?: string;
|
|
@@ -554,4 +572,5 @@ export type Signal = z.infer<typeof signal>;
|
|
|
554
572
|
export type OrganizationItem = z.infer<typeof OrganizationItemSchema>;
|
|
555
573
|
export type LinkedPersonItem = z.infer<typeof LinkedPeopleSchema>[number];
|
|
556
574
|
export type QueueJoinItem = z.infer<typeof QueueJoinSchema>[number];
|
|
575
|
+
export type ProjectItem = z.infer<typeof EntityItemArrayOptionalSchema>[number];
|
|
557
576
|
export {};
|
|
@@ -15,6 +15,7 @@ var PublishStatus;
|
|
|
15
15
|
const signal = zod_1.z.object({
|
|
16
16
|
id: zod_1.z.string(),
|
|
17
17
|
state: entity_1.EntityItemArraySchema,
|
|
18
|
+
country: entity_1.EntityItemArrayOptionalSchema,
|
|
18
19
|
county: entity_1.EntityItemArrayOptionalSchema,
|
|
19
20
|
sectors: entity_1.EntityItemArraySchema,
|
|
20
21
|
queueApplications: entity_1.QueueJoinOptionalSchema,
|
|
@@ -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;IACv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,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,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,MA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