Skip to content

Can't find a plugin export for cloudinaryAssetSource #89

@toddpadwick

Description

@toddpadwick

I have set up global cloudinaryImageSource for the image fields which works fine.
However, I can't find a way to do the same. I need to make all file field types a cloudinary asset by default.

How do I do this?

eg:

form: {
    image: {
      assetSources: () => [cloudinaryImageSource],
      directUploads: false,
    },
    file: {
      assetSources: () => [cloudinaryAssetSource],
      directUploads: false,
    },
  },

The only exports in the plugin I can see are:

  cloudinaryAssetContext,
  cloudinaryAssetContextCustom,
  cloudinaryAssetDerivedSchema,
  cloudinaryAssetSchema,
  cloudinaryAssetSourcePlugin,
  cloudinaryImageSource,
  cloudinarySchemaPlugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions