MongoDB Atlas Integration: Adding MongoDB Memory

This commit is contained in:
vinodkiran
2023-11-13 21:46:36 +05:30
parent a311e024e1
commit 77ef39698b
4 changed files with 141 additions and 0 deletions
@@ -0,0 +1,25 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class MongoDBUrlApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'MongoDB ATLAS'
this.name = 'mongoDBUrlApi'
this.version = 1.0
this.inputs = [
{
label: 'ATLAS Connection URL',
name: 'mongoDBConnectUrl',
type: 'string',
placeholder: 'mongodb+srv://myDatabaseUser:D1fficultP%40ssw0rd@cluster0.example.mongodb.net/?retryWrites=true&w=majority'
}
]
}
}
module.exports = { credClass: MongoDBUrlApi }