@financial-times/cp-content-pipeline-client 0.3.7 → 0.3.8
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/CHANGELOG.md +6 -0
- package/lib/generated/index.d.ts +41 -32
- package/lib/generated/index.js +11 -6
- package/lib/generated/index.js.map +1 -1
- package/package.json +2 -2
- package/queries/article.graphql +8 -4
- package/src/generated/index.ts +33 -26
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -54,6 +54,12 @@
|
|
|
54
54
|
* devDependencies
|
|
55
55
|
* @financial-times/cp-content-pipeline-schema bumped from ^0.4.5 to ^0.4.6
|
|
56
56
|
|
|
57
|
+
### Dependencies
|
|
58
|
+
|
|
59
|
+
* The following workspace dependencies were updated
|
|
60
|
+
* devDependencies
|
|
61
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.4.6 to ^0.4.7
|
|
62
|
+
|
|
57
63
|
## [0.3.7](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.3.6...cp-content-pipeline-client-v0.3.7) (2022-11-29)
|
|
58
64
|
|
|
59
65
|
|
package/lib/generated/index.d.ts
CHANGED
|
@@ -41,8 +41,8 @@ export declare type Article = Content & {
|
|
|
41
41
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
42
42
|
readonly altTitle?: Maybe<AltTitle>;
|
|
43
43
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
44
|
-
readonly body
|
|
45
|
-
readonly bodyXML
|
|
44
|
+
readonly body?: Maybe<RichText>;
|
|
45
|
+
readonly bodyXML?: Maybe<Scalars['String']>;
|
|
46
46
|
readonly byline?: Maybe<StructuredContent>;
|
|
47
47
|
readonly firstPublishedDate: Scalars['String'];
|
|
48
48
|
readonly id: Scalars['String'];
|
|
@@ -63,8 +63,8 @@ export declare type Audio = Content & {
|
|
|
63
63
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
64
64
|
readonly altTitle?: Maybe<AltTitle>;
|
|
65
65
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
66
|
-
readonly body
|
|
67
|
-
readonly bodyXML
|
|
66
|
+
readonly body?: Maybe<RichText>;
|
|
67
|
+
readonly bodyXML?: Maybe<Scalars['String']>;
|
|
68
68
|
readonly byline?: Maybe<StructuredContent>;
|
|
69
69
|
readonly firstPublishedDate: Scalars['String'];
|
|
70
70
|
readonly id: Scalars['String'];
|
|
@@ -116,8 +116,8 @@ export declare type Content = {
|
|
|
116
116
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
117
117
|
readonly altTitle?: Maybe<AltTitle>;
|
|
118
118
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
119
|
-
readonly body
|
|
120
|
-
readonly bodyXML
|
|
119
|
+
readonly body?: Maybe<RichText>;
|
|
120
|
+
readonly bodyXML?: Maybe<Scalars['String']>;
|
|
121
121
|
readonly byline?: Maybe<StructuredContent>;
|
|
122
122
|
readonly firstPublishedDate: Scalars['String'];
|
|
123
123
|
readonly id: Scalars['String'];
|
|
@@ -138,8 +138,8 @@ export declare type ContentPackage = Content & {
|
|
|
138
138
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
139
139
|
readonly altTitle?: Maybe<AltTitle>;
|
|
140
140
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
141
|
-
readonly body
|
|
142
|
-
readonly bodyXML
|
|
141
|
+
readonly body?: Maybe<RichText>;
|
|
142
|
+
readonly bodyXML?: Maybe<Scalars['String']>;
|
|
143
143
|
readonly byline?: Maybe<StructuredContent>;
|
|
144
144
|
readonly firstPublishedDate: Scalars['String'];
|
|
145
145
|
readonly id: Scalars['String'];
|
|
@@ -240,8 +240,8 @@ export declare type LiveBlogPackage = Content & {
|
|
|
240
240
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
241
241
|
readonly altTitle?: Maybe<AltTitle>;
|
|
242
242
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
243
|
-
readonly body
|
|
244
|
-
readonly bodyXML
|
|
243
|
+
readonly body?: Maybe<RichText>;
|
|
244
|
+
readonly bodyXML?: Maybe<Scalars['String']>;
|
|
245
245
|
readonly byline?: Maybe<StructuredContent>;
|
|
246
246
|
readonly firstPublishedDate: Scalars['String'];
|
|
247
247
|
readonly id: Scalars['String'];
|
|
@@ -264,8 +264,8 @@ export declare type LiveBlogPost = Content & {
|
|
|
264
264
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
265
265
|
readonly altTitle?: Maybe<AltTitle>;
|
|
266
266
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
267
|
-
readonly body
|
|
268
|
-
readonly bodyXML
|
|
267
|
+
readonly body?: Maybe<RichText>;
|
|
268
|
+
readonly bodyXML?: Maybe<Scalars['String']>;
|
|
269
269
|
readonly byline?: Maybe<StructuredContent>;
|
|
270
270
|
readonly firstPublishedDate: Scalars['String'];
|
|
271
271
|
readonly id: Scalars['String'];
|
|
@@ -446,8 +446,8 @@ export declare type Video = Content & {
|
|
|
446
446
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
447
447
|
readonly altTitle?: Maybe<AltTitle>;
|
|
448
448
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
449
|
-
readonly body
|
|
450
|
-
readonly bodyXML
|
|
449
|
+
readonly body?: Maybe<RichText>;
|
|
450
|
+
readonly bodyXML?: Maybe<Scalars['String']>;
|
|
451
451
|
readonly byline?: Maybe<StructuredContent>;
|
|
452
452
|
readonly firstPublishedDate: Scalars['String'];
|
|
453
453
|
readonly id: Scalars['String'];
|
|
@@ -593,6 +593,14 @@ export declare type TopperImagesFragment = {
|
|
|
593
593
|
}>;
|
|
594
594
|
};
|
|
595
595
|
};
|
|
596
|
+
export declare type IntroFragment = {
|
|
597
|
+
readonly __typename?: 'RichText';
|
|
598
|
+
readonly source: Source;
|
|
599
|
+
readonly structured: {
|
|
600
|
+
readonly __typename?: 'StructuredContent';
|
|
601
|
+
readonly tree: any;
|
|
602
|
+
};
|
|
603
|
+
};
|
|
596
604
|
declare type Topper_BasicTopper_Fragment = {
|
|
597
605
|
readonly __typename: 'BasicTopper';
|
|
598
606
|
readonly headline: string;
|
|
@@ -2140,7 +2148,7 @@ declare type Content_Article_Fragment = {
|
|
|
2140
2148
|
readonly relativeUrl: string;
|
|
2141
2149
|
};
|
|
2142
2150
|
};
|
|
2143
|
-
readonly body
|
|
2151
|
+
readonly body?: {
|
|
2144
2152
|
readonly __typename?: 'RichText';
|
|
2145
2153
|
readonly structured: {
|
|
2146
2154
|
readonly __typename?: 'StructuredContent';
|
|
@@ -2716,7 +2724,7 @@ declare type Content_Audio_Fragment = {
|
|
|
2716
2724
|
readonly relativeUrl: string;
|
|
2717
2725
|
};
|
|
2718
2726
|
};
|
|
2719
|
-
readonly body
|
|
2727
|
+
readonly body?: {
|
|
2720
2728
|
readonly __typename?: 'RichText';
|
|
2721
2729
|
readonly structured: {
|
|
2722
2730
|
readonly __typename?: 'StructuredContent';
|
|
@@ -3292,7 +3300,7 @@ declare type Content_ContentPackage_Fragment = {
|
|
|
3292
3300
|
readonly relativeUrl: string;
|
|
3293
3301
|
};
|
|
3294
3302
|
};
|
|
3295
|
-
readonly body
|
|
3303
|
+
readonly body?: {
|
|
3296
3304
|
readonly __typename?: 'RichText';
|
|
3297
3305
|
readonly structured: {
|
|
3298
3306
|
readonly __typename?: 'StructuredContent';
|
|
@@ -3868,7 +3876,7 @@ declare type Content_LiveBlogPackage_Fragment = {
|
|
|
3868
3876
|
readonly relativeUrl: string;
|
|
3869
3877
|
};
|
|
3870
3878
|
};
|
|
3871
|
-
readonly body
|
|
3879
|
+
readonly body?: {
|
|
3872
3880
|
readonly __typename?: 'RichText';
|
|
3873
3881
|
readonly structured: {
|
|
3874
3882
|
readonly __typename?: 'StructuredContent';
|
|
@@ -4444,7 +4452,7 @@ declare type Content_LiveBlogPost_Fragment = {
|
|
|
4444
4452
|
readonly relativeUrl: string;
|
|
4445
4453
|
};
|
|
4446
4454
|
};
|
|
4447
|
-
readonly body
|
|
4455
|
+
readonly body?: {
|
|
4448
4456
|
readonly __typename?: 'RichText';
|
|
4449
4457
|
readonly structured: {
|
|
4450
4458
|
readonly __typename?: 'StructuredContent';
|
|
@@ -5020,7 +5028,7 @@ declare type Content_Video_Fragment = {
|
|
|
5020
5028
|
readonly relativeUrl: string;
|
|
5021
5029
|
};
|
|
5022
5030
|
};
|
|
5023
|
-
readonly body
|
|
5031
|
+
readonly body?: {
|
|
5024
5032
|
readonly __typename?: 'RichText';
|
|
5025
5033
|
readonly structured: {
|
|
5026
5034
|
readonly __typename?: 'StructuredContent';
|
|
@@ -5603,7 +5611,7 @@ export declare type ArticleQuery = {
|
|
|
5603
5611
|
readonly relativeUrl: string;
|
|
5604
5612
|
};
|
|
5605
5613
|
};
|
|
5606
|
-
readonly body
|
|
5614
|
+
readonly body?: {
|
|
5607
5615
|
readonly __typename?: 'RichText';
|
|
5608
5616
|
readonly structured: {
|
|
5609
5617
|
readonly __typename?: 'StructuredContent';
|
|
@@ -6178,7 +6186,7 @@ export declare type ArticleQuery = {
|
|
|
6178
6186
|
readonly relativeUrl: string;
|
|
6179
6187
|
};
|
|
6180
6188
|
};
|
|
6181
|
-
readonly body
|
|
6189
|
+
readonly body?: {
|
|
6182
6190
|
readonly __typename?: 'RichText';
|
|
6183
6191
|
readonly structured: {
|
|
6184
6192
|
readonly __typename?: 'StructuredContent';
|
|
@@ -6753,7 +6761,7 @@ export declare type ArticleQuery = {
|
|
|
6753
6761
|
readonly relativeUrl: string;
|
|
6754
6762
|
};
|
|
6755
6763
|
};
|
|
6756
|
-
readonly body
|
|
6764
|
+
readonly body?: {
|
|
6757
6765
|
readonly __typename?: 'RichText';
|
|
6758
6766
|
readonly structured: {
|
|
6759
6767
|
readonly __typename?: 'StructuredContent';
|
|
@@ -7334,7 +7342,7 @@ export declare type ArticleQuery = {
|
|
|
7334
7342
|
readonly relativeUrl: string;
|
|
7335
7343
|
};
|
|
7336
7344
|
};
|
|
7337
|
-
readonly body
|
|
7345
|
+
readonly body?: {
|
|
7338
7346
|
readonly __typename?: 'RichText';
|
|
7339
7347
|
readonly structured: {
|
|
7340
7348
|
readonly __typename?: 'StructuredContent';
|
|
@@ -7909,7 +7917,7 @@ export declare type ArticleQuery = {
|
|
|
7909
7917
|
readonly relativeUrl: string;
|
|
7910
7918
|
};
|
|
7911
7919
|
};
|
|
7912
|
-
readonly body
|
|
7920
|
+
readonly body?: {
|
|
7913
7921
|
readonly __typename?: 'RichText';
|
|
7914
7922
|
readonly structured: {
|
|
7915
7923
|
readonly __typename?: 'StructuredContent';
|
|
@@ -8484,7 +8492,7 @@ export declare type ArticleQuery = {
|
|
|
8484
8492
|
readonly relativeUrl: string;
|
|
8485
8493
|
};
|
|
8486
8494
|
};
|
|
8487
|
-
readonly body
|
|
8495
|
+
readonly body?: {
|
|
8488
8496
|
readonly __typename?: 'RichText';
|
|
8489
8497
|
readonly structured: {
|
|
8490
8498
|
readonly __typename?: 'StructuredContent';
|
|
@@ -9059,7 +9067,7 @@ export declare type ArticleQuery = {
|
|
|
9059
9067
|
readonly relativeUrl: string;
|
|
9060
9068
|
};
|
|
9061
9069
|
};
|
|
9062
|
-
readonly body
|
|
9070
|
+
readonly body?: {
|
|
9063
9071
|
readonly __typename?: 'RichText';
|
|
9064
9072
|
readonly structured: {
|
|
9065
9073
|
readonly __typename?: 'StructuredContent';
|
|
@@ -9634,7 +9642,7 @@ export declare type ArticleQuery = {
|
|
|
9634
9642
|
readonly relativeUrl: string;
|
|
9635
9643
|
};
|
|
9636
9644
|
};
|
|
9637
|
-
readonly body
|
|
9645
|
+
readonly body?: {
|
|
9638
9646
|
readonly __typename?: 'RichText';
|
|
9639
9647
|
readonly structured: {
|
|
9640
9648
|
readonly __typename?: 'StructuredContent';
|
|
@@ -10209,7 +10217,7 @@ export declare type ArticleQuery = {
|
|
|
10209
10217
|
readonly relativeUrl: string;
|
|
10210
10218
|
};
|
|
10211
10219
|
};
|
|
10212
|
-
readonly body
|
|
10220
|
+
readonly body?: {
|
|
10213
10221
|
readonly __typename?: 'RichText';
|
|
10214
10222
|
readonly structured: {
|
|
10215
10223
|
readonly __typename?: 'StructuredContent';
|
|
@@ -10780,7 +10788,7 @@ export declare type ArticleQuery = {
|
|
|
10780
10788
|
readonly relativeUrl: string;
|
|
10781
10789
|
};
|
|
10782
10790
|
};
|
|
10783
|
-
readonly body
|
|
10791
|
+
readonly body?: {
|
|
10784
10792
|
readonly __typename?: 'RichText';
|
|
10785
10793
|
readonly structured: {
|
|
10786
10794
|
readonly __typename?: 'StructuredContent';
|
|
@@ -11355,7 +11363,7 @@ export declare type ArticleQuery = {
|
|
|
11355
11363
|
readonly relativeUrl: string;
|
|
11356
11364
|
};
|
|
11357
11365
|
};
|
|
11358
|
-
readonly body
|
|
11366
|
+
readonly body?: {
|
|
11359
11367
|
readonly __typename?: 'RichText';
|
|
11360
11368
|
readonly structured: {
|
|
11361
11369
|
readonly __typename?: 'StructuredContent';
|
|
@@ -11930,7 +11938,7 @@ export declare type ArticleQuery = {
|
|
|
11930
11938
|
readonly relativeUrl: string;
|
|
11931
11939
|
};
|
|
11932
11940
|
};
|
|
11933
|
-
readonly body
|
|
11941
|
+
readonly body?: {
|
|
11934
11942
|
readonly __typename?: 'RichText';
|
|
11935
11943
|
readonly structured: {
|
|
11936
11944
|
readonly __typename?: 'StructuredContent';
|
|
@@ -12260,6 +12268,7 @@ export declare const ImageSourceFragmentDoc: import("graphql/language/ast").Docu
|
|
|
12260
12268
|
export declare const ImageFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
12261
12269
|
export declare const TopperImagesFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
12262
12270
|
export declare const StructuredTreeFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
12271
|
+
export declare const IntroFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
12263
12272
|
export declare const ConceptFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
12264
12273
|
export declare const TopperFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
12265
12274
|
export declare const TeaserFragmentDoc: import("graphql/language/ast").DocumentNode;
|
package/lib/generated/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getSdk = exports.ArticleDocument = exports.ContentFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.FlourishFragmentDoc = exports.TweetFragmentDoc = exports.PullQuoteFragmentDoc = exports.LayoutImageFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.TopperFragmentDoc = exports.ConceptFragmentDoc = exports.StructuredTreeFragmentDoc = exports.TopperImagesFragmentDoc = exports.ImageFragmentDoc = exports.ImageSourceFragmentDoc = exports.TopperBackgroundColour = exports.Source = exports.ImageType = exports.AccessLevel = void 0;
|
|
6
|
+
exports.getSdk = exports.ArticleDocument = exports.ContentFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.FlourishFragmentDoc = exports.TweetFragmentDoc = exports.PullQuoteFragmentDoc = exports.LayoutImageFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.TopperFragmentDoc = exports.ConceptFragmentDoc = exports.IntroFragmentDoc = exports.StructuredTreeFragmentDoc = exports.TopperImagesFragmentDoc = exports.ImageFragmentDoc = exports.ImageSourceFragmentDoc = exports.TopperBackgroundColour = exports.Source = exports.ImageType = exports.AccessLevel = void 0;
|
|
7
7
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
8
8
|
var AccessLevel;
|
|
9
9
|
(function (AccessLevel) {
|
|
@@ -74,6 +74,14 @@ exports.StructuredTreeFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
74
74
|
tree
|
|
75
75
|
}
|
|
76
76
|
`;
|
|
77
|
+
exports.IntroFragmentDoc = (0, graphql_tag_1.default) `
|
|
78
|
+
fragment Intro on RichText {
|
|
79
|
+
source
|
|
80
|
+
structured {
|
|
81
|
+
...StructuredTree
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
${exports.StructuredTreeFragmentDoc}`;
|
|
77
85
|
exports.ConceptFragmentDoc = (0, graphql_tag_1.default) `
|
|
78
86
|
fragment Concept on Concept {
|
|
79
87
|
id
|
|
@@ -91,10 +99,7 @@ exports.TopperFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
91
99
|
__typename
|
|
92
100
|
headline
|
|
93
101
|
intro {
|
|
94
|
-
|
|
95
|
-
structured {
|
|
96
|
-
...StructuredTree
|
|
97
|
-
}
|
|
102
|
+
...Intro
|
|
98
103
|
}
|
|
99
104
|
displayConcept {
|
|
100
105
|
...Concept
|
|
@@ -167,7 +172,7 @@ exports.TopperFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
167
172
|
layout
|
|
168
173
|
}
|
|
169
174
|
}
|
|
170
|
-
${exports.
|
|
175
|
+
${exports.IntroFragmentDoc}
|
|
171
176
|
${exports.ConceptFragmentDoc}
|
|
172
177
|
${exports.ImageSourceFragmentDoc}`;
|
|
173
178
|
exports.TeaserFragmentDoc = (0, graphql_tag_1.default) `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;AAEA,8DAA8B;AAgB9B,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,wCAAyB,CAAA;IACzB,wCAAyB,CAAA;AAC3B,CAAC,EAL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ANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/cp-content-pipeline-client",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@dotcom-tool-kit/npm": "^2.0.8",
|
|
13
|
-
"@financial-times/cp-content-pipeline-schema": "^0.4.
|
|
13
|
+
"@financial-times/cp-content-pipeline-schema": "^0.4.7",
|
|
14
14
|
"@graphql-codegen/typescript": "^2.7.3",
|
|
15
15
|
"@graphql-codegen/typescript-generic-sdk": "^3.0.1",
|
|
16
16
|
"@graphql-codegen/typescript-graphql-request": "^4.5.3",
|
package/queries/article.graphql
CHANGED
|
@@ -69,14 +69,18 @@ fragment TopperImages on TopperImages {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
fragment
|
|
73
|
-
__typename
|
|
74
|
-
headline
|
|
75
|
-
intro {
|
|
72
|
+
fragment Intro on RichText {
|
|
76
73
|
source
|
|
77
74
|
structured {
|
|
78
75
|
...StructuredTree
|
|
79
76
|
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
fragment Topper on Topper {
|
|
80
|
+
__typename
|
|
81
|
+
headline
|
|
82
|
+
intro {
|
|
83
|
+
...Intro
|
|
80
84
|
}
|
|
81
85
|
displayConcept {
|
|
82
86
|
...Concept
|