Merge branch 'fix-unkown-type-issue' of github.com:n8n-io/n8n into n8n-2349-connectors

This commit is contained in:
Mutasem 2021-11-05 16:19:46 +01:00
commit f41d44e285
7 changed files with 89 additions and 3 deletions

View file

@ -679,6 +679,7 @@ class App {
// @ts-ignore // @ts-ignore
savedWorkflow.id = savedWorkflow.id.toString(); savedWorkflow.id = savedWorkflow.id.toString();
await this.externalHooks.run('workflow.afterCreate', [savedWorkflow]);
void InternalHooksManager.getInstance().onWorkflowCreated(newWorkflow as IWorkflowBase); void InternalHooksManager.getInstance().onWorkflowCreated(newWorkflow as IWorkflowBase);
return savedWorkflow; return savedWorkflow;
}, },

View file

@ -98,7 +98,7 @@ const module: Module<ICredentialsState, IRootState> = {
}, },
getCredentialsByType: (state: ICredentialsState, getters: any) => { // tslint:disable-line:no-any getCredentialsByType: (state: ICredentialsState, getters: any) => { // tslint:disable-line:no-any
return (credentialType: string): ICredentialsResponse[] => { return (credentialType: string): ICredentialsResponse[] => {
return getters.allCredentialsByType[credentialType]; return getters.allCredentialsByType[credentialType] || [];
}; };
}, },
getNodesWithAccess (state: ICredentialsState, getters: any, rootState: IRootState, rootGetters: any) { // tslint:disable-line:no-any getNodesWithAccess (state: ICredentialsState, getters: any, rootState: IRootState, rootGetters: any) { // tslint:disable-line:no-any

View file

@ -0,0 +1,20 @@
{
"node": "n8n-nodes-base.awsTextract",
"nodeVersion": "1.0",
"codexVersion": "1.0",
"categories": [
"Utility"
],
"resources": {
"credentialDocumentation": [
{
"url": "https://docs.n8n.io/credentials/aws"
}
],
"primaryDocumentation": [
{
"url": "https://docs.n8n.io/nodes/n8n-nodes-base.awsTextract/"
}
]
}
}

View file

@ -0,0 +1,20 @@
{
"node": "n8n-nodes-base.googleDriveTrigger",
"nodeVersion": "1.0",
"codexVersion": "1.0",
"categories": [
"Data & Storage"
],
"resources": {
"credentialDocumentation": [
{
"url": "https://docs.n8n.io/credentials/google"
}
],
"primaryDocumentation": [
{
"url": "https://docs.n8n.io/nodes/n8n-nodes-base.googleDriveTrigger/"
}
]
}
}

View file

@ -0,0 +1,24 @@
{
"node": "n8n-nodes-base.localFileTrigger",
"nodeVersion": "1.0",
"codexVersion": "1.0",
"categories": [
"Core Nodes"
],
"resources": {
"primaryDocumentation": [
{
"url": "https://docs.n8n.io/nodes/n8n-nodes-base.localFileTrigger/"
}
]
},
"alias": [
"Watch",
"Monitor"
],
"subcategories": {
"Core Nodes":[
"Files"
]
}
}

View file

@ -0,0 +1,21 @@
{
"node": "n8n-nodes-base.microsoftDynamicsCrm",
"nodeVersion": "1.0",
"codexVersion": "1.0",
"categories": [
"Marketing & Content",
"Sales"
],
"resources": {
"credentialDocumentation": [
{
"url": "https://docs.n8n.io/credentials/microsoft"
}
],
"primaryDocumentation": [
{
"url": "https://docs.n8n.io/nodes/n8n-nodes-base.microsoftDynamicsCrm/"
}
]
}
}

View file

@ -130,7 +130,7 @@ export const userFields = [
}, },
{ {
displayName: 'External ID', displayName: 'External ID',
name: 'externalId', name: 'external_id',
type: 'string', type: 'string',
default: '', default: '',
description: 'A unique identifier from another system', description: 'A unique identifier from another system',
@ -387,7 +387,7 @@ export const userFields = [
}, },
{ {
displayName: 'External ID', displayName: 'External ID',
name: 'externalId', name: 'external_id',
type: 'string', type: 'string',
default: '', default: '',
description: 'A unique identifier from another system', description: 'A unique identifier from another system',