Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudinary-util/types

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudinary-util/types - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

52

dist/index.d.ts

@@ -0,1 +1,30 @@

type CloudinaryResourceType = "upload" | "private" | "authenticated";
type CloudinaryResourceResourceType = "image" | "video" | "raw" | "auto";
interface CloudinaryResource {
access_control: Array<string>;
access_mode: "public" | "authenticated" | (string & {});
asset_id: string;
bytes: number;
context: Record<string, Record<string, string>>;
colors?: [string, number][];
created_at: string;
display_name: string;
folder: string;
format: string;
height: number;
info: Record<string, unknown>;
metadata: Record<string, Record<string, string>>;
moderation: Array<string>;
public_id: string;
resource_type: CloudinaryResourceResourceType;
secure_url: string;
signature: string;
tags: Array<string>;
type: CloudinaryResourceType;
url: string;
version: number;
width: number;
[key: string]: unknown;
}
type CustomURL = `https://${string}.${string}`;

@@ -77,17 +106,8 @@ interface CloudinaryUploadWidgetOptions {

}
interface CloudinaryUploadWidgetInfo {
access_mode: "public" | "authenticated";
interface CloudinaryUploadWidgetInfo extends CloudinaryResource {
api_key: string;
asset_id: string;
batchId: string;
bytes: number;
context: Record<string, Record<string, string>>;
created_at: string;
etag: string;
folder: string;
format: string;
height: number;
hook_execution: Record<string, unknown>;
id: string;
info: Record<string, unknown>;
original_filename: string;

@@ -97,13 +117,3 @@ pages: number;

placeholder: boolean;
public_id: string;
resource_type: "image" | "raw" | "video" | "auto";
secure_url: string;
signature: string;
tags: string[];
thumbnail_url: string;
type: "upload" | "private" | "authenticated";
url: string;
version: number;
width: number;
[key: string]: unknown;
}

@@ -263,2 +273,2 @@ interface CloudinaryUploadWidgetInstanceMethods {

export type { CloudinaryAssetConfiguration, CloudinaryAssetConfigurationAuthToken, CloudinaryAssetConfigurationCloud, CloudinaryAssetConfigurationUrl, CloudinaryUploadWidgetError, CloudinaryUploadWidgetInfo, CloudinaryUploadWidgetInstanceMethodCloseOptions, CloudinaryUploadWidgetInstanceMethodDestroyOptions, CloudinaryUploadWidgetInstanceMethodOpenOptions, CloudinaryUploadWidgetInstanceMethodUpdateOptions, CloudinaryUploadWidgetInstanceMethods, CloudinaryUploadWidgetOptions, CloudinaryUploadWidgetResults, CloudinaryUploadWidgetSources, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionPosterOptions, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo };
export type { CloudinaryAssetConfiguration, CloudinaryAssetConfigurationAuthToken, CloudinaryAssetConfigurationCloud, CloudinaryAssetConfigurationUrl, CloudinaryResource, CloudinaryResourceResourceType, CloudinaryResourceType, CloudinaryUploadWidgetError, CloudinaryUploadWidgetInfo, CloudinaryUploadWidgetInstanceMethodCloseOptions, CloudinaryUploadWidgetInstanceMethodDestroyOptions, CloudinaryUploadWidgetInstanceMethodOpenOptions, CloudinaryUploadWidgetInstanceMethodUpdateOptions, CloudinaryUploadWidgetInstanceMethods, CloudinaryUploadWidgetOptions, CloudinaryUploadWidgetResults, CloudinaryUploadWidgetSources, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionPosterOptions, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo };
{
"name": "@cloudinary-util/types",
"version": "1.4.0",
"version": "1.5.0",
"type": "module",

@@ -20,2 +20,11 @@ "main": "./dist/index.cjs",

},
"repository": {
"type": "git",
"url": "git+https://github.com/cloudinary-community/cloudinary-util.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/cloudinary-community/cloudinary-util/issues"
},
"homepage": "https://github.com/cloudinary-community/cloudinary-util",
"scripts": {

@@ -22,0 +31,0 @@ "build": "tsup src/index.ts --format esm,cjs --dts --clean",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc