@thetimes/times-public-api-types 1.0.11948 → 1.0.12221

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/common.d.ts CHANGED
@@ -87,6 +87,7 @@ export type AudioChunk = {
87
87
  export type Variant = {
88
88
  id: string;
89
89
  name: string;
90
+ volume?: number | null;
90
91
  audio: AudioChunk[];
91
92
  };
92
93
  export type AudioNarration = {
package/index.d.ts CHANGED
@@ -40,6 +40,7 @@ export * from "./queries/query";
40
40
  export * from "./queries/section";
41
41
  export * from "./queries/slice";
42
42
  export * from "./queries/standard-page-slice";
43
+ export * from "./queries/storyline-menu";
43
44
  export * from "./queries/synonym-connection";
44
45
  export * from "./queries/synonym";
45
46
  export * from "./queries/tag-article-connection";
@@ -52,6 +53,7 @@ export * from "./queries/topic-draft-article-connection";
52
53
  export * from "./queries/topic-tag-connection";
53
54
  export * from "./queries/topic";
54
55
  export * from "./queries/user";
56
+ export * from "./mutations/article-audio-narration-update-result";
55
57
  export * from "./mutations/article-category-update-result";
56
58
  export * from "./mutations/article-input";
57
59
  export * from "./mutations/article-slice-input";
@@ -98,6 +100,8 @@ export * from "./mutations/section-update-result";
98
100
  export * from "./mutations/slice-input";
99
101
  export * from "./mutations/slice-update-result";
100
102
  export * from "./mutations/standard-page-slice-input";
103
+ export * from "./mutations/storyline-menu-input";
104
+ export * from "./mutations/storyline-menu-upsert-result";
101
105
  export * from "./mutations/synonym-input";
102
106
  export * from "./mutations/tag-merge-result";
103
107
  export * from "./mutations/tag-split-result";
@@ -0,0 +1,4 @@
1
+ import { UUID } from "../common";
2
+ export type ArticleAudioNarrationUpdateResult = {
3
+ id: UUID;
4
+ };
@@ -64,6 +64,7 @@ export type ArticleInput = {
64
64
  carousel?: MediaInput[] | null;
65
65
  status?: ArticleStatus | null;
66
66
  liveBlog?: LiveBlogInput | null;
67
+ storylineMenuId?: UUID | null;
67
68
  audioNarration?: AudioNarration | null;
68
69
  };
69
70
  export type MediaInput = {
@@ -0,0 +1,10 @@
1
+ import { UUID } from "../common";
2
+ export type StorylineMenuLinkInput = {
3
+ title: string;
4
+ url: string;
5
+ };
6
+ export type StorylineMenuInput = {
7
+ id: UUID;
8
+ title: string;
9
+ items: StorylineMenuLinkInput[];
10
+ };
@@ -0,0 +1,4 @@
1
+ import { UUID } from "../common";
2
+ export type StorylineMenuUpsertResult = {
3
+ id: UUID;
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetimes/times-public-api-types",
3
- "version": "1.0.11948",
3
+ "version": "1.0.12221",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
@@ -12,6 +12,7 @@ import { ArticleTopicConnection } from "./article-topic-connection";
12
12
  import { ArticleSynonymConnection } from "./article-synonym-connection";
13
13
  import { ArticleCategoryConnection } from "./article-category-connection";
14
14
  import { LiveBlog } from "./live-blog";
15
+ import { StorylineMenu } from "./storyline-menu";
15
16
  export type Article = {
16
17
  associatedDesks: string[] | null;
17
18
  authors: Author[];
@@ -81,6 +82,7 @@ export type Article = {
81
82
  contentType: ArticleContentType | null;
82
83
  status: ArticleStatus | null;
83
84
  liveBlog: LiveBlog | null;
85
+ storylineMenu: StorylineMenu | null;
84
86
  audioNarration?: AudioNarration | null;
85
87
  };
86
88
  export type WorkDeskName = SectionName;
@@ -13,6 +13,8 @@ export type PreviewPage = {
13
13
  topDescription?: string | null;
14
14
  endDescription?: string | null;
15
15
  isSponsoredPage: boolean;
16
+ url?: string | null;
17
+ isCustomUrl?: boolean | null;
16
18
  };
17
19
  export type PageArgs = {
18
20
  previewPage: PreviewPage;
@@ -0,0 +1,12 @@
1
+ import { UUID } from "../common";
2
+ export type StorylineMenuLink = {
3
+ title: string;
4
+ url: string;
5
+ };
6
+ export type StorylineMenu = {
7
+ id: UUID;
8
+ title: string;
9
+ items: StorylineMenuLink[];
10
+ createdTime: Date;
11
+ updatedTime: Date | null;
12
+ };