@cloudinary-util/types
Advanced tools
Comparing version 1.5.11 to 1.6.0
@@ -582,2 +582,115 @@ type CloudinaryResourceAccessMode = "public" | "authenticated" | (string & {}); | ||
interface CloudinaryProductGallery { | ||
cloudName?: string; | ||
mediaAssets?: { | ||
publicId?: string; | ||
tag?: string; | ||
mediaType?: string; | ||
resourceType?: string; | ||
transformation?: object; | ||
thumbnailTransformation?: object; | ||
altText?: string; | ||
videoPlayerSource?: object; | ||
}[] | string[]; | ||
container?: string | HTMLElement; | ||
analytics?: boolean; | ||
displayProps?: { | ||
mode?: "classic" | "expanded"; | ||
spacing?: number; | ||
columns?: number; | ||
topOffset?: number; | ||
bottomOffset?: number; | ||
}; | ||
focus?: boolean; | ||
loaderProps?: { | ||
color?: string; | ||
opacity?: number; | ||
style?: "cloudinary" | "circle" | "custom"; | ||
url?: string; | ||
}; | ||
placeholderImage?: boolean; | ||
sort?: "none" | "asc" | "desc"; | ||
sortProps?: { | ||
source?: string; | ||
id?: string; | ||
direction?: string; | ||
}; | ||
themeProps?: { | ||
primary?: string; | ||
onPrimary?: string; | ||
active?: string; | ||
}; | ||
viewportBreakpoints?: { | ||
breakpoint: number; | ||
[key: string]: any; | ||
}[]; | ||
accessibilityProps?: { | ||
mediaAltSource?: string; | ||
mediaAltId?: string; | ||
}; | ||
ar3dProps?: { | ||
shadows?: boolean; | ||
showAR?: boolean; | ||
}; | ||
aspectRatio?: "square" | "1:1" | "3:4" | "4:3" | "4:6" | "6:4" | "5:7" | "7:5" | "5:8" | "8:5" | "9:16" | "16:9"; | ||
borderColor?: string; | ||
borderWidth?: number; | ||
imageBreakpoint?: number; | ||
videoBreakpoint?: number; | ||
preload?: string[]; | ||
radius?: number; | ||
spinProps?: { | ||
animate?: "none" | "start" | "end" | "both"; | ||
spinDirection?: "clockwise" | "counter-clockwise"; | ||
disableZoom?: boolean; | ||
showTip?: "always" | "never" | "touch"; | ||
tipPosition?: "top" | "center" | "bottom"; | ||
tipText?: string; | ||
tipTouchText?: string; | ||
}; | ||
startIndex?: number; | ||
tipProps?: { | ||
textColor?: string; | ||
color?: string; | ||
radius?: number; | ||
opacity?: number; | ||
}; | ||
transition?: "slide" | "fade" | "none"; | ||
videoProps?: { | ||
controls?: string; | ||
sound?: boolean; | ||
autoplay?: boolean; | ||
loop?: boolean; | ||
playerType?: string; | ||
}; | ||
zoom?: boolean; | ||
zoomProps?: any; | ||
zoomPopupProps?: { | ||
backdropColor?: string; | ||
backdropOpacity?: number; | ||
zIndex?: number; | ||
}; | ||
carouselLocation?: "left" | "right" | "top" | "bottom"; | ||
carouselOffset?: number; | ||
carouselStyle?: "none" | "thumbnails" | "indicators"; | ||
indicatorProps?: { | ||
color?: string; | ||
selectedColor?: string; | ||
shape?: "round" | "square" | "radius"; | ||
size?: number; | ||
spacing?: number; | ||
sticky?: boolean; | ||
}; | ||
thumbnailProps?: any; | ||
navigation?: "none" | "always" | "mouseover"; | ||
navigationButtonProps?: { | ||
shape?: "none" | "round" | "square" | "radius" | "rectangle"; | ||
iconColor?: string; | ||
color?: string; | ||
size?: number; | ||
}; | ||
navigationOffset?: number; | ||
navigationPosition?: "inside" | "outside" | "offset"; | ||
} | ||
interface CloudinaryAssetConfigurationAuthToken { | ||
@@ -617,2 +730,2 @@ token_name: string; | ||
export type { CloudinaryAssetConfiguration, CloudinaryAssetConfigurationAuthToken, CloudinaryAssetConfigurationCloud, CloudinaryAssetConfigurationUrl, CloudinaryCreateUploadWidget, CloudinaryResource, CloudinaryResourceAccessMode, CloudinaryResourceContext, CloudinaryResourceDeliveryType, CloudinaryResourceResourceType, CloudinaryUploadWidget, CloudinaryUploadWidgetError, CloudinaryUploadWidgetInfo, CloudinaryUploadWidgetInstanceMethodCloseOptions, CloudinaryUploadWidgetInstanceMethodDestroyOptions, CloudinaryUploadWidgetInstanceMethodOpenOptions, CloudinaryUploadWidgetInstanceMethodUpdateOptions, CloudinaryUploadWidgetInstanceMethods, CloudinaryUploadWidgetOptions, CloudinaryUploadWidgetResults, CloudinaryUploadWidgetSources, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionPosterOptions, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo, CloudinaryVideoPlayerPlaylistByTagOptions, CloudinaryVideoPlayerPlaylistOptions, CloudinaryVideoPlayerTextTracks, CloudinaryVideoPlayerTextTracksTrack, CloudinaryVideoPlayerTextTracksTrackOptions, CloudinaryVideoPlayerTextTracksTrackOptionsBox, CloudinaryVideoPlayerTextTracksTrackOptionsGravity, CloudinaryVideoPlayerTextTracksTrackOptionsTheme }; | ||
export type { CloudinaryAssetConfiguration, CloudinaryAssetConfigurationAuthToken, CloudinaryAssetConfigurationCloud, CloudinaryAssetConfigurationUrl, CloudinaryCreateUploadWidget, CloudinaryProductGallery, CloudinaryResource, CloudinaryResourceAccessMode, CloudinaryResourceContext, CloudinaryResourceDeliveryType, CloudinaryResourceResourceType, CloudinaryUploadWidget, CloudinaryUploadWidgetError, CloudinaryUploadWidgetInfo, CloudinaryUploadWidgetInstanceMethodCloseOptions, CloudinaryUploadWidgetInstanceMethodDestroyOptions, CloudinaryUploadWidgetInstanceMethodOpenOptions, CloudinaryUploadWidgetInstanceMethodUpdateOptions, CloudinaryUploadWidgetInstanceMethods, CloudinaryUploadWidgetOptions, CloudinaryUploadWidgetResults, CloudinaryUploadWidgetSources, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionPosterOptions, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo, CloudinaryVideoPlayerPlaylistByTagOptions, CloudinaryVideoPlayerPlaylistOptions, CloudinaryVideoPlayerTextTracks, CloudinaryVideoPlayerTextTracksTrack, CloudinaryVideoPlayerTextTracksTrackOptions, CloudinaryVideoPlayerTextTracksTrackOptionsBox, CloudinaryVideoPlayerTextTracksTrackOptionsGravity, CloudinaryVideoPlayerTextTracksTrackOptionsTheme }; |
{ | ||
"name": "@cloudinary-util/types", | ||
"version": "1.5.11", | ||
"version": "1.6.0", | ||
"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
60745
744