@thetimes/times-public-api-types 1.0.3810 → 1.0.3823

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetimes/times-public-api-types",
3
- "version": "1.0.3810",
3
+ "version": "1.0.3823",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
@@ -58,7 +58,7 @@ export declare type DraftArticle = {
58
58
  template: ThemeTemplate | null;
59
59
  workDesk: WorkDeskName | null;
60
60
  };
61
- export declare type TopicArgs = {
61
+ export declare type DraftArticleTopicArgs = {
62
62
  maxCount?: number;
63
63
  };
64
64
  export declare type DraftEmbeddedContent = {
@@ -1,15 +1,21 @@
1
1
  import { TopicTagConnection } from "./topic-tag-connection";
2
2
  import { UUID, PageInfo, RichText, Slug } from "../common";
3
3
  import { Article } from "./article";
4
+ import { DraftArticle } from "./draft-article";
4
5
  import { TopicArticleConnection } from "./topic-article-connection";
5
6
  import { Image } from "./media";
6
7
  export declare type TopicArticleIds = {
7
8
  ids: UUID[];
8
9
  count: number;
9
10
  };
11
+ export declare type TopicDraftArticleIds = {
12
+ ids: UUID[];
13
+ count: number;
14
+ };
10
15
  export declare type Topic = {
11
16
  id: UUID | null;
12
17
  articles: TopicArticles;
18
+ draftArticles: TopicDraftArticles;
13
19
  name: string;
14
20
  slug: Slug;
15
21
  description: RichText | null;
@@ -24,6 +30,10 @@ export declare type TopicArticles = {
24
30
  count: number;
25
31
  list: Article[];
26
32
  };
33
+ export declare type TopicDraftArticles = {
34
+ count: number;
35
+ list: DraftArticle[];
36
+ };
27
37
  export declare type TopicConnection = {
28
38
  nodes: Topic[];
29
39
  pageInfo: PageInfo;