ENUM
ImageResizeFit
# GraphQL Schema definition
1 enum ImageResizeFit { 2 3 # Crop to cover both provided dimensions 4 5 6 # Embed within both provided dimensions. 7 8 9 # Ignore the aspect ratio of the input and stretch to both provided dimensions. 10 11 12 # Preserving aspect ratio, resize the image to be as large as possible while 13 # ensuring its dimensions are less than or equal to both those specified. 14 15 16 # Preserving aspect ratio, resize the image to be as small as possible while 17 # ensuring its dimensions are greater than or equal to both those specified. Some 18 # of these values are based on the object-fit CSS property. 19 20 }