feat(Microsoft Teams Node): Enhancements and cleanup (#2940)

* Enhancements and cleanup for MS Teams node

- Add option to limit groups to "member of" rather than whole directory
  - Defaults to "all" for compatibility
- Add option to Get All tasks to pull from a plan instead of just a group member
  - Defaults to "member" for compatibility
- Added in auto completiong for plans, buckets, labels and members in update fields for tasks
- Update descriptions and normalize quotes for descriptions and display names

* Bump MS Teams version number

*  fixed version

* 🔨 small fixes

* 🔨 fixed nodelinter issues

Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
Ryan Goggin
2022-04-25 05:22:16 -04:00
committed by GitHub
parent ff26a987fe
commit d446f9e281
5 changed files with 220 additions and 57 deletions

View File

@@ -7,6 +7,7 @@ export const channelMessageOperations: INodeProperties[] = [
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -27,7 +28,6 @@ export const channelMessageOperations: INodeProperties[] = [
},
],
default: 'create',
description: 'The operation to perform.',
},
];
@@ -103,7 +103,7 @@ export const channelMessageFields: INodeProperties[] = [
],
},
},
default: '',
default: 'text',
description: 'The type of the content',
},
{
@@ -125,7 +125,7 @@ export const channelMessageFields: INodeProperties[] = [
},
},
default: '',
description: 'The content of the item.',
description: 'The content of the item',
},
{
displayName: 'Options',
@@ -149,7 +149,7 @@ export const channelMessageFields: INodeProperties[] = [
name: 'makeReply',
type: 'string',
default: '',
description: 'An optional ID of the message you want to reply to.',
description: 'An optional ID of the message you want to reply to',
},
],
},
@@ -213,7 +213,7 @@ export const channelMessageFields: INodeProperties[] = [
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.',
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
@@ -236,7 +236,7 @@ export const channelMessageFields: INodeProperties[] = [
minValue: 1,
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
default: 50,
description: 'Max number of results to return',
},
];