fix notice

This commit is contained in:
2025-10-27 00:08:41 +08:00
parent 8f0345b7be
commit a4b7656bba
3 changed files with 25 additions and 11 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"cSpell.words": ["Changdu", "changdunovel"]
}

View File

@@ -1,4 +1,4 @@
import { NodeConnectionType, type INodeType, type INodeTypeDescription } from 'n8n-workflow'; import { type INodeType, type INodeTypeDescription } from 'n8n-workflow';
import { userDescription } from './resources/user'; import { userDescription } from './resources/user';
import { companyDescription } from './resources/company'; import { companyDescription } from './resources/company';
@@ -15,8 +15,8 @@ export class GwezzChangdunovel implements INodeType {
name: 'Gwezz Changdunovel', name: 'Gwezz Changdunovel',
}, },
usableAsTool: true, usableAsTool: true,
inputs: [NodeConnectionType.Main], inputs: ['main'],
outputs: [NodeConnectionType.Main], outputs: ['main'],
credentials: [], credentials: [],
requestDefaults: { requestDefaults: {
baseURL: 'https://www.changdunovel.com/novelsale/openapi', baseURL: 'https://www.changdunovel.com/novelsale/openapi',

View File

@@ -1,14 +1,19 @@
{ {
"name": "n8n-nodes-gwezz-changdunovel", "name": "n8n-nodes-gwezz-changdunovel",
"version": "0.1.0", "version": "0.1.0",
"description": "", "description": "n8n node for Changdu Novel",
"license": "MIT", "license": "MIT",
"homepage": "", "homepage": "",
"keywords": ["n8n-community-node-package"], "keywords": [
"author": { "name": "sshelgwezz", "email": "sshelgwezz@foxmail.com" }, "n8n-community-node-package"
],
"author": {
"name": "sshelgwezz",
"email": "sshelgwezz@foxmail.com"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/<...>/n8n-nodes-<...>.git" "url": "https://github.com/sshelgwezz/n8n-nodes-gwezz-changdunovel.git"
}, },
"scripts": { "scripts": {
"build": "n8n-node build", "build": "n8n-node build",
@@ -19,12 +24,16 @@
"release": "n8n-node release", "release": "n8n-node release",
"prepublishOnly": "n8n-node prerelease" "prepublishOnly": "n8n-node prerelease"
}, },
"files": ["dist"], "files": [
"dist"
],
"n8n": { "n8n": {
"n8nNodesApiVersion": 1, "n8nNodesApiVersion": 1,
"strict": true, "strict": true,
"credentials": [], "credentials": [],
"nodes": ["dist/nodes/GwezzChangdunovel/GwezzChangdunovel.node.js"] "nodes": [
"dist/nodes/GwezzChangdunovel/GwezzChangdunovel.node.js"
]
}, },
"devDependencies": { "devDependencies": {
"@n8n/node-cli": "*", "@n8n/node-cli": "*",
@@ -33,5 +42,7 @@
"release-it": "^19.0.4", "release-it": "^19.0.4",
"typescript": "5.9.2" "typescript": "5.9.2"
}, },
"peerDependencies": { "n8n-workflow": "*" } "peerDependencies": {
"n8n-workflow": "*"
}
} }