@financial-times/cp-content-pipeline-schema 2.15.1 → 3.0.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.
Files changed (161) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/lib/datasources/capi.d.ts +2 -2
  3. package/lib/datasources/capi.js +4 -2
  4. package/lib/datasources/capi.js.map +1 -1
  5. package/lib/datasources/capi.test.js +2 -2
  6. package/lib/fixtures/capiObject.d.ts +2 -2
  7. package/lib/fixtures/capiObject.js +2 -0
  8. package/lib/fixtures/capiObject.js.map +1 -1
  9. package/lib/fixtures/capiPerson.d.ts +1 -1
  10. package/lib/generated/index.d.ts +280 -115
  11. package/lib/helpers/decorateHeadshotUrl.d.ts +1 -2
  12. package/lib/helpers/decorateHeadshotUrl.js +2 -3
  13. package/lib/helpers/decorateHeadshotUrl.js.map +1 -1
  14. package/lib/model/Byline.d.ts +8 -10
  15. package/lib/model/Byline.js +34 -33
  16. package/lib/model/Byline.js.map +1 -1
  17. package/lib/model/Byline.test.js +105 -52
  18. package/lib/model/Byline.test.js.map +1 -1
  19. package/lib/model/CapiResponse.d.ts +11 -15
  20. package/lib/model/CapiResponse.js +37 -40
  21. package/lib/model/CapiResponse.js.map +1 -1
  22. package/lib/model/CapiResponse.test.js +7 -18
  23. package/lib/model/CapiResponse.test.js.map +1 -1
  24. package/lib/model/Clip.d.ts +1 -1
  25. package/lib/model/Concept.d.ts +1 -1
  26. package/lib/model/Concept.js +1 -2
  27. package/lib/model/Concept.js.map +1 -1
  28. package/lib/model/FlourishSource.d.ts +1 -1
  29. package/lib/model/FlourishSource.js.map +1 -1
  30. package/lib/model/Image.d.ts +1 -1
  31. package/lib/model/LeadFlourish.test.js +1 -0
  32. package/lib/model/LeadFlourish.test.js.map +1 -1
  33. package/lib/model/Person.d.ts +6 -12
  34. package/lib/model/Person.js +39 -66
  35. package/lib/model/Person.js.map +1 -1
  36. package/lib/model/Person.test.js +7 -60
  37. package/lib/model/Person.test.js.map +1 -1
  38. package/lib/model/Picture.d.ts +1 -1
  39. package/lib/model/RichText.d.ts +1 -2
  40. package/lib/model/Topper.d.ts +1 -1
  41. package/lib/model/Topper.js +10 -8
  42. package/lib/model/Topper.js.map +1 -1
  43. package/lib/model/Topper.test.js +9 -10
  44. package/lib/model/Topper.test.js.map +1 -1
  45. package/lib/model/schemas/capi/article.d.ts +4 -1
  46. package/lib/model/schemas/capi/article.js +1 -0
  47. package/lib/model/schemas/capi/article.js.map +1 -1
  48. package/lib/model/schemas/capi/audio.d.ts +4 -1
  49. package/lib/model/schemas/capi/audio.js +1 -0
  50. package/lib/model/schemas/capi/audio.js.map +1 -1
  51. package/lib/model/schemas/capi/base-schema.d.ts +11 -120
  52. package/lib/model/schemas/capi/base-schema.js +6 -5
  53. package/lib/model/schemas/capi/base-schema.js.map +1 -1
  54. package/lib/model/schemas/capi/content-package.d.ts +7 -2
  55. package/lib/model/schemas/capi/content-package.js +2 -0
  56. package/lib/model/schemas/capi/content-package.js.map +1 -1
  57. package/lib/model/schemas/capi/index.d.ts +26 -7
  58. package/lib/model/schemas/capi/internal-content.d.ts +24 -0
  59. package/lib/model/schemas/capi/internal-content.js +3 -0
  60. package/lib/model/schemas/capi/internal-content.js.map +1 -0
  61. package/lib/model/schemas/capi/live-blog-package.d.ts +4 -1
  62. package/lib/model/schemas/capi/live-blog-package.js +1 -0
  63. package/lib/model/schemas/capi/live-blog-package.js.map +1 -1
  64. package/lib/model/schemas/capi/placeholder.d.ts +4 -1
  65. package/lib/model/schemas/capi/placeholder.js +1 -0
  66. package/lib/model/schemas/capi/placeholder.js.map +1 -1
  67. package/lib/model/schemas/capi/video.d.ts +7 -2
  68. package/lib/model/schemas/capi/video.js +2 -0
  69. package/lib/model/schemas/capi/video.js.map +1 -1
  70. package/lib/resolvers/concept.d.ts +37 -2
  71. package/lib/resolvers/concept.js +17 -10
  72. package/lib/resolvers/concept.js.map +1 -1
  73. package/lib/resolvers/content-tree/Workarounds.d.ts +19 -11
  74. package/lib/resolvers/content-tree/references/Author.d.ts +4 -0
  75. package/lib/resolvers/content-tree/references/Author.js +14 -0
  76. package/lib/resolvers/content-tree/references/Author.js.map +1 -0
  77. package/lib/resolvers/content-tree/references/ClipSet.d.ts +1 -1
  78. package/lib/resolvers/content-tree/references/ClipSet.js +1 -1
  79. package/lib/resolvers/content-tree/references/ClipSet.js.map +1 -1
  80. package/lib/resolvers/content-tree/references/Flourish.d.ts +1 -1
  81. package/lib/resolvers/content-tree/references/Reference.d.ts +1 -1
  82. package/lib/resolvers/content-tree/references/index.d.ts +4 -2
  83. package/lib/resolvers/content-tree/references/index.js +4 -1
  84. package/lib/resolvers/content-tree/references/index.js.map +1 -1
  85. package/lib/resolvers/content-tree/updateTreeWithReferenceIds.d.ts +3 -3
  86. package/lib/resolvers/content-tree/updateTreeWithReferenceIds.js +2 -3
  87. package/lib/resolvers/content-tree/updateTreeWithReferenceIds.js.map +1 -1
  88. package/lib/resolvers/content.d.ts +19 -10
  89. package/lib/resolvers/content.js +4 -2
  90. package/lib/resolvers/content.js.map +1 -1
  91. package/lib/resolvers/image.d.ts +12 -12
  92. package/lib/resolvers/index.d.ts +81 -34
  93. package/lib/resolvers/leadFlourish.d.ts +2 -1
  94. package/lib/resolvers/leadFlourish.js +1 -0
  95. package/lib/resolvers/leadFlourish.js.map +1 -1
  96. package/lib/resolvers/person.d.ts +1 -1
  97. package/lib/resolvers/person.js +1 -1
  98. package/lib/resolvers/person.js.map +1 -1
  99. package/lib/resolvers/picture.d.ts +4 -4
  100. package/lib/resolvers/richText.d.ts +1 -1
  101. package/lib/resolvers/teaser.d.ts +1 -1
  102. package/lib/resolvers/topper.d.ts +3 -3
  103. package/package.json +1 -1
  104. package/queries/article.graphql +35 -13
  105. package/src/datasources/capi.test.ts +3 -3
  106. package/src/datasources/capi.ts +5 -3
  107. package/src/fixtures/capiObject.ts +4 -2
  108. package/src/fixtures/capiPerson.ts +1 -1
  109. package/src/generated/index.ts +305 -116
  110. package/src/helpers/decorateHeadshotUrl.ts +2 -2
  111. package/src/model/Byline.test.ts +136 -55
  112. package/src/model/Byline.ts +49 -39
  113. package/src/model/CapiResponse.test.ts +9 -25
  114. package/src/model/CapiResponse.ts +82 -55
  115. package/src/model/Clip.ts +1 -1
  116. package/src/model/Concept.ts +3 -3
  117. package/src/model/FlourishSource.ts +1 -1
  118. package/src/model/Image.test.ts +1 -1
  119. package/src/model/Image.ts +1 -1
  120. package/src/model/LeadFlourish.test.ts +1 -0
  121. package/src/model/Person.test.ts +11 -62
  122. package/src/model/Person.ts +47 -51
  123. package/src/model/Picture.test.ts +1 -1
  124. package/src/model/Picture.ts +1 -1
  125. package/src/model/Topper.test.ts +22 -18
  126. package/src/model/Topper.ts +10 -9
  127. package/src/model/__snapshots__/Byline.test.ts.snap +166 -27
  128. package/src/model/schemas/capi/article.ts +1 -0
  129. package/src/model/schemas/capi/audio.ts +1 -0
  130. package/src/model/schemas/capi/base-schema.ts +4 -3
  131. package/src/model/schemas/capi/content-package.ts +2 -0
  132. package/src/model/schemas/capi/internal-content.ts +45 -0
  133. package/src/model/schemas/capi/live-blog-package.ts +1 -0
  134. package/src/model/schemas/capi/placeholder.ts +1 -0
  135. package/src/model/schemas/capi/video.ts +2 -0
  136. package/src/resolvers/concept.ts +29 -12
  137. package/src/resolvers/content-tree/Workarounds.ts +39 -20
  138. package/src/resolvers/content-tree/references/Author.ts +18 -0
  139. package/src/resolvers/content-tree/references/ClipSet.ts +6 -8
  140. package/src/resolvers/content-tree/references/ImageSet.ts +1 -1
  141. package/src/resolvers/content-tree/references/ScrollyImage.ts +1 -1
  142. package/src/resolvers/content-tree/references/index.ts +6 -1
  143. package/src/resolvers/content-tree/updateTreeWithReferenceIds.ts +6 -8
  144. package/src/resolvers/content.ts +4 -2
  145. package/src/resolvers/leadFlourish.ts +1 -0
  146. package/src/resolvers/person.ts +1 -1
  147. package/src/types/n-display-metadata.d.ts +1 -1
  148. package/tsconfig.tsbuildinfo +1 -1
  149. package/typedefs/clip.graphql +2 -2
  150. package/typedefs/concept.graphql +64 -2
  151. package/typedefs/content.graphql +55 -31
  152. package/typedefs/image.graphql +12 -12
  153. package/typedefs/leadFlourish.graphql +32 -0
  154. package/typedefs/person.graphql +2 -2
  155. package/typedefs/picture.graphql +6 -6
  156. package/typedefs/references/author.graphql +7 -0
  157. package/typedefs/references/clipSet.graphql +14 -2
  158. package/typedefs/references/tweet.graphql +1 -1
  159. package/typedefs/teaser.graphql +10 -10
  160. package/src/types/internal-content.d.ts +0 -55
  161. package/typedefs/leadFlouish.graphql +0 -29
@@ -1 +1 @@
1
- {"version":3,"file":"content-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/content-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,2BAA2B,GAAG,+BAAiB;KAClD,IAAI,CAAC;IACJ,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;CACd,CAAC;KACD,KAAK,CACJ,+BAAiB;KACd,IAAI,CAAC;IACJ,OAAO,EAAE,IAAI;CACd,CAAC;KACD,OAAO,EAAE,CACb,CAAA;AAEH,MAAM,4BAA4B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC3D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,6BAAe,CAAC,IAAI,CAAC;IACrD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,IAAI;CACnB,CAAC,CAAA;AAEW,QAAA,oBAAoB,GAAG,2BAA2B;KAC5D,KAAK,CAAC,4BAA4B,CAAC;KACnC,KAAK,CAAC,yBAAyB,CAAC,CAAA"}
1
+ {"version":3,"file":"content-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/content-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,2BAA2B,GAAG,+BAAiB;KAClD,IAAI,CAAC;IACJ,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;CACb,CAAC;KACD,KAAK,CACJ,+BAAiB;KACd,IAAI,CAAC;IACJ,OAAO,EAAE,IAAI;CACd,CAAC;KACD,OAAO,EAAE,CACb,CAAA;AAEH,MAAM,4BAA4B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC3D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,6BAAe,CAAC,IAAI,CAAC;IACrD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,IAAI;CACnB,CAAC,CAAA;AAEW,QAAA,oBAAoB,GAAG,2BAA2B;KAC5D,KAAK,CAAC,4BAA4B,CAAC;KACnC,KAAK,CAAC,yBAAyB,CAAC,CAAA"}
@@ -96,6 +96,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
96
96
  publishedDate: import("zod").ZodString;
97
97
  firstPublishedDate: import("zod").ZodString;
98
98
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
99
+ lastModified: import("zod").ZodString;
99
100
  realtime: import("zod").ZodBoolean;
100
101
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
101
102
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -153,7 +154,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
153
154
  labelType: string;
154
155
  sequence: string;
155
156
  }>>;
156
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
157
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
157
158
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
158
159
  id: import("zod").ZodString;
159
160
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1330,6 +1331,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1330
1331
  headshot?: string | undefined;
1331
1332
  }[];
1332
1333
  firstPublishedDate: string;
1334
+ lastModified: string;
1333
1335
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1334
1336
  bodyXML: string;
1335
1337
  type?: string | undefined;
@@ -1597,6 +1599,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1597
1599
  headshot?: string | undefined;
1598
1600
  }[];
1599
1601
  firstPublishedDate: string;
1602
+ lastModified: string;
1600
1603
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1601
1604
  bodyXML: string;
1602
1605
  type?: string | undefined;
@@ -1944,6 +1947,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1944
1947
  publishedDate: import("zod").ZodString;
1945
1948
  firstPublishedDate: import("zod").ZodString;
1946
1949
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
1950
+ lastModified: import("zod").ZodString;
1947
1951
  realtime: import("zod").ZodBoolean;
1948
1952
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
1949
1953
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -2001,7 +2005,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
2001
2005
  labelType: string;
2002
2006
  sequence: string;
2003
2007
  }>>;
2004
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
2008
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
2005
2009
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
2006
2010
  id: import("zod").ZodString;
2007
2011
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -3178,6 +3182,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3178
3182
  headshot?: string | undefined;
3179
3183
  }[];
3180
3184
  firstPublishedDate: string;
3185
+ lastModified: string;
3181
3186
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
3182
3187
  summary: {
3183
3188
  bodyXML: string;
@@ -3427,6 +3432,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3427
3432
  headshot?: string | undefined;
3428
3433
  }[];
3429
3434
  firstPublishedDate: string;
3435
+ lastModified: string;
3430
3436
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
3431
3437
  summary: {
3432
3438
  bodyXML: string;
@@ -3756,6 +3762,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3756
3762
  publishedDate: import("zod").ZodString;
3757
3763
  firstPublishedDate: import("zod").ZodString;
3758
3764
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
3765
+ lastModified: import("zod").ZodString;
3759
3766
  realtime: import("zod").ZodBoolean;
3760
3767
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
3761
3768
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -3813,7 +3820,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3813
3820
  labelType: string;
3814
3821
  sequence: string;
3815
3822
  }>>;
3816
- }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
3823
+ }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
3817
3824
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
3818
3825
  id: import("zod").ZodString;
3819
3826
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -4990,6 +4997,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
4990
4997
  headshot?: string | undefined;
4991
4998
  }[];
4992
4999
  firstPublishedDate: string;
5000
+ lastModified: string;
4993
5001
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
4994
5002
  dataSource?: {
4995
5003
  binaryUrl: string;
@@ -5085,6 +5093,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5085
5093
  headshot?: string | undefined;
5086
5094
  }[];
5087
5095
  firstPublishedDate: string;
5096
+ lastModified: string;
5088
5097
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
5089
5098
  dataSource?: {
5090
5099
  binaryUrl: string;
@@ -5209,7 +5218,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5209
5218
  theme: "special-report" | "extra" | "basic" | "extra-wide";
5210
5219
  }>;
5211
5220
  transcript: import("zod").ZodOptional<import("zod").ZodString>;
5212
- }, "title" | "transcript" | "alternativeTitles">, Pick<{
5221
+ }, "title" | "transcript" | "byline" | "alternativeTitles">, Pick<{
5213
5222
  id: import("zod").ZodString;
5214
5223
  annotations: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5215
5224
  id: import("zod").ZodString;
@@ -5260,6 +5269,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5260
5269
  publishedDate: import("zod").ZodString;
5261
5270
  firstPublishedDate: import("zod").ZodString;
5262
5271
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
5272
+ lastModified: import("zod").ZodString;
5263
5273
  realtime: import("zod").ZodBoolean;
5264
5274
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
5265
5275
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -5317,7 +5327,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5317
5327
  labelType: string;
5318
5328
  sequence: string;
5319
5329
  }>>;
5320
- }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
5330
+ }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
5321
5331
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
5322
5332
  id: import("zod").ZodString;
5323
5333
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -6494,6 +6504,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6494
6504
  headshot?: string | undefined;
6495
6505
  }[];
6496
6506
  firstPublishedDate: string;
6507
+ lastModified: string;
6497
6508
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
6498
6509
  transcript?: string | undefined;
6499
6510
  webUrl?: string | undefined;
@@ -6502,6 +6513,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6502
6513
  editorialDesk?: string | undefined;
6503
6514
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
6504
6515
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
6516
+ byline?: string | undefined;
6505
6517
  alternativeTitles?: {
6506
6518
  promotionalTitle: string;
6507
6519
  } | undefined;
@@ -6583,6 +6595,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6583
6595
  headshot?: string | undefined;
6584
6596
  }[];
6585
6597
  firstPublishedDate: string;
6598
+ lastModified: string;
6586
6599
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
6587
6600
  transcript?: string | undefined;
6588
6601
  webUrl?: string | undefined;
@@ -6591,6 +6604,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6591
6604
  editorialDesk?: string | undefined;
6592
6605
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
6593
6606
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
6607
+ byline?: string | undefined;
6594
6608
  alternativeTitles?: {
6595
6609
  promotionalTitle: string;
6596
6610
  } | undefined;
@@ -6701,7 +6715,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6701
6715
  theme: "special-report" | "extra" | "basic" | "extra-wide";
6702
6716
  }>;
6703
6717
  transcript: import("zod").ZodOptional<import("zod").ZodString>;
6704
- }, "title" | "bodyXML" | "summary" | "alternativeTitles" | "contains" | "design">, {
6718
+ }, "title" | "byline" | "bodyXML" | "summary" | "alternativeTitles" | "contains" | "design">, {
6705
6719
  summary: import("zod").ZodOptional<import("zod").ZodObject<{
6706
6720
  bodyXML: import("zod").ZodString;
6707
6721
  }, "strip", import("zod").ZodTypeAny, {
@@ -6760,6 +6774,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6760
6774
  publishedDate: import("zod").ZodString;
6761
6775
  firstPublishedDate: import("zod").ZodString;
6762
6776
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
6777
+ lastModified: import("zod").ZodString;
6763
6778
  realtime: import("zod").ZodBoolean;
6764
6779
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
6765
6780
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -6817,7 +6832,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6817
6832
  labelType: string;
6818
6833
  sequence: string;
6819
6834
  }>>;
6820
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents">>, Pick<{
6835
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents">>, Pick<{
6821
6836
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
6822
6837
  id: import("zod").ZodString;
6823
6838
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -7994,6 +8009,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
7994
8009
  headshot?: string | undefined;
7995
8010
  }[];
7996
8011
  firstPublishedDate: string;
8012
+ lastModified: string;
7997
8013
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
7998
8014
  bodyXML: string;
7999
8015
  contains: {
@@ -8031,6 +8047,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8031
8047
  labelType: string;
8032
8048
  sequence: string;
8033
8049
  } | undefined;
8050
+ byline?: string | undefined;
8034
8051
  summary?: {
8035
8052
  bodyXML: string;
8036
8053
  } | undefined;
@@ -8153,6 +8170,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8153
8170
  headshot?: string | undefined;
8154
8171
  }[];
8155
8172
  firstPublishedDate: string;
8173
+ lastModified: string;
8156
8174
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
8157
8175
  bodyXML: string;
8158
8176
  contains: {
@@ -8190,6 +8208,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8190
8208
  labelType: string;
8191
8209
  sequence: string;
8192
8210
  } | undefined;
8211
+ byline?: string | undefined;
8193
8212
  summary?: {
8194
8213
  bodyXML: string;
8195
8214
  } | undefined;
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ import type { CapiPerson, Annotation, Image, ImageSet, Clip, ClipSet, MainImage, LeadImage } from './base-schema';
3
+ import { articleSchema } from './article';
4
+ import { placeholderSchema } from './placeholder';
5
+ import { liveBlogPackageSchema } from './live-blog-package';
6
+ import { audioSchema } from './audio';
7
+ import { videoSchema } from './video';
8
+ import { contentPackageSchema } from './content-package';
9
+ export type Article = z.infer<typeof articleSchema>;
10
+ type Placeholder = z.infer<typeof placeholderSchema>;
11
+ type LiveBlogPackage = z.infer<typeof liveBlogPackageSchema>;
12
+ type ContentPackage = z.infer<typeof contentPackageSchema>;
13
+ type Audio = z.infer<typeof audioSchema>;
14
+ type Video = z.infer<typeof videoSchema>;
15
+ export type CapiPerson = z.infer<typeof CapiPerson>;
16
+ export type Annotation = z.infer<typeof Annotation>;
17
+ export type Image = z.infer<typeof Image>;
18
+ export type LeadImage = z.infer<typeof LeadImage>;
19
+ export type ImageSet = z.infer<typeof ImageSet>;
20
+ export type MainImage = z.infer<typeof MainImage>;
21
+ export type Clip = z.infer<typeof Clip>;
22
+ export type ClipSet = z.infer<typeof ClipSet>;
23
+ export type ContentTypeSchemas = Article | Placeholder | LiveBlogPackage | ContentPackage | Audio | Video;
24
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=internal-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal-content.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/internal-content.ts"],"names":[],"mappings":""}
@@ -94,6 +94,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
94
94
  publishedDate: import("zod").ZodString;
95
95
  firstPublishedDate: import("zod").ZodString;
96
96
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
97
+ lastModified: import("zod").ZodString;
97
98
  realtime: import("zod").ZodBoolean;
98
99
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
99
100
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -151,7 +152,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
151
152
  labelType: string;
152
153
  sequence: string;
153
154
  }>>;
154
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
155
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
155
156
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
156
157
  id: import("zod").ZodString;
157
158
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1328,6 +1329,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
1328
1329
  headshot?: string | undefined;
1329
1330
  }[];
1330
1331
  firstPublishedDate: string;
1332
+ lastModified: string;
1331
1333
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1332
1334
  summary: {
1333
1335
  bodyXML: string;
@@ -1577,6 +1579,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
1577
1579
  headshot?: string | undefined;
1578
1580
  }[];
1579
1581
  firstPublishedDate: string;
1582
+ lastModified: string;
1580
1583
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1581
1584
  summary: {
1582
1585
  bodyXML: string;
@@ -20,6 +20,7 @@ const liveBlogPackageMetadataSchema = base_schema_1.baseMetadataSchema.pick({
20
20
  standout: true,
21
21
  publishedDate: true,
22
22
  firstPublishedDate: true,
23
+ lastModified: true,
23
24
  publishReference: true,
24
25
  accessLevel: true,
25
26
  editorialDesk: true,
@@ -1 +1 @@
1
- {"version":3,"file":"live-blog-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/live-blog-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,4BAA4B,GAAG,+BAAiB,CAAC,IAAI,CAAC;IAC1D,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC5D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA;AAEF,MAAM,0BAA0B,GAAG,6BAAe,CAAC,IAAI,CAAC;IACtD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,qBAAqB,GAAG,4BAA4B;KAC9D,KAAK,CAAC,6BAA6B,CAAC;KACpC,KAAK,CAAC,0BAA0B,CAAC,CAAA"}
1
+ {"version":3,"file":"live-blog-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/live-blog-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,4BAA4B,GAAG,+BAAiB,CAAC,IAAI,CAAC;IAC1D,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC5D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA;AAEF,MAAM,0BAA0B,GAAG,6BAAe,CAAC,IAAI,CAAC;IACtD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,qBAAqB,GAAG,4BAA4B;KAC9D,KAAK,CAAC,6BAA6B,CAAC;KACpC,KAAK,CAAC,0BAA0B,CAAC,CAAA"}
@@ -94,6 +94,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
94
94
  publishedDate: import("zod").ZodString;
95
95
  firstPublishedDate: import("zod").ZodString;
96
96
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
97
+ lastModified: import("zod").ZodString;
97
98
  realtime: import("zod").ZodBoolean;
98
99
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
99
100
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -151,7 +152,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
151
152
  labelType: string;
152
153
  sequence: string;
153
154
  }>>;
154
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
155
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
155
156
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
156
157
  id: import("zod").ZodString;
157
158
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1328,6 +1329,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
1328
1329
  headshot?: string | undefined;
1329
1330
  }[];
1330
1331
  firstPublishedDate: string;
1332
+ lastModified: string;
1331
1333
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1332
1334
  bodyXML: string;
1333
1335
  type?: string | undefined;
@@ -1595,6 +1597,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
1595
1597
  headshot?: string | undefined;
1596
1598
  }[];
1597
1599
  firstPublishedDate: string;
1600
+ lastModified: string;
1598
1601
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1599
1602
  bodyXML: string;
1600
1603
  type?: string | undefined;
@@ -20,6 +20,7 @@ const placeholderMetadataSchema = base_schema_1.baseMetadataSchema.pick({
20
20
  standout: true,
21
21
  publishedDate: true,
22
22
  firstPublishedDate: true,
23
+ lastModified: true,
23
24
  publishReference: true,
24
25
  accessLevel: true,
25
26
  editorialDesk: true,
@@ -1 +1 @@
1
- {"version":3,"file":"placeholder.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/placeholder.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,wBAAwB,GAAG,+BAAiB,CAAC,IAAI,CAAC;IACtD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,sBAAsB,EAAE,IAAI;CAC7B,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,gCAAkB,CAAC,IAAI,CAAC;IACxD,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAAG,6BAAe,CAAC,IAAI,CAAC;IAClD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,iBAAiB,EAAE,IAAI;IACvB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,iBAAiB,GAAG,wBAAwB;KACtD,KAAK,CAAC,yBAAyB,CAAC;KAChC,KAAK,CAAC,sBAAsB,CAAC,CAAA"}
1
+ {"version":3,"file":"placeholder.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/placeholder.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,wBAAwB,GAAG,+BAAiB,CAAC,IAAI,CAAC;IACtD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,sBAAsB,EAAE,IAAI;CAC7B,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,gCAAkB,CAAC,IAAI,CAAC;IACxD,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAAG,6BAAe,CAAC,IAAI,CAAC;IAClD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,iBAAiB,EAAE,IAAI;IACvB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,iBAAiB,GAAG,wBAAwB;KACtD,KAAK,CAAC,yBAAyB,CAAC;KAChC,KAAK,CAAC,sBAAsB,CAAC,CAAA"}
@@ -43,7 +43,7 @@ export declare const videoSchema: import("zod").ZodObject<import("zod").objectUt
43
43
  theme: "special-report" | "extra" | "basic" | "extra-wide";
44
44
  }>;
45
45
  transcript: import("zod").ZodOptional<import("zod").ZodString>;
46
- }, "title" | "transcript" | "alternativeTitles">, Pick<{
46
+ }, "title" | "transcript" | "byline" | "alternativeTitles">, Pick<{
47
47
  id: import("zod").ZodString;
48
48
  annotations: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
49
49
  id: import("zod").ZodString;
@@ -94,6 +94,7 @@ export declare const videoSchema: import("zod").ZodObject<import("zod").objectUt
94
94
  publishedDate: import("zod").ZodString;
95
95
  firstPublishedDate: import("zod").ZodString;
96
96
  publishReference: import("zod").ZodOptional<import("zod").ZodString>;
97
+ lastModified: import("zod").ZodString;
97
98
  realtime: import("zod").ZodBoolean;
98
99
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
99
100
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -151,7 +152,7 @@ export declare const videoSchema: import("zod").ZodObject<import("zod").objectUt
151
152
  labelType: string;
152
153
  sequence: string;
153
154
  }>>;
154
- }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
155
+ }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
155
156
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
156
157
  id: import("zod").ZodString;
157
158
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1328,6 +1329,7 @@ export declare const videoSchema: import("zod").ZodObject<import("zod").objectUt
1328
1329
  headshot?: string | undefined;
1329
1330
  }[];
1330
1331
  firstPublishedDate: string;
1332
+ lastModified: string;
1331
1333
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1332
1334
  transcript?: string | undefined;
1333
1335
  webUrl?: string | undefined;
@@ -1336,6 +1338,7 @@ export declare const videoSchema: import("zod").ZodObject<import("zod").objectUt
1336
1338
  editorialDesk?: string | undefined;
1337
1339
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1338
1340
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
1341
+ byline?: string | undefined;
1339
1342
  alternativeTitles?: {
1340
1343
  promotionalTitle: string;
1341
1344
  } | undefined;
@@ -1417,6 +1420,7 @@ export declare const videoSchema: import("zod").ZodObject<import("zod").objectUt
1417
1420
  headshot?: string | undefined;
1418
1421
  }[];
1419
1422
  firstPublishedDate: string;
1423
+ lastModified: string;
1420
1424
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1421
1425
  transcript?: string | undefined;
1422
1426
  webUrl?: string | undefined;
@@ -1425,6 +1429,7 @@ export declare const videoSchema: import("zod").ZodObject<import("zod").objectUt
1425
1429
  editorialDesk?: string | undefined;
1426
1430
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1427
1431
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
1432
+ byline?: string | undefined;
1428
1433
  alternativeTitles?: {
1429
1434
  promotionalTitle: string;
1430
1435
  } | undefined;
@@ -6,6 +6,7 @@ const videoContentSchema = base_schema_1.baseContentSchema.pick({
6
6
  title: true,
7
7
  transcript: true,
8
8
  alternativeTitles: true,
9
+ byline: true,
9
10
  });
10
11
  const videoMetadataSchema = base_schema_1.baseMetadataSchema.pick({
11
12
  id: true,
@@ -15,6 +16,7 @@ const videoMetadataSchema = base_schema_1.baseMetadataSchema.pick({
15
16
  types: true,
16
17
  publishedDate: true,
17
18
  firstPublishedDate: true,
19
+ lastModified: true,
18
20
  publishReference: true,
19
21
  accessLevel: true,
20
22
  editorialDesk: true,
@@ -1 +1 @@
1
- {"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/video.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,kBAAkB,GAAG,+BAAiB,CAAC,IAAI,CAAC;IAChD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,IAAI;IAChB,iBAAiB,EAAE,IAAI;CACxB,CAAC,CAAA;AAEF,MAAM,mBAAmB,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAClD,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,KAAK,EAAE,IAAI;IACX,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;CACvB,CAAC,CAAA;AAEF,MAAM,gBAAgB,GAAG,6BAAe,CAAC,IAAI,CAAC;IAC5C,SAAS,EAAE,IAAI;CAChB,CAAC,CAAA;AAEW,QAAA,WAAW,GAAG,kBAAkB;KAC1C,KAAK,CAAC,mBAAmB,CAAC;KAC1B,KAAK,CAAC,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/video.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,kBAAkB,GAAG,+BAAiB,CAAC,IAAI,CAAC;IAChD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,IAAI;IAChB,iBAAiB,EAAE,IAAI;IACvB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEF,MAAM,mBAAmB,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAClD,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,KAAK,EAAE,IAAI;IACX,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;CACvB,CAAC,CAAA;AAEF,MAAM,gBAAgB,GAAG,6BAAe,CAAC,IAAI,CAAC;IAC5C,SAAS,EAAE,IAAI;CAChB,CAAC,CAAA;AAEW,QAAA,WAAW,GAAG,kBAAkB;KAC1C,KAAK,CAAC,mBAAmB,CAAC;KAC1B,KAAK,CAAC,gBAAgB,CAAC,CAAA"}
@@ -1,5 +1,40 @@
1
- import { ConceptResolvers } from '../generated';
2
1
  declare const resolvers: {
3
- Concept: ConceptResolvers;
2
+ ConceptInterface: {
3
+ __resolveType: (parent: import("../model/Concept").Concept) => "Concept" | "Author";
4
+ apiUrl: (parent: import("../model/Concept").Concept) => string;
5
+ directType: (parent: import("../model/Concept").Concept) => string;
6
+ isPackageBrand: (parent: import("../model/Concept").Concept) => boolean;
7
+ id: (parent: import("../model/Concept").Concept) => string;
8
+ predicate: (parent: import("../model/Concept").Concept) => string;
9
+ prefLabel: (parent: import("../model/Concept").Concept) => string;
10
+ type: (parent: import("../model/Concept").Concept) => string | null;
11
+ types: (parent: import("../model/Concept").Concept) => string[];
12
+ url: (parent: import("../model/Concept").Concept, args: Partial<import("../generated").ConceptInterfaceUrlArgs>) => Promise<string>;
13
+ };
14
+ Concept: {
15
+ __resolveType: (parent: import("../model/Concept").Concept) => "Concept" | "Author";
16
+ apiUrl: (parent: import("../model/Concept").Concept) => string;
17
+ directType: (parent: import("../model/Concept").Concept) => string;
18
+ isPackageBrand: (parent: import("../model/Concept").Concept) => boolean;
19
+ id: (parent: import("../model/Concept").Concept) => string;
20
+ predicate: (parent: import("../model/Concept").Concept) => string;
21
+ prefLabel: (parent: import("../model/Concept").Concept) => string;
22
+ type: (parent: import("../model/Concept").Concept) => string | null;
23
+ types: (parent: import("../model/Concept").Concept) => string[];
24
+ url: (parent: import("../model/Concept").Concept, args: Partial<import("../generated").ConceptInterfaceUrlArgs>) => Promise<string>;
25
+ };
26
+ Author: {
27
+ person: (parent: import("../model/Concept").Concept, _: {}, context: import("..").QueryContext) => Promise<import("../model/Person").Person>;
28
+ __resolveType: (parent: import("../model/Concept").Concept) => "Concept" | "Author";
29
+ apiUrl: (parent: import("../model/Concept").Concept) => string;
30
+ directType: (parent: import("../model/Concept").Concept) => string;
31
+ isPackageBrand: (parent: import("../model/Concept").Concept) => boolean;
32
+ id: (parent: import("../model/Concept").Concept) => string;
33
+ predicate: (parent: import("../model/Concept").Concept) => string;
34
+ prefLabel: (parent: import("../model/Concept").Concept) => string;
35
+ type: (parent: import("../model/Concept").Concept) => string | null;
36
+ types: (parent: import("../model/Concept").Concept) => string[];
37
+ url: (parent: import("../model/Concept").Concept, args: Partial<import("../generated").ConceptInterfaceUrlArgs>) => Promise<string>;
38
+ };
4
39
  };
5
40
  export default resolvers;
@@ -1,16 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const conceptResolvers = {
4
+ __resolveType: (parent) => (parent.isAuthor() ? 'Author' : 'Concept'),
5
+ apiUrl: (parent) => parent.apiUrl(),
6
+ directType: (parent) => parent.directType(),
7
+ isPackageBrand: (parent) => parent.isPackageBrand(),
8
+ id: (parent) => parent.uuid(),
9
+ predicate: (parent) => parent.predicate(),
10
+ prefLabel: (parent) => parent.prefLabel(),
11
+ type: (parent) => parent.type(),
12
+ types: (parent) => parent.types(),
13
+ url: async (parent, args) => parent.url(args),
14
+ };
3
15
  const resolvers = {
4
- Concept: {
5
- apiUrl: (parent) => parent.apiUrl(),
6
- directType: (parent) => parent.directType(),
7
- isPackageBrand: (parent) => parent.isPackageBrand(),
8
- id: (parent) => parent.uuid(),
9
- predicate: (parent) => parent.predicate(),
10
- prefLabel: (parent) => parent.prefLabel(),
11
- type: (parent) => parent.type(),
12
- types: (parent) => parent.types(),
13
- url: async (parent, args) => parent.url(args),
16
+ ConceptInterface: conceptResolvers,
17
+ Concept: conceptResolvers,
18
+ Author: {
19
+ ...conceptResolvers,
20
+ person: (parent, _, context) => context.dataSources.capi.getPerson(parent.uuid()),
14
21
  },
15
22
  };
16
23
  exports.default = resolvers;
@@ -1 +1 @@
1
- {"version":3,"file":"concept.js","sourceRoot":"","sources":["../../src/resolvers/concept.ts"],"names":[],"mappings":";;AAEA,MAAM,SAAS,GAAkC;IAC/C,OAAO,EAAE;QACP,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE;QACnC,UAAU,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE;QAC3C,cAAc,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,cAAc,EAAE;QACnD,EAAE,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE;QAC7B,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE;QACzC,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE;QACzC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE;QAC/B,KAAK,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;QACjC,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;KAC9C;CACF,CAAA;AAED,kBAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"concept.js","sourceRoot":"","sources":["../../src/resolvers/concept.ts"],"names":[],"mappings":";;AAMA,MAAM,gBAAgB,GAAG;IACvB,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IACrE,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE;IACnC,UAAU,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE;IAC3C,cAAc,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,cAAc,EAAE;IACnD,EAAE,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE;IAC7B,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE;IACzC,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE;IACzC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE;IAC/B,KAAK,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;IACjC,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;CACV,CAAA;AAErC,MAAM,SAAS,GAAG;IAChB,gBAAgB,EAAE,gBAAgB;IAClC,OAAO,EAAE,gBAAgB;IACzB,MAAM,EAAE;QACN,GAAG,gBAAgB;QACnB,MAAM,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,CAC7B,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KACpD;CAKF,CAAA;AAED,kBAAe,SAAS,CAAA"}
@@ -1,9 +1,13 @@
1
1
  import { ContentTree as ContentTreeNamespace } from '@financial-times/content-tree';
2
2
  import ContentTree = ContentTreeNamespace.transit;
3
- export interface AuthorLink extends ContentTree.Parent {
4
- type: 'author-link';
5
- href: string;
6
- children: ContentTree.Text[];
3
+ export interface Byline extends ContentTree.Parent {
4
+ type: 'byline';
5
+ children: (ContentTree.Text | Author)[];
6
+ }
7
+ export interface Author extends ContentTree.Parent {
8
+ type: 'author';
9
+ id: string;
10
+ children: [ContentTree.Text];
7
11
  }
8
12
  export interface Cite extends ContentTree.Node {
9
13
  type: 'cite';
@@ -19,7 +23,7 @@ export interface RawImage extends ContentTree.Node {
19
23
  height?: number;
20
24
  width?: number;
21
25
  }
22
- export interface ContentTreePullquote extends ContentTree.Pullquote {
26
+ export interface Pullquote extends ContentTree.Pullquote {
23
27
  children: ContentTree.ImageSet[];
24
28
  }
25
29
  export type MainImage = Omit<ContentTree.ImageSet, 'type'> & {
@@ -31,12 +35,9 @@ export type MainImageRaw = Omit<RawImage, 'type'> & {
31
35
  export interface Video extends ContentTree.Node {
32
36
  type: 'video';
33
37
  id: string;
38
+ title?: string;
34
39
  embedded: boolean;
35
40
  }
36
- export interface YoutubeVideo extends ContentTree.Node {
37
- type: 'youtube-video';
38
- url: string;
39
- }
40
41
  export interface OldClip extends ContentTree.Node {
41
42
  type: 'clip';
42
43
  url: string;
@@ -104,5 +105,12 @@ export interface Body extends ContentTree.Parent {
104
105
  version: number;
105
106
  children: BodyBlock[];
106
107
  }
107
- export type BodyBlock = ContentTree.Paragraph | ContentTree.Heading | ContentTree.ImageSet | ContentTree.BigNumber | ContentTree.CustomCodeComponent | ContentTree.Layout | ContentTree.List | ContentTree.Blockquote | ContentTree.Pullquote | ContentTree.ScrollyBlock | ContentTree.ThematicBreak | Table | Recommended | ContentTree.Tweet | Video | YoutubeVideo;
108
- export type AnyNode = ContentTree.Text | ContentTree.Break | ContentTree.ThematicBreak | ContentTree.Paragraph | ContentTree.Heading | ContentTree.Strong | ContentTree.Emphasis | ContentTree.Strikethrough | ContentTree.Link | ContentTree.List | ContentTree.ListItem | ContentTree.Blockquote | ContentTree.Pullquote | ContentTree.ImageSet | ContentTree.CustomCodeComponent | ContentTree.Root | Body | ClipSet | OldClip | Recommended | ContentTree.Tweet | ContentTree.Flourish | ContentTree.BigNumber | ContentTree.ScrollyBlock | ContentTree.ScrollySection | ContentTree.ScrollyCopy | ContentTree.ScrollyHeading | ContentTree.ScrollyImage | ContentTree.Layout | ContentTree.LayoutSlot | ContentTree.LayoutImage | Table | TableCaption | TableFooter | TableBody | TableRow | TableCell | Video | YoutubeVideo | MainImage | MainImageRaw | RawImage | AuthorLink | Cite;
108
+ export type Image = Omit<ContentTree.Image, 'format'> & {
109
+ format: 'standard' | 'standard-inline' | 'desktop' | 'mobile' | 'wide' | 'square' | 'square-ftedit' | 'portrait' | 'landscape';
110
+ };
111
+ export type Flourish = Omit<ContentTree.Flourish, 'layoutWidth' | 'fallbackImage'> & {
112
+ layoutWidth?: string;
113
+ fallbackImage?: Image;
114
+ };
115
+ export type BodyBlock = ContentTree.Paragraph | ContentTree.Heading | ContentTree.ImageSet | ContentTree.BigNumber | ContentTree.CustomCodeComponent | ContentTree.Layout | ContentTree.List | ContentTree.Blockquote | Pullquote | ContentTree.ScrollyBlock | ContentTree.ThematicBreak | Table | Recommended | ContentTree.Tweet | Video | ContentTree.YoutubeVideo;
116
+ export type AnyNode = ContentTree.Text | ContentTree.Break | ContentTree.ThematicBreak | ContentTree.Paragraph | ContentTree.Heading | ContentTree.Strong | ContentTree.Emphasis | ContentTree.Strikethrough | ContentTree.Link | ContentTree.List | ContentTree.ListItem | ContentTree.Blockquote | Pullquote | ContentTree.ImageSet | ContentTree.CustomCodeComponent | ContentTree.Root | Body | ClipSet | OldClip | Recommended | ContentTree.Tweet | Flourish | ContentTree.BigNumber | ContentTree.ScrollyBlock | ContentTree.ScrollySection | ContentTree.ScrollyCopy | ContentTree.ScrollyHeading | ContentTree.ScrollyImage | ContentTree.Layout | ContentTree.LayoutSlot | ContentTree.LayoutImage | Table | TableCaption | TableFooter | TableBody | TableRow | TableCell | Video | ContentTree.YoutubeVideo | MainImage | MainImageRaw | RawImage | Byline | Author | Cite;
@@ -0,0 +1,4 @@
1
+ export declare const Author: {
2
+ type: (parent: import(".").ReferenceWithCAPIData<import("../Workarounds").Author>) => "author";
3
+ concept: (parent: import(".").ReferenceWithCAPIData<import("../Workarounds").Author>) => import("../../../model/Concept").Concept | null;
4
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Author = void 0;
4
+ const Concept_1 = require("../../../model/Concept");
5
+ exports.Author = {
6
+ type: (parent) => parent.reference.type,
7
+ concept: (parent) => {
8
+ const authorAnnotations = parent.contentApiData?.annotations({
9
+ byPredicate: Concept_1.predicates.hasAuthor,
10
+ }) ?? [];
11
+ return (authorAnnotations.find((concept) => concept.uuid() === parent.reference.id) ?? null);
12
+ },
13
+ };
14
+ //# sourceMappingURL=Author.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Author.js","sourceRoot":"","sources":["../../../../src/resolvers/content-tree/references/Author.ts"],"names":[],"mappings":";;;AACA,oDAAmD;AAEtC,QAAA,MAAM,GAAG;IACpB,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI;IACvC,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;QAClB,MAAM,iBAAiB,GACrB,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC;YACjC,WAAW,EAAE,oBAAU,CAAC,SAAS;SAClC,CAAC,IAAI,EAAE,CAAA;QAEV,OAAO,CACL,iBAAiB,CAAC,IAAI,CACpB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,MAAM,CAAC,SAAS,CAAC,EAAE,CACpD,IAAI,IAAI,CACV,CAAA;IACH,CAAC;CACiC,CAAA"}
@@ -30,7 +30,7 @@ export declare const ClipSet: {
30
30
  export declare const Accessibility: {
31
31
  captions: (parent: import("../../../generated").Omit<import("../../../generated").Accessibility, "transcript"> & {
32
32
  transcript: import("../../../generated").Maybe<import("../../../generated").ResolversParentTypes["RichText"]>;
33
- }) => readonly import("../../../generated").Maybe<import("../../../generated").Caption>[] | null;
33
+ }) => readonly import("../../../generated").Caption[] | null;
34
34
  transcript: (parent: import("../../../generated").Omit<import("../../../generated").Accessibility, "transcript"> & {
35
35
  transcript: import("../../../generated").Maybe<import("../../../generated").ResolversParentTypes["RichText"]>;
36
36
  }) => import("../../../generated").Maybe<RichText>;