Skip to content

Commit

Permalink
Merge branch '4.3' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Jan 11, 2023
2 parents 7b8da66 + a235466 commit 283914c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/bundle/Resources/config/graphql/Field.types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ ImageFieldValue:
height:
type: "Int"
resolve: "@=value.height"
additionalData:
type: "ImageAdditionalData"
resolve: "@=value.additionalData"
variations:
type: "[ImageVariation]"
args:
Expand All @@ -51,6 +54,17 @@ ImageFieldValue:
description: "A variation identifier."
resolve: "@=resolver('ImageVariation', [value.value, args])"

ImageAdditionalData:
type: object
config:
fields:
focalPointX:
type: "Int"
description: "The X value of focal point"
focalPointY:
type: "Int"
description: "The Y value of focal point"

ImageVariation:
type: object
config:
Expand Down

0 comments on commit 283914c

Please sign in to comment.