@new-project-media/client-frontends-shared-types 3.3.20 → 3.3.22

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": "3.3.20",
3
+ "version": "3.3.22",
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/",
@@ -0,0 +1,51 @@
1
+ import { z } from 'zod';
2
+ export declare const IntelSchema: z.ZodObject<{
3
+ audiences: z.ZodArray<z.ZodObject<{
4
+ identifier: z.ZodString;
5
+ id: z.ZodString;
6
+ }, z.core.$strip>>;
7
+ body: z.ZodOptional<z.ZodString>;
8
+ country: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
+ identifier: z.ZodString;
10
+ id: z.ZodString;
11
+ }, z.core.$strip>>>;
12
+ created: z.ZodString;
13
+ createdAt: z.ZodString;
14
+ headline: z.ZodString;
15
+ id: z.ZodString;
16
+ intel: z.ZodAny;
17
+ intelChannelTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ identifier: z.ZodString;
19
+ id: z.ZodString;
20
+ }, z.core.$strip>>>;
21
+ intelSource: z.ZodAny;
22
+ intelType: z.ZodOptional<z.ZodString>;
23
+ journalists: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
+ localState: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
+ identifier: z.ZodString;
26
+ id: z.ZodString;
27
+ }, z.core.$strip>>>;
28
+ meta: z.ZodAny;
29
+ modified: z.ZodString;
30
+ organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ identifier: z.ZodString;
32
+ id: z.ZodString;
33
+ role: z.ZodString;
34
+ ref: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>>>;
36
+ projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
37
+ identifier: z.ZodString;
38
+ id: z.ZodString;
39
+ }, z.core.$strip>>>;
40
+ published: z.ZodBoolean;
41
+ publishedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ regions: z.ZodArray<z.ZodObject<{
43
+ identifier: z.ZodString;
44
+ id: z.ZodString;
45
+ }, z.core.$strip>>;
46
+ sectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
47
+ identifier: z.ZodString;
48
+ id: z.ZodString;
49
+ }, z.core.$strip>>>;
50
+ }, z.core.$strip>;
51
+ export type Intel = z.infer<typeof IntelSchema>;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntelSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const entity_1 = require("./entity");
6
+ exports.IntelSchema = zod_1.z.object({
7
+ audiences: entity_1.EntityItemArraySchema,
8
+ body: entity_1.OptionalStringSchema,
9
+ country: entity_1.EntityItemArrayOptionalSchema,
10
+ created: entity_1.YYYYMMDDRegexSchema,
11
+ createdAt: entity_1.YYYYMMDDRegexSchema,
12
+ headline: zod_1.z.string(),
13
+ id: zod_1.z.string(),
14
+ intel: zod_1.z.any(),
15
+ intelChannelTags: entity_1.EntityItemArrayOptionalSchema,
16
+ intelSource: zod_1.z.any(),
17
+ intelType: entity_1.OptionalStringSchema,
18
+ journalists: entity_1.OptionalStringArraySchema,
19
+ localState: entity_1.EntityItemArrayOptionalSchema,
20
+ meta: zod_1.z.any(),
21
+ modified: entity_1.YYYYMMDDRegexSchema,
22
+ organizations: entity_1.OrganizationSchema,
23
+ projects: entity_1.EntityItemArrayOptionalSchema,
24
+ published: zod_1.z.boolean(),
25
+ publishedAt: entity_1.YYYYMMDDRegexOptionalSchema,
26
+ regions: entity_1.EntityItemArraySchema,
27
+ sectors: entity_1.EntityItemArrayOptionalSchema,
28
+ });
29
+ //# sourceMappingURL=intel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intel.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/intel.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qCAQiB;AAEJ,QAAA,WAAW,GAAG,OAAC,CAAC,MAAM,CAAC;IAClC,SAAS,EAAE,8BAAqB;IAChC,IAAI,EAAE,6BAAoB;IAC1B,OAAO,EAAE,sCAA6B;IACtC,OAAO,EAAE,4BAAmB;IAC5B,SAAS,EAAE,4BAAmB;IAC9B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,OAAC,CAAC,GAAG,EAAE;IACd,gBAAgB,EAAE,sCAA6B;IAC/C,WAAW,EAAE,OAAC,CAAC,GAAG,EAAE;IACpB,SAAS,EAAE,6BAAoB;IAC/B,WAAW,EAAE,kCAAyB;IACtC,UAAU,EAAE,sCAA6B;IACzC,IAAI,EAAE,OAAC,CAAC,GAAG,EAAE;IACb,QAAQ,EAAE,4BAAmB;IAC7B,aAAa,EAAE,2BAAkB;IACjC,QAAQ,EAAE,sCAA6B;IACvC,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE;IACtB,WAAW,EAAE,oCAA2B;IACxC,OAAO,EAAE,8BAAqB;IAC9B,OAAO,EAAE,sCAA6B;CACvC,CAAC,CAAA"}
@@ -183,4 +183,5 @@ export type PoiGroupApiResponse = z.infer<typeof PoiGroupApiResponseSchema>;
183
183
  export type PoiGroupHits = z.infer<typeof PoiGroupHitsSchema>;
184
184
  export type PoiGroupApplication = z.infer<typeof ApplicationSchema>;
185
185
  export type PoiGroupAggs = z.infer<typeof AggSchema>;
186
+ export type PoiGroupRelated = z.infer<typeof RelatedPoiGroupSchema>;
186
187
  export type PoiGroupApiRequestFilters = z.infer<typeof PoiApiRequestFiltersSchema>;