n8n-nodes-neo4j
Version:
n8n node for Neo4j with LangChain integration, supporting vector stores and graph operations
57 lines • 1.75 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Neo4jApi = void 0;
class Neo4jApi {
constructor() {
this.name = 'neo4jApi';
this.displayName = 'Neo4j API';
this.documentationUrl = 'https://neo4j.com/docs/browser-manual/current/operations/dbms-connection/';
this.properties = [
{
displayName: 'Connection URI',
name: 'uri',
type: 'string',
default: 'neo4j+s://xxxxxxxx.databases.neo4j.io:7687',
required: true,
},
{
displayName: 'Username',
name: 'username',
type: 'string',
default: 'neo4j',
required: true,
},
{
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: {
password: true,
},
default: '',
required: true,
},
{
displayName: 'Database',
name: 'database',
type: 'string',
default: 'neo4j',
required: true,
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'Content-Type': 'application/json',
},
auth: {
username: '={{$credentials.username}}',
password: '={{$credentials.password}}',
},
},
};
}
}
exports.Neo4jApi = Neo4jApi;
//# sourceMappingURL=Neo4jApi.credentials.js.map