@thetimes/times-public-api-types 1.0.9744 → 1.0.9797

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.
@@ -44,6 +44,7 @@ export type ArticleInput = {
44
44
  publicationName: PublicationName;
45
45
  publishedTime: DateTime;
46
46
  commercialSectionTags?: string[] | null;
47
+ upNext?: ArticleSliceInput | null;
47
48
  relatedArticleSlice?: ArticleSliceInput | null;
48
49
  updatedTime: DateTime;
49
50
  slug: Slug;
@@ -112,6 +113,7 @@ export type VideoInput = {
112
113
  id: UUID;
113
114
  caption?: string | null;
114
115
  title?: string | null;
116
+ duration?: number | null;
115
117
  brightcoveAccountId: string;
116
118
  brightcovePlayerId: string;
117
119
  brightcovePolicyKey: string;
@@ -31,6 +31,7 @@ export type DraftArticleInput = {
31
31
  publicationName: PublicationName;
32
32
  publishedTime?: DateTime | null;
33
33
  commercialSectionTags?: string[] | null;
34
+ upNext?: DraftArticleSliceInput | null;
34
35
  relatedArticleSlice?: DraftArticleSliceInput | null;
35
36
  updatedTime: DateTime;
36
37
  slug?: Slug | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetimes/times-public-api-types",
3
- "version": "1.0.9744",
3
+ "version": "1.0.9797",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
@@ -54,6 +54,7 @@ export type Article = {
54
54
  standfirst: string | null;
55
55
  strapline: string | null;
56
56
  updatedTime: Date | null;
57
+ upNext: ArticleSlice | null;
57
58
  relatedArticles: Article[] | null;
58
59
  relatedArticlesLayout: Layout | null;
59
60
  relatedArticleSlice: ArticleSlice | null;
@@ -80,7 +81,7 @@ export type Article = {
80
81
  };
81
82
  export type WorkDeskName = SectionName;
82
83
  export type SectionName = "bricksmortar" | "business" | "comment" | "culture" | "home" | "money" | "news" | "newsreview" | "puzzle" | "register" | "saturdayreview" | "sport" | "style" | "thedish" | "thegame" | "thesundaytimesmagazine" | "thetimesmagazine" | "times2" | "travel" | "weekend" | "world";
83
- export type ThemeTemplate = "magazinecomment" | "magazinestandard" | "indepth" | "mainstandard" | "maincomment" | "takeoverpage";
84
+ export type ThemeTemplate = "magazinecomment" | "magazinestandard" | "indepth" | "mainstandard" | "maincomment" | "mainvideo" | "takeoverpage";
84
85
  export type ContentArgs = {
85
86
  maxWordCount?: number;
86
87
  maxCharCount?: number;
@@ -49,6 +49,7 @@ export type DraftArticle = {
49
49
  standfirst: string | null;
50
50
  strapline: string | null;
51
51
  updatedTime: Date | null;
52
+ upNext: DraftArticleSlice | null;
52
53
  relatedArticleSlice: DraftArticleSlice | null;
53
54
  tags: Tag[] | null;
54
55
  expirableFlags: ExpirableFlag[] | null;
@@ -23,6 +23,7 @@ export type ImagesPaged = {
23
23
  export type Video = {
24
24
  id: UUID;
25
25
  caption: string | null;
26
+ duration?: number | null;
26
27
  brightcoveAccountId: string | null;
27
28
  brightcovePlayerId: string | null;
28
29
  brightcovePolicyKey: string | null;