@financial-times/cp-content-pipeline-schema 3.10.0 → 3.11.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 +7 -0
- package/lib/generated/index.d.ts +6 -0
- package/lib/model/Content.d.ts +2 -0
- package/lib/model/Content.js +18 -0
- package/lib/model/Content.js.map +1 -1
- package/lib/model/Content.test.js +66 -0
- package/lib/model/Content.test.js.map +1 -1
- package/lib/resolvers/content.d.ts +4 -0
- package/lib/resolvers/content.js +4 -0
- package/lib/resolvers/content.js.map +1 -1
- package/lib/resolvers/index.d.ts +4 -0
- package/package.json +1 -1
- package/queries/article.graphql +2 -0
- package/src/generated/index.ts +6 -0
- package/src/model/Content.test.ts +82 -0
- package/src/model/Content.ts +26 -0
- package/src/resolvers/content.ts +4 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/typedefs/content.graphql +6 -0
package/typedefs/content.graphql
CHANGED
|
@@ -47,6 +47,12 @@ type Indicators {
|
|
|
47
47
|
|
|
48
48
|
"Whether the content is Commercial Partner Content."
|
|
49
49
|
isPartnerContent: Boolean
|
|
50
|
+
|
|
51
|
+
"Whether an article is a Live Q&A"
|
|
52
|
+
isLiveQandA: Boolean
|
|
53
|
+
|
|
54
|
+
"Whether an article is in an archived state"
|
|
55
|
+
isArchived: Boolean
|
|
50
56
|
}
|
|
51
57
|
|
|
52
58
|
interface Content {
|