@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.
- package/common.d.ts +29 -29
- package/mutations/article-input.d.ts +18 -18
- package/mutations/article-slice-input.d.ts +1 -1
- package/mutations/article-tag-input.d.ts +2 -2
- package/mutations/article-tag-remove-result.d.ts +1 -1
- package/mutations/article-tag-upsert-result.d.ts +1 -1
- package/mutations/article-upsert-result.d.ts +1 -1
- package/mutations/author-create-input.d.ts +1 -1
- package/mutations/author-update-input.d.ts +1 -1
- package/mutations/bookmark-save-input.d.ts +1 -1
- package/mutations/bookmark-unsave-input.d.ts +1 -1
- package/mutations/collection-input.d.ts +2 -2
- package/mutations/collection-update-result.d.ts +1 -1
- package/mutations/daily-universal-register-input.d.ts +2 -2
- package/mutations/draft-article-input.d.ts +1 -1
- package/mutations/draft-article-slice-input.d.ts +1 -1
- package/mutations/draft-article-tag-remove-result.d.ts +1 -1
- package/mutations/draft-article-upsert-result.d.ts +1 -1
- package/mutations/draft-slice-input.d.ts +3 -3
- package/mutations/draft-tile-input.d.ts +1 -1
- package/mutations/edition-input.d.ts +1 -1
- package/mutations/edition-upsert-result.d.ts +1 -1
- package/mutations/page-input.d.ts +2 -2
- package/mutations/page-tile-input.d.ts +6 -6
- package/mutations/page-upsert-result.d.ts +1 -1
- package/mutations/puff-input.d.ts +4 -4
- package/mutations/puzzle-input.d.ts +1 -1
- package/mutations/section-input.d.ts +8 -8
- package/mutations/section-update-result.d.ts +1 -1
- package/mutations/slice-input.d.ts +26 -26
- package/mutations/slice-update-result.d.ts +1 -1
- package/mutations/standard-page-slice-input.d.ts +3 -3
- package/mutations/synonym-input.d.ts +1 -1
- package/mutations/tag-merge-result.d.ts +1 -1
- package/mutations/tag-split-result.d.ts +1 -1
- package/mutations/tag-update-input.d.ts +1 -1
- package/mutations/tag-update-result.d.ts +1 -1
- package/mutations/tile-input.d.ts +1 -1
- package/mutations/topic-create-result.d.ts +1 -1
- package/mutations/topic-input.d.ts +2 -2
- package/mutations/topic-remove-result.d.ts +1 -1
- package/mutations/topic-tag-link-result.d.ts +1 -1
- package/mutations/topic-tag-remove-result.d.ts +1 -1
- package/mutations/topic-update-input.d.ts +1 -1
- package/mutations/topic-update-result.d.ts +1 -1
- package/package.json +2 -2
- package/queries/article-synonym-connection.d.ts +2 -2
- package/queries/article-tag-connection.d.ts +2 -2
- package/queries/article-topic-connection.d.ts +1 -1
- package/queries/article.d.ts +10 -10
- package/queries/articles.d.ts +1 -1
- package/queries/author.d.ts +3 -3
- package/queries/bookmark.d.ts +2 -2
- package/queries/bylines.d.ts +2 -2
- package/queries/collection.d.ts +2 -2
- package/queries/colour.d.ts +2 -2
- package/queries/daily-universal-register.d.ts +2 -2
- package/queries/draft-article-topic-connection.d.ts +1 -1
- package/queries/draft-article.d.ts +3 -3
- package/queries/draft-articles.d.ts +1 -1
- package/queries/draft-slice.d.ts +4 -4
- package/queries/draft-tile.d.ts +1 -1
- package/queries/edition.d.ts +1 -1
- package/queries/interactive.d.ts +1 -1
- package/queries/layout.d.ts +4 -4
- package/queries/link.d.ts +5 -5
- package/queries/media.d.ts +7 -7
- package/queries/menu.d.ts +3 -3
- package/queries/page-tile.d.ts +5 -5
- package/queries/page.d.ts +3 -3
- package/queries/puff.d.ts +5 -5
- package/queries/puzzle.d.ts +1 -1
- package/queries/puzzles.d.ts +1 -1
- package/queries/query.d.ts +17 -17
- package/queries/section.d.ts +6 -6
- package/queries/slice.d.ts +35 -35
- package/queries/standard-page-slice.d.ts +3 -3
- package/queries/synonym-connection.d.ts +1 -1
- package/queries/synonym.d.ts +2 -2
- package/queries/tag-article-connection.d.ts +2 -2
- package/queries/tag-connection.d.ts +1 -1
- package/queries/tag-draft-article-connection.d.ts +2 -2
- package/queries/tag.d.ts +1 -1
- package/queries/tile.d.ts +1 -1
- package/queries/topic-article-connection.d.ts +1 -1
- package/queries/topic-draft-article-connection.d.ts +1 -1
- package/queries/topic-tag-connection.d.ts +2 -2
- package/queries/topic.d.ts +6 -6
- 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
|
|
3
|
+
export type Slug = string & {
|
|
4
4
|
_: "Slug";
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type ID = string & {
|
|
7
7
|
_: "ID";
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type UUID = string & {
|
|
10
10
|
_: "UUID";
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type BigInt = number & {
|
|
13
13
|
_: "Revision";
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
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
|
|
24
|
-
export
|
|
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
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
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
|
|
36
|
-
export
|
|
35
|
+
export type URL = string;
|
|
36
|
+
export type TinyInt = number & {
|
|
37
37
|
_: "TinyInt";
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type UnsignedInt = number & {
|
|
40
40
|
_: "UnsignedInt";
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type UnitInterval = number & {
|
|
43
43
|
_: "UnitInterval";
|
|
44
44
|
};
|
|
45
|
-
export
|
|
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
|
|
51
|
+
export type TemplateArgs = {
|
|
52
52
|
templates: ThemeTemplate[];
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type Cursor = string & {
|
|
55
55
|
_: "Cursor";
|
|
56
56
|
};
|
|
57
|
-
export
|
|
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
|
|
63
|
+
export type Edge<T> = {
|
|
64
64
|
node: T;
|
|
65
65
|
cursor: Cursor;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type PaginatedNodes<T> = {
|
|
68
68
|
nodes: T[];
|
|
69
69
|
pageInfo: PageInfo;
|
|
70
70
|
};
|
|
71
|
-
export
|
|
71
|
+
export type Connection<T> = {
|
|
72
72
|
nodes: T[];
|
|
73
73
|
pageInfo: PageInfo;
|
|
74
74
|
totalCount: number;
|
|
75
75
|
};
|
|
76
|
-
export
|
|
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
|
|
6
|
+
export type ExpirableFlagInput = {
|
|
7
7
|
type: Flag;
|
|
8
8
|
duration: number | null;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type BylineInput = {
|
|
11
11
|
image?: ImageInput | null;
|
|
12
12
|
byline: Markup;
|
|
13
13
|
author?: Slug | null;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
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
|
|
55
|
+
export type MediaInput = {
|
|
56
56
|
image?: ImageInput | null;
|
|
57
57
|
video?: VideoInput | null;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
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
|
|
65
|
+
export type ContentFragmentMetadataInput = {
|
|
66
66
|
display?: Display | null;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
69
|
-
export
|
|
68
|
+
export type Display = "primary" | "secondary" | "inline" | "fullwidth";
|
|
69
|
+
export type ImageFragmentInput = {
|
|
70
70
|
metadata: ContentFragmentMetadataInput;
|
|
71
71
|
image: ImageInput;
|
|
72
72
|
};
|
|
73
|
-
export
|
|
73
|
+
export type InteractiveFragmentInput = {
|
|
74
74
|
metadata: ContentFragmentMetadataInput;
|
|
75
75
|
interactive: InteractiveInput;
|
|
76
76
|
};
|
|
77
|
-
export
|
|
77
|
+
export type RichTextFragmentInput = {
|
|
78
78
|
richText: RichText;
|
|
79
79
|
};
|
|
80
|
-
export
|
|
80
|
+
export type VideoFragmentInput = {
|
|
81
81
|
metadata: ContentFragmentMetadataInput;
|
|
82
82
|
video: VideoInput;
|
|
83
83
|
};
|
|
84
|
-
export
|
|
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
|
|
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
|
|
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
|
|
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
|
|
121
|
+
export type InteractiveElementInput = {
|
|
122
122
|
attributes: Dictionary;
|
|
123
123
|
value: string;
|
|
124
124
|
};
|
|
125
|
-
export
|
|
125
|
+
export type EmbeddedContentInput = {
|
|
126
126
|
authorised: EmbeddedContentElementInput;
|
|
127
127
|
unauthorised: EmbeddedContentElementInput;
|
|
128
128
|
};
|
|
129
|
-
|
|
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
|
|
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
|
|
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
|
|
8
|
+
export type ArticleTagsInput = ArticleTagScore[];
|
|
@@ -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
|
|
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
|
|
12
|
+
export type CollectionLinkInput = {
|
|
13
13
|
url: URL | null;
|
|
14
14
|
linkTitle?: string | null;
|
|
15
15
|
linkType?: CollectionLinkType;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Markup } from "../common";
|
|
2
|
-
export
|
|
2
|
+
export type DailyUniversalRegisterItemInput = {
|
|
3
3
|
title: String;
|
|
4
4
|
byline?: Markup | null;
|
|
5
5
|
content: Markup;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
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
|
|
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
|
|
2
|
+
export type DraftArticleSliceInput = {
|
|
3
3
|
standardSlice?: DraftStandardSliceInput | null;
|
|
4
4
|
leadOneAndTwoSlice?: DraftLeadOneAndTwoSliceInput | null;
|
|
5
5
|
opinionOneAndTwoSlice?: DraftOpinionOneAndTwoSliceInput | null;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DraftTileInput } from "./draft-tile-input";
|
|
2
|
-
export
|
|
2
|
+
export type DraftStandardSliceInput = {
|
|
3
3
|
items: DraftTileInput[];
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type DraftLeadOneAndTwoSliceInput = {
|
|
6
6
|
lead: DraftTileInput;
|
|
7
7
|
support1: DraftTileInput;
|
|
8
8
|
support2: DraftTileInput;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type DraftOpinionOneAndTwoSliceInput = {
|
|
11
11
|
opinion: DraftTileInput;
|
|
12
12
|
support1: DraftTileInput;
|
|
13
13
|
support2: DraftTileInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateTime, Slug, UUID } from "../common";
|
|
2
2
|
import { CollectionInput } from "./collection-input";
|
|
3
|
-
export
|
|
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
|
|
14
|
+
export type PageBlockInput = {
|
|
15
15
|
collection?: CollectionInput | null;
|
|
16
16
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { Slug, UUID } from "../common";
|
|
2
|
-
export
|
|
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
|
|
8
|
+
export type ArticleRefInput = {
|
|
9
9
|
articleId: UUID;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type TopicArticleRefInput = {
|
|
12
12
|
topic: Slug;
|
|
13
13
|
isComment: boolean;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type CustomComponentInput = {
|
|
16
16
|
name: string;
|
|
17
17
|
url: string;
|
|
18
18
|
parameters?: string | null;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type ExternalRefImageInput = {
|
|
21
21
|
url: string;
|
|
22
22
|
resizeUrl: string;
|
|
23
23
|
width: number;
|
|
24
24
|
height: number;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type ExternalRefInput = {
|
|
27
27
|
headline: string;
|
|
28
28
|
url: string;
|
|
29
29
|
label?: string | null;
|
|
@@ -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
|
|
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
|
|
13
|
+
export type PuffLiteInput = {
|
|
14
14
|
title: string;
|
|
15
15
|
mainLink: PuffMainLinkInput;
|
|
16
16
|
leadImage: ImageInput;
|
|
17
17
|
strapline: string;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type PuffMainLinkInput = {
|
|
20
20
|
articleId?: UUID | null;
|
|
21
21
|
link?: string | null;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type PuffSecondaryLinkInput = {
|
|
24
24
|
label: string;
|
|
25
25
|
articleId?: UUID | null;
|
|
26
26
|
link?: string | null;
|
|
@@ -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
|
|
7
|
+
export type SectionInput = {
|
|
8
8
|
standardSection?: StandardSectionInput;
|
|
9
9
|
puzzleSection?: PuzzleSectionInput;
|
|
10
10
|
magazineSection?: MagazineSectionInput;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type StandardSectionInput = BasicSectionInput & {
|
|
13
13
|
slices: StandardSectionSliceInput[];
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type PuzzleSectionInput = BasicSectionInput & {
|
|
16
16
|
slices: PuzzleSectionSliceInput[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type MagazineSectionInput = BasicSectionInput & {
|
|
19
19
|
slices: MagazineSectionSliceInput[];
|
|
20
20
|
cover: ImageInput;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
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
|
|
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
|
|
55
|
+
export type StandardSectionSliceInput = MagazineSectionSliceInput & {
|
|
56
56
|
inTheNewsSlice?: InTheNewsSliceInput | null;
|
|
57
57
|
dailyUniversalRegister?: DailyUniversalRegisterInput | null;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type PuzzleSectionSliceInput = {
|
|
60
60
|
puzzle?: PuzzleInput | null;
|
|
61
61
|
puffSlice?: PuffSliceInput | null;
|
|
62
62
|
};
|