TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

IGallerySourceConfig Module

A structure defining properties of asset sources.

Interfaces

Name Description
ICategory

A structure restricting folders in the public gallery.

Properties

Optional actionMode

actionMode: IActionModeParsed

allowedExtensions

allowedExtensions: string []

An array of image types that the user is allowed for uploading. The complete list of supported extentions is ["jpg", "jpeg", "png", "bmp", "gif", "tiff", "svg", "pdf", "ai", "psd"].

Optional rootCategory

rootCategory: ICategory

Allows you to specify a folder from which your users can select images in the PublicSource. You can also specify allowed subfolders of this folder.

type

type: "PublicSource" | "PrivateSource"