@thetimes/times-public-api-types 1.0.6770 → 1.0.6775
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 +1 -1
- package/mutations/page-tile-input.d.ts +4 -0
- package/package.json +1 -1
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" | null;
|
|
18
|
+
export type PageTileType = "ARTICLE_REFERENCE" | "TOPIC_ARTICLE_REFERENCE" | "CUSTOM_COMPONENT" | "EXTERNAL_REFERENCE" | "CATEGORY_ARTICLE_REFERENCE" | "INHERITED_ARTICLE_REFERENCE" | null;
|
|
19
19
|
export type CollectionLinkType = "TOPIC_LINK" | "CUSTOM_LINK";
|
|
20
20
|
export type DateTime = Date;
|
|
21
21
|
export type Dictionary = {
|
|
@@ -5,6 +5,7 @@ export type PageTileInput = {
|
|
|
5
5
|
customComponent?: CustomComponentInput | null;
|
|
6
6
|
externalRef?: ExternalRefInput | null;
|
|
7
7
|
categoryArticleRef?: CategoryArticleRefInput | null;
|
|
8
|
+
inheritedArticleRef?: InheritedArticleRefInput | null;
|
|
8
9
|
};
|
|
9
10
|
export type ArticleRefInput = {
|
|
10
11
|
articleId: UUID;
|
|
@@ -17,6 +18,9 @@ export type CategoryArticleRefInput = {
|
|
|
17
18
|
category: Slug;
|
|
18
19
|
isComment: boolean;
|
|
19
20
|
};
|
|
21
|
+
export type InheritedArticleRefInput = {
|
|
22
|
+
isComment: boolean;
|
|
23
|
+
};
|
|
20
24
|
export type CustomComponentInput = {
|
|
21
25
|
name: string;
|
|
22
26
|
url: string;
|