@thetimes/times-public-api-types 1.0.7179 → 1.0.7277

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
@@ -15,7 +15,7 @@ export type BigInt = number & {
15
15
  export type CategoryType = "PRIMARY" | "SECONDARY";
16
16
  export type DataSource = "NEWSPRESS" | "METHODE" | null;
17
17
  export type PageSliceType = "PAGE_SLICE" | "PAGINATED_PAGE_SLICE" | "TOPIC_AUTHOR_SLICE" | null;
18
- export type PageTileType = "ARTICLE_REFERENCE" | "TOPIC_ARTICLE_REFERENCE" | "CUSTOM_COMPONENT" | "EXTERNAL_REFERENCE" | "CATEGORY_ARTICLE_REFERENCE" | "INHERITED_ARTICLE_REFERENCE" | null;
18
+ export type PageTileType = "ARTICLE_REFERENCE" | "TOPIC_ARTICLE_REFERENCE" | "CUSTOM_COMPONENT" | "EMPTY_ARTICLE_REFERENCE" | "EXTERNAL_REFERENCE" | "CATEGORY_ARTICLE_REFERENCE" | "INHERITED_ARTICLE_REFERENCE" | null;
19
19
  export declare enum CollectionLinkTypes {
20
20
  PAGE_LINK = "PAGE_LINK",
21
21
  TOPIC_LINK = "TOPIC_LINK",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetimes/times-public-api-types",
3
- "version": "1.0.7179",
3
+ "version": "1.0.7277",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
@@ -101,4 +101,4 @@ export type TileArgs = {
101
101
  first?: number | null;
102
102
  desc?: boolean | null;
103
103
  };
104
- export type ArticleContentType = "news" | "analysis" | "comment" | "qna" | "explainer" | "timeline" | "interview" | "feature" | "review" | "match" | "report" | "video" | "special" | "podcast" | "investigation" | "preview" | "live" | "recipe" | "listicle";
104
+ export type ArticleContentType = "news" | "analysis" | "comment" | "qna" | "explainer" | "timeline" | "interview" | "feature" | "review" | "match" | "report" | "video" | "special" | "podcast" | "investigation" | "preview" | "live" | "recipe" | "listicle" | "indepth" | "profile" | "firstperson" | "inpictures" | "extract" | "visualstorytelling" | "obituary" | "dispatch" | "sketch";
@@ -1,7 +1,11 @@
1
- import { UUID, URL } from "../common";
1
+ import { UUID, URL, Slug } from "../common";
2
2
  import { Article } from "./article";
3
3
  import { Author } from "./author";
4
- export type PageTile = ArticleReference | CustomComponent | ExternalReference;
4
+ export type PageTile = ArticleReference | CustomComponent | EmptyReference | ExternalReference;
5
+ export type EmptyReference = {
6
+ sourceType: string;
7
+ sourceSlug: Slug;
8
+ };
5
9
  export type ArticleReference = {
6
10
  articleId: UUID;
7
11
  article: Article;