@financial-times/cp-content-pipeline-client 4.10.1 → 4.12.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 +28 -0
- package/lib/client-version.d.ts +1 -1
- package/lib/client-version.js +1 -1
- package/lib/generated/index.d.ts +19 -0
- package/lib/generated/index.js +3 -0
- 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 +13 -3
- package/src/schema-version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -546,6 +546,34 @@
|
|
|
546
546
|
* devDependencies
|
|
547
547
|
* @financial-times/cp-content-pipeline-schema bumped from ^3.9.0 to ^3.10.0
|
|
548
548
|
|
|
549
|
+
## [4.12.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v4.11.0...cp-content-pipeline-client-v4.12.0) (2025-06-05)
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
### Features
|
|
553
|
+
|
|
554
|
+
* add multiple disclaimers to partner content ([1257023](https://github.com/Financial-Times/cp-content-pipeline/commit/1257023f6bd83a7a773008da64986bc93599f5c8))
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
### Dependencies
|
|
558
|
+
|
|
559
|
+
* The following workspace dependencies were updated
|
|
560
|
+
* devDependencies
|
|
561
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^3.11.0 to ^3.12.0
|
|
562
|
+
|
|
563
|
+
## [4.11.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v4.10.1...cp-content-pipeline-client-v4.11.0) (2025-04-17)
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
### Features
|
|
567
|
+
|
|
568
|
+
* liveqanda and archived indicators ([ca85f00](https://github.com/Financial-Times/cp-content-pipeline/commit/ca85f007094c07787251f96b9c529b87758d5165))
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
### Dependencies
|
|
572
|
+
|
|
573
|
+
* The following workspace dependencies were updated
|
|
574
|
+
* devDependencies
|
|
575
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^3.10.0 to ^3.11.0
|
|
576
|
+
|
|
549
577
|
## [4.10.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v4.9.0...cp-content-pipeline-client-v4.10.0) (2025-01-24)
|
|
550
578
|
|
|
551
579
|
|
package/lib/client-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.
|
|
1
|
+
export declare const version = "4.12.0";
|
package/lib/client-version.js
CHANGED
package/lib/generated/index.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ export type Scalars = {
|
|
|
59
59
|
input: 'Article' | 'Placeholder' | 'Video' | 'Audio' | 'LiveBlogPackage' | 'LiveBlogPost' | 'ContentPackage' | 'Content' | 'MediaResource' | 'CustomCodeComponent';
|
|
60
60
|
output: 'Article' | 'Placeholder' | 'Video' | 'Audio' | 'LiveBlogPackage' | 'LiveBlogPost' | 'ContentPackage' | 'Content' | 'MediaResource' | 'CustomCodeComponent';
|
|
61
61
|
};
|
|
62
|
+
DisclaimerType: {
|
|
63
|
+
input: 'co-created-content' | 'client-supplied-content' | 'ft-studios-risky' | 'auditor';
|
|
64
|
+
output: 'co-created-content' | 'client-supplied-content' | 'ft-studios-risky' | 'auditor';
|
|
65
|
+
};
|
|
62
66
|
FollowButtonVariant: {
|
|
63
67
|
input: 'standard' | 'inverse' | 'opinion' | 'alphaville' | 'monochrome' | 'inverse-monochrome';
|
|
64
68
|
output: 'standard' | 'inverse' | 'opinion' | 'alphaville' | 'monochrome' | 'inverse-monochrome';
|
|
@@ -135,6 +139,8 @@ export type Article = Content & {
|
|
|
135
139
|
readonly containedIn?: Maybe<Content>;
|
|
136
140
|
/** A design object containing the theme and layout of the article. */
|
|
137
141
|
readonly design?: Maybe<Design>;
|
|
142
|
+
/** Disclaimer type for commercial Partner Content articles */
|
|
143
|
+
readonly disclaimerType?: Maybe<Scalars['DisclaimerType']['output']>;
|
|
138
144
|
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
139
145
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
140
146
|
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
@@ -1015,8 +1021,12 @@ export type ImageWideSourceSetArgs = {
|
|
|
1015
1021
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
1016
1022
|
};
|
|
1017
1023
|
export type Indicators = {
|
|
1024
|
+
/** Whether an article is in an archived state */
|
|
1025
|
+
readonly isArchived?: Maybe<Scalars['Boolean']['output']>;
|
|
1018
1026
|
/** Whether the article is included in an FT Edit editorial curation. */
|
|
1019
1027
|
readonly isFTEdit?: Maybe<Scalars['Boolean']['output']>;
|
|
1028
|
+
/** Whether an article is a Live Q&A */
|
|
1029
|
+
readonly isLiveQandA?: Maybe<Scalars['Boolean']['output']>;
|
|
1020
1030
|
/** Whether the content is an opinion piece. */
|
|
1021
1031
|
readonly isOpinion?: Maybe<Scalars['Boolean']['output']>;
|
|
1022
1032
|
/** Whether the content is Commercial Partner Content. */
|
|
@@ -104877,6 +104887,7 @@ type ArticleFields_Article_Fragment = {
|
|
|
104877
104887
|
readonly __typename: 'Article';
|
|
104878
104888
|
readonly publication?: ReadonlyArray<string> | null;
|
|
104879
104889
|
readonly clientName?: string | null;
|
|
104890
|
+
readonly disclaimerType?: 'co-created-content' | 'client-supplied-content' | 'ft-studios-risky' | 'auditor' | null;
|
|
104880
104891
|
readonly url: string;
|
|
104881
104892
|
readonly id: string;
|
|
104882
104893
|
readonly title: string;
|
|
@@ -138905,6 +138916,8 @@ type ArticleFields_Article_Fragment = {
|
|
|
138905
138916
|
readonly indicators?: {
|
|
138906
138917
|
readonly isPartnerContent?: boolean | null;
|
|
138907
138918
|
readonly isFTEdit?: boolean | null;
|
|
138919
|
+
readonly isLiveQandA?: boolean | null;
|
|
138920
|
+
readonly isArchived?: boolean | null;
|
|
138908
138921
|
} | null;
|
|
138909
138922
|
readonly topper?: {
|
|
138910
138923
|
readonly __typename: 'BasicTopper';
|
|
@@ -297397,6 +297410,7 @@ export type ArticleQuery = {
|
|
|
297397
297410
|
readonly __typename: 'Article';
|
|
297398
297411
|
readonly publication?: ReadonlyArray<string> | null;
|
|
297399
297412
|
readonly clientName?: string | null;
|
|
297413
|
+
readonly disclaimerType?: 'co-created-content' | 'client-supplied-content' | 'ft-studios-risky' | 'auditor' | null;
|
|
297400
297414
|
readonly url: string;
|
|
297401
297415
|
readonly id: string;
|
|
297402
297416
|
readonly title: string;
|
|
@@ -331425,6 +331439,8 @@ export type ArticleQuery = {
|
|
|
331425
331439
|
readonly indicators?: {
|
|
331426
331440
|
readonly isPartnerContent?: boolean | null;
|
|
331427
331441
|
readonly isFTEdit?: boolean | null;
|
|
331442
|
+
readonly isLiveQandA?: boolean | null;
|
|
331443
|
+
readonly isArchived?: boolean | null;
|
|
331428
331444
|
} | null;
|
|
331429
331445
|
readonly topper?: {
|
|
331430
331446
|
readonly __typename: 'BasicTopper';
|
|
@@ -489912,6 +489928,7 @@ export type ArticleFromJsonQuery = {
|
|
|
489912
489928
|
readonly __typename: 'Article';
|
|
489913
489929
|
readonly publication?: ReadonlyArray<string> | null;
|
|
489914
489930
|
readonly clientName?: string | null;
|
|
489931
|
+
readonly disclaimerType?: 'co-created-content' | 'client-supplied-content' | 'ft-studios-risky' | 'auditor' | null;
|
|
489915
489932
|
readonly url: string;
|
|
489916
489933
|
readonly id: string;
|
|
489917
489934
|
readonly title: string;
|
|
@@ -523940,6 +523957,8 @@ export type ArticleFromJsonQuery = {
|
|
|
523940
523957
|
readonly indicators?: {
|
|
523941
523958
|
readonly isPartnerContent?: boolean | null;
|
|
523942
523959
|
readonly isFTEdit?: boolean | null;
|
|
523960
|
+
readonly isLiveQandA?: boolean | null;
|
|
523961
|
+
readonly isArchived?: boolean | null;
|
|
523943
523962
|
} | null;
|
|
523944
523963
|
readonly topper?: {
|
|
523945
523964
|
readonly __typename: 'BasicTopper';
|
package/lib/generated/index.js
CHANGED
|
@@ -709,9 +709,12 @@ exports.ArticleFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
|
709
709
|
}
|
|
710
710
|
publication
|
|
711
711
|
clientName
|
|
712
|
+
disclaimerType
|
|
712
713
|
indicators {
|
|
713
714
|
isPartnerContent
|
|
714
715
|
isFTEdit
|
|
716
|
+
isLiveQandA
|
|
717
|
+
isArchived
|
|
715
718
|
}
|
|
716
719
|
}
|
|
717
720
|
... on Placeholder {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;AAo4FA,wBASC;AA34FD,8DAA8B;AA8lEjB,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;KAIvC,CAAC;AACO,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;;;MAO7B,iCAAyB,EAAE,CAAC;AACrB,QAAA,sBAAsB,GAAG,IAAA,qBAAG,EAAA;;;;;KAKpC,CAAC;AACO,QAAA,kBAAkB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;MAW/B,8BAAsB,EAAE,CAAC;AAClB,QAAA,sBAAsB,GAAG,IAAA,qBAAG,EAAA;;;;;;KAMpC,CAAC;AACO,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;KAW9B,CAAC;AACO,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;KASvC,CAAC;AACO,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;MASpC,iCAAyB,EAAE,CAAC;AACrB,QAAA,iBAAiB,GAAG,IAAA,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QACL,OAAO,CAAC,SAAgC,EAAE,cAA4C;YACpF,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAe,uBAAe,EAAE,SAAS,EAAE,EAAC,GAAG,cAAc,EAAE,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"}
|
package/lib/schema-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.
|
|
1
|
+
export declare const version = "3.12.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": "4.
|
|
3
|
+
"version": "4.12.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": "^4.2.11",
|
|
13
13
|
"@financial-times/content-tree": "github:financial-times/content-tree#056af70",
|
|
14
|
-
"@financial-times/cp-content-pipeline-schema": "^3.
|
|
14
|
+
"@financial-times/cp-content-pipeline-schema": "^3.12.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 = '4.
|
|
2
|
+
export const version = '4.12.0'
|