description:'Return all available results for the query.',
displayOptions:{
show:{
resource:[
'group',
],
operation:[
'getAll',
],
},
},
},
{
displayName:'Limit',
name:'limit',
type:'number',
default:10,
description:'Number of results to return for the query.',
displayOptions:{
show:{
resource:[
'group',
],
operation:[
'getAll',
],
returnAll:[
false,
],
},
},
},
// ----------------------------------
// group: create
// ----------------------------------
{
displayName:'Name',
name:'name',
type:'string',
default:'',
required: true,
description:'The name of the group to create.',
displayOptions:{
show:{
resource:[
'group',
],
operation:[
'create',
],
},
},
},
{
displayName:'Access All',
name:'accessAll',
type:'boolean',
default:false,
description:'Allow this group to access all collections within the organization, instead of only its associated collections.<br>If set to true, this option overrides any collection assignments.',
displayOptions:{
show:{
resource:[
'group',
],
operation:[
'create',
],
},
},
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
default:{},
options:[
{
displayName:'Collections',
name:'collections',
type:'multiOptions',
description:'The collections to assign to this group.',
default:[],
typeOptions:{
loadOptionsMethod:'getCollections',
},
},
{
displayName:'External ID',
name:'externalId',
type:'string',
description:'The external identifier to set to this group.',
description:'Allow this group to access all collections within the organization, instead of only its associated collections.<br>If set to true, this option overrides any collection assignments.',