|
@@ -24,6 +24,10 @@ export class VideoMediaMetadata extends BaseModel {
|
|
|
})
|
|
|
pixelHeight?: number;
|
|
|
|
|
|
+ // Size is meant to be integer, but since `IntField` represents only 4-bytes long number
|
|
|
+ // (sadly, `dataType: bigint` settings only fixes DB, but GraphQL server still uses 4-bytes)
|
|
|
+ // `NumericField` seems to always return string (when using transform directive number<->string)
|
|
|
+ // `FloatField` field fixes this issue.
|
|
|
@FloatField({
|
|
|
nullable: true,
|
|
|
description: `Video media size in bytes`,
|