Skip to content

[Feature] Create a new Types package for native Cloudinary types #122

@colbyfayock

Description

@colbyfayock

Feature Request

Is your feature request related to a problem? Please describe.

Some of the Cloudinary widgets available including the Upload Widget and Video Player don't natively include types when sourcing from a <script>.

To help solve this with integration and avoiding defining these in every project, we can release the types in a package for consumers to use and extend in integrations.

Describe the solution you'd like

interface CloudinaryVideoPlayer {
  ...
}

These can be copied from:

https://github.com/cloudinary-community/next-cloudinary/blob/main/next-cloudinary/src/types/player.ts

Reference documentation:

https://cloudinary.com/documentation/video_player_api_reference

The package should be released as @cloudinary-util/types

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions