fix(Google Calendar Node): Mode to add or replace attendees in event update (#11132)

This commit is contained in:
Michael Kret
2024-10-10 17:03:51 +03:00
committed by GitHub
parent eaf933049e
commit 6c6a8efdea
3 changed files with 218 additions and 1 deletions

View File

@@ -839,6 +839,58 @@ export const eventFields: INodeProperties[] = [
default: 'no',
description: 'Whether the event is all day or not',
},
{
displayName: 'Attendees',
name: 'attendeesUi',
type: 'fixedCollection',
placeholder: 'Add Attendees',
default: {
values: {
mode: 'add',
attendees: [],
},
},
options: [
{
displayName: 'Values',
name: 'values',
values: [
{
displayName: 'Mode',
name: 'mode',
type: 'options',
default: 'add',
options: [
{
name: 'Add Attendees Below [Default]',
value: 'add',
},
{
name: 'Replace Attendees with Those Below',
value: 'replace',
},
],
},
{
displayName: 'Attendees',
name: 'attendees',
type: 'string',
typeOptions: {
multipleValues: true,
multipleValueButtonText: 'Add Attendee',
},
default: '',
description: 'The attendees of the event. Multiple ones can be separated by comma.',
},
],
},
],
displayOptions: {
show: {
'@version': [{ _cnd: { gte: 1.2 } }],
},
},
},
{
displayName: 'Attendees',
name: 'attendees',
@@ -849,6 +901,11 @@ export const eventFields: INodeProperties[] = [
},
default: '',
description: 'The attendees of the event. Multiple ones can be separated by comma.',
displayOptions: {
show: {
'@version': [1, 1.1],
},
},
},
{
displayName: 'Color Name or ID',