next-tinacms-cloudinary 4.1.2 → 4.2.0

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.
@@ -8,7 +8,6 @@ export declare class CloudinaryMediaStore implements MediaStore {
8
8
  persist(media: MediaUploadOptions[]): Promise<Media[]>;
9
9
  delete(media: Media): Promise<void>;
10
10
  list(options: MediaListOptions): Promise<MediaList>;
11
- previewSrc: (publicId: string | Media) => string;
12
11
  parse: (img: any) => any;
13
12
  private buildQuery;
14
13
  }
package/dist/handlers.js CHANGED
@@ -149,7 +149,7 @@ function getCloudinaryToTinaFunc(opts) {
149
149
  filename,
150
150
  directory,
151
151
  src: file[sel],
152
- previewSrc: transformCloudinaryImage(file[sel], "w_75,h_75,c_fill,q_auto"),
152
+ thumbnail: transformCloudinaryImage(file[sel], "w_75,h_75,c_fill,q_auto"),
153
153
  type: "file"
154
154
  };
155
155
  };