Added subfolders

This commit is contained in:
ricardo
2020-04-03 11:19:35 -04:00
parent 55934465bf
commit 230e3f8209
2 changed files with 32 additions and 1 deletions

View File

@@ -57,6 +57,32 @@ export const folderFields = [
default: '',
description: `Folder's name`,
},
{
displayName: 'Options',
name: 'options',
type: 'collection',
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'folder',
],
},
},
default: {},
placeholder: 'Add Field',
options: [
{
displayName: 'Parent Folder ID',
name: 'parentFolderId',
type: 'string',
default: '',
description: 'ID of the folder you want to crate the new folder in',
},
],
},
/* -------------------------------------------------------------------------- */
/* folder:getChildren */
/* -------------------------------------------------------------------------- */