@thetimes/times-public-api-types 1.0.5326 → 1.0.5355

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 (89) hide show
  1. package/common.d.ts +29 -29
  2. package/mutations/article-input.d.ts +18 -18
  3. package/mutations/article-slice-input.d.ts +1 -1
  4. package/mutations/article-tag-input.d.ts +2 -2
  5. package/mutations/article-tag-remove-result.d.ts +1 -1
  6. package/mutations/article-tag-upsert-result.d.ts +1 -1
  7. package/mutations/article-upsert-result.d.ts +1 -1
  8. package/mutations/author-create-input.d.ts +1 -1
  9. package/mutations/author-update-input.d.ts +1 -1
  10. package/mutations/bookmark-save-input.d.ts +1 -1
  11. package/mutations/bookmark-unsave-input.d.ts +1 -1
  12. package/mutations/collection-input.d.ts +2 -2
  13. package/mutations/collection-update-result.d.ts +1 -1
  14. package/mutations/daily-universal-register-input.d.ts +2 -2
  15. package/mutations/draft-article-input.d.ts +1 -1
  16. package/mutations/draft-article-slice-input.d.ts +1 -1
  17. package/mutations/draft-article-tag-remove-result.d.ts +1 -1
  18. package/mutations/draft-article-upsert-result.d.ts +1 -1
  19. package/mutations/draft-slice-input.d.ts +3 -3
  20. package/mutations/draft-tile-input.d.ts +1 -1
  21. package/mutations/edition-input.d.ts +1 -1
  22. package/mutations/edition-upsert-result.d.ts +1 -1
  23. package/mutations/page-input.d.ts +2 -2
  24. package/mutations/page-tile-input.d.ts +6 -6
  25. package/mutations/page-upsert-result.d.ts +1 -1
  26. package/mutations/puff-input.d.ts +4 -4
  27. package/mutations/puzzle-input.d.ts +1 -1
  28. package/mutations/section-input.d.ts +8 -8
  29. package/mutations/section-update-result.d.ts +1 -1
  30. package/mutations/slice-input.d.ts +26 -26
  31. package/mutations/slice-update-result.d.ts +1 -1
  32. package/mutations/standard-page-slice-input.d.ts +3 -3
  33. package/mutations/synonym-input.d.ts +1 -1
  34. package/mutations/tag-merge-result.d.ts +1 -1
  35. package/mutations/tag-split-result.d.ts +1 -1
  36. package/mutations/tag-update-input.d.ts +1 -1
  37. package/mutations/tag-update-result.d.ts +1 -1
  38. package/mutations/tile-input.d.ts +1 -1
  39. package/mutations/topic-create-result.d.ts +1 -1
  40. package/mutations/topic-input.d.ts +2 -2
  41. package/mutations/topic-remove-result.d.ts +1 -1
  42. package/mutations/topic-tag-link-result.d.ts +1 -1
  43. package/mutations/topic-tag-remove-result.d.ts +1 -1
  44. package/mutations/topic-update-input.d.ts +1 -1
  45. package/mutations/topic-update-result.d.ts +1 -1
  46. package/package.json +2 -2
  47. package/queries/article-synonym-connection.d.ts +2 -2
  48. package/queries/article-tag-connection.d.ts +2 -2
  49. package/queries/article-topic-connection.d.ts +1 -1
  50. package/queries/article.d.ts +10 -10
  51. package/queries/articles.d.ts +1 -1
  52. package/queries/author.d.ts +3 -3
  53. package/queries/bookmark.d.ts +2 -2
  54. package/queries/bylines.d.ts +2 -2
  55. package/queries/collection.d.ts +2 -2
  56. package/queries/colour.d.ts +2 -2
  57. package/queries/daily-universal-register.d.ts +2 -2
  58. package/queries/draft-article-topic-connection.d.ts +1 -1
  59. package/queries/draft-article.d.ts +3 -3
  60. package/queries/draft-articles.d.ts +1 -1
  61. package/queries/draft-slice.d.ts +4 -4
  62. package/queries/draft-tile.d.ts +1 -1
  63. package/queries/edition.d.ts +1 -1
  64. package/queries/interactive.d.ts +1 -1
  65. package/queries/layout.d.ts +4 -4
  66. package/queries/link.d.ts +5 -5
  67. package/queries/media.d.ts +7 -7
  68. package/queries/menu.d.ts +3 -3
  69. package/queries/page-tile.d.ts +5 -5
  70. package/queries/page.d.ts +3 -3
  71. package/queries/puff.d.ts +5 -5
  72. package/queries/puzzle.d.ts +1 -1
  73. package/queries/puzzles.d.ts +1 -1
  74. package/queries/query.d.ts +17 -17
  75. package/queries/section.d.ts +6 -6
  76. package/queries/slice.d.ts +35 -35
  77. package/queries/standard-page-slice.d.ts +3 -3
  78. package/queries/synonym-connection.d.ts +1 -1
  79. package/queries/synonym.d.ts +2 -2
  80. package/queries/tag-article-connection.d.ts +2 -2
  81. package/queries/tag-connection.d.ts +1 -1
  82. package/queries/tag-draft-article-connection.d.ts +2 -2
  83. package/queries/tag.d.ts +1 -1
  84. package/queries/tile.d.ts +1 -1
  85. package/queries/topic-article-connection.d.ts +1 -1
  86. package/queries/topic-draft-article-connection.d.ts +1 -1
  87. package/queries/topic-tag-connection.d.ts +2 -2
  88. package/queries/topic.d.ts +6 -6
  89. package/queries/user.d.ts +1 -1
@@ -1,72 +1,72 @@
1
1
  import { TileInput } from "./tile-input";
2
2
  import { PuffInput, PuffLiteInput } from "./puff-input";
3
3
  import { CollectionInput } from "./collection-input";
4
- export declare type StandardSliceInput = {
4
+ export type StandardSliceInput = {
5
5
  items: TileInput[];
6
6
  };
7
- export declare type CommentLeadAndCartoonSliceInput = {
7
+ export type CommentLeadAndCartoonSliceInput = {
8
8
  lead: TileInput;
9
9
  cartoon: TileInput;
10
10
  };
11
- export declare type InTheNewsSliceInput = {
11
+ export type InTheNewsSliceInput = {
12
12
  items: PuffLiteInput[];
13
13
  };
14
- export declare type LetterThundererPodcastSliceInput = {
14
+ export type LetterThundererPodcastSliceInput = {
15
15
  letter: TileInput;
16
16
  thunderer: TileInput;
17
17
  podcast: TileInput;
18
18
  };
19
- export declare type CommentTwoAndNotebookSliceInput = {
19
+ export type CommentTwoAndNotebookSliceInput = {
20
20
  main1: TileInput;
21
21
  main2: TileInput;
22
22
  notebook: TileInput;
23
23
  };
24
- export declare type ContainerSliceInput = {
24
+ export type ContainerSliceInput = {
25
25
  collection: CollectionInput;
26
26
  };
27
- export declare type FocusSliceInput = {
27
+ export type FocusSliceInput = {
28
28
  main: TileInput;
29
29
  };
30
- export declare type LeadersSliceInput = {
30
+ export type LeadersSliceInput = {
31
31
  leader1: TileInput;
32
32
  leader2: TileInput;
33
33
  leader3: TileInput;
34
34
  };
35
- export declare type LeadOneAndFourSliceInput = {
35
+ export type LeadOneAndFourSliceInput = {
36
36
  lead: TileInput;
37
37
  support1: TileInput;
38
38
  support2: TileInput;
39
39
  support3: TileInput;
40
40
  support4: TileInput;
41
41
  };
42
- export declare type SupplementLeadAndFourStackSliceInput = {
42
+ export type SupplementLeadAndFourStackSliceInput = {
43
43
  lead: TileInput;
44
44
  support1: TileInput;
45
45
  support2: TileInput;
46
46
  support3: TileInput;
47
47
  support4: TileInput;
48
48
  };
49
- export declare type LeadOneAndOneSliceInput = {
49
+ export type LeadOneAndOneSliceInput = {
50
50
  lead: TileInput;
51
51
  support: TileInput;
52
52
  leadBullet1?: TileInput | null;
53
53
  leadBullet2?: TileInput | null;
54
54
  leadBullet3?: TileInput | null;
55
55
  };
56
- export declare type LeadOneAndTwoSliceInput = {
56
+ export type LeadOneAndTwoSliceInput = {
57
57
  lead: TileInput;
58
58
  support1: TileInput;
59
59
  support2: TileInput;
60
60
  };
61
- export declare type LeadOneFullWidthSliceInput = {
61
+ export type LeadOneFullWidthSliceInput = {
62
62
  lead: TileInput;
63
63
  };
64
- export declare type LeadOneNoPicAndOneAndPortraitSliceInput = {
64
+ export type LeadOneNoPicAndOneAndPortraitSliceInput = {
65
65
  lead: TileInput;
66
66
  support: TileInput;
67
67
  portrait: TileInput;
68
68
  };
69
- export declare type LeadTwoNoPicAndTwoSliceInput = {
69
+ export type LeadTwoNoPicAndTwoSliceInput = {
70
70
  lead1: TileInput;
71
71
  lead2: TileInput;
72
72
  support1: TileInput;
@@ -75,59 +75,59 @@ export declare type LeadTwoNoPicAndTwoSliceInput = {
75
75
  lead1Bullet2?: TileInput | null;
76
76
  lead1Bullet3?: TileInput | null;
77
77
  };
78
- export declare type ObituariesLeadAndTwoSliceInput = {
78
+ export type ObituariesLeadAndTwoSliceInput = {
79
79
  lead: TileInput;
80
80
  support1: TileInput;
81
81
  support2: TileInput;
82
82
  };
83
- export declare type OpinionOneAndTwoSliceInput = {
83
+ export type OpinionOneAndTwoSliceInput = {
84
84
  opinion: TileInput;
85
85
  support1: TileInput;
86
86
  support2: TileInput;
87
87
  };
88
- export declare type PuffSliceInput = {
88
+ export type PuffSliceInput = {
89
89
  items: PuffInput[];
90
90
  };
91
- export declare type SecondaryFourSliceInput = {
91
+ export type SecondaryFourSliceInput = {
92
92
  secondary1: TileInput;
93
93
  secondary2: TileInput;
94
94
  secondary3: TileInput;
95
95
  secondary4: TileInput;
96
96
  };
97
- export declare type SecondaryOneSliceInput = {
97
+ export type SecondaryOneSliceInput = {
98
98
  secondary: TileInput;
99
99
  };
100
- export declare type SecondaryOneAndColumnistSliceInput = {
100
+ export type SecondaryOneAndColumnistSliceInput = {
101
101
  secondary: TileInput;
102
102
  columnist: TileInput;
103
103
  };
104
- export declare type SecondaryOneAndFourSliceInput = {
104
+ export type SecondaryOneAndFourSliceInput = {
105
105
  secondary: TileInput;
106
106
  support1: TileInput;
107
107
  support2: TileInput;
108
108
  support3: TileInput;
109
109
  support4: TileInput;
110
110
  };
111
- export declare type SupplementSecondaryOneAndFourSliceInput = {
111
+ export type SupplementSecondaryOneAndFourSliceInput = {
112
112
  secondary: TileInput;
113
113
  support1: TileInput;
114
114
  support2: TileInput;
115
115
  support3: TileInput;
116
116
  support4: TileInput;
117
117
  };
118
- export declare type SecondaryTwoAndTwoSliceInput = {
118
+ export type SecondaryTwoAndTwoSliceInput = {
119
119
  secondary1: TileInput;
120
120
  secondary2: TileInput;
121
121
  support1: TileInput;
122
122
  support2: TileInput;
123
123
  };
124
- export declare type SecondaryTwoNoPicAndTwoSliceInput = {
124
+ export type SecondaryTwoNoPicAndTwoSliceInput = {
125
125
  secondary1: TileInput;
126
126
  secondary2: TileInput;
127
127
  support1: TileInput;
128
128
  support2: TileInput;
129
129
  };
130
- export declare type TwoPicAndSixNoPicSliceInput = {
130
+ export type TwoPicAndSixNoPicSliceInput = {
131
131
  lead1: TileInput;
132
132
  lead2: TileInput;
133
133
  support1: TileInput;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type SliceUpdateResult = {
2
+ export type SliceUpdateResult = {
3
3
  id: UUID;
4
4
  };
@@ -1,13 +1,13 @@
1
1
  import { Slug } from "../common";
2
2
  import { PageTileInput } from "./page-tile-input";
3
- export declare type PageSliceInput = {
3
+ export type PageSliceInput = {
4
4
  name: string;
5
5
  children: PageTileInput[];
6
6
  };
7
- export declare type TopicAuthorSliceInput = {
7
+ export type TopicAuthorSliceInput = {
8
8
  topic: Slug;
9
9
  };
10
- export declare type StandardPageSliceInput = {
10
+ export type StandardPageSliceInput = {
11
11
  pageSlice?: PageSliceInput | null;
12
12
  topicAuthorSlice?: TopicAuthorSliceInput | null;
13
13
  };
@@ -1,6 +1,6 @@
1
1
  import { UUID } from "../common";
2
2
  import { SynonymType } from "../queries/synonym";
3
- export declare type CreateTagInput = {
3
+ export type CreateTagInput = {
4
4
  tagId?: UUID;
5
5
  externalId?: string;
6
6
  name: string;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type TagMergeResult = {
2
+ export type TagMergeResult = {
3
3
  primaryTagId: UUID;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { UUID } from "../common";
2
- export declare type TagSplitResult = {
2
+ export type TagSplitResult = {
3
3
  primaryTagId: UUID;
4
4
  secondaryTagId: UUID;
5
5
  };
@@ -1,3 +1,3 @@
1
- export declare type TagUpdateInput = {
1
+ export type TagUpdateInput = {
2
2
  description: string;
3
3
  };
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type TagUpdateResult = {
2
+ export type TagUpdateResult = {
3
3
  id: UUID;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { Markup, UUID } from "../common";
2
2
  import { MediaInput } from "./article-input";
3
- export declare type TileInput = {
3
+ export type TileInput = {
4
4
  articleId: UUID;
5
5
  headline?: string | null;
6
6
  leadAsset?: MediaInput | null;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type TopicCreateResult = {
2
+ export type TopicCreateResult = {
3
3
  topicId: UUID;
4
4
  };
@@ -1,13 +1,13 @@
1
1
  import { UUID, RichText } from "../common";
2
2
  import { ImageInput } from "./article-input";
3
- export declare type TopicInput = {
3
+ export type TopicInput = {
4
4
  name: string;
5
5
  slug: string;
6
6
  description?: RichText | null;
7
7
  leadImage?: ImageInput | null;
8
8
  metaDescription: string | null;
9
9
  };
10
- export declare type TopicTagInput = {
10
+ export type TopicTagInput = {
11
11
  id: UUID;
12
12
  scoreThreshold: number;
13
13
  };
@@ -1,4 +1,4 @@
1
1
  import { Slug } from "../common";
2
- export declare type TopicRemoveResult = {
2
+ export type TopicRemoveResult = {
3
3
  slug: Slug;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type TopicTagLinkResult = {
2
+ export type TopicTagLinkResult = {
3
3
  topicId: UUID;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type TopicTagRemoveResult = {
2
+ export type TopicTagRemoveResult = {
3
3
  tagId: UUID;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { Slug, RichText } from "../common";
2
2
  import { ImageInput } from "./article-input";
3
- export declare type TopicUpdateInput = {
3
+ export type TopicUpdateInput = {
4
4
  name: string;
5
5
  slug: Slug;
6
6
  description: RichText;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type TopicUpdateResult = {
2
+ export type TopicUpdateResult = {
3
3
  topicId: UUID;
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetimes/times-public-api-types",
3
- "version": "1.0.5326",
3
+ "version": "1.0.5355",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "**/*.d.ts"
14
14
  ],
15
15
  "devDependencies": {
16
- "typescript": "^3.2.2"
16
+ "typescript": "^4.1.6"
17
17
  },
18
18
  "dependencies": {
19
19
  "@thetimes/methode-parser": "^7.0.21"
@@ -1,9 +1,9 @@
1
1
  import { Connection, Edge } from "../common";
2
2
  import { Synonym } from "./synonym";
3
- declare type ArticleSynonymEdge = Edge<Synonym> & {
3
+ type ArticleSynonymEdge = Edge<Synonym> & {
4
4
  score: number;
5
5
  };
6
- export declare type ArticleSynonymConnection = Connection<Synonym> & {
6
+ export type ArticleSynonymConnection = Connection<Synonym> & {
7
7
  edges: ArticleSynonymEdge[];
8
8
  };
9
9
  export {};
@@ -1,10 +1,10 @@
1
1
  import { Connection, Edge } from "../common";
2
2
  import { Tag } from "./tag";
3
- declare type ArticleTagEdge = Edge<Tag> & {
3
+ type ArticleTagEdge = Edge<Tag> & {
4
4
  combinedScore: number;
5
5
  scoreOverride: number | null;
6
6
  };
7
- export declare type ArticleTagConnection = Connection<Tag> & {
7
+ export type ArticleTagConnection = Connection<Tag> & {
8
8
  edges: ArticleTagEdge[];
9
9
  };
10
10
  export {};
@@ -1,6 +1,6 @@
1
1
  import { Topic } from "./topic";
2
2
  import { PageInfo } from "../common";
3
- export declare type ArticleTopicConnection = {
3
+ export type ArticleTopicConnection = {
4
4
  nodes: Array<Pick<Topic, "id" | "name" | "slug" | "description" | "createdAt" | "updatedAt">>;
5
5
  pageInfo: PageInfo;
6
6
  totalCount: number;
@@ -10,7 +10,7 @@ import { Tile } from "./tile";
10
10
  import { Tag } from "./tag";
11
11
  import { ArticleTopicConnection } from "./article-topic-connection";
12
12
  import { ArticleSynonymConnection } from "./article-synonym-connection";
13
- export declare type Article = {
13
+ export type Article = {
14
14
  authors: Author[];
15
15
  byline: Markup | null;
16
16
  bylines: Array<TextByline | AuthorByline> | null;
@@ -71,29 +71,29 @@ export declare type Article = {
71
71
  workDesk: WorkDeskName | null;
72
72
  longRead: boolean;
73
73
  };
74
- export declare type WorkDeskName = SectionName;
75
- export declare type SectionName = "bricksmortar" | "business" | "comment" | "culture" | "home" | "money" | "news" | "newsreview" | "puzzle" | "register" | "saturdayreview" | "sport" | "style" | "thedish" | "thegame" | "thesundaytimesmagazine" | "thetimesmagazine" | "times2" | "travel" | "weekend" | "world";
76
- export declare type ThemeTemplate = "magazinecomment" | "magazinestandard" | "indepth" | "mainstandard" | "maincomment" | "takeoverpage";
77
- export declare type ContentArgs = {
74
+ export type WorkDeskName = SectionName;
75
+ export type SectionName = "bricksmortar" | "business" | "comment" | "culture" | "home" | "money" | "news" | "newsreview" | "puzzle" | "register" | "saturdayreview" | "sport" | "style" | "thedish" | "thegame" | "thesundaytimesmagazine" | "thetimesmagazine" | "times2" | "travel" | "weekend" | "world";
76
+ export type ThemeTemplate = "magazinecomment" | "magazinestandard" | "indepth" | "mainstandard" | "maincomment" | "takeoverpage";
77
+ export type ContentArgs = {
78
78
  maxWordCount?: number;
79
79
  maxCharCount?: number;
80
80
  };
81
- export declare type SummaryArgs = {
81
+ export type SummaryArgs = {
82
82
  maxCharCount?: number;
83
83
  };
84
- export declare type TopicArgs = {
84
+ export type TopicArgs = {
85
85
  maxCount?: number;
86
86
  };
87
- export declare type EmbeddedContent = {
87
+ export type EmbeddedContent = {
88
88
  content: string;
89
89
  head: string | null;
90
90
  scripts: EmbeddedComponentResource[];
91
91
  };
92
- export declare type EmbeddedComponentResource = {
92
+ export type EmbeddedComponentResource = {
93
93
  name: string;
94
94
  url: string;
95
95
  };
96
- export declare type TileArgs = {
96
+ export type TileArgs = {
97
97
  articleId: UUID | null;
98
98
  first?: number | null;
99
99
  desc?: boolean | null;
@@ -1,5 +1,5 @@
1
1
  import { Article } from "./article";
2
- export declare type Articles = {
2
+ export type Articles = {
3
3
  count: number | null;
4
4
  list: Article[];
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { Markup, Slug, URL, UUID } from "../common";
2
2
  import { Article } from "./article";
3
- export declare type Author = {
3
+ export type Author = {
4
4
  id: UUID;
5
5
  articles: AuthorArticles | null;
6
6
  biography: Markup | null;
@@ -13,11 +13,11 @@ export declare type Author = {
13
13
  slug: Slug | null;
14
14
  metaDescription: string | null;
15
15
  };
16
- export declare type AuthorArticles = {
16
+ export type AuthorArticles = {
17
17
  count: number | null;
18
18
  list: Article[] | null;
19
19
  };
20
- export declare type AuthorArticlesListArgs = {
20
+ export type AuthorArticlesListArgs = {
21
21
  first: number | null;
22
22
  skip: number | null;
23
23
  };
@@ -1,10 +1,10 @@
1
1
  import { UUID } from "../common";
2
- export declare type Bookmark = {
2
+ export type Bookmark = {
3
3
  id: UUID;
4
4
  metadata?: string;
5
5
  timestamp?: string;
6
6
  };
7
- export declare type PageOfBookmarks = {
7
+ export type PageOfBookmarks = {
8
8
  bookmarks: Bookmark[];
9
9
  total: number;
10
10
  };
@@ -1,10 +1,10 @@
1
1
  import { Markup } from "../common";
2
2
  import { Image } from "./media";
3
3
  import { Author } from "./author";
4
- export declare type TextByline = {
4
+ export type TextByline = {
5
5
  byline: Markup;
6
6
  image: Image;
7
7
  };
8
- export declare type AuthorByline = TextByline & {
8
+ export type AuthorByline = TextByline & {
9
9
  author: Author;
10
10
  };
@@ -2,8 +2,8 @@ import { UUID } from "../common";
2
2
  import { CustomLink, Link, TopicLink } from "./link";
3
3
  import { StandardSectionSlice } from "./slice";
4
4
  import { StandardPageSlice } from "./standard-page-slice";
5
- declare type CollectionLink = Link | TopicLink | CustomLink;
6
- export declare type Collection = {
5
+ type CollectionLink = Link | TopicLink | CustomLink;
6
+ export type Collection = {
7
7
  title: string | null;
8
8
  link: CollectionLink;
9
9
  slices: StandardSectionSlice[];
@@ -1,11 +1,11 @@
1
1
  import { TinyInt, UnitInterval } from "../common";
2
- declare type RGBA = {
2
+ type RGBA = {
3
3
  red: TinyInt;
4
4
  green: TinyInt;
5
5
  blue: TinyInt;
6
6
  alpha: UnitInterval;
7
7
  };
8
- export declare type Colour = {
8
+ export type Colour = {
9
9
  rgba: RGBA;
10
10
  };
11
11
  export {};
@@ -1,10 +1,10 @@
1
1
  import { Markup } from "../common";
2
- export declare type DailyUniversalRegisterItem = {
2
+ export type DailyUniversalRegisterItem = {
3
3
  title: String;
4
4
  byline: Markup | null;
5
5
  content: Markup;
6
6
  };
7
- export declare type DailyUniversalRegister = {
7
+ export type DailyUniversalRegister = {
8
8
  briefing: DailyUniversalRegisterItem;
9
9
  onThisDay: DailyUniversalRegisterItem;
10
10
  natureNotes: DailyUniversalRegisterItem;
@@ -1,6 +1,6 @@
1
1
  import { Topic } from "./topic";
2
2
  import { PageInfo } from "../common";
3
- export declare type DraftArticleTopicConnection = {
3
+ export type DraftArticleTopicConnection = {
4
4
  nodes: Array<Pick<Topic, "id" | "name" | "slug" | "description" | "createdAt" | "updatedAt">>;
5
5
  pageInfo: PageInfo;
6
6
  totalCount: number;
@@ -9,7 +9,7 @@ import { DraftArticleSlice } from "./draft-slice";
9
9
  import { Tag } from "./tag";
10
10
  import { DraftArticleTopicConnection } from "./draft-article-topic-connection";
11
11
  import { ArticleSynonymConnection } from "./article-synonym-connection";
12
- export declare type DraftArticle = {
12
+ export type DraftArticle = {
13
13
  authors: Author[];
14
14
  byline: Markup | null;
15
15
  bylines: Array<TextByline | AuthorByline> | null;
@@ -60,10 +60,10 @@ export declare type DraftArticle = {
60
60
  template: ThemeTemplate | null;
61
61
  workDesk: WorkDeskName | null;
62
62
  };
63
- export declare type DraftArticleTopicArgs = {
63
+ export type DraftArticleTopicArgs = {
64
64
  maxCount?: number;
65
65
  };
66
- export declare type DraftEmbeddedContent = {
66
+ export type DraftEmbeddedContent = {
67
67
  authorised: EmbeddedContent;
68
68
  unauthorised: EmbeddedContent;
69
69
  };
@@ -1,4 +1,4 @@
1
1
  import { DraftArticle } from "./draft-article";
2
- export declare type DraftArticles = {
2
+ export type DraftArticles = {
3
3
  list: DraftArticle[];
4
4
  };
@@ -1,14 +1,14 @@
1
1
  import { DraftTile } from "./draft-tile";
2
- export declare type DraftArticleSlice = DraftStandardSlice | DraftLeadOneAndTwoSlice | DraftOpinionOneAndTwoSlice;
3
- export declare type DraftStandardSlice = {
2
+ export type DraftArticleSlice = DraftStandardSlice | DraftLeadOneAndTwoSlice | DraftOpinionOneAndTwoSlice;
3
+ export type DraftStandardSlice = {
4
4
  items: DraftTile[];
5
5
  };
6
- export declare type DraftLeadOneAndTwoSlice = DraftStandardSlice & {
6
+ export type DraftLeadOneAndTwoSlice = DraftStandardSlice & {
7
7
  lead: DraftTile;
8
8
  support1: DraftTile;
9
9
  support2: DraftTile;
10
10
  };
11
- export declare type DraftOpinionOneAndTwoSlice = DraftStandardSlice & {
11
+ export type DraftOpinionOneAndTwoSlice = DraftStandardSlice & {
12
12
  opinion: DraftTile;
13
13
  support1: DraftTile;
14
14
  support2: DraftTile;
@@ -2,7 +2,7 @@ import { Media } from "./media";
2
2
  import { Markup, UUID } from "../common";
3
3
  import { DraftArticle } from "./draft-article";
4
4
  import { Article } from "./article";
5
- export declare type DraftTile = {
5
+ export type DraftTile = {
6
6
  articleId: UUID | null;
7
7
  draftArticleId: UUID | null;
8
8
  article: DraftArticle | Article;
@@ -1,7 +1,7 @@
1
1
  import { UUID, PublicationName, ShortDate, Region, BigInt } from "../common";
2
2
  import { Section } from "./section";
3
3
  import { ImagesPaged } from "./media";
4
- export declare type Edition = {
4
+ export type Edition = {
5
5
  id: UUID;
6
6
  updateText: string | null;
7
7
  date: ShortDate;
@@ -1,6 +1,6 @@
1
1
  import { UUID, URL } from "../common";
2
2
  import { InteractiveElementInput } from "../mutations/article-input";
3
- export declare type Interactive = {
3
+ export type Interactive = {
4
4
  id: UUID;
5
5
  caption: string | null;
6
6
  url: URL;
@@ -1,16 +1,16 @@
1
1
  import { UUID } from "../common";
2
- export declare type Layout = LeadAndTwo | OpinionAndTwo | Default;
3
- declare type LeadAndTwo = {
2
+ export type Layout = LeadAndTwo | OpinionAndTwo | Default;
3
+ type LeadAndTwo = {
4
4
  template: "LEAD_AND_TWO";
5
5
  main: UUID | null;
6
6
  lead: UUID | null;
7
7
  };
8
- declare type OpinionAndTwo = {
8
+ type OpinionAndTwo = {
9
9
  template: "OPINION_AND_TWO";
10
10
  main: UUID | null;
11
11
  opinion: UUID | null;
12
12
  };
13
- declare type Default = {
13
+ type Default = {
14
14
  template: "DEFAULT";
15
15
  };
16
16
  export {};
package/queries/link.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  import { Slug, URL, UUID } from "../common";
2
2
  import { Article } from "./article";
3
- export declare type Link = {
3
+ export type Link = {
4
4
  url: URL | null;
5
5
  };
6
- export declare type ArticleLink = {
6
+ export type ArticleLink = {
7
7
  articleId: UUID;
8
8
  article: Article;
9
9
  };
10
- export declare type Anchor = {
10
+ export type Anchor = {
11
11
  value: string | null;
12
12
  };
13
- export declare type TopicLink = {
13
+ export type TopicLink = {
14
14
  topic: Slug;
15
15
  };
16
- export declare type CustomLink = {
16
+ export type CustomLink = {
17
17
  url: URL | null;
18
18
  text: string | null;
19
19
  };