IActionModeParsed Interface

A structure defining how to import SVG, PDF, and PSD graphics.

example
"assetSources": {
    "My Vector Graphics": {
        "type": "PrivateSource",
        "allowedExtensions": [ "pdf", "svg", "ai" ],
        "actionMode": {
            "pdf": "Vector",
            "svg": "Vector"
        }
    },
  "My Shapes": {
      "type": "PrivateSource",
      "allowedExtensions": [ "pdf", "svg", "ai" ],
      "actionMode": {
          "pdf": "Shape",
          "svg": "Shape"
      }
  },
  "Public Shapes": {
      "type": "PublicSource",
      "allowedExtensions": [ "pdf", "svg", "ai" ],
      "actionMode": {
          "pdf": "Shape",
          "svg": "Shape"
      }
  }
}

Properties

Optional pdf

The upload mode for PDF files. By default, the Vector mode is enabled.

Optional psd

The upload mode for PSD files. By default, the Design mode is enabled.

Optional svg

The upload mode for SVG files. By default, the Vector mode is enabled.