@financial-times/cp-content-pipeline-schema 3.0.2 → 3.0.4
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 +16 -0
- package/lib/generated/index.d.ts +16 -16
- package/lib/model/CapiResponse.d.ts +1 -1
- package/lib/model/CapiResponse.js +23 -2
- package/lib/model/CapiResponse.js.map +1 -1
- package/lib/model/Person.d.ts +2 -0
- package/lib/model/Person.js +16 -0
- package/lib/model/Person.js.map +1 -1
- package/lib/model/Topper.js +19 -1
- package/lib/model/Topper.js.map +1 -1
- package/lib/model/schemas/capi/article.d.ts +3 -3
- package/lib/model/schemas/capi/audio.d.ts +3 -3
- package/lib/model/schemas/capi/base-schema.d.ts +3 -3
- package/lib/model/schemas/capi/base-schema.js +1 -1
- package/lib/model/schemas/capi/base-schema.js.map +1 -1
- package/lib/model/schemas/capi/content-package.d.ts +3 -3
- package/lib/model/schemas/capi/index.d.ts +15 -15
- package/lib/model/schemas/capi/live-blog-package.d.ts +3 -3
- package/lib/model/schemas/capi/placeholder.d.ts +3 -3
- package/lib/model/schemas/capi/video.d.ts +3 -3
- package/lib/resolvers/content.d.ts +8 -8
- package/lib/resolvers/index.d.ts +8 -8
- package/package.json +1 -1
- package/queries/article.graphql +0 -7
- package/src/generated/index.ts +16 -16
- package/src/model/CapiResponse.ts +22 -6
- package/src/model/Person.ts +19 -0
- package/src/model/Topper.ts +18 -1
- package/src/model/schemas/capi/base-schema.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/typedefs/content.graphql +8 -8
package/typedefs/content.graphql
CHANGED
|
@@ -75,7 +75,7 @@ interface Content {
|
|
|
75
75
|
publishedTimestamp: Float!
|
|
76
76
|
|
|
77
77
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
78
|
-
modifiedTimestamp: Float
|
|
78
|
+
modifiedTimestamp: Float
|
|
79
79
|
|
|
80
80
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
81
81
|
firstPublishedDate: String!
|
|
@@ -155,7 +155,7 @@ type Article implements Content {
|
|
|
155
155
|
publishedTimestamp: Float!
|
|
156
156
|
|
|
157
157
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
158
|
-
modifiedTimestamp: Float
|
|
158
|
+
modifiedTimestamp: Float
|
|
159
159
|
|
|
160
160
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
161
161
|
firstPublishedDate: String!
|
|
@@ -238,7 +238,7 @@ type Placeholder implements Content {
|
|
|
238
238
|
publishedTimestamp: Float!
|
|
239
239
|
|
|
240
240
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
241
|
-
modifiedTimestamp: Float
|
|
241
|
+
modifiedTimestamp: Float
|
|
242
242
|
|
|
243
243
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
244
244
|
firstPublishedDate: String!
|
|
@@ -321,7 +321,7 @@ type LiveBlogPackage implements Content {
|
|
|
321
321
|
publishedTimestamp: Float!
|
|
322
322
|
|
|
323
323
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
324
|
-
modifiedTimestamp: Float
|
|
324
|
+
modifiedTimestamp: Float
|
|
325
325
|
|
|
326
326
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
327
327
|
firstPublishedDate: String!
|
|
@@ -410,7 +410,7 @@ type LiveBlogPost implements Content {
|
|
|
410
410
|
publishedTimestamp: Float!
|
|
411
411
|
|
|
412
412
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
413
|
-
modifiedTimestamp: Float
|
|
413
|
+
modifiedTimestamp: Float
|
|
414
414
|
|
|
415
415
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
416
416
|
firstPublishedDate: String!
|
|
@@ -505,7 +505,7 @@ type Audio implements Content {
|
|
|
505
505
|
publishedTimestamp: Float!
|
|
506
506
|
|
|
507
507
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
508
|
-
modifiedTimestamp: Float
|
|
508
|
+
modifiedTimestamp: Float
|
|
509
509
|
|
|
510
510
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
511
511
|
firstPublishedDate: String!
|
|
@@ -588,7 +588,7 @@ type Video implements Content {
|
|
|
588
588
|
publishedTimestamp: Float!
|
|
589
589
|
|
|
590
590
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
591
|
-
modifiedTimestamp: Float
|
|
591
|
+
modifiedTimestamp: Float
|
|
592
592
|
|
|
593
593
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
594
594
|
firstPublishedDate: String!
|
|
@@ -668,7 +668,7 @@ type ContentPackage implements Content {
|
|
|
668
668
|
publishedTimestamp: Float!
|
|
669
669
|
|
|
670
670
|
"The number of milliseconds since the unix epoch the article was last changed, eg '1712140552443'."
|
|
671
|
-
modifiedTimestamp: Float
|
|
671
|
+
modifiedTimestamp: Float
|
|
672
672
|
|
|
673
673
|
"The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'."
|
|
674
674
|
firstPublishedDate: String!
|