Skip to content

Commit 4692557

Browse files
authored
Merge pull request #1 from kedarguy/patch-1
Update resize values according to cloudinary docs
2 parents 85a2d9a + 038157a commit 4692557

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/utils/lib/constants/resize.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ export const RESIZE_TYPES = {
44
CROP: 'crop',
55
FILL: 'fill',
66
SCALE: 'scale',
7-
MIN_PAD: 'minimumPad',
7+
MIN_PAD: 'mpad',
88
FIT: 'fit',
99
PAD: 'pad',
10-
LIMIT_FIT: 'limitFit',
10+
LIMIT_FIT: 'limit',
1111
THUMBNAIL: 'thumb',
12-
LIMIT_FILL: 'limitFill',
13-
MIN_FIT: 'minimumFit',
14-
LIMIT_PAD: 'limitPad',
15-
FILL_PAD: 'fillPad'
16-
} as const
12+
LIMIT_FILL: 'lfill',
13+
MIN_FIT: 'mfit',
14+
LIMIT_PAD: 'lpad',
15+
FILL_PAD: 'fill_pad'
16+
} as const

0 commit comments

Comments
 (0)