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
{{ message }}
This repository was archived by the owner on Apr 8, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: cloudinary-core.d.ts
+22-6Lines changed: 22 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ export class Transformation {
132
132
* @return {string } Returns the transformation as a string
133
133
*/
134
134
serialize(): string;
135
-
135
+
136
136
/**
137
137
* Combines all propoerties from source transformation into this one
138
138
* @param source transformation to copy
@@ -207,7 +207,8 @@ export class Transformation {
207
207
streamingProfile(value: string): Transformation;
208
208
transformation(value: string|Array<Transformation.Options>): Transformation;// Apply a pre-defined named transformation of the given name. When using Cloudinary's client integration libraries, the 'transformation' parameter accepts an array of transformation parameters to be chained together.
209
209
underlay(value: string): Transformation;// public id of an uploaded image
videoCodec(value: string|Object): Transformation;// Select the video codec and control the video content of the profile used. Can be provided in the form <codec>[:<profile>:[<level>]] to specify specific values to apply for video codec, profile and level, e.g. "h264:baseline:3.1". Also accepts a hash of values such as { codec: 'h264', profile: 'basic', level: '3.1' }
212
213
videoSampling(value: number|string): Transformation;// Integer - The total number of frames to sample from the original video. String - The number of seconds between each frame to sample from the original video. e.g. 2.3s takes one frame every 2.3 seconds.
213
214
width(value: string|number): Transformation;// Number of pixels, width % or "auto" with rounding step
@@ -222,10 +223,11 @@ export class Transformation {
222
223
duration(value :number|string): Transformation;// Float or string
223
224
endOffset(value: number|string): Transformation;// Float or string
offset(value: string): Transformation;// [float, float] or [string, string] or a range. Shortcut to set video cutting using a combination of start_offset and end_offset values
transformation?: string|Array<Transformation.Options>;// Apply a pre-defined named transformation of the given name. When using Cloudinary's client integration libraries, the 'transformation' parameter accepts an array of transformation parameters to be chained together.
315
317
underlay?: string;// public id of an uploaded image
316
-
variables?: [[string,any]];
318
+
variable?: [string,any];
319
+
variables?: Array<[string,any]>;
317
320
width?: string|number;// Number of pixels, width % or "auto" with rounding step
offset?: string,// [float, float] or [string, string] or a range. Shortcut to set video cutting using a combination of start_offset and end_offset values
335
339
poster?: string|Object,
336
-
sourceType?: string;
340
+
sourceTypes?: string;
337
341
sourceTransformation?: string;
338
342
startOffset?: number|string;// Float or string
339
343
streamingProfile?: StreamingProfiles
@@ -409,6 +413,18 @@ export class ImageTag extends HtmlTag {
0 commit comments