@financial-times/cp-content-pipeline-client 3.1.0-beta.0 → 3.1.0
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 +25 -0
- package/lib/client-version.d.ts +1 -1
- package/lib/client-version.js +1 -1
- package/lib/generated/index.d.ts +4 -61
- package/lib/generated/index.js +11 -3
- package/lib/generated/index.js.map +1 -1
- package/lib/schema-version.d.ts +1 -1
- package/lib/schema-version.js +1 -1
- package/package.json +2 -2
- package/src/client-version.ts +1 -1
- package/src/generated/index.ts +15 -12
- package/src/schema-version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -366,6 +366,31 @@
|
|
|
366
366
|
* devDependencies
|
|
367
367
|
* @financial-times/cp-content-pipeline-schema bumped from ^2.0.1 to ^2.0.2
|
|
368
368
|
|
|
369
|
+
## [3.1.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v3.0.3...cp-content-pipeline-client-v3.1.0) (2024-02-28)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
### Features
|
|
373
|
+
|
|
374
|
+
* **liveblogs:** ci-2038 add isOpinion to LiveBlogPosts in Content Package query ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
375
|
+
* support Opinion style ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
### Bug Fixes
|
|
379
|
+
|
|
380
|
+
* add package lock updates ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
381
|
+
* consolidate styles into _live-blog-posts.scss under styles folder ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
382
|
+
* formatting and add missing styles for icon and divider logic ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
383
|
+
* linting for scss ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
384
|
+
* more padding changes for live blog non opinion / opinion posts ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
385
|
+
* removing redundant styles ([bb6c148](https://github.com/Financial-Times/cp-content-pipeline/commit/bb6c148f9751ae04f5f9c5f7ff73b7343967c67c))
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
### Dependencies
|
|
389
|
+
|
|
390
|
+
* The following workspace dependencies were updated
|
|
391
|
+
* devDependencies
|
|
392
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^2.0.3 to ^2.1.0
|
|
393
|
+
|
|
369
394
|
## [3.0.3](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v3.0.2...cp-content-pipeline-client-v3.0.3) (2024-02-14)
|
|
370
395
|
|
|
371
396
|
|
package/lib/client-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.0
|
|
1
|
+
export declare const version = "3.1.0";
|
package/lib/client-version.js
CHANGED
package/lib/generated/index.d.ts
CHANGED
|
@@ -113,7 +113,6 @@ export type Article = Content & {
|
|
|
113
113
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
114
114
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
115
115
|
readonly id: Scalars['ID']['output'];
|
|
116
|
-
readonly indicators?: Maybe<Indicators>;
|
|
117
116
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
118
117
|
readonly mainImage?: Maybe<Image>;
|
|
119
118
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
@@ -146,7 +145,6 @@ export type Audio = Content & {
|
|
|
146
145
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
147
146
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
148
147
|
readonly id: Scalars['ID']['output'];
|
|
149
|
-
readonly indicators?: Maybe<Indicators>;
|
|
150
148
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
151
149
|
readonly mainImage?: Maybe<Image>;
|
|
152
150
|
readonly media?: Maybe<ReadonlyArray<Maybe<Media>>>;
|
|
@@ -257,7 +255,6 @@ export type Content = {
|
|
|
257
255
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
258
256
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
259
257
|
readonly id: Scalars['ID']['output'];
|
|
260
|
-
readonly indicators?: Maybe<Indicators>;
|
|
261
258
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
262
259
|
readonly mainImage?: Maybe<Image>;
|
|
263
260
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
@@ -292,7 +289,6 @@ export type ContentPackage = Content & {
|
|
|
292
289
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
293
290
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
294
291
|
readonly id: Scalars['ID']['output'];
|
|
295
|
-
readonly indicators?: Maybe<Indicators>;
|
|
296
292
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
297
293
|
readonly mainImage?: Maybe<Image>;
|
|
298
294
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
@@ -570,7 +566,6 @@ export type LiveBlogPackage = Content & {
|
|
|
570
566
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
571
567
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
572
568
|
readonly id: Scalars['ID']['output'];
|
|
573
|
-
readonly indicators?: Maybe<Indicators>;
|
|
574
569
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
575
570
|
readonly liveBlogPosts?: Maybe<ReadonlyArray<Maybe<Content>>>;
|
|
576
571
|
readonly mainImage?: Maybe<Image>;
|
|
@@ -715,7 +710,6 @@ export type Placeholder = Content & {
|
|
|
715
710
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
716
711
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
717
712
|
readonly id: Scalars['ID']['output'];
|
|
718
|
-
readonly indicators?: Maybe<Indicators>;
|
|
719
713
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
720
714
|
readonly mainImage?: Maybe<Image>;
|
|
721
715
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
@@ -885,7 +879,6 @@ export type Video = Content & {
|
|
|
885
879
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
886
880
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
887
881
|
readonly id: Scalars['ID']['output'];
|
|
888
|
-
readonly indicators?: Maybe<Indicators>;
|
|
889
882
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
890
883
|
readonly mainImage?: Maybe<Image>;
|
|
891
884
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
@@ -5797,6 +5790,9 @@ export type MediaFragment = {
|
|
|
5797
5790
|
readonly duration?: number | null;
|
|
5798
5791
|
readonly mediaType?: string | null;
|
|
5799
5792
|
};
|
|
5793
|
+
export type IndicatorsFragment = {
|
|
5794
|
+
readonly isOpinion?: boolean | null;
|
|
5795
|
+
};
|
|
5800
5796
|
type PinnedPost_Article_Fragment = {
|
|
5801
5797
|
readonly __typename: 'Article';
|
|
5802
5798
|
readonly id: string;
|
|
@@ -124143,9 +124139,6 @@ type ArticleFields_LiveBlogPackage_Fragment = {
|
|
|
124143
124139
|
readonly originatingParty?: string | null;
|
|
124144
124140
|
readonly commentsEnabled?: boolean | null;
|
|
124145
124141
|
readonly editorialDesk?: string | null;
|
|
124146
|
-
readonly indicators?: {
|
|
124147
|
-
readonly isOpinion?: boolean | null;
|
|
124148
|
-
} | null;
|
|
124149
124142
|
readonly topper?: {
|
|
124150
124143
|
readonly __typename: 'BasicTopper';
|
|
124151
124144
|
readonly headline: string;
|
|
@@ -128088,9 +128081,6 @@ type ArticleFields_LiveBlogPackage_Fragment = {
|
|
|
128088
128081
|
readonly originatingParty?: string | null;
|
|
128089
128082
|
readonly commentsEnabled?: boolean | null;
|
|
128090
128083
|
readonly editorialDesk?: string | null;
|
|
128091
|
-
readonly indicators?: {
|
|
128092
|
-
readonly isOpinion?: boolean | null;
|
|
128093
|
-
} | null;
|
|
128094
128084
|
readonly topper?: {
|
|
128095
128085
|
readonly __typename: 'BasicTopper';
|
|
128096
128086
|
readonly headline: string;
|
|
@@ -132033,9 +132023,6 @@ type ArticleFields_LiveBlogPackage_Fragment = {
|
|
|
132033
132023
|
readonly originatingParty?: string | null;
|
|
132034
132024
|
readonly commentsEnabled?: boolean | null;
|
|
132035
132025
|
readonly editorialDesk?: string | null;
|
|
132036
|
-
readonly indicators?: {
|
|
132037
|
-
readonly isOpinion?: boolean | null;
|
|
132038
|
-
} | null;
|
|
132039
132026
|
readonly topper?: {
|
|
132040
132027
|
readonly __typename: 'BasicTopper';
|
|
132041
132028
|
readonly headline: string;
|
|
@@ -135978,9 +135965,6 @@ type ArticleFields_LiveBlogPackage_Fragment = {
|
|
|
135978
135965
|
readonly originatingParty?: string | null;
|
|
135979
135966
|
readonly commentsEnabled?: boolean | null;
|
|
135980
135967
|
readonly editorialDesk?: string | null;
|
|
135981
|
-
readonly indicators?: {
|
|
135982
|
-
readonly isOpinion?: boolean | null;
|
|
135983
|
-
} | null;
|
|
135984
135968
|
readonly topper?: {
|
|
135985
135969
|
readonly __typename: 'BasicTopper';
|
|
135986
135970
|
readonly headline: string;
|
|
@@ -143868,9 +143852,6 @@ type ArticleFields_LiveBlogPackage_Fragment = {
|
|
|
143868
143852
|
readonly originatingParty?: string | null;
|
|
143869
143853
|
readonly commentsEnabled?: boolean | null;
|
|
143870
143854
|
readonly editorialDesk?: string | null;
|
|
143871
|
-
readonly indicators?: {
|
|
143872
|
-
readonly isOpinion?: boolean | null;
|
|
143873
|
-
} | null;
|
|
143874
143855
|
readonly topper?: {
|
|
143875
143856
|
readonly __typename: 'BasicTopper';
|
|
143876
143857
|
readonly headline: string;
|
|
@@ -147813,9 +147794,6 @@ type ArticleFields_LiveBlogPackage_Fragment = {
|
|
|
147813
147794
|
readonly originatingParty?: string | null;
|
|
147814
147795
|
readonly commentsEnabled?: boolean | null;
|
|
147815
147796
|
readonly editorialDesk?: string | null;
|
|
147816
|
-
readonly indicators?: {
|
|
147817
|
-
readonly isOpinion?: boolean | null;
|
|
147818
|
-
} | null;
|
|
147819
147797
|
readonly topper?: {
|
|
147820
147798
|
readonly __typename: 'BasicTopper';
|
|
147821
147799
|
readonly headline: string;
|
|
@@ -280880,9 +280858,6 @@ export type ArticleQuery = {
|
|
|
280880
280858
|
readonly originatingParty?: string | null;
|
|
280881
280859
|
readonly commentsEnabled?: boolean | null;
|
|
280882
280860
|
readonly editorialDesk?: string | null;
|
|
280883
|
-
readonly indicators?: {
|
|
280884
|
-
readonly isOpinion?: boolean | null;
|
|
280885
|
-
} | null;
|
|
280886
280861
|
readonly topper?: {
|
|
280887
280862
|
readonly __typename: 'BasicTopper';
|
|
280888
280863
|
readonly headline: string;
|
|
@@ -284825,9 +284800,6 @@ export type ArticleQuery = {
|
|
|
284825
284800
|
readonly originatingParty?: string | null;
|
|
284826
284801
|
readonly commentsEnabled?: boolean | null;
|
|
284827
284802
|
readonly editorialDesk?: string | null;
|
|
284828
|
-
readonly indicators?: {
|
|
284829
|
-
readonly isOpinion?: boolean | null;
|
|
284830
|
-
} | null;
|
|
284831
284803
|
readonly topper?: {
|
|
284832
284804
|
readonly __typename: 'BasicTopper';
|
|
284833
284805
|
readonly headline: string;
|
|
@@ -288770,9 +288742,6 @@ export type ArticleQuery = {
|
|
|
288770
288742
|
readonly originatingParty?: string | null;
|
|
288771
288743
|
readonly commentsEnabled?: boolean | null;
|
|
288772
288744
|
readonly editorialDesk?: string | null;
|
|
288773
|
-
readonly indicators?: {
|
|
288774
|
-
readonly isOpinion?: boolean | null;
|
|
288775
|
-
} | null;
|
|
288776
288745
|
readonly topper?: {
|
|
288777
288746
|
readonly __typename: 'BasicTopper';
|
|
288778
288747
|
readonly headline: string;
|
|
@@ -292715,9 +292684,6 @@ export type ArticleQuery = {
|
|
|
292715
292684
|
readonly originatingParty?: string | null;
|
|
292716
292685
|
readonly commentsEnabled?: boolean | null;
|
|
292717
292686
|
readonly editorialDesk?: string | null;
|
|
292718
|
-
readonly indicators?: {
|
|
292719
|
-
readonly isOpinion?: boolean | null;
|
|
292720
|
-
} | null;
|
|
292721
292687
|
readonly topper?: {
|
|
292722
292688
|
readonly __typename: 'BasicTopper';
|
|
292723
292689
|
readonly headline: string;
|
|
@@ -300605,9 +300571,6 @@ export type ArticleQuery = {
|
|
|
300605
300571
|
readonly originatingParty?: string | null;
|
|
300606
300572
|
readonly commentsEnabled?: boolean | null;
|
|
300607
300573
|
readonly editorialDesk?: string | null;
|
|
300608
|
-
readonly indicators?: {
|
|
300609
|
-
readonly isOpinion?: boolean | null;
|
|
300610
|
-
} | null;
|
|
300611
300574
|
readonly topper?: {
|
|
300612
300575
|
readonly __typename: 'BasicTopper';
|
|
300613
300576
|
readonly headline: string;
|
|
@@ -304550,9 +304513,6 @@ export type ArticleQuery = {
|
|
|
304550
304513
|
readonly originatingParty?: string | null;
|
|
304551
304514
|
readonly commentsEnabled?: boolean | null;
|
|
304552
304515
|
readonly editorialDesk?: string | null;
|
|
304553
|
-
readonly indicators?: {
|
|
304554
|
-
readonly isOpinion?: boolean | null;
|
|
304555
|
-
} | null;
|
|
304556
304516
|
readonly topper?: {
|
|
304557
304517
|
readonly __typename: 'BasicTopper';
|
|
304558
304518
|
readonly headline: string;
|
|
@@ -437615,9 +437575,6 @@ export type ArticleFromJsonQuery = {
|
|
|
437615
437575
|
readonly originatingParty?: string | null;
|
|
437616
437576
|
readonly commentsEnabled?: boolean | null;
|
|
437617
437577
|
readonly editorialDesk?: string | null;
|
|
437618
|
-
readonly indicators?: {
|
|
437619
|
-
readonly isOpinion?: boolean | null;
|
|
437620
|
-
} | null;
|
|
437621
437578
|
readonly topper?: {
|
|
437622
437579
|
readonly __typename: 'BasicTopper';
|
|
437623
437580
|
readonly headline: string;
|
|
@@ -441560,9 +441517,6 @@ export type ArticleFromJsonQuery = {
|
|
|
441560
441517
|
readonly originatingParty?: string | null;
|
|
441561
441518
|
readonly commentsEnabled?: boolean | null;
|
|
441562
441519
|
readonly editorialDesk?: string | null;
|
|
441563
|
-
readonly indicators?: {
|
|
441564
|
-
readonly isOpinion?: boolean | null;
|
|
441565
|
-
} | null;
|
|
441566
441520
|
readonly topper?: {
|
|
441567
441521
|
readonly __typename: 'BasicTopper';
|
|
441568
441522
|
readonly headline: string;
|
|
@@ -445505,9 +445459,6 @@ export type ArticleFromJsonQuery = {
|
|
|
445505
445459
|
readonly originatingParty?: string | null;
|
|
445506
445460
|
readonly commentsEnabled?: boolean | null;
|
|
445507
445461
|
readonly editorialDesk?: string | null;
|
|
445508
|
-
readonly indicators?: {
|
|
445509
|
-
readonly isOpinion?: boolean | null;
|
|
445510
|
-
} | null;
|
|
445511
445462
|
readonly topper?: {
|
|
445512
445463
|
readonly __typename: 'BasicTopper';
|
|
445513
445464
|
readonly headline: string;
|
|
@@ -449450,9 +449401,6 @@ export type ArticleFromJsonQuery = {
|
|
|
449450
449401
|
readonly originatingParty?: string | null;
|
|
449451
449402
|
readonly commentsEnabled?: boolean | null;
|
|
449452
449403
|
readonly editorialDesk?: string | null;
|
|
449453
|
-
readonly indicators?: {
|
|
449454
|
-
readonly isOpinion?: boolean | null;
|
|
449455
|
-
} | null;
|
|
449456
449404
|
readonly topper?: {
|
|
449457
449405
|
readonly __typename: 'BasicTopper';
|
|
449458
449406
|
readonly headline: string;
|
|
@@ -457340,9 +457288,6 @@ export type ArticleFromJsonQuery = {
|
|
|
457340
457288
|
readonly originatingParty?: string | null;
|
|
457341
457289
|
readonly commentsEnabled?: boolean | null;
|
|
457342
457290
|
readonly editorialDesk?: string | null;
|
|
457343
|
-
readonly indicators?: {
|
|
457344
|
-
readonly isOpinion?: boolean | null;
|
|
457345
|
-
} | null;
|
|
457346
457291
|
readonly topper?: {
|
|
457347
457292
|
readonly __typename: 'BasicTopper';
|
|
457348
457293
|
readonly headline: string;
|
|
@@ -461285,9 +461230,6 @@ export type ArticleFromJsonQuery = {
|
|
|
461285
461230
|
readonly originatingParty?: string | null;
|
|
461286
461231
|
readonly commentsEnabled?: boolean | null;
|
|
461287
461232
|
readonly editorialDesk?: string | null;
|
|
461288
|
-
readonly indicators?: {
|
|
461289
|
-
readonly isOpinion?: boolean | null;
|
|
461290
|
-
} | null;
|
|
461291
461233
|
readonly topper?: {
|
|
461292
461234
|
readonly __typename: 'BasicTopper';
|
|
461293
461235
|
readonly headline: string;
|
|
@@ -554735,6 +554677,7 @@ export declare const StructuredContentFragmentDoc: import("graphql").DocumentNod
|
|
|
554735
554677
|
export declare const DesignFragmentDoc: import("graphql").DocumentNode;
|
|
554736
554678
|
export declare const ContentFragmentDoc: import("graphql").DocumentNode;
|
|
554737
554679
|
export declare const PackageContainerFragmentDoc: import("graphql").DocumentNode;
|
|
554680
|
+
export declare const IndicatorsFragmentDoc: import("graphql").DocumentNode;
|
|
554738
554681
|
export declare const PinnedPostFragmentDoc: import("graphql").DocumentNode;
|
|
554739
554682
|
export declare const MediaFragmentDoc: import("graphql").DocumentNode;
|
|
554740
554683
|
export declare const ArticleFieldsFragmentDoc: import("graphql").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.ArticleFromJsonDocument = exports.ArticleDocument = exports.ArticleFieldsFragmentDoc = exports.MediaFragmentDoc = exports.PinnedPostFragmentDoc = exports.PackageContainerFragmentDoc = exports.ContentFragmentDoc = exports.DesignFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.ScrollyImageFragmentDoc = exports.MainImageFragmentDoc = exports.RawImageFragmentDoc = exports.FlourishFragmentDoc = exports.VideoFragmentDoc = exports.TweetFragmentDoc = exports.LayoutImageFragmentDoc = exports.ClipSetFragmentDoc = exports.TranscriptFragmentDoc = exports.ClipFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.PictureFieldsFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.MetaLinkFragmentDoc = exports.TopperFragmentDoc = exports.ImageFragmentDoc = exports.ImageSourceFragmentDoc = exports.ConceptFragmentDoc = exports.IntroFragmentDoc = exports.StructuredTreeFragmentDoc = void 0;
|
|
6
|
+
exports.getSdk = exports.ArticleFromJsonDocument = exports.ArticleDocument = exports.ArticleFieldsFragmentDoc = exports.MediaFragmentDoc = exports.PinnedPostFragmentDoc = exports.IndicatorsFragmentDoc = exports.PackageContainerFragmentDoc = exports.ContentFragmentDoc = exports.DesignFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.ScrollyImageFragmentDoc = exports.MainImageFragmentDoc = exports.RawImageFragmentDoc = exports.FlourishFragmentDoc = exports.VideoFragmentDoc = exports.TweetFragmentDoc = exports.LayoutImageFragmentDoc = exports.ClipSetFragmentDoc = exports.TranscriptFragmentDoc = exports.ClipFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.PictureFieldsFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.MetaLinkFragmentDoc = 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 {
|
|
@@ -571,6 +571,11 @@ exports.PackageContainerFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
571
571
|
${exports.ContentFragmentDoc}
|
|
572
572
|
${exports.ConceptFragmentDoc}
|
|
573
573
|
${exports.TeaserFragmentDoc}`;
|
|
574
|
+
exports.IndicatorsFragmentDoc = (0, graphql_tag_1.default) `
|
|
575
|
+
fragment Indicators on Indicators {
|
|
576
|
+
isOpinion
|
|
577
|
+
}
|
|
578
|
+
`;
|
|
574
579
|
exports.PinnedPostFragmentDoc = (0, graphql_tag_1.default) `
|
|
575
580
|
fragment PinnedPost on Content {
|
|
576
581
|
__typename
|
|
@@ -628,8 +633,10 @@ exports.ArticleFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
628
633
|
liveBlogPosts(includePinned: false) {
|
|
629
634
|
...Content
|
|
630
635
|
url
|
|
631
|
-
|
|
632
|
-
|
|
636
|
+
... on LiveBlogPost {
|
|
637
|
+
indicators {
|
|
638
|
+
...Indicators
|
|
639
|
+
}
|
|
633
640
|
}
|
|
634
641
|
}
|
|
635
642
|
pinnedPost {
|
|
@@ -651,6 +658,7 @@ exports.ArticleFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
651
658
|
}
|
|
652
659
|
${exports.ContentFragmentDoc}
|
|
653
660
|
${exports.PackageContainerFragmentDoc}
|
|
661
|
+
${exports.IndicatorsFragmentDoc}
|
|
654
662
|
${exports.PinnedPostFragmentDoc}
|
|
655
663
|
${exports.TeaserFragmentDoc}
|
|
656
664
|
${exports.MediaFragmentDoc}`;
|
|
@@ -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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GAAG,qBAAqB,EAAC,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QAC7K,CAAC;QACD,eAAe,CAAC,SAAwC,EAAE,cAA4C;YACpG,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAuB,+BAAuB,EAAE,SAAS,EAAE,EAAC,GAAG,cAAc,EAAE,GAAG,qBAAqB,EAAC,CAAC,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;QACrM,CAAC;KACF,CAAC;AACJ,CAAC;AATD,wBASC"}
|
package/lib/schema-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "2.0
|
|
1
|
+
export declare const version = "2.1.0";
|
package/lib/schema-version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/cp-content-pipeline-client",
|
|
3
|
-
"version": "3.1.0
|
|
3
|
+
"version": "3.1.0",
|
|
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": "^3.1.4",
|
|
13
13
|
"@financial-times/content-tree": "github:financial-times/content-tree#14370e3",
|
|
14
|
-
"@financial-times/cp-content-pipeline-schema": "^2.0
|
|
14
|
+
"@financial-times/cp-content-pipeline-schema": "^2.1.0",
|
|
15
15
|
"@graphql-tools/merge": "^8.3.6",
|
|
16
16
|
"@types/lodash.mapvalues": "^4.6.7",
|
|
17
17
|
"@types/semver": "^7.3.13",
|
package/src/client-version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '3.0
|
|
2
|
+
export const version = '3.1.0'
|