Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb9d1038

Browse files
committed
[Validator] Image Constraint - minPixels and maxPixels should be float
1 parentf049598 commitb9d1038

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎reference/constraints/Image.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ Parameter Description
341341
``maxPixels``
342342
~~~~~~~~~~~~~
343343

344-
**type**: ``integer``
344+
**type**: ``integer`` | ``float``
345345

346346
If set, the amount of pixels of the image file must be less than or equal to this
347347
value.
@@ -368,7 +368,7 @@ Parameter Description
368368
``maxRatio``
369369
~~~~~~~~~~~~
370370

371-
**type**: ``float``
371+
**type**: ``integer`` | ``float``
372372

373373
If set, the aspect ratio (``width / height``) of the image file must be less
374374
than or equal to this value.
@@ -465,7 +465,7 @@ Parameter Description
465465
``minPixels``
466466
~~~~~~~~~~~~~
467467

468-
**type**: ``integer``
468+
**type**: ``integer`` | ``float``
469469

470470
If set, the amount of pixels of the image file must be greater than or equal to this
471471
value.
@@ -492,7 +492,7 @@ Parameter Description
492492
``minRatio``
493493
~~~~~~~~~~~~
494494

495-
**type**: ``float``
495+
**type**: ``integer`` | ``float``
496496

497497
If set, the aspect ratio (``width / height``) of the image file must be greater
498498
than or equal to this value.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp