@financial-times/cp-content-pipeline-schema 3.17.0 → 3.19.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 (48) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/generated/index.d.ts +23 -2
  3. package/lib/helpers/qualityWorkaround.d.ts +2 -0
  4. package/lib/helpers/qualityWorkaround.js +37 -0
  5. package/lib/helpers/qualityWorkaround.js.map +1 -0
  6. package/lib/model/Clip.d.ts +1 -17
  7. package/lib/model/Clip.js +27 -8
  8. package/lib/model/Clip.js.map +1 -1
  9. package/lib/model/Clip.test.js +77 -0
  10. package/lib/model/Clip.test.js.map +1 -1
  11. package/lib/model/Topper.d.ts +1 -0
  12. package/lib/model/Topper.js +6 -1
  13. package/lib/model/Topper.js.map +1 -1
  14. package/lib/model/schemas/capi/article.d.ts +18 -0
  15. package/lib/model/schemas/capi/audio.d.ts +14 -0
  16. package/lib/model/schemas/capi/base-schema.d.ts +42 -0
  17. package/lib/model/schemas/capi/base-schema.js +2 -0
  18. package/lib/model/schemas/capi/base-schema.js.map +1 -1
  19. package/lib/model/schemas/capi/content-package.d.ts +14 -0
  20. package/lib/model/schemas/capi/custom-code-component.d.ts +18 -0
  21. package/lib/model/schemas/capi/index.d.ts +96 -0
  22. package/lib/model/schemas/capi/live-blog-package.d.ts +18 -0
  23. package/lib/model/schemas/capi/placeholder.d.ts +18 -0
  24. package/lib/model/schemas/capi/video.d.ts +14 -0
  25. package/lib/resolvers/clip.d.ts +4 -9
  26. package/lib/resolvers/clip.js +3 -0
  27. package/lib/resolvers/clip.js.map +1 -1
  28. package/lib/resolvers/index.d.ts +6 -9
  29. package/lib/resolvers/topper.d.ts +2 -0
  30. package/lib/resolvers/topper.js +4 -2
  31. package/lib/resolvers/topper.js.map +1 -1
  32. package/lib/types/clip.d.ts +21 -0
  33. package/lib/types/clip.js +3 -0
  34. package/lib/types/clip.js.map +1 -0
  35. package/package.json +1 -1
  36. package/queries/article.graphql +6 -0
  37. package/src/generated/index.ts +23 -2
  38. package/src/helpers/qualityWorkaround.ts +44 -0
  39. package/src/model/Clip.test.ts +95 -0
  40. package/src/model/Clip.ts +33 -27
  41. package/src/model/Topper.ts +7 -1
  42. package/src/model/schemas/capi/base-schema.ts +2 -0
  43. package/src/resolvers/clip.ts +3 -0
  44. package/src/resolvers/topper.ts +4 -2
  45. package/src/types/clip.ts +23 -0
  46. package/tsconfig.tsbuildinfo +1 -1
  47. package/typedefs/clip.graphql +9 -0
  48. package/typedefs/topper.graphql +8 -2
@@ -855,6 +855,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
855
855
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
856
856
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
857
857
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
858
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
859
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
858
860
  }, "strip", import("zod").ZodTypeAny, {
859
861
  binaryUrl?: string | undefined;
860
862
  pixelWidth?: number | undefined;
@@ -863,6 +865,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
863
865
  duration?: number | undefined;
864
866
  mediaType?: string | undefined;
865
867
  videoCodec?: string | undefined;
868
+ quality?: string | undefined;
869
+ dppx?: number | undefined;
866
870
  }, {
867
871
  binaryUrl?: string | undefined;
868
872
  pixelWidth?: number | undefined;
@@ -871,6 +875,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
871
875
  duration?: number | undefined;
872
876
  mediaType?: string | undefined;
873
877
  videoCodec?: string | undefined;
878
+ quality?: string | undefined;
879
+ dppx?: number | undefined;
874
880
  }>, "many">;
875
881
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
876
882
  id: import("zod").ZodString;
@@ -1048,6 +1054,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1048
1054
  duration?: number | undefined;
1049
1055
  mediaType?: string | undefined;
1050
1056
  videoCodec?: string | undefined;
1057
+ quality?: string | undefined;
1058
+ dppx?: number | undefined;
1051
1059
  }[];
1052
1060
  format?: "standardInline" | "mobile" | undefined;
1053
1061
  poster?: {
@@ -1095,6 +1103,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1095
1103
  duration?: number | undefined;
1096
1104
  mediaType?: string | undefined;
1097
1105
  videoCodec?: string | undefined;
1106
+ quality?: string | undefined;
1107
+ dppx?: number | undefined;
1098
1108
  }[];
1099
1109
  format?: "standardInline" | "mobile" | undefined;
1100
1110
  poster?: {
@@ -1181,6 +1191,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1181
1191
  duration?: number | undefined;
1182
1192
  mediaType?: string | undefined;
1183
1193
  videoCodec?: string | undefined;
1194
+ quality?: string | undefined;
1195
+ dppx?: number | undefined;
1184
1196
  }[];
1185
1197
  format?: "standardInline" | "mobile" | undefined;
1186
1198
  poster?: {
@@ -1249,6 +1261,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1249
1261
  duration?: number | undefined;
1250
1262
  mediaType?: string | undefined;
1251
1263
  videoCodec?: string | undefined;
1264
+ quality?: string | undefined;
1265
+ dppx?: number | undefined;
1252
1266
  }[];
1253
1267
  format?: "standardInline" | "mobile" | undefined;
1254
1268
  poster?: {
@@ -1730,6 +1744,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1730
1744
  duration?: number | undefined;
1731
1745
  mediaType?: string | undefined;
1732
1746
  videoCodec?: string | undefined;
1747
+ quality?: string | undefined;
1748
+ dppx?: number | undefined;
1733
1749
  }[];
1734
1750
  format?: "standardInline" | "mobile" | undefined;
1735
1751
  poster?: {
@@ -2014,6 +2030,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
2014
2030
  duration?: number | undefined;
2015
2031
  mediaType?: string | undefined;
2016
2032
  videoCodec?: string | undefined;
2033
+ quality?: string | undefined;
2034
+ dppx?: number | undefined;
2017
2035
  }[];
2018
2036
  format?: "standardInline" | "mobile" | undefined;
2019
2037
  poster?: {
@@ -2938,6 +2956,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
2938
2956
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
2939
2957
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
2940
2958
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
2959
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
2960
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
2941
2961
  }, "strip", import("zod").ZodTypeAny, {
2942
2962
  binaryUrl?: string | undefined;
2943
2963
  pixelWidth?: number | undefined;
@@ -2946,6 +2966,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
2946
2966
  duration?: number | undefined;
2947
2967
  mediaType?: string | undefined;
2948
2968
  videoCodec?: string | undefined;
2969
+ quality?: string | undefined;
2970
+ dppx?: number | undefined;
2949
2971
  }, {
2950
2972
  binaryUrl?: string | undefined;
2951
2973
  pixelWidth?: number | undefined;
@@ -2954,6 +2976,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
2954
2976
  duration?: number | undefined;
2955
2977
  mediaType?: string | undefined;
2956
2978
  videoCodec?: string | undefined;
2979
+ quality?: string | undefined;
2980
+ dppx?: number | undefined;
2957
2981
  }>, "many">;
2958
2982
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
2959
2983
  id: import("zod").ZodString;
@@ -3131,6 +3155,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3131
3155
  duration?: number | undefined;
3132
3156
  mediaType?: string | undefined;
3133
3157
  videoCodec?: string | undefined;
3158
+ quality?: string | undefined;
3159
+ dppx?: number | undefined;
3134
3160
  }[];
3135
3161
  format?: "standardInline" | "mobile" | undefined;
3136
3162
  poster?: {
@@ -3178,6 +3204,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3178
3204
  duration?: number | undefined;
3179
3205
  mediaType?: string | undefined;
3180
3206
  videoCodec?: string | undefined;
3207
+ quality?: string | undefined;
3208
+ dppx?: number | undefined;
3181
3209
  }[];
3182
3210
  format?: "standardInline" | "mobile" | undefined;
3183
3211
  poster?: {
@@ -3264,6 +3292,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3264
3292
  duration?: number | undefined;
3265
3293
  mediaType?: string | undefined;
3266
3294
  videoCodec?: string | undefined;
3295
+ quality?: string | undefined;
3296
+ dppx?: number | undefined;
3267
3297
  }[];
3268
3298
  format?: "standardInline" | "mobile" | undefined;
3269
3299
  poster?: {
@@ -3332,6 +3362,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3332
3362
  duration?: number | undefined;
3333
3363
  mediaType?: string | undefined;
3334
3364
  videoCodec?: string | undefined;
3365
+ quality?: string | undefined;
3366
+ dppx?: number | undefined;
3335
3367
  }[];
3336
3368
  format?: "standardInline" | "mobile" | undefined;
3337
3369
  poster?: {
@@ -3790,6 +3822,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3790
3822
  duration?: number | undefined;
3791
3823
  mediaType?: string | undefined;
3792
3824
  videoCodec?: string | undefined;
3825
+ quality?: string | undefined;
3826
+ dppx?: number | undefined;
3793
3827
  }[];
3794
3828
  format?: "standardInline" | "mobile" | undefined;
3795
3829
  poster?: {
@@ -4051,6 +4085,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
4051
4085
  duration?: number | undefined;
4052
4086
  mediaType?: string | undefined;
4053
4087
  videoCodec?: string | undefined;
4088
+ quality?: string | undefined;
4089
+ dppx?: number | undefined;
4054
4090
  }[];
4055
4091
  format?: "standardInline" | "mobile" | undefined;
4056
4092
  poster?: {
@@ -4975,6 +5011,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
4975
5011
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
4976
5012
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
4977
5013
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
5014
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
5015
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
4978
5016
  }, "strip", import("zod").ZodTypeAny, {
4979
5017
  binaryUrl?: string | undefined;
4980
5018
  pixelWidth?: number | undefined;
@@ -4983,6 +5021,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
4983
5021
  duration?: number | undefined;
4984
5022
  mediaType?: string | undefined;
4985
5023
  videoCodec?: string | undefined;
5024
+ quality?: string | undefined;
5025
+ dppx?: number | undefined;
4986
5026
  }, {
4987
5027
  binaryUrl?: string | undefined;
4988
5028
  pixelWidth?: number | undefined;
@@ -4991,6 +5031,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
4991
5031
  duration?: number | undefined;
4992
5032
  mediaType?: string | undefined;
4993
5033
  videoCodec?: string | undefined;
5034
+ quality?: string | undefined;
5035
+ dppx?: number | undefined;
4994
5036
  }>, "many">;
4995
5037
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
4996
5038
  id: import("zod").ZodString;
@@ -5168,6 +5210,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5168
5210
  duration?: number | undefined;
5169
5211
  mediaType?: string | undefined;
5170
5212
  videoCodec?: string | undefined;
5213
+ quality?: string | undefined;
5214
+ dppx?: number | undefined;
5171
5215
  }[];
5172
5216
  format?: "standardInline" | "mobile" | undefined;
5173
5217
  poster?: {
@@ -5215,6 +5259,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5215
5259
  duration?: number | undefined;
5216
5260
  mediaType?: string | undefined;
5217
5261
  videoCodec?: string | undefined;
5262
+ quality?: string | undefined;
5263
+ dppx?: number | undefined;
5218
5264
  }[];
5219
5265
  format?: "standardInline" | "mobile" | undefined;
5220
5266
  poster?: {
@@ -5301,6 +5347,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5301
5347
  duration?: number | undefined;
5302
5348
  mediaType?: string | undefined;
5303
5349
  videoCodec?: string | undefined;
5350
+ quality?: string | undefined;
5351
+ dppx?: number | undefined;
5304
5352
  }[];
5305
5353
  format?: "standardInline" | "mobile" | undefined;
5306
5354
  poster?: {
@@ -5369,6 +5417,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5369
5417
  duration?: number | undefined;
5370
5418
  mediaType?: string | undefined;
5371
5419
  videoCodec?: string | undefined;
5420
+ quality?: string | undefined;
5421
+ dppx?: number | undefined;
5372
5422
  }[];
5373
5423
  format?: "standardInline" | "mobile" | undefined;
5374
5424
  poster?: {
@@ -6684,6 +6734,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6684
6734
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
6685
6735
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
6686
6736
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
6737
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
6738
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
6687
6739
  }, "strip", import("zod").ZodTypeAny, {
6688
6740
  binaryUrl?: string | undefined;
6689
6741
  pixelWidth?: number | undefined;
@@ -6692,6 +6744,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6692
6744
  duration?: number | undefined;
6693
6745
  mediaType?: string | undefined;
6694
6746
  videoCodec?: string | undefined;
6747
+ quality?: string | undefined;
6748
+ dppx?: number | undefined;
6695
6749
  }, {
6696
6750
  binaryUrl?: string | undefined;
6697
6751
  pixelWidth?: number | undefined;
@@ -6700,6 +6754,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6700
6754
  duration?: number | undefined;
6701
6755
  mediaType?: string | undefined;
6702
6756
  videoCodec?: string | undefined;
6757
+ quality?: string | undefined;
6758
+ dppx?: number | undefined;
6703
6759
  }>, "many">;
6704
6760
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
6705
6761
  id: import("zod").ZodString;
@@ -6877,6 +6933,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6877
6933
  duration?: number | undefined;
6878
6934
  mediaType?: string | undefined;
6879
6935
  videoCodec?: string | undefined;
6936
+ quality?: string | undefined;
6937
+ dppx?: number | undefined;
6880
6938
  }[];
6881
6939
  format?: "standardInline" | "mobile" | undefined;
6882
6940
  poster?: {
@@ -6924,6 +6982,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6924
6982
  duration?: number | undefined;
6925
6983
  mediaType?: string | undefined;
6926
6984
  videoCodec?: string | undefined;
6985
+ quality?: string | undefined;
6986
+ dppx?: number | undefined;
6927
6987
  }[];
6928
6988
  format?: "standardInline" | "mobile" | undefined;
6929
6989
  poster?: {
@@ -7010,6 +7070,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
7010
7070
  duration?: number | undefined;
7011
7071
  mediaType?: string | undefined;
7012
7072
  videoCodec?: string | undefined;
7073
+ quality?: string | undefined;
7074
+ dppx?: number | undefined;
7013
7075
  }[];
7014
7076
  format?: "standardInline" | "mobile" | undefined;
7015
7077
  poster?: {
@@ -7078,6 +7140,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
7078
7140
  duration?: number | undefined;
7079
7141
  mediaType?: string | undefined;
7080
7142
  videoCodec?: string | undefined;
7143
+ quality?: string | undefined;
7144
+ dppx?: number | undefined;
7081
7145
  }[];
7082
7146
  format?: "standardInline" | "mobile" | undefined;
7083
7147
  poster?: {
@@ -8505,6 +8569,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8505
8569
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
8506
8570
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
8507
8571
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
8572
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
8573
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
8508
8574
  }, "strip", import("zod").ZodTypeAny, {
8509
8575
  binaryUrl?: string | undefined;
8510
8576
  pixelWidth?: number | undefined;
@@ -8513,6 +8579,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8513
8579
  duration?: number | undefined;
8514
8580
  mediaType?: string | undefined;
8515
8581
  videoCodec?: string | undefined;
8582
+ quality?: string | undefined;
8583
+ dppx?: number | undefined;
8516
8584
  }, {
8517
8585
  binaryUrl?: string | undefined;
8518
8586
  pixelWidth?: number | undefined;
@@ -8521,6 +8589,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8521
8589
  duration?: number | undefined;
8522
8590
  mediaType?: string | undefined;
8523
8591
  videoCodec?: string | undefined;
8592
+ quality?: string | undefined;
8593
+ dppx?: number | undefined;
8524
8594
  }>, "many">;
8525
8595
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
8526
8596
  id: import("zod").ZodString;
@@ -8698,6 +8768,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8698
8768
  duration?: number | undefined;
8699
8769
  mediaType?: string | undefined;
8700
8770
  videoCodec?: string | undefined;
8771
+ quality?: string | undefined;
8772
+ dppx?: number | undefined;
8701
8773
  }[];
8702
8774
  format?: "standardInline" | "mobile" | undefined;
8703
8775
  poster?: {
@@ -8745,6 +8817,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8745
8817
  duration?: number | undefined;
8746
8818
  mediaType?: string | undefined;
8747
8819
  videoCodec?: string | undefined;
8820
+ quality?: string | undefined;
8821
+ dppx?: number | undefined;
8748
8822
  }[];
8749
8823
  format?: "standardInline" | "mobile" | undefined;
8750
8824
  poster?: {
@@ -8831,6 +8905,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8831
8905
  duration?: number | undefined;
8832
8906
  mediaType?: string | undefined;
8833
8907
  videoCodec?: string | undefined;
8908
+ quality?: string | undefined;
8909
+ dppx?: number | undefined;
8834
8910
  }[];
8835
8911
  format?: "standardInline" | "mobile" | undefined;
8836
8912
  poster?: {
@@ -8899,6 +8975,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8899
8975
  duration?: number | undefined;
8900
8976
  mediaType?: string | undefined;
8901
8977
  videoCodec?: string | undefined;
8978
+ quality?: string | undefined;
8979
+ dppx?: number | undefined;
8902
8980
  }[];
8903
8981
  format?: "standardInline" | "mobile" | undefined;
8904
8982
  poster?: {
@@ -9236,6 +9314,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
9236
9314
  duration?: number | undefined;
9237
9315
  mediaType?: string | undefined;
9238
9316
  videoCodec?: string | undefined;
9317
+ quality?: string | undefined;
9318
+ dppx?: number | undefined;
9239
9319
  }[];
9240
9320
  format?: "standardInline" | "mobile" | undefined;
9241
9321
  poster?: {
@@ -9376,6 +9456,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
9376
9456
  duration?: number | undefined;
9377
9457
  mediaType?: string | undefined;
9378
9458
  videoCodec?: string | undefined;
9459
+ quality?: string | undefined;
9460
+ dppx?: number | undefined;
9379
9461
  }[];
9380
9462
  format?: "standardInline" | "mobile" | undefined;
9381
9463
  poster?: {
@@ -10291,6 +10373,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
10291
10373
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
10292
10374
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
10293
10375
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
10376
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
10377
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
10294
10378
  }, "strip", import("zod").ZodTypeAny, {
10295
10379
  binaryUrl?: string | undefined;
10296
10380
  pixelWidth?: number | undefined;
@@ -10299,6 +10383,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
10299
10383
  duration?: number | undefined;
10300
10384
  mediaType?: string | undefined;
10301
10385
  videoCodec?: string | undefined;
10386
+ quality?: string | undefined;
10387
+ dppx?: number | undefined;
10302
10388
  }, {
10303
10389
  binaryUrl?: string | undefined;
10304
10390
  pixelWidth?: number | undefined;
@@ -10307,6 +10393,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
10307
10393
  duration?: number | undefined;
10308
10394
  mediaType?: string | undefined;
10309
10395
  videoCodec?: string | undefined;
10396
+ quality?: string | undefined;
10397
+ dppx?: number | undefined;
10310
10398
  }>, "many">;
10311
10399
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
10312
10400
  id: import("zod").ZodString;
@@ -10484,6 +10572,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
10484
10572
  duration?: number | undefined;
10485
10573
  mediaType?: string | undefined;
10486
10574
  videoCodec?: string | undefined;
10575
+ quality?: string | undefined;
10576
+ dppx?: number | undefined;
10487
10577
  }[];
10488
10578
  format?: "standardInline" | "mobile" | undefined;
10489
10579
  poster?: {
@@ -10531,6 +10621,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
10531
10621
  duration?: number | undefined;
10532
10622
  mediaType?: string | undefined;
10533
10623
  videoCodec?: string | undefined;
10624
+ quality?: string | undefined;
10625
+ dppx?: number | undefined;
10534
10626
  }[];
10535
10627
  format?: "standardInline" | "mobile" | undefined;
10536
10628
  poster?: {
@@ -10617,6 +10709,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
10617
10709
  duration?: number | undefined;
10618
10710
  mediaType?: string | undefined;
10619
10711
  videoCodec?: string | undefined;
10712
+ quality?: string | undefined;
10713
+ dppx?: number | undefined;
10620
10714
  }[];
10621
10715
  format?: "standardInline" | "mobile" | undefined;
10622
10716
  poster?: {
@@ -10685,6 +10779,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
10685
10779
  duration?: number | undefined;
10686
10780
  mediaType?: string | undefined;
10687
10781
  videoCodec?: string | undefined;
10782
+ quality?: string | undefined;
10783
+ dppx?: number | undefined;
10688
10784
  }[];
10689
10785
  format?: "standardInline" | "mobile" | undefined;
10690
10786
  poster?: {
@@ -853,6 +853,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
853
853
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
854
854
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
855
855
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
856
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
857
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
856
858
  }, "strip", import("zod").ZodTypeAny, {
857
859
  binaryUrl?: string | undefined;
858
860
  pixelWidth?: number | undefined;
@@ -861,6 +863,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
861
863
  duration?: number | undefined;
862
864
  mediaType?: string | undefined;
863
865
  videoCodec?: string | undefined;
866
+ quality?: string | undefined;
867
+ dppx?: number | undefined;
864
868
  }, {
865
869
  binaryUrl?: string | undefined;
866
870
  pixelWidth?: number | undefined;
@@ -869,6 +873,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
869
873
  duration?: number | undefined;
870
874
  mediaType?: string | undefined;
871
875
  videoCodec?: string | undefined;
876
+ quality?: string | undefined;
877
+ dppx?: number | undefined;
872
878
  }>, "many">;
873
879
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
874
880
  id: import("zod").ZodString;
@@ -1046,6 +1052,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
1046
1052
  duration?: number | undefined;
1047
1053
  mediaType?: string | undefined;
1048
1054
  videoCodec?: string | undefined;
1055
+ quality?: string | undefined;
1056
+ dppx?: number | undefined;
1049
1057
  }[];
1050
1058
  format?: "standardInline" | "mobile" | undefined;
1051
1059
  poster?: {
@@ -1093,6 +1101,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
1093
1101
  duration?: number | undefined;
1094
1102
  mediaType?: string | undefined;
1095
1103
  videoCodec?: string | undefined;
1104
+ quality?: string | undefined;
1105
+ dppx?: number | undefined;
1096
1106
  }[];
1097
1107
  format?: "standardInline" | "mobile" | undefined;
1098
1108
  poster?: {
@@ -1179,6 +1189,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
1179
1189
  duration?: number | undefined;
1180
1190
  mediaType?: string | undefined;
1181
1191
  videoCodec?: string | undefined;
1192
+ quality?: string | undefined;
1193
+ dppx?: number | undefined;
1182
1194
  }[];
1183
1195
  format?: "standardInline" | "mobile" | undefined;
1184
1196
  poster?: {
@@ -1247,6 +1259,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
1247
1259
  duration?: number | undefined;
1248
1260
  mediaType?: string | undefined;
1249
1261
  videoCodec?: string | undefined;
1262
+ quality?: string | undefined;
1263
+ dppx?: number | undefined;
1250
1264
  }[];
1251
1265
  format?: "standardInline" | "mobile" | undefined;
1252
1266
  poster?: {
@@ -1705,6 +1719,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
1705
1719
  duration?: number | undefined;
1706
1720
  mediaType?: string | undefined;
1707
1721
  videoCodec?: string | undefined;
1722
+ quality?: string | undefined;
1723
+ dppx?: number | undefined;
1708
1724
  }[];
1709
1725
  format?: "standardInline" | "mobile" | undefined;
1710
1726
  poster?: {
@@ -1966,6 +1982,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<Pick<{
1966
1982
  duration?: number | undefined;
1967
1983
  mediaType?: string | undefined;
1968
1984
  videoCodec?: string | undefined;
1985
+ quality?: string | undefined;
1986
+ dppx?: number | undefined;
1969
1987
  }[];
1970
1988
  format?: "standardInline" | "mobile" | undefined;
1971
1989
  poster?: {
@@ -853,6 +853,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
853
853
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
854
854
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
855
855
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
856
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
857
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
856
858
  }, "strip", import("zod").ZodTypeAny, {
857
859
  binaryUrl?: string | undefined;
858
860
  pixelWidth?: number | undefined;
@@ -861,6 +863,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
861
863
  duration?: number | undefined;
862
864
  mediaType?: string | undefined;
863
865
  videoCodec?: string | undefined;
866
+ quality?: string | undefined;
867
+ dppx?: number | undefined;
864
868
  }, {
865
869
  binaryUrl?: string | undefined;
866
870
  pixelWidth?: number | undefined;
@@ -869,6 +873,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
869
873
  duration?: number | undefined;
870
874
  mediaType?: string | undefined;
871
875
  videoCodec?: string | undefined;
876
+ quality?: string | undefined;
877
+ dppx?: number | undefined;
872
878
  }>, "many">;
873
879
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
874
880
  id: import("zod").ZodString;
@@ -1046,6 +1052,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
1046
1052
  duration?: number | undefined;
1047
1053
  mediaType?: string | undefined;
1048
1054
  videoCodec?: string | undefined;
1055
+ quality?: string | undefined;
1056
+ dppx?: number | undefined;
1049
1057
  }[];
1050
1058
  format?: "standardInline" | "mobile" | undefined;
1051
1059
  poster?: {
@@ -1093,6 +1101,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
1093
1101
  duration?: number | undefined;
1094
1102
  mediaType?: string | undefined;
1095
1103
  videoCodec?: string | undefined;
1104
+ quality?: string | undefined;
1105
+ dppx?: number | undefined;
1096
1106
  }[];
1097
1107
  format?: "standardInline" | "mobile" | undefined;
1098
1108
  poster?: {
@@ -1179,6 +1189,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
1179
1189
  duration?: number | undefined;
1180
1190
  mediaType?: string | undefined;
1181
1191
  videoCodec?: string | undefined;
1192
+ quality?: string | undefined;
1193
+ dppx?: number | undefined;
1182
1194
  }[];
1183
1195
  format?: "standardInline" | "mobile" | undefined;
1184
1196
  poster?: {
@@ -1247,6 +1259,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
1247
1259
  duration?: number | undefined;
1248
1260
  mediaType?: string | undefined;
1249
1261
  videoCodec?: string | undefined;
1262
+ quality?: string | undefined;
1263
+ dppx?: number | undefined;
1250
1264
  }[];
1251
1265
  format?: "standardInline" | "mobile" | undefined;
1252
1266
  poster?: {
@@ -1728,6 +1742,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
1728
1742
  duration?: number | undefined;
1729
1743
  mediaType?: string | undefined;
1730
1744
  videoCodec?: string | undefined;
1745
+ quality?: string | undefined;
1746
+ dppx?: number | undefined;
1731
1747
  }[];
1732
1748
  format?: "standardInline" | "mobile" | undefined;
1733
1749
  poster?: {
@@ -2012,6 +2028,8 @@ export declare const placeholderSchema: import("zod").ZodObject<Pick<{
2012
2028
  duration?: number | undefined;
2013
2029
  mediaType?: string | undefined;
2014
2030
  videoCodec?: string | undefined;
2031
+ quality?: string | undefined;
2032
+ dppx?: number | undefined;
2015
2033
  }[];
2016
2034
  format?: "standardInline" | "mobile" | undefined;
2017
2035
  poster?: {
@@ -853,6 +853,8 @@ export declare const videoSchema: import("zod").ZodObject<Pick<{
853
853
  pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
854
854
  pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
855
855
  videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
856
+ quality: import("zod").ZodOptional<import("zod").ZodString>;
857
+ dppx: import("zod").ZodOptional<import("zod").ZodNumber>;
856
858
  }, "strip", import("zod").ZodTypeAny, {
857
859
  binaryUrl?: string | undefined;
858
860
  pixelWidth?: number | undefined;
@@ -861,6 +863,8 @@ export declare const videoSchema: import("zod").ZodObject<Pick<{
861
863
  duration?: number | undefined;
862
864
  mediaType?: string | undefined;
863
865
  videoCodec?: string | undefined;
866
+ quality?: string | undefined;
867
+ dppx?: number | undefined;
864
868
  }, {
865
869
  binaryUrl?: string | undefined;
866
870
  pixelWidth?: number | undefined;
@@ -869,6 +873,8 @@ export declare const videoSchema: import("zod").ZodObject<Pick<{
869
873
  duration?: number | undefined;
870
874
  mediaType?: string | undefined;
871
875
  videoCodec?: string | undefined;
876
+ quality?: string | undefined;
877
+ dppx?: number | undefined;
872
878
  }>, "many">;
873
879
  poster: import("zod").ZodOptional<import("zod").ZodObject<{
874
880
  id: import("zod").ZodString;
@@ -1046,6 +1052,8 @@ export declare const videoSchema: import("zod").ZodObject<Pick<{
1046
1052
  duration?: number | undefined;
1047
1053
  mediaType?: string | undefined;
1048
1054
  videoCodec?: string | undefined;
1055
+ quality?: string | undefined;
1056
+ dppx?: number | undefined;
1049
1057
  }[];
1050
1058
  format?: "standardInline" | "mobile" | undefined;
1051
1059
  poster?: {
@@ -1093,6 +1101,8 @@ export declare const videoSchema: import("zod").ZodObject<Pick<{
1093
1101
  duration?: number | undefined;
1094
1102
  mediaType?: string | undefined;
1095
1103
  videoCodec?: string | undefined;
1104
+ quality?: string | undefined;
1105
+ dppx?: number | undefined;
1096
1106
  }[];
1097
1107
  format?: "standardInline" | "mobile" | undefined;
1098
1108
  poster?: {
@@ -1179,6 +1189,8 @@ export declare const videoSchema: import("zod").ZodObject<Pick<{
1179
1189
  duration?: number | undefined;
1180
1190
  mediaType?: string | undefined;
1181
1191
  videoCodec?: string | undefined;
1192
+ quality?: string | undefined;
1193
+ dppx?: number | undefined;
1182
1194
  }[];
1183
1195
  format?: "standardInline" | "mobile" | undefined;
1184
1196
  poster?: {
@@ -1247,6 +1259,8 @@ export declare const videoSchema: import("zod").ZodObject<Pick<{
1247
1259
  duration?: number | undefined;
1248
1260
  mediaType?: string | undefined;
1249
1261
  videoCodec?: string | undefined;
1262
+ quality?: string | undefined;
1263
+ dppx?: number | undefined;
1250
1264
  }[];
1251
1265
  format?: "standardInline" | "mobile" | undefined;
1252
1266
  poster?: {
@@ -1,15 +1,7 @@
1
1
  declare const resolvers: {
2
2
  Clip: {
3
3
  __resolveType: () => string;
4
- dataSource: (clip: import("../model/Clip").Clip) => {
5
- binaryUrl: string;
6
- mediaType: string;
7
- audioCodec?: string;
8
- duration?: number;
9
- pixelHeight?: number;
10
- pixelWidth?: number;
11
- videoCodec?: string;
12
- }[];
4
+ dataSource: (clip: import("../model/Clip").Clip) => import("../types/clip").ClipSource[];
13
5
  type: (clip: import("../model/Clip").Clip) => string;
14
6
  format: (clip: import("../model/Clip").Clip) => "mobile" | "standard-inline";
15
7
  poster: (clip: import("../model/Clip").Clip) => string;
@@ -23,6 +15,9 @@ declare const resolvers: {
23
15
  pixelWidth: (parent: import("../generated").ClipSource) => number | null;
24
16
  pixelHeight: (parent: import("../generated").ClipSource) => number | null;
25
17
  videoCodec: (parent: import("../generated").ClipSource) => string | null;
18
+ quality: (parent: import("../generated").ClipSource) => string | null;
19
+ dppx: (parent: import("../generated").ClipSource) => number | null;
20
+ previousSourceWidth: (parent: import("../generated").ClipSource) => number | null;
26
21
  };
27
22
  };
28
23
  export default resolvers;