@cloudinary-util/types
Advanced tools
Comparing version 1.5.4 to 1.5.5
type CloudinaryResourceAccessMode = "public" | "authenticated" | (string & {}); | ||
type CloudinaryResourceResourceType = "image" | "video" | "raw" | "auto"; | ||
type CloudinaryResourceType = "upload" | "private" | "authenticated"; | ||
type CloudinaryResourceResourceType = "image" | "video" | "raw" | "auto" | (string & {}); | ||
type CloudinaryResourceDeliveryType = "animoto" | "asset" | "authenticated" | "dailymotion" | "facebook" | "fetch" | "gravatar" | "hulu" | "instagram" | "list" | "multi" | "private" | "text" | "twitter" | "twitter_name" | "upload" | "vimeo" | "worldstarhiphop" | "youtube" | (string & {}); | ||
interface CloudinaryResource { | ||
@@ -8,14 +8,26 @@ access_control: Array<string>; | ||
asset_id: string; | ||
backup: boolean; | ||
bytes: number; | ||
context: Record<string, Record<string, string>>; | ||
colors?: [string, number][]; | ||
context: object; | ||
colors: [string, number][]; | ||
coordinates: object; | ||
created_at: string; | ||
derived: Array<string>; | ||
display_name: string; | ||
exif: object; | ||
faces: number[][]; | ||
folder: string; | ||
format: string; | ||
height: number; | ||
info: Record<string, unknown>; | ||
metadata: Record<string, Record<string, string>>; | ||
moderation: Array<string>; | ||
image_metadata: object; | ||
info: object; | ||
media_metadata: object; | ||
metadata: object; | ||
moderation: object | Array<string>; | ||
pages: number; | ||
placeholder: boolean; | ||
phash: string; | ||
predominant: object; | ||
public_id: string; | ||
quality_analysis: number; | ||
resource_type: CloudinaryResourceResourceType; | ||
@@ -25,3 +37,3 @@ secure_url: string; | ||
tags: Array<string>; | ||
type: CloudinaryResourceType; | ||
type: CloudinaryResourceDeliveryType; | ||
url: string; | ||
@@ -116,5 +128,3 @@ version: number; | ||
original_filename: string; | ||
pages: number; | ||
path: string; | ||
placeholder: boolean; | ||
thumbnail_url: string; | ||
@@ -553,2 +563,2 @@ } | ||
export type { CloudinaryAssetConfiguration, CloudinaryAssetConfigurationAuthToken, CloudinaryAssetConfigurationCloud, CloudinaryAssetConfigurationUrl, CloudinaryCreateUploadWidget, CloudinaryResource, CloudinaryResourceAccessMode, CloudinaryResourceResourceType, CloudinaryResourceType, CloudinaryUploadWidget, CloudinaryUploadWidgetError, CloudinaryUploadWidgetInfo, CloudinaryUploadWidgetInstanceMethodCloseOptions, CloudinaryUploadWidgetInstanceMethodDestroyOptions, CloudinaryUploadWidgetInstanceMethodOpenOptions, CloudinaryUploadWidgetInstanceMethodUpdateOptions, CloudinaryUploadWidgetInstanceMethods, CloudinaryUploadWidgetOptions, CloudinaryUploadWidgetResults, CloudinaryUploadWidgetSources, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionPosterOptions, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo, CloudinaryVideoPlayerPlaylistByTagOptions, CloudinaryVideoPlayerPlaylistOptions }; | ||
export type { CloudinaryAssetConfiguration, CloudinaryAssetConfigurationAuthToken, CloudinaryAssetConfigurationCloud, CloudinaryAssetConfigurationUrl, CloudinaryCreateUploadWidget, CloudinaryResource, CloudinaryResourceAccessMode, CloudinaryResourceDeliveryType, CloudinaryResourceResourceType, CloudinaryUploadWidget, CloudinaryUploadWidgetError, CloudinaryUploadWidgetInfo, CloudinaryUploadWidgetInstanceMethodCloseOptions, CloudinaryUploadWidgetInstanceMethodDestroyOptions, CloudinaryUploadWidgetInstanceMethodOpenOptions, CloudinaryUploadWidgetInstanceMethodUpdateOptions, CloudinaryUploadWidgetInstanceMethods, CloudinaryUploadWidgetOptions, CloudinaryUploadWidgetResults, CloudinaryUploadWidgetSources, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionPosterOptions, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo, CloudinaryVideoPlayerPlaylistByTagOptions, CloudinaryVideoPlayerPlaylistOptions }; |
{ | ||
"name": "@cloudinary-util/types", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49529
575