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: components/cloudinary/actions/get-account-usage-details/get-account-usage-details.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ export default {
4
4
key: "cloudinary-get-account-usage-details",
5
5
name: "Get Account Usage Details",
6
6
description: "Gets a report of your Cloudinary account usage details, including storage, credits, bandwidth, requests, number of resources, and add-on usage. [See the documentation](https://cloudinary.com/documentation/admin_api#usage)",
Copy file name to clipboardExpand all lines: components/cloudinary/actions/get-resources/get-resources.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ export default {
4
4
key: "cloudinary-get-resources",
5
5
name: "Get Resources",
6
6
description: "Lists resources (assets) uploaded to your product environment. [See the documentation](https://cloudinary.com/documentation/admin_api#get_resources)",
Copy file name to clipboardExpand all lines: components/cloudinary/actions/image-transformation/image-transformation.mjs
+14-12Lines changed: 14 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,16 @@ import cloudinary from "../../cloudinary.app.mjs";
3
3
exportdefault{
4
4
key: "cloudinary-image-transformation",
5
5
name: "Transform Image",
6
-
description: "Transform an image on-the-fly with several options. [See the documentation](https://cloudinary.com/documentation/image_transformations)",
7
-
version: "0.1.{{ts}}",
6
+
description: "Transform an image asset on-the-fly with several options. [See the documentation](https://cloudinary.com/documentation/image_transformations)",
7
+
version: "0.1.0",
8
8
type: "action",
9
9
props: {
10
10
cloudinary,
11
-
imageSource: {
12
-
type: "string",
13
-
label: "Public ID",
14
-
description: "The [public ID](https://cloudinary.com/documentation/upload_images#public_id) of the asset , e.g. `folder/filename`.",
11
+
assetId: {
12
+
propDefinition: [
13
+
cloudinary,
14
+
"assetId"
15
+
]
15
16
},
16
17
width: {
17
18
type: "integer",
@@ -40,21 +41,22 @@ export default {
40
41
max: 100,
41
42
},
42
43
transformations: {
43
-
type: "object",
44
-
label: "Additional Transformations",
45
-
description: "Additional transformations to apply to the image. [See the documentation](https://cloudinary.com/documentation/transformation_reference#co_color) for all available transformations. Example: `{ \"angle\": 90, \"color_space\": \"srgb\"}`",
Copy file name to clipboardExpand all lines: components/cloudinary/actions/resource-transformation/resource-transformation.mjs
+43-30Lines changed: 43 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -2,45 +2,58 @@ import cloudinary from "../../cloudinary.app.mjs";
2
2
3
3
exportdefault{
4
4
key: "cloudinary-resource-transformation",
5
-
name: "Resource Transformation",
6
-
description: "Transforms image or video resources on-the-fly. It allows transformation options for resource optimization (i.e. web viewing), resize and crop the resources, etc. [Image transformation documentation](https://cloudinary.com/documentation/image_transformations). [Video transformation documentation](https://cloudinary.com/documentation/video_transformation_reference)",
7
-
version: "0.2.2",
5
+
name: "Transform Video or Audio",
6
+
description: "Transform a video or audio asset on-the-fly with several options. [See the documentation](https://cloudinary.com/documentation/video_manipulation_and_delivery)",
7
+
version: "0.3.0",
8
8
type: "action",
9
9
props: {
10
10
cloudinary,
11
-
resourceType: {
12
-
propDefinition: [
13
-
cloudinary,
14
-
"transformationResourceType",
15
-
],
16
-
},
17
-
options: {
18
-
type: "string",
19
-
label: "Options",
20
-
description: "For an image `resourceType`, use this parameter to set the image transformation options to apply and/or the URL parameters supported by Cloudinary API. For all transformation options, please check [Image transformation API reference](https://cloudinary.com/documentation/image_transformation_reference), for URL parameters, please check [Transforming media assets using dynamic URLs](https://cloudinary.com/documentation/image_transformations#transforming_media_assets_using_dynamic_urls).\nFor a video `resourceType`, use this parameter to set video transformation options to apply and/or the URL parameters supported by Cloudinary API. For all transformation options, please check [Video transformation API reference](https://cloudinary.com/documentation/video_transformation_reference), for URL parameters, please check [Transforming media assets using dynamic URLs](https://cloudinary.com/documentation/image_transformations#transforming_media_assets_using_dynamic_urls).",
21
-
},
22
-
imageSource: {
23
-
type: "string",
24
-
label: "Image Source",
25
-
description: "If `resourceType` is an image, use this parameter to point to the source of the image to apply transformations on. It can be a local file, the actual image data, a remote FTP, HTTP or HTTPS URL address of an existing image. For details and examples, see: [file source options](https://cloudinary.com/documentation/upload_images#file_source_options).",
26
-
optional: true,
27
-
},
28
-
videoPublicId: {
29
-
type: "string",
30
-
label: "Video Public Id",
31
-
description: "If `resourceType` is a video, use this parameter to set the public id of the video to apply transformations on. The public id is the unique identifier of the video, and is either specified when uploading the video to your Cloudinary account, or automatically assigned by Cloudinary. For more details on the options for specifying the public id, see [Public ID - the image identifier](https://cloudinary.com/documentation/upload_images#public_id).",
32
-
optional: true,
33
-
},
11
+
assetId: {
12
+
propDefinition: [
13
+
cloudinary,
14
+
"assetId"
15
+
]
16
+
},
17
+
width: {
18
+
type: "integer",
19
+
label: "Width",
20
+
description: "The new width of the video, e.g. `854`",
21
+
optional: true,
22
+
},
23
+
height: {
24
+
type: "integer",
25
+
label: "Height",
26
+
description: "The new height of the video, e.g. `480`",
27
+
optional: true,
28
+
},
29
+
duration: {
30
+
type: "integer",
31
+
label: "Duration",
32
+
description: "The duration to set for the video in seconds, e.g. `30`",
Copy file name to clipboardExpand all lines: components/cloudinary/actions/upload-media-asset/upload-media-asset.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ export default {
5
5
key: "cloudinary-upload-media-asset",
6
6
name: "Upload Media Asset",
7
7
description: "Upload media assets such as images or videos. [See the documentation](https://cloudinary.com/documentation/image_upload_api_reference#upload_method)",
Copy file name to clipboardExpand all lines: components/cloudinary/cloudinary.app.mjs
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,16 @@ export default {
52
52
optional: true,
53
53
options: constants.ACCESS_MODE_OPTIONS,
54
54
},
55
+
assetId: {
56
+
type: "string",
57
+
label: "Public ID",
58
+
description: "The [public ID](https://cloudinary.com/documentation/upload_images#public_id) of the asset , e.g. `folder/filename`.",
59
+
},
60
+
transformations: {
61
+
type: "object",
62
+
label: "Additional Transformations",
63
+
description: "Additional transformations to apply to the resource. [See the documentation](https://cloudinary.com/documentation/transformation_reference) for all available transformations. Example: `{ \"angle\": 90, \"color_space\": \"srgb\"}`",
0 commit comments