@thetimes/times-public-api-types 1.0.7519 → 1.0.7556

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.
Files changed (2) hide show
  1. package/common.d.ts +12 -2
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -14,8 +14,18 @@ export type BigInt = number & {
14
14
  };
15
15
  export type CategoryType = "PRIMARY" | "SECONDARY";
16
16
  export type DataSource = "NEWSPRESS" | "METHODE" | null;
17
- export type PageSliceType = "PAGE_SLICE" | "PAGINATED_PAGE_SLICE" | "TOPIC_AUTHOR_SLICE" | null;
18
- export type PageTileType = "ARTICLE_REFERENCE" | "TOPIC_ARTICLE_REFERENCE" | "CUSTOM_COMPONENT" | "EMPTY_ARTICLE_REFERENCE" | "EXTERNAL_REFERENCE" | "CATEGORY_ARTICLE_REFERENCE" | "INHERITED_ARTICLE_REFERENCE" | null;
17
+ export type PageSlice = "PAGE_SLICE";
18
+ export type PaginatedPageSlice = "PAGINATED_PAGE_SLICE";
19
+ export type TopicAuthorSlice = "TOPIC_AUTHOR_SLICE";
20
+ export type PageSliceType = PageSlice | PaginatedPageSlice | TopicAuthorSlice | null;
21
+ export type ArticleReferencePageTileType = "ARTICLE_REFERENCE";
22
+ export type TopicArticleReferencePageTileType = "TOPIC_ARTICLE_REFERENCE";
23
+ export type CustomComponentPageTileType = "CUSTOM_COMPONENT";
24
+ export type EmptyArticleReferencePageTileType = "EMPTY_ARTICLE_REFERENCE";
25
+ export type ExternalReferencePageTileType = "EXTERNAL_REFERENCE";
26
+ export type CategoryArticleReferencePageTileType = "CATEGORY_ARTICLE_REFERENCE";
27
+ export type InheritedArticleReferencePageTileType = "INHERITED_ARTICLE_REFERENCE";
28
+ export type PageTileType = ArticleReferencePageTileType | TopicArticleReferencePageTileType | CustomComponentPageTileType | EmptyArticleReferencePageTileType | ExternalReferencePageTileType | CategoryArticleReferencePageTileType | InheritedArticleReferencePageTileType | null;
19
29
  export declare enum CollectionLinkTypes {
20
30
  PAGE_LINK = "PAGE_LINK",
21
31
  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.7519",
3
+ "version": "1.0.7556",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",