You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/interfaces/SrcOptions.ts
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@ import { TransformationPosition } from ".";
3
3
4
4
exportinterfaceSrcOptions{
5
5
/**
6
-
* Accepts relative or absolute path of the resource. If relative path is provided, it is appended to the `urlEndpoint`. If absolute path is provided, `urlEndpoint` is ignored.
6
+
* Accepts a relative or absolute path of the resource. If a relative path is provided, it is appended to the `urlEndpoint`.
7
+
* If an absolute path is provided, `urlEndpoint` is ignored.
7
8
*/
8
9
src: string;
9
10
@@ -20,14 +21,15 @@ export interface SrcOptions {
20
21
transformation?: Array<Transformation>;
21
22
22
23
/**
23
-
* These are the other query parameters that you want to add to the final URL.
24
-
* These can be any query parameters and not necessarily related to ImageKit.
25
-
* Especially useful, if you want to add some versioning parameter to your URLs.
24
+
* These are additional query parameters that you want to add to the final URL.
25
+
* They can be any query parameters and not necessarily related to ImageKit.
26
+
* This is especially useful if you want to add a versioning parameter to your URLs.
26
27
*/
27
28
queryParameters?: {[key: string]: string|number};
28
29
29
30
/**
30
-
* By default, the transformation string is added as a query parameter in the URL e.g. `?tr=w-100,h-100`. If you want to add the transformation string in the path of the URL, set this to `path`.
31
-
*/
31
+
* By default, the transformation string is added as a query parameter in the URL, e.g., `?tr=w-100,h-100`.
32
+
* If you want to add the transformation string in the path of the URL, set this to `path`.
0 commit comments