feat(core): Implement Dynamic Parameters within regular nodes used as AI Tools (#10862)
This commit is contained in:
@@ -16,6 +16,7 @@ export class AirtableV2 implements INodeType {
|
||||
this.description = {
|
||||
...baseDescription,
|
||||
...versionDescription,
|
||||
usableAsTool: true,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ export const description: INodeProperties[] = [
|
||||
action: 'Update record',
|
||||
},
|
||||
],
|
||||
default: 'read',
|
||||
default: 'get',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['record'],
|
||||
|
||||
@@ -41,6 +41,7 @@ export class Baserow implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'baserowApi',
|
||||
|
||||
@@ -22,6 +22,7 @@ const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'smtp',
|
||||
|
||||
@@ -42,6 +42,7 @@ export class GoogleCalendar implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'googleCalendarOAuth2Api',
|
||||
|
||||
@@ -36,6 +36,7 @@ export class GoogleDocs implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'googleApi',
|
||||
|
||||
@@ -19,6 +19,7 @@ export const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'googleApi',
|
||||
|
||||
@@ -46,6 +46,7 @@ const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'googleApi',
|
||||
|
||||
@@ -17,6 +17,7 @@ export const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
hints: [
|
||||
{
|
||||
message:
|
||||
|
||||
@@ -24,6 +24,7 @@ export class HackerNews implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
properties: [
|
||||
// ----------------------------------
|
||||
// Resources
|
||||
|
||||
@@ -53,6 +53,7 @@ export class Jira implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'jiraSoftwareCloudApi',
|
||||
|
||||
@@ -22,6 +22,7 @@ export const description: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'microsoftOutlookOAuth2Api',
|
||||
|
||||
@@ -37,6 +37,7 @@ export class MicrosoftSql implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
parameterPane: 'wide',
|
||||
credentials: [
|
||||
{
|
||||
|
||||
@@ -45,6 +45,7 @@ export class MongoDb implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'mongoDb',
|
||||
|
||||
@@ -16,6 +16,7 @@ export const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'mySql',
|
||||
|
||||
@@ -29,6 +29,7 @@ export class NocoDB implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'nocoDb',
|
||||
|
||||
@@ -26,6 +26,7 @@ export const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'notionApi',
|
||||
|
||||
@@ -16,6 +16,7 @@ export const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'postgres',
|
||||
|
||||
@@ -29,6 +29,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'redis',
|
||||
|
||||
@@ -39,6 +39,7 @@ export class SlackV2 implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'slackApi',
|
||||
|
||||
@@ -43,6 +43,7 @@ export class Supabase implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'supabaseApi',
|
||||
|
||||
@@ -10,8 +10,8 @@ import type {
|
||||
} from 'n8n-workflow';
|
||||
import { BINARY_ENCODING, NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import { addAdditionalFields, apiRequest, getPropertyName } from './GenericFunctions';
|
||||
import { appendAttributionOption } from '../../utils/descriptions';
|
||||
import { addAdditionalFields, apiRequest, getPropertyName } from './GenericFunctions';
|
||||
|
||||
export class Telegram implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -25,6 +25,7 @@ export class Telegram implements INodeType {
|
||||
defaults: {
|
||||
name: 'Telegram',
|
||||
},
|
||||
usableAsTool: true,
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
|
||||
@@ -44,6 +44,7 @@ export class WooCommerce implements INodeType {
|
||||
},
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
usableAsTool: true,
|
||||
credentials: [
|
||||
{
|
||||
name: 'wooCommerceApi',
|
||||
|
||||
Reference in New Issue
Block a user