@thetimes/times-public-api-types 1.0.6649 → 1.0.6704

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
@@ -14,7 +14,7 @@ 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" | "TOPIC_AUTHOR_SLICE" | null;
17
+ export type PageSliceType = "PAGE_SLICE" | "PAGINATED_PAGE_SLICE" | "TOPIC_AUTHOR_SLICE" | null;
18
18
  export type PageTileType = "ARTICLE_REFERENCE" | "TOPIC_ARTICLE_REFERENCE" | "CUSTOM_COMPONENT" | "EXTERNAL_REFERENCE" | "CATEGORY_ARTICLE_REFERENCE" | null;
19
19
  export type CollectionLinkType = "TOPIC_LINK" | "CUSTOM_LINK";
20
20
  export type DateTime = Date;
@@ -8,6 +8,7 @@ export type CollectionInput = {
8
8
  children?: StandardPageSliceInput[] | null;
9
9
  topic?: Slug | null;
10
10
  category?: Slug | null;
11
+ inheritedCollectionUuid?: UUID | null;
11
12
  id?: UUID | null;
12
13
  };
13
14
  export type CollectionLinkInput = {
@@ -4,10 +4,14 @@ export type PageSliceInput = {
4
4
  name: string;
5
5
  children: PageTileInput[];
6
6
  };
7
+ export type PaginatedPageSliceInput = {
8
+ name: string;
9
+ };
7
10
  export type TopicAuthorSliceInput = {
8
11
  topic: Slug;
9
12
  };
10
13
  export type StandardPageSliceInput = {
11
14
  pageSlice?: PageSliceInput | null;
15
+ paginatedPageSlice?: PaginatedPageSliceInput | null;
12
16
  topicAuthorSlice?: TopicAuthorSliceInput | null;
13
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetimes/times-public-api-types",
3
- "version": "1.0.6649",
3
+ "version": "1.0.6704",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
@@ -1,10 +1,13 @@
1
1
  import { Slug } from "../common";
2
2
  import { PageTile } from "./page-tile";
3
- export type StandardPageSlice = PageSlice | TopicAuthorSlice;
3
+ export type StandardPageSlice = PageSlice | PaginatedPageSlice | TopicAuthorSlice;
4
4
  export type PageSlice = {
5
5
  name: string;
6
6
  children: PageTile[];
7
7
  };
8
+ export type PaginatedPageSlice = {
9
+ name: string;
10
+ };
8
11
  export type TopicAuthorSlice = {
9
12
  topic: Slug;
10
13
  articles: PageTile[];