fix build issues (#99)

This commit is contained in:
Jon 2025-10-16 15:18:32 +01:00 committed by GitHub
commit 2e9e5c61ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@ import type {
INodeType, INodeType,
INodeTypeDescription, INodeTypeDescription,
} from 'n8n-workflow'; } from 'n8n-workflow';
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow'; import { NodeConnectionTypes, NodeOperationError } from 'n8n-workflow';
export class Example implements INodeType { export class Example implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
@ -17,8 +17,8 @@ export class Example implements INodeType {
defaults: { defaults: {
name: 'Example', name: 'Example',
}, },
inputs: [NodeConnectionType.Main], inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionType.Main], outputs: [NodeConnectionTypes.Main],
usableAsTool: true, usableAsTool: true,
properties: [ properties: [
// Node properties which the user gets displayed and // Node properties which the user gets displayed and

View file

@ -1,4 +1,4 @@
import { NodeConnectionType, type INodeType, type INodeTypeDescription } from 'n8n-workflow'; import { NodeConnectionTypes, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
import { issueDescription } from './resources/issue'; import { issueDescription } from './resources/issue';
import { issueCommentDescription } from './resources/issueComment'; import { issueCommentDescription } from './resources/issueComment';
import { getRepositories } from './listSearch/getRepositories'; import { getRepositories } from './listSearch/getRepositories';
@ -18,8 +18,8 @@ export class GithubIssues implements INodeType {
name: 'GitHub Issues', name: 'GitHub Issues',
}, },
usableAsTool: true, usableAsTool: true,
inputs: [NodeConnectionType.Main], inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionType.Main], outputs: [NodeConnectionTypes.Main],
credentials: [ credentials: [
{ {
name: 'githubIssuesApi', name: 'githubIssuesApi',