|
1 | 1 | /** |
2 | | - * @see {@link https://docs.imagekit.io/features/image-transformations} |
| 2 | + * @link https://docs.imagekit.io/features/image-transformations |
3 | 3 | */ |
4 | 4 | const supportedTransforms: { [key: string]: string } = { |
5 | 5 | /** |
6 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#width-w} |
| 6 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#width-w |
7 | 7 | */ |
8 | 8 | width: "w", |
9 | 9 |
|
10 | 10 | /** |
11 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#height-h} |
| 11 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#height-h |
12 | 12 | */ |
13 | 13 | height: "h", |
14 | 14 |
|
15 | 15 | /** |
16 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#aspect-ratio-ar} |
| 16 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#aspect-ratio-ar |
17 | 17 | */ |
18 | 18 | aspectRatio: "ar", |
19 | 19 |
|
20 | 20 | /** |
21 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#quality-q} |
| 21 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#quality-q |
22 | 22 | */ |
23 | 23 | quality: "q", |
24 | 24 |
|
25 | 25 | /** |
26 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#crop-crop-modes-and-focus} |
| 26 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#crop-crop-modes-and-focus |
27 | 27 | */ |
28 | 28 | crop: "c", |
29 | 29 |
|
30 | 30 | /** |
31 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#crop-crop-modes-and-focus} |
| 31 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#crop-crop-modes-and-focus |
32 | 32 | */ |
33 | 33 | cropMode: "cm", |
34 | 34 |
|
35 | 35 | /** |
36 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#focus-fo} |
| 36 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#focus-fo |
37 | 37 | */ |
38 | 38 | focus: "fo", |
39 | 39 |
|
40 | 40 | /** |
41 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#examples-focus-using-cropped-image-coordinates} |
| 41 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#examples-focus-using-cropped-image-coordinates |
42 | 42 | */ |
43 | 43 | x: "x", |
44 | 44 |
|
45 | 45 | /** |
46 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#examples-focus-using-cropped-image-coordinates} |
| 46 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#examples-focus-using-cropped-image-coordinates |
47 | 47 | */ |
48 | 48 | y: "y", |
49 | 49 |
|
50 | 50 | /** |
51 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#format-f} |
| 51 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#format-f |
52 | 52 | */ |
53 | 53 | format: "f", |
54 | 54 |
|
55 | 55 | /** |
56 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#radius-r} |
| 56 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#radius-r |
57 | 57 | */ |
58 | 58 | radius: "r", |
59 | 59 |
|
60 | 60 | /** |
61 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#background-color-bg} |
| 61 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#background-color-bg |
62 | 62 | */ |
63 | 63 | background: "bg", |
64 | 64 |
|
65 | 65 | /** |
66 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#border-b} |
| 66 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#border-b |
67 | 67 | */ |
68 | 68 | border: "b", |
69 | 69 |
|
70 | 70 | /** |
71 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#rotate-rt} |
| 71 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#rotate-rt |
72 | 72 | */ |
73 | 73 | rotation: "rt", |
74 | 74 |
|
75 | 75 | /** |
76 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#rotate-rt} |
| 76 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#rotate-rt |
77 | 77 | */ |
78 | 78 | rotate: "rt", |
79 | 79 |
|
80 | 80 | /** |
81 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#blur-bl} |
| 81 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#blur-bl |
82 | 82 | */ |
83 | 83 | blur: "bl", |
84 | 84 |
|
85 | 85 | /** |
86 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#named-transformation-n} |
| 86 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#named-transformation-n |
87 | 87 | */ |
88 | 88 | named: "n", |
89 | 89 |
|
90 | 90 | /** |
91 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-oi} |
| 91 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-oi |
92 | 92 | */ |
93 | 93 | overlayImage: "oi", |
94 | 94 |
|
95 | 95 | /** |
96 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-aspect-ratio-oiar} |
| 96 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-aspect-ratio-oiar |
97 | 97 | */ |
98 | 98 | overlayImageAspectRatio: "oiar", |
99 | 99 |
|
100 | 100 | /** |
101 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-background-oibg} |
| 101 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-background-oibg |
102 | 102 | */ |
103 | 103 | overlayImageBackground: "oibg", |
104 | 104 |
|
105 | 105 | /** |
106 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-border-oib} |
| 106 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-border-oib |
107 | 107 | */ |
108 | 108 | overlayImageBorder: "oib", |
109 | 109 |
|
110 | 110 | /** |
111 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-dpr-oidpr} |
| 111 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-dpr-oidpr |
112 | 112 | */ |
113 | 113 | overlayImageDPR: "oidpr", |
114 | 114 |
|
115 | 115 | /** |
116 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-quality-oiq} |
| 116 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-quality-oiq |
117 | 117 | */ |
118 | 118 | overlayImageQuality: "oiq", |
119 | 119 |
|
120 | 120 | /** |
121 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-cropping} |
| 121 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-image-cropping |
122 | 122 | */ |
123 | 123 | overlayImageCropping: "oic", |
124 | 124 |
|
125 | 125 | /** |
126 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#trimming-of-the-overlay-image} |
| 126 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#trimming-of-the-overlay-image |
127 | 127 | */ |
128 | 128 | overlayImageTrim: "oit", |
129 | 129 |
|
130 | 130 | /** |
131 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-x-position-ox} |
| 131 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-x-position-ox |
132 | 132 | */ |
133 | 133 | overlayX: "ox", |
134 | 134 |
|
135 | 135 | /** |
136 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-y-position-oy} |
| 136 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-y-position-oy |
137 | 137 | */ |
138 | 138 | overlayY: "oy", |
139 | 139 |
|
140 | 140 | /** |
141 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-focus-ofo} |
| 141 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-focus-ofo |
142 | 142 | */ |
143 | 143 | overlayFocus: "ofo", |
144 | 144 |
|
145 | 145 | /** |
146 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-height-oh} |
| 146 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-height-oh |
147 | 147 | */ |
148 | 148 | overlayHeight: "oh", |
149 | 149 |
|
150 | 150 | /** |
151 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-width-ow} |
| 151 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-width-ow |
152 | 152 | */ |
153 | 153 | overlayWidth: "ow", |
154 | 154 |
|
155 | 155 | /** |
156 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-ot} |
| 156 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-ot |
157 | 157 | */ |
158 | 158 | overlayText: "ot", |
159 | 159 |
|
160 | 160 | /** |
161 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-size-ots} |
| 161 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-size-ots |
162 | 162 | */ |
163 | 163 | overlayTextFontSize: "ots", |
164 | 164 |
|
165 | 165 | /** |
166 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-font-otf} |
| 166 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-font-otf |
167 | 167 | */ |
168 | 168 | overlayTextFontFamily: "otf", |
169 | 169 |
|
170 | 170 | /** |
171 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-color-otc} |
| 171 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-color-otc |
172 | 172 | */ |
173 | 173 | overlayTextColor: "otc", |
174 | 174 |
|
175 | 175 | /** |
176 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-transparency-oa} |
| 176 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-transparency-oa |
177 | 177 | */ |
178 | 178 | overlayTextTransparency: "oa", |
179 | 179 |
|
180 | 180 | /** |
181 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-transparency-oa} |
| 181 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-transparency-oa |
182 | 182 | */ |
183 | 183 | overlayAlpha: "oa", |
184 | 184 |
|
185 | 185 | /** |
186 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-typography-ott} |
| 186 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-typography-ott |
187 | 187 | */ |
188 | 188 | overlayTextTypography: "ott", |
189 | 189 |
|
190 | 190 | /** |
191 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-background-obg} |
| 191 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-background-obg |
192 | 192 | */ |
193 | 193 | overlayBackground: "obg", |
194 | 194 |
|
195 | 195 | /** |
196 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-encoded-ote} |
| 196 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-encoded-ote |
197 | 197 | */ |
198 | 198 | overlayTextEncoded: "ote", |
199 | 199 |
|
200 | 200 | /** |
201 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-width-otw} |
| 201 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-width-otw |
202 | 202 | */ |
203 | 203 | overlayTextWidth: "otw", |
204 | 204 |
|
205 | 205 | /** |
206 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-background-otbg} |
| 206 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-background-otbg |
207 | 207 | */ |
208 | 208 | overlayTextBackground: "otbg", |
209 | 209 |
|
210 | 210 | /** |
211 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-padding-otp} |
| 211 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-padding-otp |
212 | 212 | */ |
213 | 213 | overlayTextPadding: "otp", |
214 | 214 |
|
215 | 215 | /** |
216 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-inner-alignment-otia} |
| 216 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-text-inner-alignment-otia |
217 | 217 | */ |
218 | 218 | overlayTextInnerAlignment: "otia", |
219 | 219 |
|
220 | 220 | /** |
221 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/overlay#overlay-radius-or} |
| 221 | + * @link https://docs.imagekit.io/features/image-transformations/overlay#overlay-radius-or |
222 | 222 | */ |
223 | 223 | overlayRadius: "or", |
224 | 224 |
|
225 | 225 | /** |
226 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#progressive-image-pr} |
| 226 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#progressive-image-pr |
227 | 227 | */ |
228 | 228 | progressive: "pr", |
229 | 229 |
|
230 | 230 | /** |
231 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#lossless-webp-and-png-lo} |
| 231 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#lossless-webp-and-png-lo |
232 | 232 | */ |
233 | 233 | lossless: "lo", |
234 | 234 |
|
235 | 235 | /** |
236 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#trim-edges-t} |
| 236 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#trim-edges-t |
237 | 237 | */ |
238 | 238 | trim: "t", |
239 | 239 |
|
240 | 240 | /** |
241 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#image-metadata-md} |
| 241 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#image-metadata-md |
242 | 242 | */ |
243 | 243 | metadata: "md", |
244 | 244 |
|
245 | 245 | /** |
246 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#color-profile-cp} |
| 246 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#color-profile-cp |
247 | 247 | */ |
248 | 248 | colorProfile: "cp", |
249 | 249 |
|
250 | 250 | /** |
251 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#default-image-di} |
| 251 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#default-image-di |
252 | 252 | */ |
253 | 253 | defaultImage: "di", |
254 | 254 |
|
255 | 255 | /** |
256 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#dpr-dpr} |
| 256 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#dpr-dpr |
257 | 257 | */ |
258 | 258 | dpr: "dpr", |
259 | 259 |
|
260 | 260 | /** |
261 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#sharpen-e-sharpen} |
| 261 | + * @link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#sharpen-e-sharpen |
262 | 262 | */ |
263 | 263 | effectSharpen: "e-sharpen", |
264 | 264 |
|
265 | 265 | /** |
266 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#unsharp-mask-e-usm} |
| 266 | + * @link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#unsharp-mask-e-usm |
267 | 267 | */ |
268 | 268 | effectUSM: "e-usm", |
269 | 269 |
|
270 | 270 | /** |
271 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#contrast-stretch-e-contrast} |
| 271 | + * @link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#contrast-stretch-e-contrast |
272 | 272 | */ |
273 | 273 | effectContrast: "e-contrast", |
274 | 274 |
|
275 | 275 | /** |
276 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#grayscale-e-grayscale} |
| 276 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#grayscale-e-grayscale |
277 | 277 | */ |
278 | 278 | effectGray: "e-grayscale", |
279 | 279 |
|
280 | 280 | /** |
281 | | - * @see {@link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#original-image-orig} |
| 281 | + * @link https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#original-image-orig |
282 | 282 | */ |
283 | 283 | original: "orig", |
284 | 284 | } |
|
0 commit comments