@financial-times/cp-content-pipeline-client 0.6.9 → 0.6.11
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 +12 -0
- package/lib/generated/index.d.ts +88 -2
- package/lib/generated/index.js +9 -1
- package/lib/generated/index.js.map +1 -1
- package/lib/schema-version.d.ts +1 -1
- package/lib/schema-version.js +1 -1
- package/lib/schema-version.js.map +1 -1
- package/package.json +2 -2
- package/queries/article.graphql +7 -1
- package/src/generated/index.ts +22 -10
- package/src/schema-version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -162,6 +162,18 @@
|
|
|
162
162
|
* devDependencies
|
|
163
163
|
* @financial-times/cp-content-pipeline-schema bumped from ^0.7.7 to ^0.7.8
|
|
164
164
|
|
|
165
|
+
### Dependencies
|
|
166
|
+
|
|
167
|
+
* The following workspace dependencies were updated
|
|
168
|
+
* devDependencies
|
|
169
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.7.8 to ^0.7.9
|
|
170
|
+
|
|
171
|
+
### Dependencies
|
|
172
|
+
|
|
173
|
+
* The following workspace dependencies were updated
|
|
174
|
+
* devDependencies
|
|
175
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.7.9 to ^0.7.10
|
|
176
|
+
|
|
165
177
|
## [0.6.8](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.6.7...cp-content-pipeline-client-v0.6.8) (2023-04-26)
|
|
166
178
|
|
|
167
179
|
|
package/lib/generated/index.d.ts
CHANGED
|
@@ -517,7 +517,7 @@ export declare type Tweet = Reference & {
|
|
|
517
517
|
readonly html?: Maybe<Scalars['String']>;
|
|
518
518
|
readonly type: Scalars['String'];
|
|
519
519
|
};
|
|
520
|
-
export declare type Video = Content & {
|
|
520
|
+
export declare type Video = Content & Reference & {
|
|
521
521
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
522
522
|
readonly altTitle?: Maybe<AltTitle>;
|
|
523
523
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
@@ -2837,6 +2837,10 @@ export declare type RecommendedFragment = {
|
|
|
2837
2837
|
export declare type TweetFragment = {
|
|
2838
2838
|
readonly html?: string | null;
|
|
2839
2839
|
};
|
|
2840
|
+
export declare type VideoFragment = {
|
|
2841
|
+
readonly title: string;
|
|
2842
|
+
readonly id: string;
|
|
2843
|
+
};
|
|
2840
2844
|
export declare type FlourishFragment = {
|
|
2841
2845
|
readonly fallbackImage?: {
|
|
2842
2846
|
readonly url?: string | null;
|
|
@@ -4243,7 +4247,12 @@ declare type ArticleReferences_Tweet_Fragment = {
|
|
|
4243
4247
|
readonly type: string;
|
|
4244
4248
|
readonly html?: string | null;
|
|
4245
4249
|
};
|
|
4246
|
-
|
|
4250
|
+
declare type ArticleReferences_Video_Fragment = {
|
|
4251
|
+
readonly type: string;
|
|
4252
|
+
readonly title: string;
|
|
4253
|
+
readonly id: string;
|
|
4254
|
+
};
|
|
4255
|
+
export declare type ArticleReferencesFragment = ArticleReferences_Flourish_Fragment | ArticleReferences_ImageSet_Fragment | ArticleReferences_LayoutImage_Fragment | ArticleReferences_MainImage_Fragment | ArticleReferences_RawImage_Fragment | ArticleReferences_Recommended_Fragment | ArticleReferences_Tweet_Fragment | ArticleReferences_Video_Fragment;
|
|
4247
4256
|
export declare type StructuredContentFragment = {
|
|
4248
4257
|
readonly tree: any;
|
|
4249
4258
|
readonly references: ReadonlyArray<{
|
|
@@ -5575,6 +5584,10 @@ export declare type StructuredContentFragment = {
|
|
|
5575
5584
|
} | {
|
|
5576
5585
|
readonly type: string;
|
|
5577
5586
|
readonly html?: string | null;
|
|
5587
|
+
} | {
|
|
5588
|
+
readonly type: string;
|
|
5589
|
+
readonly title: string;
|
|
5590
|
+
readonly id: string;
|
|
5578
5591
|
}>;
|
|
5579
5592
|
};
|
|
5580
5593
|
declare type Content_Article_Fragment = {
|
|
@@ -7390,6 +7403,10 @@ declare type Content_Article_Fragment = {
|
|
|
7390
7403
|
} | {
|
|
7391
7404
|
readonly type: string;
|
|
7392
7405
|
readonly html?: string | null;
|
|
7406
|
+
} | {
|
|
7407
|
+
readonly type: string;
|
|
7408
|
+
readonly title: string;
|
|
7409
|
+
readonly id: string;
|
|
7393
7410
|
}>;
|
|
7394
7411
|
};
|
|
7395
7412
|
} | null;
|
|
@@ -9224,6 +9241,10 @@ declare type Content_Audio_Fragment = {
|
|
|
9224
9241
|
} | {
|
|
9225
9242
|
readonly type: string;
|
|
9226
9243
|
readonly html?: string | null;
|
|
9244
|
+
} | {
|
|
9245
|
+
readonly type: string;
|
|
9246
|
+
readonly title: string;
|
|
9247
|
+
readonly id: string;
|
|
9227
9248
|
}>;
|
|
9228
9249
|
};
|
|
9229
9250
|
} | null;
|
|
@@ -11058,6 +11079,10 @@ declare type Content_ContentPackage_Fragment = {
|
|
|
11058
11079
|
} | {
|
|
11059
11080
|
readonly type: string;
|
|
11060
11081
|
readonly html?: string | null;
|
|
11082
|
+
} | {
|
|
11083
|
+
readonly type: string;
|
|
11084
|
+
readonly title: string;
|
|
11085
|
+
readonly id: string;
|
|
11061
11086
|
}>;
|
|
11062
11087
|
};
|
|
11063
11088
|
} | null;
|
|
@@ -12892,6 +12917,10 @@ declare type Content_LiveBlogPackage_Fragment = {
|
|
|
12892
12917
|
} | {
|
|
12893
12918
|
readonly type: string;
|
|
12894
12919
|
readonly html?: string | null;
|
|
12920
|
+
} | {
|
|
12921
|
+
readonly type: string;
|
|
12922
|
+
readonly title: string;
|
|
12923
|
+
readonly id: string;
|
|
12895
12924
|
}>;
|
|
12896
12925
|
};
|
|
12897
12926
|
} | null;
|
|
@@ -14726,6 +14755,10 @@ declare type Content_LiveBlogPost_Fragment = {
|
|
|
14726
14755
|
} | {
|
|
14727
14756
|
readonly type: string;
|
|
14728
14757
|
readonly html?: string | null;
|
|
14758
|
+
} | {
|
|
14759
|
+
readonly type: string;
|
|
14760
|
+
readonly title: string;
|
|
14761
|
+
readonly id: string;
|
|
14729
14762
|
}>;
|
|
14730
14763
|
};
|
|
14731
14764
|
} | null;
|
|
@@ -16560,6 +16593,10 @@ declare type Content_Video_Fragment = {
|
|
|
16560
16593
|
} | {
|
|
16561
16594
|
readonly type: string;
|
|
16562
16595
|
readonly html?: string | null;
|
|
16596
|
+
} | {
|
|
16597
|
+
readonly type: string;
|
|
16598
|
+
readonly title: string;
|
|
16599
|
+
readonly id: string;
|
|
16563
16600
|
}>;
|
|
16564
16601
|
};
|
|
16565
16602
|
} | null;
|
|
@@ -18400,6 +18437,10 @@ export declare type ArticleQuery = {
|
|
|
18400
18437
|
} | {
|
|
18401
18438
|
readonly type: string;
|
|
18402
18439
|
readonly html?: string | null;
|
|
18440
|
+
} | {
|
|
18441
|
+
readonly type: string;
|
|
18442
|
+
readonly title: string;
|
|
18443
|
+
readonly id: string;
|
|
18403
18444
|
}>;
|
|
18404
18445
|
};
|
|
18405
18446
|
} | null;
|
|
@@ -20233,6 +20274,10 @@ export declare type ArticleQuery = {
|
|
|
20233
20274
|
} | {
|
|
20234
20275
|
readonly type: string;
|
|
20235
20276
|
readonly html?: string | null;
|
|
20277
|
+
} | {
|
|
20278
|
+
readonly type: string;
|
|
20279
|
+
readonly title: string;
|
|
20280
|
+
readonly id: string;
|
|
20236
20281
|
}>;
|
|
20237
20282
|
};
|
|
20238
20283
|
} | null;
|
|
@@ -22137,6 +22182,10 @@ export declare type ArticleQuery = {
|
|
|
22137
22182
|
} | {
|
|
22138
22183
|
readonly type: string;
|
|
22139
22184
|
readonly html?: string | null;
|
|
22185
|
+
} | {
|
|
22186
|
+
readonly type: string;
|
|
22187
|
+
readonly title: string;
|
|
22188
|
+
readonly id: string;
|
|
22140
22189
|
}>;
|
|
22141
22190
|
};
|
|
22142
22191
|
} | null;
|
|
@@ -23978,6 +24027,10 @@ export declare type ArticleQuery = {
|
|
|
23978
24027
|
} | {
|
|
23979
24028
|
readonly type: string;
|
|
23980
24029
|
readonly html?: string | null;
|
|
24030
|
+
} | {
|
|
24031
|
+
readonly type: string;
|
|
24032
|
+
readonly title: string;
|
|
24033
|
+
readonly id: string;
|
|
23981
24034
|
}>;
|
|
23982
24035
|
};
|
|
23983
24036
|
} | null;
|
|
@@ -25811,6 +25864,10 @@ export declare type ArticleQuery = {
|
|
|
25811
25864
|
} | {
|
|
25812
25865
|
readonly type: string;
|
|
25813
25866
|
readonly html?: string | null;
|
|
25867
|
+
} | {
|
|
25868
|
+
readonly type: string;
|
|
25869
|
+
readonly title: string;
|
|
25870
|
+
readonly id: string;
|
|
25814
25871
|
}>;
|
|
25815
25872
|
};
|
|
25816
25873
|
} | null;
|
|
@@ -27644,6 +27701,10 @@ export declare type ArticleQuery = {
|
|
|
27644
27701
|
} | {
|
|
27645
27702
|
readonly type: string;
|
|
27646
27703
|
readonly html?: string | null;
|
|
27704
|
+
} | {
|
|
27705
|
+
readonly type: string;
|
|
27706
|
+
readonly title: string;
|
|
27707
|
+
readonly id: string;
|
|
27647
27708
|
}>;
|
|
27648
27709
|
};
|
|
27649
27710
|
} | null;
|
|
@@ -29477,6 +29538,10 @@ export declare type ArticleQuery = {
|
|
|
29477
29538
|
} | {
|
|
29478
29539
|
readonly type: string;
|
|
29479
29540
|
readonly html?: string | null;
|
|
29541
|
+
} | {
|
|
29542
|
+
readonly type: string;
|
|
29543
|
+
readonly title: string;
|
|
29544
|
+
readonly id: string;
|
|
29480
29545
|
}>;
|
|
29481
29546
|
};
|
|
29482
29547
|
} | null;
|
|
@@ -31310,6 +31375,10 @@ export declare type ArticleQuery = {
|
|
|
31310
31375
|
} | {
|
|
31311
31376
|
readonly type: string;
|
|
31312
31377
|
readonly html?: string | null;
|
|
31378
|
+
} | {
|
|
31379
|
+
readonly type: string;
|
|
31380
|
+
readonly title: string;
|
|
31381
|
+
readonly id: string;
|
|
31313
31382
|
}>;
|
|
31314
31383
|
};
|
|
31315
31384
|
} | null;
|
|
@@ -33143,6 +33212,10 @@ export declare type ArticleQuery = {
|
|
|
33143
33212
|
} | {
|
|
33144
33213
|
readonly type: string;
|
|
33145
33214
|
readonly html?: string | null;
|
|
33215
|
+
} | {
|
|
33216
|
+
readonly type: string;
|
|
33217
|
+
readonly title: string;
|
|
33218
|
+
readonly id: string;
|
|
33146
33219
|
}>;
|
|
33147
33220
|
};
|
|
33148
33221
|
} | null;
|
|
@@ -34970,6 +35043,10 @@ export declare type ArticleQuery = {
|
|
|
34970
35043
|
} | {
|
|
34971
35044
|
readonly type: string;
|
|
34972
35045
|
readonly html?: string | null;
|
|
35046
|
+
} | {
|
|
35047
|
+
readonly type: string;
|
|
35048
|
+
readonly title: string;
|
|
35049
|
+
readonly id: string;
|
|
34973
35050
|
}>;
|
|
34974
35051
|
};
|
|
34975
35052
|
} | null;
|
|
@@ -36803,6 +36880,10 @@ export declare type ArticleQuery = {
|
|
|
36803
36880
|
} | {
|
|
36804
36881
|
readonly type: string;
|
|
36805
36882
|
readonly html?: string | null;
|
|
36883
|
+
} | {
|
|
36884
|
+
readonly type: string;
|
|
36885
|
+
readonly title: string;
|
|
36886
|
+
readonly id: string;
|
|
36806
36887
|
}>;
|
|
36807
36888
|
};
|
|
36808
36889
|
} | null;
|
|
@@ -38636,6 +38717,10 @@ export declare type ArticleQuery = {
|
|
|
38636
38717
|
} | {
|
|
38637
38718
|
readonly type: string;
|
|
38638
38719
|
readonly html?: string | null;
|
|
38720
|
+
} | {
|
|
38721
|
+
readonly type: string;
|
|
38722
|
+
readonly title: string;
|
|
38723
|
+
readonly id: string;
|
|
38639
38724
|
}>;
|
|
38640
38725
|
};
|
|
38641
38726
|
} | null;
|
|
@@ -38670,6 +38755,7 @@ export declare const PictureFragmentDoc: import("graphql/language/ast").Document
|
|
|
38670
38755
|
export declare const ImageSetFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
38671
38756
|
export declare const LayoutImageFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
38672
38757
|
export declare const TweetFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
38758
|
+
export declare const VideoFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
38673
38759
|
export declare const FlourishFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
38674
38760
|
export declare const RawImageFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
38675
38761
|
export declare const MainImageFragmentDoc: 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.DesignFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.MainImageFragmentDoc = exports.RawImageFragmentDoc = exports.FlourishFragmentDoc = exports.TweetFragmentDoc = exports.LayoutImageFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.TopperFragmentDoc = exports.ImageFragmentDoc = exports.ImageSourceFragmentDoc = exports.ConceptFragmentDoc = exports.IntroFragmentDoc = exports.StructuredTreeFragmentDoc = void 0;
|
|
6
|
+
exports.getSdk = exports.ArticleDocument = exports.ContentFragmentDoc = exports.DesignFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.MainImageFragmentDoc = exports.RawImageFragmentDoc = exports.FlourishFragmentDoc = exports.VideoFragmentDoc = exports.TweetFragmentDoc = exports.LayoutImageFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.TopperFragmentDoc = exports.ImageFragmentDoc = exports.ImageSourceFragmentDoc = exports.ConceptFragmentDoc = exports.IntroFragmentDoc = exports.StructuredTreeFragmentDoc = void 0;
|
|
7
7
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
8
8
|
exports.StructuredTreeFragmentDoc = (0, graphql_tag_1.default) `
|
|
9
9
|
fragment StructuredTree on StructuredContent {
|
|
@@ -245,6 +245,12 @@ exports.TweetFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
245
245
|
html
|
|
246
246
|
}
|
|
247
247
|
`;
|
|
248
|
+
exports.VideoFragmentDoc = (0, graphql_tag_1.default) `
|
|
249
|
+
fragment Video on Video {
|
|
250
|
+
title
|
|
251
|
+
id
|
|
252
|
+
}
|
|
253
|
+
`;
|
|
248
254
|
exports.FlourishFragmentDoc = (0, graphql_tag_1.default) `
|
|
249
255
|
fragment Flourish on Flourish {
|
|
250
256
|
fallbackImage {
|
|
@@ -275,6 +281,7 @@ exports.ArticleReferencesFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
275
281
|
...ImageSet
|
|
276
282
|
...LayoutImage
|
|
277
283
|
...Tweet
|
|
284
|
+
...Video
|
|
278
285
|
...Flourish
|
|
279
286
|
...RawImage
|
|
280
287
|
...MainImage
|
|
@@ -283,6 +290,7 @@ exports.ArticleReferencesFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
283
290
|
${exports.ImageSetFragmentDoc}
|
|
284
291
|
${exports.LayoutImageFragmentDoc}
|
|
285
292
|
${exports.TweetFragmentDoc}
|
|
293
|
+
${exports.VideoFragmentDoc}
|
|
286
294
|
${exports.FlourishFragmentDoc}
|
|
287
295
|
${exports.RawImageFragmentDoc}
|
|
288
296
|
${exports.MainImageFragmentDoc}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;AAEA,8DAA8B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;AAEA,8DAA8B;AA2tBjB,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;KAIvC,CA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|
1
|
+
export declare const version = "0.7.10";
|
package/lib/schema-version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-version.js","sourceRoot":"","sources":["../src/schema-version.ts"],"names":[],"mappings":";;;AAAA,2BAA2B;AACd,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"schema-version.js","sourceRoot":"","sources":["../src/schema-version.ts"],"names":[],"mappings":";;;AAAA,2BAA2B;AACd,QAAA,OAAO,GAAG,QAAQ,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/cp-content-pipeline-client",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@dotcom-tool-kit/npm": "^2.0.13",
|
|
13
13
|
"@financial-times/content-tree": "github:Financial-Times/content-tree#5983f6eacd67a5d4c8dd87660ebb217eecab4761",
|
|
14
|
-
"@financial-times/cp-content-pipeline-schema": "^0.7.
|
|
14
|
+
"@financial-times/cp-content-pipeline-schema": "^0.7.10",
|
|
15
15
|
"@graphql-codegen/typescript": "^2.7.3",
|
|
16
16
|
"@graphql-codegen/typescript-generic-sdk": "^3.0.1",
|
|
17
17
|
"@graphql-codegen/typescript-graphql-request": "^4.5.3",
|
package/queries/article.graphql
CHANGED
|
@@ -236,6 +236,11 @@ fragment Tweet on Tweet {
|
|
|
236
236
|
html
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
+
fragment Video on Video {
|
|
240
|
+
title
|
|
241
|
+
id
|
|
242
|
+
}
|
|
243
|
+
|
|
239
244
|
fragment Flourish on Flourish {
|
|
240
245
|
fallbackImage {
|
|
241
246
|
url
|
|
@@ -261,6 +266,7 @@ fragment ArticleReferences on Reference {
|
|
|
261
266
|
...ImageSet
|
|
262
267
|
...LayoutImage
|
|
263
268
|
...Tweet
|
|
269
|
+
...Video
|
|
264
270
|
...Flourish
|
|
265
271
|
...RawImage
|
|
266
272
|
...MainImage
|
|
@@ -297,7 +303,7 @@ fragment Content on Content {
|
|
|
297
303
|
commentsEnabled
|
|
298
304
|
design {
|
|
299
305
|
...Design
|
|
300
|
-
|
|
306
|
+
}
|
|
301
307
|
url
|
|
302
308
|
}
|
|
303
309
|
|