code: function FolderPath(value) {
    if (!(this instanceof FolderPath)) {
      return new FolderPath(value);
    }
    if (Array.isArray(value)) {
      this.value = value;
    } else if (typeof value === 'string') {
      if (value.match('^https?:\/\/')) {
        this.value = parseName(value);
      } else {
        this.value = value.split('/').filter(Boolean);
      }
    } else {
      this.value = [];
    }
  }
docs: Path for folder plugin