@thetimes/times-public-api-types 1.0.5342 → 1.0.5374

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
package/common.d.ts CHANGED
@@ -1,79 +1,79 @@
1
1
  import { MarkupElement } from "@thetimes/methode-parser";
2
2
  import { ThemeTemplate } from "./queries/article";
3
- export declare type Slug = string & {
3
+ export type Slug = string & {
4
4
  _: "Slug";
5
5
  };
6
- export declare type ID = string & {
6
+ export type ID = string & {
7
7
  _: "ID";
8
8
  };
9
- export declare type UUID = string & {
9
+ export type UUID = string & {
10
10
  _: "UUID";
11
11
  };
12
- export declare type BigInt = number & {
12
+ export type BigInt = number & {
13
13
  _: "Revision";
14
14
  };
15
- export declare type DataSource = "NEWSPRESS" | "METHODE" | null;
16
- export declare type PageSliceType = "PAGE_SLICE" | "TOPIC_AUTHOR_SLICE" | null;
17
- export declare type PageTileType = "ARTICLE_REFERENCE" | "TOPIC_ARTICLE_REFERENCE" | "CUSTOM_COMPONENT" | "EXTERNAL_REFERENCE" | null;
18
- export declare type CollectionLinkType = "TOPIC_LINK" | "CUSTOM_LINK";
19
- export declare type DateTime = Date;
20
- export declare type Dictionary = {
15
+ export type DataSource = "NEWSPRESS" | "METHODE" | null;
16
+ export type PageSliceType = "PAGE_SLICE" | "TOPIC_AUTHOR_SLICE" | null;
17
+ export type PageTileType = "ARTICLE_REFERENCE" | "TOPIC_ARTICLE_REFERENCE" | "CUSTOM_COMPONENT" | "EXTERNAL_REFERENCE" | null;
18
+ export type CollectionLinkType = "TOPIC_LINK" | "CUSTOM_LINK";
19
+ export type DateTime = Date;
20
+ export type Dictionary = {
21
21
  [key: string]: string;
22
22
  };
23
- export declare type Flag = "NEW" | "EXCLUSIVE" | "UPDATED" | "SPONSORED" | "BREAKING" | "LIVE";
24
- export declare type ExpirableFlag = {
23
+ export type Flag = "NEW" | "EXCLUSIVE" | "UPDATED" | "SPONSORED" | "BREAKING" | "LIVE";
24
+ export type ExpirableFlag = {
25
25
  type: Flag;
26
26
  expiryTime: DateTime | null;
27
27
  };
28
- export declare type Markup = MarkupElement[];
29
- export declare type PublicationName = "TIMES" | "SUNDAYTIMES";
30
- export declare type Region = "default" | "ireland";
31
- export declare type RichText = MarkupElement[];
32
- export declare type ShortDate = string & {
28
+ export type Markup = MarkupElement[];
29
+ export type PublicationName = "TIMES" | "SUNDAYTIMES";
30
+ export type Region = "default" | "ireland";
31
+ export type RichText = MarkupElement[];
32
+ export type ShortDate = string & {
33
33
  _: "ShortDate";
34
34
  };
35
- export declare type URL = string;
36
- export declare type TinyInt = number & {
35
+ export type URL = string;
36
+ export type TinyInt = number & {
37
37
  _: "TinyInt";
38
38
  };
39
- export declare type UnsignedInt = number & {
39
+ export type UnsignedInt = number & {
40
40
  _: "UnsignedInt";
41
41
  };
42
- export declare type UnitInterval = number & {
42
+ export type UnitInterval = number & {
43
43
  _: "UnitInterval";
44
44
  };
45
- export declare type PaginateArgs = {
45
+ export type PaginateArgs = {
46
46
  cursor?: Cursor | null;
47
47
  first?: number | null;
48
48
  desc?: boolean | null;
49
49
  unlimitedResults?: boolean | null;
50
50
  };
51
- export declare type TemplateArgs = {
51
+ export type TemplateArgs = {
52
52
  templates: ThemeTemplate[];
53
53
  };
54
- export declare type Cursor = string & {
54
+ export type Cursor = string & {
55
55
  _: "Cursor";
56
56
  };
57
- export declare type PageInfo = {
57
+ export type PageInfo = {
58
58
  startCursor: Cursor | null;
59
59
  endCursor: Cursor | null;
60
60
  hasNextPage: boolean;
61
61
  hasPreviousPage: boolean;
62
62
  };
63
- export declare type Edge<T> = {
63
+ export type Edge<T> = {
64
64
  node: T;
65
65
  cursor: Cursor;
66
66
  };
67
- export declare type PaginatedNodes<T> = {
67
+ export type PaginatedNodes<T> = {
68
68
  nodes: T[];
69
69
  pageInfo: PageInfo;
70
70
  };
71
- export declare type Connection<T> = {
71
+ export type Connection<T> = {
72
72
  nodes: T[];
73
73
  pageInfo: PageInfo;
74
74
  totalCount: number;
75
75
  };
76
- export declare type DateFilter = {
76
+ export type DateFilter = {
77
77
  from: DateTime;
78
78
  to: DateTime;
79
79
  };
@@ -3,16 +3,16 @@ import { SectionName, ThemeTemplate, EmbeddedComponentResource, WorkDeskName } f
3
3
  import { Ratio } from "../queries/media";
4
4
  import { ArticleSliceInput } from "./article-slice-input";
5
5
  import { Colour } from "../queries/colour";
6
- export declare type ExpirableFlagInput = {
6
+ export type ExpirableFlagInput = {
7
7
  type: Flag;
8
8
  duration: number | null;
9
9
  };
10
- export declare type BylineInput = {
10
+ export type BylineInput = {
11
11
  image?: ImageInput | null;
12
12
  byline: Markup;
13
13
  author?: Slug | null;
14
14
  };
15
- export declare type ArticleInput = {
15
+ export type ArticleInput = {
16
16
  leadAsset?: MediaInput | null;
17
17
  listingAsset?: MediaInput | null;
18
18
  byline: Markup;
@@ -52,43 +52,43 @@ export declare type ArticleInput = {
52
52
  textColour?: Colour | null;
53
53
  workDesk?: WorkDeskName | null;
54
54
  };
55
- export declare type MediaInput = {
55
+ export type MediaInput = {
56
56
  image?: ImageInput | null;
57
57
  video?: VideoInput | null;
58
58
  };
59
- export declare type ContentFragmentInput = {
59
+ export type ContentFragmentInput = {
60
60
  richText?: RichTextFragmentInput | null;
61
61
  image?: ImageFragmentInput | null;
62
62
  video?: VideoFragmentInput | null;
63
63
  interactive?: InteractiveFragmentInput | null;
64
64
  };
65
- export declare type ContentFragmentMetadataInput = {
65
+ export type ContentFragmentMetadataInput = {
66
66
  display?: Display | null;
67
67
  };
68
- export declare type Display = "primary" | "secondary" | "inline" | "fullwidth";
69
- export declare type ImageFragmentInput = {
68
+ export type Display = "primary" | "secondary" | "inline" | "fullwidth";
69
+ export type ImageFragmentInput = {
70
70
  metadata: ContentFragmentMetadataInput;
71
71
  image: ImageInput;
72
72
  };
73
- export declare type InteractiveFragmentInput = {
73
+ export type InteractiveFragmentInput = {
74
74
  metadata: ContentFragmentMetadataInput;
75
75
  interactive: InteractiveInput;
76
76
  };
77
- export declare type RichTextFragmentInput = {
77
+ export type RichTextFragmentInput = {
78
78
  richText: RichText;
79
79
  };
80
- export declare type VideoFragmentInput = {
80
+ export type VideoFragmentInput = {
81
81
  metadata: ContentFragmentMetadataInput;
82
82
  video: VideoInput;
83
83
  };
84
- export declare type ImageInput = {
84
+ export type ImageInput = {
85
85
  id: UUID;
86
86
  title: string;
87
87
  caption?: string | null;
88
88
  credits?: string | null;
89
89
  crops: CropInput[];
90
90
  };
91
- export declare type CropInput = {
91
+ export type CropInput = {
92
92
  ratio: Ratio;
93
93
  horizontalOffset: UnsignedInt;
94
94
  verticalOffset: UnsignedInt;
@@ -99,7 +99,7 @@ export declare type CropInput = {
99
99
  sourceHeight?: number | null;
100
100
  chpId?: string | null;
101
101
  };
102
- export declare type VideoInput = {
102
+ export type VideoInput = {
103
103
  id: UUID;
104
104
  caption?: string | null;
105
105
  title?: string | null;
@@ -112,21 +112,21 @@ export declare type VideoInput = {
112
112
  posterImage: ImageInput;
113
113
  is360?: boolean | null;
114
114
  };
115
- export declare type InteractiveInput = {
115
+ export type InteractiveInput = {
116
116
  id: UUID;
117
117
  caption?: string | null;
118
118
  url: URL;
119
119
  element: InteractiveElementInput;
120
120
  };
121
- export declare type InteractiveElementInput = {
121
+ export type InteractiveElementInput = {
122
122
  attributes: Dictionary;
123
123
  value: string;
124
124
  };
125
- export declare type EmbeddedContentInput = {
125
+ export type EmbeddedContentInput = {
126
126
  authorised: EmbeddedContentElementInput;
127
127
  unauthorised: EmbeddedContentElementInput;
128
128
  };
129
- declare type EmbeddedContentElementInput = {
129
+ type EmbeddedContentElementInput = {
130
130
  content: string;
131
131
  head?: string | null;
132
132
  scripts: EmbeddedComponentResource[];
@@ -1,5 +1,5 @@
1
1
  import { StandardSliceInput, LeadOneAndTwoSliceInput, OpinionOneAndTwoSliceInput } from "./slice-input";
2
- export declare type ArticleSliceInput = {
2
+ export type ArticleSliceInput = {
3
3
  standardSlice?: StandardSliceInput | null;
4
4
  leadOneAndTwoSlice?: LeadOneAndTwoSliceInput | null;
5
5
  opinionOneAndTwoSlice?: OpinionOneAndTwoSliceInput | null;
@@ -1,8 +1,8 @@
1
1
  import { SynonymType } from "../queries/synonym";
2
- export declare type ArticleTagScore = {
2
+ export type ArticleTagScore = {
3
3
  score: number;
4
4
  name: string;
5
5
  type: SynonymType;
6
6
  externalId?: string | null;
7
7
  };
8
- export declare type ArticleTagsInput = ArticleTagScore[];
8
+ export type ArticleTagsInput = ArticleTagScore[];
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type ArticleTagRemoveResult = {
2
+ export type ArticleTagRemoveResult = {
3
3
  tagId: UUID;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type ArticleTagUpsertResult = {
2
+ export type ArticleTagUpsertResult = {
3
3
  id: UUID;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { UUID } from "../common";
2
- export declare type ArticleUpsertResult = {
2
+ export type ArticleUpsertResult = {
3
3
  id: UUID;
4
4
  publishedTime: Date;
5
5
  updatedTime: Date;
@@ -1,5 +1,5 @@
1
1
  import { Slug, URL, Markup } from "../common";
2
- export declare type AuthorCreateInput = {
2
+ export type AuthorCreateInput = {
3
3
  slug: Slug;
4
4
  name: string;
5
5
  jobTitle: string;
@@ -1,5 +1,5 @@
1
1
  import { URL, Markup } from "../common";
2
- export declare type AuthorUpdateInput = {
2
+ export type AuthorUpdateInput = {
3
3
  name: string;
4
4
  jobTitle: string;
5
5
  contractualTitle: string | null;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type BookmarkSaveInput = {
2
+ export type BookmarkSaveInput = {
3
3
  id: UUID;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type BookmarkUnsaveInput = {
2
+ export type BookmarkUnsaveInput = {
3
3
  id: UUID;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { StandardSectionSliceInput } from "./section-input";
2
2
  import { URL, Slug, UUID, CollectionLinkType } from "../common";
3
3
  import { StandardPageSliceInput } from "./standard-page-slice-input";
4
- export declare type CollectionInput = {
4
+ export type CollectionInput = {
5
5
  title: string | null;
6
6
  link: CollectionLinkInput;
7
7
  slices?: StandardSectionSliceInput[] | null;
@@ -9,7 +9,7 @@ export declare type CollectionInput = {
9
9
  topic?: Slug | null;
10
10
  id?: UUID | null;
11
11
  };
12
- export declare type CollectionLinkInput = {
12
+ export type CollectionLinkInput = {
13
13
  url: URL | null;
14
14
  linkTitle?: string | null;
15
15
  linkType?: CollectionLinkType;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type CollectionUpdateResult = {
2
+ export type CollectionUpdateResult = {
3
3
  id: UUID;
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import { Markup } from "../common";
2
- export declare type DailyUniversalRegisterItemInput = {
2
+ export type DailyUniversalRegisterItemInput = {
3
3
  title: String;
4
4
  byline?: Markup | null;
5
5
  content: Markup;
6
6
  };
7
- export declare type DailyUniversalRegisterInput = {
7
+ export type DailyUniversalRegisterInput = {
8
8
  briefing: DailyUniversalRegisterItemInput;
9
9
  onThisDay: DailyUniversalRegisterItemInput;
10
10
  natureNotes: DailyUniversalRegisterItemInput;
@@ -3,7 +3,7 @@ import { BylineInput, EmbeddedContentInput, ExpirableFlagInput, MediaInput, Cont
3
3
  import { SectionName, ThemeTemplate, WorkDeskName } from "../queries/article";
4
4
  import { Colour } from "../queries/colour";
5
5
  import { DraftArticleSliceInput } from "./draft-article-slice-input";
6
- export declare type DraftArticleInput = {
6
+ export type DraftArticleInput = {
7
7
  authors: Slug[];
8
8
  byline?: Markup | null;
9
9
  bylines?: BylineInput[] | null;
@@ -1,5 +1,5 @@
1
1
  import { DraftStandardSliceInput, DraftLeadOneAndTwoSliceInput, DraftOpinionOneAndTwoSliceInput } from "./draft-slice-input";
2
- export declare type DraftArticleSliceInput = {
2
+ export type DraftArticleSliceInput = {
3
3
  standardSlice?: DraftStandardSliceInput | null;
4
4
  leadOneAndTwoSlice?: DraftLeadOneAndTwoSliceInput | null;
5
5
  opinionOneAndTwoSlice?: DraftOpinionOneAndTwoSliceInput | null;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type DraftArticleTagRemoveResult = {
2
+ export type DraftArticleTagRemoveResult = {
3
3
  tagId: UUID;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type DraftArticleUpsertResult = {
2
+ export type DraftArticleUpsertResult = {
3
3
  id: UUID;
4
4
  };
@@ -1,13 +1,13 @@
1
1
  import { DraftTileInput } from "./draft-tile-input";
2
- export declare type DraftStandardSliceInput = {
2
+ export type DraftStandardSliceInput = {
3
3
  items: DraftTileInput[];
4
4
  };
5
- export declare type DraftLeadOneAndTwoSliceInput = {
5
+ export type DraftLeadOneAndTwoSliceInput = {
6
6
  lead: DraftTileInput;
7
7
  support1: DraftTileInput;
8
8
  support2: DraftTileInput;
9
9
  };
10
- export declare type DraftOpinionOneAndTwoSliceInput = {
10
+ export type DraftOpinionOneAndTwoSliceInput = {
11
11
  opinion: DraftTileInput;
12
12
  support1: DraftTileInput;
13
13
  support2: DraftTileInput;
@@ -1,6 +1,6 @@
1
1
  import { UUID, Markup } from "../common";
2
2
  import { MediaInput } from "./article-input";
3
- export declare type DraftTileInput = {
3
+ export type DraftTileInput = {
4
4
  articleId?: UUID | null;
5
5
  draftArticleId?: UUID | null;
6
6
  headline?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { UUID, ShortDate, PublicationName, Region } from "../common";
2
2
  import { SectionInput } from "./section-input";
3
- export declare type EditionInput = {
3
+ export type EditionInput = {
4
4
  id: UUID;
5
5
  updateText: string;
6
6
  date: ShortDate;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type EditionUpsertResult = {
2
+ export type EditionUpsertResult = {
3
3
  id: UUID;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { DateTime, Slug, UUID } from "../common";
2
2
  import { CollectionInput } from "./collection-input";
3
- export declare type PageInput = {
3
+ export type PageInput = {
4
4
  id: UUID;
5
5
  title: string;
6
6
  titleSeo: string;
@@ -11,6 +11,6 @@ export declare type PageInput = {
11
11
  socialCardImage: string;
12
12
  body: PageBlockInput[];
13
13
  };
14
- export declare type PageBlockInput = {
14
+ export type PageBlockInput = {
15
15
  collection?: CollectionInput | null;
16
16
  };
@@ -1,29 +1,29 @@
1
1
  import { Slug, UUID } from "../common";
2
- export declare type PageTileInput = {
2
+ export type PageTileInput = {
3
3
  articleRef?: ArticleRefInput | null;
4
4
  topicArticleRef?: TopicArticleRefInput | null;
5
5
  customComponent?: CustomComponentInput | null;
6
6
  externalRef?: ExternalRefInput | null;
7
7
  };
8
- export declare type ArticleRefInput = {
8
+ export type ArticleRefInput = {
9
9
  articleId: UUID;
10
10
  };
11
- export declare type TopicArticleRefInput = {
11
+ export type TopicArticleRefInput = {
12
12
  topic: Slug;
13
13
  isComment: boolean;
14
14
  };
15
- export declare type CustomComponentInput = {
15
+ export type CustomComponentInput = {
16
16
  name: string;
17
17
  url: string;
18
18
  parameters?: string | null;
19
19
  };
20
- export declare type ExternalRefImageInput = {
20
+ export type ExternalRefImageInput = {
21
21
  url: string;
22
22
  resizeUrl: string;
23
23
  width: number;
24
24
  height: number;
25
25
  };
26
- export declare type ExternalRefInput = {
26
+ export type ExternalRefInput = {
27
27
  headline: string;
28
28
  url: string;
29
29
  label?: string | null;
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type PageUpsertResult = {
2
+ export type PageUpsertResult = {
3
3
  id: UUID;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { Colour } from "../queries/colour";
2
2
  import { UUID } from "../common";
3
3
  import { ImageInput } from "./article-input";
4
- export declare type PuffInput = {
4
+ export type PuffInput = {
5
5
  title: string;
6
6
  colour: Colour;
7
7
  mainLink: PuffMainLinkInput;
@@ -10,17 +10,17 @@ export declare type PuffInput = {
10
10
  leadImage?: ImageInput | null;
11
11
  strapline?: string | null;
12
12
  };
13
- export declare type PuffLiteInput = {
13
+ export type PuffLiteInput = {
14
14
  title: string;
15
15
  mainLink: PuffMainLinkInput;
16
16
  leadImage: ImageInput;
17
17
  strapline: string;
18
18
  };
19
- export declare type PuffMainLinkInput = {
19
+ export type PuffMainLinkInput = {
20
20
  articleId?: UUID | null;
21
21
  link?: string | null;
22
22
  };
23
- export declare type PuffSecondaryLinkInput = {
23
+ export type PuffSecondaryLinkInput = {
24
24
  label: string;
25
25
  articleId?: UUID | null;
26
26
  link?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { UUID, URL } from "../common";
2
2
  import { ImageInput } from "./article-input";
3
- export declare type PuzzleInput = {
3
+ export type PuzzleInput = {
4
4
  id: UUID;
5
5
  title: string;
6
6
  url: URL;
@@ -4,28 +4,28 @@ import { ImageInput } from "./article-input";
4
4
  import { StandardSliceInput, CommentLeadAndCartoonSliceInput, LetterThundererPodcastSliceInput, CommentTwoAndNotebookSliceInput, ContainerSliceInput, FocusSliceInput, LeadersSliceInput, LeadOneAndFourSliceInput, LeadOneAndOneSliceInput, LeadOneAndTwoSliceInput, LeadOneFullWidthSliceInput, LeadOneNoPicAndOneAndPortraitSliceInput, LeadTwoNoPicAndTwoSliceInput, ObituariesLeadAndTwoSliceInput, OpinionOneAndTwoSliceInput, SecondaryFourSliceInput, SecondaryOneSliceInput, SecondaryOneAndColumnistSliceInput, SecondaryOneAndFourSliceInput, SecondaryTwoAndTwoSliceInput, SecondaryTwoNoPicAndTwoSliceInput, TwoPicAndSixNoPicSliceInput, PuffSliceInput, InTheNewsSliceInput, SupplementLeadAndFourStackSliceInput, SupplementSecondaryOneAndFourSliceInput } from "./slice-input";
5
5
  import { DailyUniversalRegisterInput } from "./daily-universal-register-input";
6
6
  import { PuzzleInput } from "./puzzle-input";
7
- export declare type SectionInput = {
7
+ export type SectionInput = {
8
8
  standardSection?: StandardSectionInput;
9
9
  puzzleSection?: PuzzleSectionInput;
10
10
  magazineSection?: MagazineSectionInput;
11
11
  };
12
- export declare type StandardSectionInput = BasicSectionInput & {
12
+ export type StandardSectionInput = BasicSectionInput & {
13
13
  slices: StandardSectionSliceInput[];
14
14
  };
15
- export declare type PuzzleSectionInput = BasicSectionInput & {
15
+ export type PuzzleSectionInput = BasicSectionInput & {
16
16
  slices: PuzzleSectionSliceInput[];
17
17
  };
18
- export declare type MagazineSectionInput = BasicSectionInput & {
18
+ export type MagazineSectionInput = BasicSectionInput & {
19
19
  slices: MagazineSectionSliceInput[];
20
20
  cover: ImageInput;
21
21
  };
22
- export declare type BasicSectionInput = {
22
+ export type BasicSectionInput = {
23
23
  id: UUID;
24
24
  title: string | null;
25
25
  slug: Slug;
26
26
  colour: Colour;
27
27
  };
28
- export declare type MagazineSectionSliceInput = {
28
+ export type MagazineSectionSliceInput = {
29
29
  standardSlice?: StandardSliceInput | null;
30
30
  commentLeadAndCartoonSlice?: CommentLeadAndCartoonSliceInput | null;
31
31
  letterThundererPodcastSlice?: LetterThundererPodcastSliceInput | null;
@@ -52,11 +52,11 @@ export declare type MagazineSectionSliceInput = {
52
52
  twoPicAndSixNoPicSlice?: TwoPicAndSixNoPicSliceInput | null;
53
53
  puffSlice?: PuffSliceInput | null;
54
54
  };
55
- export declare type StandardSectionSliceInput = MagazineSectionSliceInput & {
55
+ export type StandardSectionSliceInput = MagazineSectionSliceInput & {
56
56
  inTheNewsSlice?: InTheNewsSliceInput | null;
57
57
  dailyUniversalRegister?: DailyUniversalRegisterInput | null;
58
58
  };
59
- export declare type PuzzleSectionSliceInput = {
59
+ export type PuzzleSectionSliceInput = {
60
60
  puzzle?: PuzzleInput | null;
61
61
  puffSlice?: PuffSliceInput | null;
62
62
  };
@@ -1,4 +1,4 @@
1
1
  import { UUID } from "../common";
2
- export declare type SectionUpdateResult = {
2
+ export type SectionUpdateResult = {
3
3
  id: UUID;
4
4
  };