@thetimes/times-public-api-types 1.0.5342 → 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,6 +1,6 @@
1
1
  import { URL, UUID, UnitInterval } from "../common";
2
- export declare type Ratio = string;
3
- export declare type Crop = {
2
+ export type Ratio = string;
3
+ export type Crop = {
4
4
  ratio: Ratio | null;
5
5
  url: URL | null;
6
6
  relativeHorizontalOffset: UnitInterval | null;
@@ -9,7 +9,7 @@ export declare type Crop = {
9
9
  relativeHeight: UnitInterval | null;
10
10
  chpId: string | null;
11
11
  };
12
- export declare type Image = {
12
+ export type Image = {
13
13
  id: UUID;
14
14
  title: string | null;
15
15
  caption: string | null;
@@ -17,10 +17,10 @@ export declare type Image = {
17
17
  crop: Crop | null;
18
18
  crops: Crop[];
19
19
  };
20
- export declare type ImagesPaged = {
20
+ export type ImagesPaged = {
21
21
  list: [Image];
22
22
  };
23
- export declare type Video = {
23
+ export type Video = {
24
24
  id: UUID;
25
25
  caption: string | null;
26
26
  brightcoveAccountId: string | null;
@@ -33,7 +33,7 @@ export declare type Video = {
33
33
  title: string | null;
34
34
  is360: boolean | null;
35
35
  };
36
- export declare type Media = Image | Video;
37
- export declare type ImageArgs = {
36
+ export type Media = Image | Video;
37
+ export type ImageArgs = {
38
38
  ratio: string;
39
39
  };
package/queries/menu.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { URL, UUID } from "../common";
2
2
  import { Link } from "./link";
3
3
  import { Page } from "./page";
4
- export declare type MenuItemParent = {
4
+ export type MenuItemParent = {
5
5
  id: UUID;
6
6
  type: string;
7
7
  url: URL;
8
8
  };
9
- export declare type MenuItem = {
9
+ export type MenuItem = {
10
10
  id: UUID;
11
11
  title: string;
12
12
  type: string;
@@ -14,7 +14,7 @@ export declare type MenuItem = {
14
14
  link: Link;
15
15
  page: Page | null;
16
16
  };
17
- export declare type Menu = {
17
+ export type Menu = {
18
18
  id: UUID;
19
19
  type: string;
20
20
  link: Link;
@@ -1,21 +1,21 @@
1
1
  import { UUID, URL } from "../common";
2
2
  import { Article } from "./article";
3
- export declare type PageTile = ArticleReference | CustomComponent | ExternalReference;
4
- export declare type ArticleReference = {
3
+ export type PageTile = ArticleReference | CustomComponent | ExternalReference;
4
+ export type ArticleReference = {
5
5
  articleId: UUID;
6
6
  article: Article;
7
7
  };
8
- export declare type CustomComponent = {
8
+ export type CustomComponent = {
9
9
  name: string;
10
10
  url: string;
11
11
  parameters: string;
12
12
  };
13
- export declare type ExternalReference = {
13
+ export type ExternalReference = {
14
14
  headline: string;
15
15
  url: string;
16
16
  label: string;
17
17
  image: PageImage | null;
18
18
  };
19
- export declare type PageImage = {
19
+ export type PageImage = {
20
20
  url: URL;
21
21
  };
package/queries/page.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Slug, UUID } from "../common";
2
2
  import { Collection } from "./collection";
3
- export declare type Page = {
3
+ export type Page = {
4
4
  id: UUID;
5
5
  title: string;
6
6
  titleSeo: string;
@@ -11,7 +11,7 @@ export declare type Page = {
11
11
  socialCardImage: string;
12
12
  body: Array<PageBlock | null> | null;
13
13
  };
14
- export declare type PageArgs = {
14
+ export type PageArgs = {
15
15
  page: Page;
16
16
  };
17
- export declare type PageBlock = Collection;
17
+ export type PageBlock = Collection;
package/queries/puff.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { Colour } from "./colour";
2
2
  import { ArticleLink, Link, Anchor } from "./link";
3
3
  import { Image } from "./media";
4
- declare type PuffMainLinkRef = ArticleLink | Link;
5
- declare type PuffSecondaryLinkRef = ArticleLink | Link | Anchor;
6
- declare type PuffSecondaryLink = {
4
+ type PuffMainLinkRef = ArticleLink | Link;
5
+ type PuffSecondaryLinkRef = ArticleLink | Link | Anchor;
6
+ type PuffSecondaryLink = {
7
7
  label: string | null;
8
8
  link: PuffSecondaryLinkRef | null;
9
9
  };
10
- export declare type Puff = {
10
+ export type Puff = {
11
11
  title: string;
12
12
  colour: Colour;
13
13
  mainLink: PuffMainLinkRef;
@@ -16,7 +16,7 @@ export declare type Puff = {
16
16
  strapline: string | null;
17
17
  leadImage: Image | null;
18
18
  };
19
- export declare type PuffLite = {
19
+ export type PuffLite = {
20
20
  title: string;
21
21
  strapline: string;
22
22
  mainLink: PuffMainLinkRef;
@@ -1,6 +1,6 @@
1
1
  import { UUID, URL } from "../common";
2
2
  import { Image } from "./media";
3
- export declare type Puzzle = {
3
+ export type Puzzle = {
4
4
  id: UUID;
5
5
  title: string;
6
6
  url: URL;
@@ -1,5 +1,5 @@
1
1
  import { Puzzle } from "./puzzle";
2
- export declare type Puzzles = {
2
+ export type Puzzles = {
3
3
  count: number;
4
4
  list: Puzzle[];
5
5
  };
@@ -1,53 +1,53 @@
1
1
  import { Slug, DateTime, ID, Cursor, UUID, DateFilter, Region, ShortDate } from "../common";
2
2
  import { Edition } from "./edition";
3
3
  import { GraphQLResolveInfo } from "graphql";
4
- export declare type AuthorArgs = {
4
+ export type AuthorArgs = {
5
5
  slug: Slug;
6
6
  };
7
- export declare type ArticlesArgs = ListingArgs & {
7
+ export type ArticlesArgs = ListingArgs & {
8
8
  parentId?: ID | null;
9
9
  updatedBefore?: DateTime | null;
10
10
  escenicId?: number | null;
11
11
  graphQLResolveInfo?: GraphQLResolveInfo | null;
12
12
  };
13
- export declare type DraftArticlesArgs = {
13
+ export type DraftArticlesArgs = {
14
14
  ids?: UUID[];
15
15
  publishedBefore?: DateTime | null;
16
16
  publishedSince?: DateTime | null;
17
17
  updatedSince?: DateTime | null;
18
18
  updatedBefore?: DateTime | null;
19
19
  };
20
- export declare type EditionsArgs = ListingArgs & {
20
+ export type EditionsArgs = ListingArgs & {
21
21
  date?: ShortDate | null;
22
22
  };
23
- export declare type PuzzlesArgs = {
23
+ export type PuzzlesArgs = {
24
24
  editionDateSince?: ShortDate | null;
25
25
  editionDateBefore?: ShortDate | null;
26
26
  };
27
- export declare type PuzzleArgs = {
27
+ export type PuzzleArgs = {
28
28
  shortIdentifier: String;
29
29
  };
30
- export declare type SectionArgs = {
30
+ export type SectionArgs = {
31
31
  includeFrontPage?: boolean;
32
32
  };
33
- export declare type SlicesArgs = {
33
+ export type SlicesArgs = {
34
34
  enableContainers?: boolean;
35
35
  includePuffSlices?: Boolean;
36
36
  };
37
- export declare type TagsArgs = CursorPaginationArgs & {
37
+ export type TagsArgs = CursorPaginationArgs & {
38
38
  ids?: UUID[];
39
39
  dateFilter?: DateFilter;
40
40
  term?: string;
41
41
  isOverflow?: boolean;
42
42
  };
43
- export declare type EditionPaginationArgs = PaginationArgs & {
43
+ export type EditionPaginationArgs = PaginationArgs & {
44
44
  group: EditionGroupOptions;
45
45
  region: Region;
46
46
  };
47
- export declare type EditionGroupOptions = "date";
48
- export declare type ArticlesPaginationArgs = PaginationArgs;
49
- export declare type DraftArticlesPaginationArgs = PaginationArgs;
50
- declare type ListingArgs = {
47
+ export type EditionGroupOptions = "date";
48
+ export type ArticlesPaginationArgs = PaginationArgs;
49
+ export type DraftArticlesPaginationArgs = PaginationArgs;
50
+ type ListingArgs = {
51
51
  ids?: ID[] | null;
52
52
  updatedSince?: DateTime | null;
53
53
  updatedSysdateSince?: DateTime | null;
@@ -55,16 +55,16 @@ declare type ListingArgs = {
55
55
  publishedSince?: DateTime | null;
56
56
  shortIdentifier?: string | null;
57
57
  };
58
- export declare type PaginationArgs = {
58
+ export type PaginationArgs = {
59
59
  first: number;
60
60
  skip: number;
61
61
  };
62
- declare type CursorPaginationArgs = {
62
+ type CursorPaginationArgs = {
63
63
  first?: number;
64
64
  cursor?: Cursor;
65
65
  desc?: boolean;
66
66
  };
67
- export declare type EditionsPagedResult = {
67
+ export type EditionsPagedResult = {
68
68
  list: [Edition];
69
69
  };
70
70
  export {};
@@ -2,24 +2,24 @@ import { UUID, Slug } from "../common";
2
2
  import { Colour } from "./colour";
3
3
  import { Image } from "./media";
4
4
  import { StandardSectionSlice, MagazineSectionSlice, PuzzleSectionSlice, FrontPageSectionSlice } from "./slice";
5
- declare type BasicSection = {
5
+ type BasicSection = {
6
6
  id: UUID;
7
7
  title: string | null;
8
8
  slug: Slug;
9
9
  colour: Colour;
10
10
  };
11
- export declare type StandardSection = BasicSection & {
11
+ export type StandardSection = BasicSection & {
12
12
  slices: StandardSectionSlice[];
13
13
  };
14
- export declare type PuzzleSection = BasicSection & {
14
+ export type PuzzleSection = BasicSection & {
15
15
  slices: PuzzleSectionSlice[];
16
16
  };
17
- export declare type MagazineSection = BasicSection & {
17
+ export type MagazineSection = BasicSection & {
18
18
  slices: MagazineSectionSlice[];
19
19
  cover: Image;
20
20
  };
21
- export declare type FrontPageSection = BasicSection & {
21
+ export type FrontPageSection = BasicSection & {
22
22
  slices: FrontPageSectionSlice[];
23
23
  };
24
- export declare type Section = StandardSection | PuzzleSection | MagazineSection;
24
+ export type Section = StandardSection | PuzzleSection | MagazineSection;
25
25
  export {};
@@ -4,73 +4,73 @@ import { Section } from "./section";
4
4
  import { DailyUniversalRegister } from "./daily-universal-register";
5
5
  import { Puzzle } from "./puzzle";
6
6
  import { Collection } from "./collection";
7
- export declare type ArticleSlice = StandardSlice | LeadOneAndTwoSlice | OpinionOneAndTwoSlice;
8
- export declare type StandardSectionSlice = StandardSlice | CommentLeadAndCartoonSlice | LetterThundererPodcastSlice | CommentTwoAndNotebookSlice | FocusSlice | LeadersSlice | LeadOneAndFourSlice | SupplementLeadAndFourStackSlice | LeadOneAndOneSlice | LeadOneAndTwoSlice | LeadOneFullWidthSlice | LeadOneNoPicAndOneAndPortraitSlice | LeadTwoNoPicAndTwoSlice | ObituariesLeadAndTwoSlice | OpinionOneAndTwoSlice | SecondaryFourSlice | SecondaryOneSlice | SecondaryOneAndColumnistSlice | SecondaryOneAndFourSlice | SupplementSecondaryOneAndFourSlice | SecondaryTwoAndTwoSlice | SecondaryTwoNoPicAndTwoSlice | TwoPicAndSixNoPicSlice | PuffSlice | DailyUniversalRegister | ContainerSlice;
9
- export declare type MagazineSectionSlice = StandardSlice | CommentLeadAndCartoonSlice | LetterThundererPodcastSlice | CommentTwoAndNotebookSlice | FocusSlice | LeadersSlice | LeadOneAndFourSlice | SupplementLeadAndFourStackSlice | LeadOneAndOneSlice | LeadOneAndTwoSlice | LeadOneFullWidthSlice | LeadOneNoPicAndOneAndPortraitSlice | LeadTwoNoPicAndTwoSlice | ObituariesLeadAndTwoSlice | OpinionOneAndTwoSlice | SecondaryFourSlice | SecondaryOneSlice | SecondaryOneAndColumnistSlice | SecondaryOneAndFourSlice | SupplementSecondaryOneAndFourSlice | SecondaryTwoAndTwoSlice | SecondaryTwoNoPicAndTwoSlice | TwoPicAndSixNoPicSlice | PuffSlice | ContainerSlice;
10
- export declare type PuzzleSectionSlice = Puzzle | PuffSlice;
11
- export declare type FrontPageSectionSlice = InTheNewsSlice | LeadTwoFrontSlice | LeadTwoNoPicAndTwoFrontSlice | LeadOneAndOneFrontSlice | LeadOneFullWidthFrontSlice;
12
- export declare type StandardSlice = {
7
+ export type ArticleSlice = StandardSlice | LeadOneAndTwoSlice | OpinionOneAndTwoSlice;
8
+ export type StandardSectionSlice = StandardSlice | CommentLeadAndCartoonSlice | LetterThundererPodcastSlice | CommentTwoAndNotebookSlice | FocusSlice | LeadersSlice | LeadOneAndFourSlice | SupplementLeadAndFourStackSlice | LeadOneAndOneSlice | LeadOneAndTwoSlice | LeadOneFullWidthSlice | LeadOneNoPicAndOneAndPortraitSlice | LeadTwoNoPicAndTwoSlice | ObituariesLeadAndTwoSlice | OpinionOneAndTwoSlice | SecondaryFourSlice | SecondaryOneSlice | SecondaryOneAndColumnistSlice | SecondaryOneAndFourSlice | SupplementSecondaryOneAndFourSlice | SecondaryTwoAndTwoSlice | SecondaryTwoNoPicAndTwoSlice | TwoPicAndSixNoPicSlice | PuffSlice | DailyUniversalRegister | ContainerSlice;
9
+ export type MagazineSectionSlice = StandardSlice | CommentLeadAndCartoonSlice | LetterThundererPodcastSlice | CommentTwoAndNotebookSlice | FocusSlice | LeadersSlice | LeadOneAndFourSlice | SupplementLeadAndFourStackSlice | LeadOneAndOneSlice | LeadOneAndTwoSlice | LeadOneFullWidthSlice | LeadOneNoPicAndOneAndPortraitSlice | LeadTwoNoPicAndTwoSlice | ObituariesLeadAndTwoSlice | OpinionOneAndTwoSlice | SecondaryFourSlice | SecondaryOneSlice | SecondaryOneAndColumnistSlice | SecondaryOneAndFourSlice | SupplementSecondaryOneAndFourSlice | SecondaryTwoAndTwoSlice | SecondaryTwoNoPicAndTwoSlice | TwoPicAndSixNoPicSlice | PuffSlice | ContainerSlice;
10
+ export type PuzzleSectionSlice = Puzzle | PuffSlice;
11
+ export type FrontPageSectionSlice = InTheNewsSlice | LeadTwoFrontSlice | LeadTwoNoPicAndTwoFrontSlice | LeadOneAndOneFrontSlice | LeadOneFullWidthFrontSlice;
12
+ export type StandardSlice = {
13
13
  items: Tile[];
14
14
  sections: Section[];
15
15
  };
16
- export declare type CommentLeadAndCartoonSlice = StandardSlice & {
16
+ export type CommentLeadAndCartoonSlice = StandardSlice & {
17
17
  lead: Tile;
18
18
  cartoon: Tile;
19
19
  };
20
- export declare type InTheNewsSlice = PuffSlice;
21
- export declare type LetterThundererPodcastSlice = StandardSlice & {
20
+ export type InTheNewsSlice = PuffSlice;
21
+ export type LetterThundererPodcastSlice = StandardSlice & {
22
22
  letter: Tile;
23
23
  thunderer: Tile;
24
24
  podcast: Tile;
25
25
  };
26
- export declare type CommentTwoAndNotebookSlice = StandardSlice & {
26
+ export type CommentTwoAndNotebookSlice = StandardSlice & {
27
27
  main1: Tile;
28
28
  main2: Tile;
29
29
  notebook: Tile;
30
30
  };
31
- export declare type FocusSlice = StandardSlice & {
31
+ export type FocusSlice = StandardSlice & {
32
32
  main: Tile;
33
33
  };
34
- export declare type LeadersSlice = StandardSlice & {
34
+ export type LeadersSlice = StandardSlice & {
35
35
  leader1: Tile;
36
36
  leader2: Tile;
37
37
  leader3: Tile;
38
38
  };
39
- export declare type LeadOneAndFourSlice = StandardSlice & {
39
+ export type LeadOneAndFourSlice = StandardSlice & {
40
40
  lead: Tile;
41
41
  support1: Tile;
42
42
  support2: Tile;
43
43
  support3: Tile;
44
44
  support4: Tile;
45
45
  };
46
- export declare type SupplementLeadAndFourStackSlice = StandardSlice & {
46
+ export type SupplementLeadAndFourStackSlice = StandardSlice & {
47
47
  lead: Tile;
48
48
  support1: Tile;
49
49
  support2: Tile;
50
50
  support3: Tile;
51
51
  support4: Tile;
52
52
  };
53
- export declare type LeadOneAndOneSlice = StandardSlice & {
53
+ export type LeadOneAndOneSlice = StandardSlice & {
54
54
  lead: Tile;
55
55
  support: Tile;
56
56
  leadBullet1: Tile | null;
57
57
  leadBullet2: Tile | null;
58
58
  leadBullet3: Tile | null;
59
59
  };
60
- export declare type LeadOneAndTwoSlice = StandardSlice & {
60
+ export type LeadOneAndTwoSlice = StandardSlice & {
61
61
  lead: Tile;
62
62
  support1: Tile;
63
63
  support2: Tile;
64
64
  };
65
- export declare type LeadOneFullWidthSlice = StandardSlice & {
65
+ export type LeadOneFullWidthSlice = StandardSlice & {
66
66
  lead: Tile;
67
67
  };
68
- export declare type LeadOneNoPicAndOneAndPortraitSlice = StandardSlice & {
68
+ export type LeadOneNoPicAndOneAndPortraitSlice = StandardSlice & {
69
69
  lead: Tile;
70
70
  support: Tile;
71
71
  portrait: Tile;
72
72
  };
73
- export declare type LeadTwoNoPicAndTwoSlice = StandardSlice & {
73
+ export type LeadTwoNoPicAndTwoSlice = StandardSlice & {
74
74
  lead1: Tile;
75
75
  lead2: Tile;
76
76
  support1: Tile;
@@ -79,56 +79,56 @@ export declare type LeadTwoNoPicAndTwoSlice = StandardSlice & {
79
79
  lead1Bullet2: Tile | null;
80
80
  lead1Bullet3: Tile | null;
81
81
  };
82
- export declare type ObituariesLeadAndTwoSlice = StandardSlice & {
82
+ export type ObituariesLeadAndTwoSlice = StandardSlice & {
83
83
  lead: Tile;
84
84
  support1: Tile;
85
85
  support2: Tile;
86
86
  };
87
- export declare type OpinionOneAndTwoSlice = StandardSlice & {
87
+ export type OpinionOneAndTwoSlice = StandardSlice & {
88
88
  opinion: Tile;
89
89
  support1: Tile;
90
90
  support2: Tile;
91
91
  };
92
- export declare type SecondaryFourSlice = StandardSlice & {
92
+ export type SecondaryFourSlice = StandardSlice & {
93
93
  secondary1: Tile;
94
94
  secondary2: Tile;
95
95
  secondary3: Tile;
96
96
  secondary4: Tile;
97
97
  };
98
- export declare type SecondaryOneSlice = StandardSlice & {
98
+ export type SecondaryOneSlice = StandardSlice & {
99
99
  secondary: Tile;
100
100
  };
101
- export declare type SecondaryOneAndColumnistSlice = StandardSlice & {
101
+ export type SecondaryOneAndColumnistSlice = StandardSlice & {
102
102
  secondary: Tile;
103
103
  columnist: Tile;
104
104
  };
105
- export declare type SecondaryOneAndFourSlice = StandardSlice & {
105
+ export type SecondaryOneAndFourSlice = StandardSlice & {
106
106
  secondary: Tile;
107
107
  support1: Tile;
108
108
  support2: Tile;
109
109
  support3: Tile;
110
110
  support4: Tile;
111
111
  };
112
- export declare type SupplementSecondaryOneAndFourSlice = StandardSlice & {
112
+ export type SupplementSecondaryOneAndFourSlice = StandardSlice & {
113
113
  secondary: Tile;
114
114
  support1: Tile;
115
115
  support2: Tile;
116
116
  support3: Tile;
117
117
  support4: Tile;
118
118
  };
119
- export declare type SecondaryTwoAndTwoSlice = StandardSlice & {
119
+ export type SecondaryTwoAndTwoSlice = StandardSlice & {
120
120
  secondary1: Tile;
121
121
  secondary2: Tile;
122
122
  support1: Tile;
123
123
  support2: Tile;
124
124
  };
125
- export declare type SecondaryTwoNoPicAndTwoSlice = StandardSlice & {
125
+ export type SecondaryTwoNoPicAndTwoSlice = StandardSlice & {
126
126
  secondary1: Tile;
127
127
  secondary2: Tile;
128
128
  support1: Tile;
129
129
  support2: Tile;
130
130
  };
131
- export declare type TwoPicAndSixNoPicSlice = StandardSlice & {
131
+ export type TwoPicAndSixNoPicSlice = StandardSlice & {
132
132
  lead1: Tile;
133
133
  lead2: Tile;
134
134
  support1: Tile;
@@ -138,26 +138,26 @@ export declare type TwoPicAndSixNoPicSlice = StandardSlice & {
138
138
  support5: Tile;
139
139
  support6: Tile;
140
140
  };
141
- export declare type PuffSlice = {
141
+ export type PuffSlice = {
142
142
  items: Puff[];
143
143
  };
144
- export declare type ContainerSlice = StandardSlice & {
144
+ export type ContainerSlice = StandardSlice & {
145
145
  collection: Collection;
146
146
  };
147
- export declare type LeadTwoNoPicAndTwoFrontSlice = StandardSlice & {
147
+ export type LeadTwoNoPicAndTwoFrontSlice = StandardSlice & {
148
148
  lead1: Tile;
149
149
  lead2: Tile;
150
150
  support1: Tile;
151
151
  support2: Tile;
152
152
  };
153
- export declare type LeadTwoFrontSlice = StandardSlice & {
153
+ export type LeadTwoFrontSlice = StandardSlice & {
154
154
  lead1: Tile;
155
155
  lead2: Tile;
156
156
  };
157
- export declare type LeadOneAndOneFrontSlice = StandardSlice & {
157
+ export type LeadOneAndOneFrontSlice = StandardSlice & {
158
158
  lead: Tile;
159
159
  support: Tile;
160
160
  };
161
- export declare type LeadOneFullWidthFrontSlice = StandardSlice & {
161
+ export type LeadOneFullWidthFrontSlice = StandardSlice & {
162
162
  lead: Tile;
163
163
  };
@@ -1,11 +1,11 @@
1
1
  import { Slug } from "../common";
2
2
  import { PageTile } from "./page-tile";
3
- export declare type StandardPageSlice = PageSlice | TopicAuthorSlice;
4
- export declare type PageSlice = {
3
+ export type StandardPageSlice = PageSlice | TopicAuthorSlice;
4
+ export type PageSlice = {
5
5
  name: string;
6
6
  children: PageTile[];
7
7
  };
8
- export declare type TopicAuthorSlice = {
8
+ export type TopicAuthorSlice = {
9
9
  topic: Slug;
10
10
  articles: PageTile[];
11
11
  };
@@ -1,3 +1,3 @@
1
1
  import { Synonym } from "./synonym";
2
2
  import { Connection } from "../common";
3
- export declare type SynonymConnection = Connection<Synonym>;
3
+ export type SynonymConnection = Connection<Synonym>;
@@ -1,8 +1,8 @@
1
1
  import { UUID } from "../common";
2
- export declare type Synonym = {
2
+ export type Synonym = {
3
3
  id: UUID;
4
4
  tagId: UUID;
5
5
  name: string;
6
6
  type: SynonymType;
7
7
  };
8
- export declare type SynonymType = "UNKNOWN" | "PERSON" | "LOCATION" | "ORGANIZATION" | "EVENT" | "WORK_OF_ART" | "CONSUMER_GOOD" | "OTHER" | "CONCEPT" | "BRAND" | "SPORT" | "IDENTIFIER" | "CATEGORY" | "SUBJECT" | "GROUP" | "BAND" | "TEAM" | "COMPETITION" | "COUNTRY" | "CAMPAIGN" | "CONTENT_TYPE";
8
+ export type SynonymType = "UNKNOWN" | "PERSON" | "LOCATION" | "ORGANIZATION" | "EVENT" | "WORK_OF_ART" | "CONSUMER_GOOD" | "OTHER" | "CONCEPT" | "BRAND" | "SPORT" | "IDENTIFIER" | "CATEGORY" | "SUBJECT" | "GROUP" | "BAND" | "TEAM" | "COMPETITION" | "COUNTRY" | "CAMPAIGN" | "CONTENT_TYPE";
@@ -1,10 +1,10 @@
1
1
  import { Connection, Edge } from "../common";
2
2
  import { Article } from "./article";
3
- declare type TagArticleEdge = Edge<Article> & {
3
+ type TagArticleEdge = Edge<Article> & {
4
4
  combinedScore: number;
5
5
  scoreOverride: number | null;
6
6
  };
7
- export declare type TagArticleConnection = Connection<Article> & {
7
+ export type TagArticleConnection = Connection<Article> & {
8
8
  edges: TagArticleEdge[];
9
9
  };
10
10
  export {};
@@ -1,3 +1,3 @@
1
1
  import { Connection } from "../common";
2
2
  import { Tag } from "./tag";
3
- export declare type TagConnection = Connection<Tag>;
3
+ export type TagConnection = Connection<Tag>;
@@ -1,10 +1,10 @@
1
1
  import { Connection, Edge } from "../common";
2
2
  import { DraftArticle } from "./draft-article";
3
- declare type TagDraftArticleEdge = Edge<DraftArticle> & {
3
+ type TagDraftArticleEdge = Edge<DraftArticle> & {
4
4
  combinedScore: number;
5
5
  scoreOverride: number | null;
6
6
  };
7
- export declare type TagDraftArticleConnection = Connection<DraftArticle> & {
7
+ export type TagDraftArticleConnection = Connection<DraftArticle> & {
8
8
  edges: TagDraftArticleEdge[];
9
9
  };
10
10
  export {};
package/queries/tag.d.ts CHANGED
@@ -3,7 +3,7 @@ import { SynonymConnection } from "./synonym-connection";
3
3
  import { TagArticleConnection } from "./tag-article-connection";
4
4
  import { TagDraftArticleConnection } from "./tag-draft-article-connection";
5
5
  import { Synonym } from "./synonym";
6
- export declare type Tag = {
6
+ export type Tag = {
7
7
  id: UUID;
8
8
  primarySynonym: Synonym;
9
9
  description: string | null;
package/queries/tile.d.ts CHANGED
@@ -2,7 +2,7 @@ import { Article } from "./article";
2
2
  import { Media } from "./media";
3
3
  import { Markup, UUID } from "../common";
4
4
  import { ArticleSlice } from "./slice";
5
- export declare type Tile = {
5
+ export type Tile = {
6
6
  articleId: UUID;
7
7
  article: Article;
8
8
  headline: string | null;
@@ -1,6 +1,6 @@
1
1
  import { Article } from "./article";
2
2
  import { PageInfo } from "../common";
3
- export declare type TopicArticleConnection = {
3
+ export type TopicArticleConnection = {
4
4
  nodes: Article[];
5
5
  pageInfo: PageInfo;
6
6
  totalCount: number;
@@ -1,6 +1,6 @@
1
1
  import { DraftArticle } from "./draft-article";
2
2
  import { PageInfo } from "../common";
3
- export declare type TopicDraftArticleConnection = {
3
+ export type TopicDraftArticleConnection = {
4
4
  nodes: DraftArticle[];
5
5
  pageInfo: PageInfo;
6
6
  totalCount: number;
@@ -1,12 +1,12 @@
1
1
  import { Cursor, PageInfo } from "../common";
2
2
  import { Tag } from "./tag";
3
- export declare type TopicTagConnection = {
3
+ export type TopicTagConnection = {
4
4
  edges: TopicTagEdge[];
5
5
  nodes: Tag[];
6
6
  pageInfo: PageInfo;
7
7
  totalCount: number;
8
8
  };
9
- export declare type TopicTagEdge = {
9
+ export type TopicTagEdge = {
10
10
  node: Tag;
11
11
  cursor: Cursor;
12
12
  scoreThreshold: number;
@@ -5,15 +5,15 @@ import { DraftArticle } from "./draft-article";
5
5
  import { TopicArticleConnection } from "./topic-article-connection";
6
6
  import { TopicDraftArticleConnection } from "./topic-draft-article-connection";
7
7
  import { Image } from "./media";
8
- export declare type TopicArticleIds = {
8
+ export type TopicArticleIds = {
9
9
  ids: UUID[];
10
10
  count: number;
11
11
  };
12
- export declare type TopicDraftArticleIds = {
12
+ export type TopicDraftArticleIds = {
13
13
  ids: UUID[];
14
14
  count: number;
15
15
  };
16
- export declare type Topic = {
16
+ export type Topic = {
17
17
  id: UUID | null;
18
18
  articles: TopicArticles;
19
19
  draftArticles: TopicDraftArticles;
@@ -28,15 +28,15 @@ export declare type Topic = {
28
28
  leadImage: Image | null;
29
29
  metaDescription: string | null;
30
30
  };
31
- export declare type TopicArticles = {
31
+ export type TopicArticles = {
32
32
  count: number;
33
33
  list: Article[];
34
34
  };
35
- export declare type TopicDraftArticles = {
35
+ export type TopicDraftArticles = {
36
36
  count: number;
37
37
  list: DraftArticle[];
38
38
  };
39
- export declare type TopicConnection = {
39
+ export type TopicConnection = {
40
40
  nodes: Topic[];
41
41
  pageInfo: PageInfo;
42
42
  totalCount: number;
package/queries/user.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { PageOfBookmarks } from "./bookmark";
2
- export declare type User = {
2
+ export type User = {
3
3
  spotimCodeB: (args: {
4
4
  codeA: string;
5
5
  }) => string | null;