@cliff-studio/sanity-plugin-bunny-input 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18608,6 +18608,8 @@ function BunnyInput(props) {
18608
18608
  ...value,
18609
18609
  status,
18610
18610
  duration: videoData.length,
18611
+ height: videoData.height ?? null,
18612
+ width: videoData.width ?? null,
18611
18613
  thumbnailUrl: getThumbnailUrl(config.cdnHostname, value.videoId),
18612
18614
  playbackUrl: getPlaybackUrl(config.cdnHostname, value.videoId),
18613
18615
  mp4Url: getMp4Url(config.cdnHostname, value.videoId)
@@ -18904,7 +18906,7 @@ const createBunnyVideoSchema = (config) => defineType({
18904
18906
  }),
18905
18907
  defineField({
18906
18908
  type: "string",
18907
- title: "Collection Name",
18909
+ title: "Collection name",
18908
18910
  name: "collectionName",
18909
18911
  readOnly: !0
18910
18912
  }),
@@ -18927,6 +18929,18 @@ const createBunnyVideoSchema = (config) => defineType({
18927
18929
  },
18928
18930
  readOnly: !0
18929
18931
  }),
18932
+ defineField({
18933
+ type: "number",
18934
+ title: "Video width",
18935
+ name: "videoWidth",
18936
+ readOnly: !0
18937
+ }),
18938
+ defineField({
18939
+ type: "number",
18940
+ title: "Video height",
18941
+ name: "videoHeight",
18942
+ readOnly: !0
18943
+ }),
18930
18944
  defineField({
18931
18945
  type: "string",
18932
18946
  title: "Thumbnail URL",