@thetimes/times-public-api-types 1.0.7218 → 1.0.7287
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/package.json +1 -1
- package/queries/page-tile.d.ts +6 -2
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
package/queries/page-tile.d.ts
CHANGED
|
@@ -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;
|