n8n-nodes-couchbase 0.1.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/README.md +133 -65
  2. package/dist/credentials/CouchbaseApi.credentials.d.ts +8 -0
  3. package/dist/credentials/CouchbaseApi.credentials.js +39 -0
  4. package/dist/credentials/CouchbaseApi.credentials.js.map +1 -0
  5. package/dist/credentials/ExampleCredentialsApi.credentials.d.ts +8 -0
  6. package/dist/credentials/ExampleCredentialsApi.credentials.js +46 -0
  7. package/dist/credentials/ExampleCredentialsApi.credentials.js.map +1 -0
  8. package/dist/credentials/HttpBinApi.credentials.d.ts +9 -0
  9. package/dist/credentials/HttpBinApi.credentials.js +43 -0
  10. package/dist/credentials/HttpBinApi.credentials.js.map +1 -0
  11. package/dist/nodes/Couchbase/Couchbase.node.d.ts +35 -0
  12. package/dist/nodes/Couchbase/Couchbase.node.js +303 -0
  13. package/dist/nodes/Couchbase/Couchbase.node.js.map +1 -0
  14. package/dist/nodes/Couchbase/Couchbase.node.json +18 -0
  15. package/dist/nodes/Couchbase/CouchbaseProperties.d.ts +16 -0
  16. package/dist/nodes/Couchbase/CouchbaseProperties.js +478 -0
  17. package/dist/nodes/Couchbase/CouchbaseProperties.js.map +1 -0
  18. package/dist/nodes/Couchbase/couchbase.dark.svg +14 -0
  19. package/dist/nodes/Couchbase/couchbase.svg +14 -0
  20. package/dist/nodes/ExampleNode/ExampleNode.node.d.ts +5 -0
  21. package/dist/nodes/ExampleNode/ExampleNode.node.js +59 -0
  22. package/dist/nodes/ExampleNode/ExampleNode.node.js.map +1 -0
  23. package/dist/nodes/HttpBin/HttpBin.node.d.ts +4 -0
  24. package/dist/nodes/HttpBin/HttpBin.node.js +55 -0
  25. package/dist/nodes/HttpBin/HttpBin.node.js.map +1 -0
  26. package/dist/nodes/HttpBin/HttpBin.node.json +18 -0
  27. package/dist/nodes/HttpBin/HttpVerbDescription.d.ts +3 -0
  28. package/dist/nodes/HttpBin/HttpVerbDescription.js +236 -0
  29. package/dist/nodes/HttpBin/HttpVerbDescription.js.map +1 -0
  30. package/dist/nodes/vector_store/VectorStoreCouchbase/VectorStoreCouchbase.node.d.ts +16 -0
  31. package/dist/nodes/vector_store/VectorStoreCouchbase/VectorStoreCouchbase.node.js +407 -0
  32. package/dist/nodes/vector_store/VectorStoreCouchbase/VectorStoreCouchbase.node.js.map +1 -0
  33. package/dist/nodes/vector_store/VectorStoreCouchbase/mongodb.dark.svg +3 -0
  34. package/dist/nodes/vector_store/VectorStoreCouchbase/mongodb.svg +3 -0
  35. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.d.ts +0 -0
  36. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.js +2 -0
  37. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.js.map +1 -0
  38. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.d.ts +4 -0
  39. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.js +45 -0
  40. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.js.map +1 -0
  41. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.d.ts +15 -0
  42. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.js +227 -0
  43. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.js.map +1 -0
  44. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.d.ts +0 -0
  45. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.js +2 -0
  46. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.js.map +1 -0
  47. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.d.ts +0 -0
  48. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.js +2 -0
  49. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.js.map +1 -0
  50. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.d.ts +0 -0
  51. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.js +2 -0
  52. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.js.map +1 -0
  53. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.d.ts +0 -0
  54. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.js +2 -0
  55. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.js.map +1 -0
  56. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.d.ts +0 -0
  57. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.js +2 -0
  58. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.js.map +1 -0
  59. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.d.ts +0 -0
  60. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.js +2 -0
  61. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.js.map +1 -0
  62. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.d.ts +0 -0
  63. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.js +2 -0
  64. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.js.map +1 -0
  65. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.d.ts +0 -0
  66. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.js +2 -0
  67. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.js.map +1 -0
  68. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.d.ts +5 -0
  69. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.js +22 -0
  70. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.js.map +1 -0
  71. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.d.ts +5 -0
  72. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.js +36 -0
  73. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.js.map +1 -0
  74. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.d.ts +5 -0
  75. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.js +34 -0
  76. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.js.map +1 -0
  77. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.d.ts +5 -0
  78. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.js +43 -0
  79. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.js.map +1 -0
  80. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.d.ts +5 -0
  81. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.js +17 -0
  82. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.js.map +1 -0
  83. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.d.ts +5 -0
  84. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.js +40 -0
  85. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.js.map +1 -0
  86. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.d.ts +31 -0
  87. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.js +3 -0
  88. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.js.map +1 -0
  89. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.d.ts +6 -0
  90. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.js +22 -0
  91. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.js.map +1 -0
  92. package/dist/nodes/vector_store/shared/processDocuments.d.ts +25 -0
  93. package/dist/nodes/vector_store/shared/processDocuments.js +46 -0
  94. package/dist/nodes/vector_store/shared/processDocuments.js.map +1 -0
  95. package/dist/package.json +29 -19
  96. package/dist/tsconfig.tsbuildinfo +1 -1
  97. package/dist/utils/N8nBinaryLoader.d.ts +18 -0
  98. package/dist/utils/N8nBinaryLoader.js +159 -0
  99. package/dist/utils/N8nBinaryLoader.js.map +1 -0
  100. package/dist/utils/N8nJsonLoader.d.ts +11 -0
  101. package/dist/utils/N8nJsonLoader.js +67 -0
  102. package/dist/utils/N8nJsonLoader.js.map +1 -0
  103. package/dist/utils/N8nTool.d.ts +10 -0
  104. package/dist/utils/N8nTool.js +86 -0
  105. package/dist/utils/N8nTool.js.map +1 -0
  106. package/dist/utils/helpers.d.ts +23 -0
  107. package/dist/utils/helpers.js +172 -0
  108. package/dist/utils/helpers.js.map +1 -0
  109. package/dist/utils/logWrapper.d.ts +27 -0
  110. package/dist/utils/logWrapper.js +297 -0
  111. package/dist/utils/logWrapper.js.map +1 -0
  112. package/dist/utils/sharedFields.d.ts +6 -0
  113. package/dist/utils/sharedFields.js +122 -0
  114. package/dist/utils/sharedFields.js.map +1 -0
  115. package/package.json +35 -27
  116. package/dist/credentials/CouchbaseCredentialsApi.credentials.d.ts +0 -7
  117. package/dist/credentials/CouchbaseCredentialsApi.credentials.js +0 -50
  118. package/dist/credentials/CouchbaseCredentialsApi.credentials.js.map +0 -1
  119. package/dist/nodes/CouchbaseDB/CouchbaseNode.node.d.ts +0 -6
  120. package/dist/nodes/CouchbaseDB/CouchbaseNode.node.js +0 -206
  121. package/dist/nodes/CouchbaseDB/CouchbaseNode.node.js.map +0 -1
  122. package/dist/nodes/CouchbaseNode/CouchbaseNode.node.d.ts +0 -6
  123. package/dist/nodes/CouchbaseNode/CouchbaseNode.node.js +0 -256
  124. package/dist/nodes/CouchbaseNode/CouchbaseNode.node.js.map +0 -1
  125. /package/dist/nodes/{CouchbaseDB → Couchbase}/CBLogomark.svg +0 -0
  126. /package/dist/nodes/{CouchbaseNode/CBLogomark.svg → vector_store/VectorStoreCouchbase/couchbase.svg} +0 -0
@@ -1,256 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CouchbaseNode = void 0;
4
- const n8n_workflow_1 = require("n8n-workflow");
5
- const couchbase_1 = require("couchbase");
6
- class CouchbaseNode {
7
- constructor() {
8
- this.description = {
9
- displayName: 'Couchbase',
10
- name: 'couchbaseNode',
11
- icon: 'file:CBLogomark.svg',
12
- group: ['transform'],
13
- version: 1,
14
- description: 'Couchbase Node to add, update and delete data from couchbase',
15
- defaults: {
16
- name: 'Couchbase',
17
- },
18
- inputs: ['main'],
19
- outputs: ['main'],
20
- credentials: [
21
- {
22
- name: 'couchbaseApi',
23
- required: false,
24
- },
25
- ],
26
- properties: [
27
- {
28
- displayName: 'Operation',
29
- name: 'operation',
30
- type: 'options',
31
- noDataExpression: true,
32
- options: [
33
- {
34
- name: 'Create',
35
- value: 'insert',
36
- description: 'Create document in couchbase',
37
- action: 'Create document in couchbase',
38
- },
39
- {
40
- name: 'Delete',
41
- value: 'remove',
42
- description: 'Delete document in couchbase',
43
- action: 'Delete document in couchbase',
44
- },
45
- {
46
- name: 'Import',
47
- value: 'import',
48
- description: 'Import document in couchbase',
49
- action: 'Import document in couchbase',
50
- },
51
- {
52
- name: 'Query',
53
- value: 'query',
54
- description: 'Query document in couchbase',
55
- action: 'Query document in couchbase',
56
- },
57
- {
58
- name: 'Read',
59
- value: 'find',
60
- description: 'Read document in couchbase',
61
- action: 'Read document in couchbase',
62
- },
63
- {
64
- name: 'Update',
65
- value: 'update',
66
- description: 'Update document in couchbase',
67
- action: 'Update document in couchbase',
68
- },
69
- ],
70
- default: 'insert',
71
- },
72
- {
73
- displayName: 'Value',
74
- name: 'myDocument',
75
- type: 'string',
76
- displayOptions: {
77
- show: {
78
- operation: ['insert'],
79
- },
80
- },
81
- default: '',
82
- placeholder: 'Placeholder value',
83
- description: 'The description text',
84
- },
85
- {
86
- displayName: 'Document ID',
87
- name: 'myDocument',
88
- type: 'string',
89
- displayOptions: {
90
- show: {
91
- operation: ['update'],
92
- },
93
- },
94
- default: '',
95
- placeholder: 'Placeholder value',
96
- description: 'The description text',
97
- },
98
- {
99
- displayName: 'New Value',
100
- name: 'myValue',
101
- type: 'string',
102
- displayOptions: {
103
- show: {
104
- operation: ['update'],
105
- },
106
- },
107
- default: '',
108
- placeholder: 'Placeholder value',
109
- description: 'The description text',
110
- },
111
- {
112
- displayName: 'Document ID',
113
- name: 'myDocument',
114
- type: 'string',
115
- displayOptions: {
116
- show: {
117
- operation: ['remove'],
118
- },
119
- },
120
- default: '',
121
- placeholder: 'Placeholder value',
122
- description: 'The description text',
123
- },
124
- {
125
- displayName: 'Document ID',
126
- name: 'myDocument',
127
- type: 'string',
128
- displayOptions: {
129
- show: {
130
- operation: ['find'],
131
- },
132
- },
133
- default: '',
134
- placeholder: 'Placeholder value',
135
- description: 'The description text',
136
- },
137
- {
138
- displayName: 'Run Query',
139
- name: 'query',
140
- type: 'string',
141
- displayOptions: {
142
- show: {
143
- operation: ['query'],
144
- },
145
- },
146
- typeOptions: {
147
- rows: 5,
148
- },
149
- default: '',
150
- placeholder: 'e.g. SELECT * FROM users WHERE name="Michael"',
151
- description: 'The N1QL query to execute',
152
- },
153
- ],
154
- };
155
- }
156
- async execute() {
157
- const credentials = await this.getCredentials('couchbaseApi');
158
- const myConnection = credentials.MyConnection;
159
- const myUsername = credentials.MyUsername;
160
- const myPassword = credentials.MyPassword;
161
- const myBucket = credentials.MyBucket;
162
- const myScope = credentials.MyScope;
163
- const myCollection = credentials.MyCollection;
164
- const items = this.getInputData();
165
- let item;
166
- let item2;
167
- let item3;
168
- let item4;
169
- let item5;
170
- let myDocument;
171
- let myNewValue;
172
- let myNewQuery;
173
- let readJson;
174
- for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
175
- const uuid = require("uuid");
176
- const id = uuid.v4();
177
- try {
178
- myNewQuery = this.getNodeParameter('query', itemIndex, '');
179
- myNewValue = this.getNodeParameter('myValue', itemIndex, '');
180
- myDocument = this.getNodeParameter('myDocument', itemIndex, '');
181
- const clusterConnStr = myConnection;
182
- const username = myUsername;
183
- const password = myPassword;
184
- const bucketName = myBucket;
185
- const cluster = await (0, couchbase_1.connect)(clusterConnStr, {
186
- username: username,
187
- password: password,
188
- configProfile: 'wanDevelopment'
189
- });
190
- const bucket = cluster.bucket(bucketName);
191
- const collection = bucket
192
- .scope(myScope)
193
- .collection(myCollection);
194
- const operation = this.getNodeParameter('operation', 0);
195
- if (operation === 'insert') {
196
- item = items[itemIndex];
197
- item.json['myDocument'] = myDocument;
198
- await collection.insert(id, item.json);
199
- }
200
- else if (operation === 'update') {
201
- item2 = items[itemIndex];
202
- item2.json['myDocument'] = myNewValue;
203
- await collection.upsert(myDocument, item2.json);
204
- }
205
- else if (operation === 'remove') {
206
- await collection.remove(myDocument);
207
- }
208
- else if (operation === 'find') {
209
- const getResult = await collection.get(myDocument);
210
- console.log('Get Result:', getResult);
211
- readJson = JSON.stringify(getResult.content);
212
- console.log('Get Result in String:', readJson);
213
- item3 = items[itemIndex];
214
- item3.json[''] = readJson;
215
- item4 = items[itemIndex];
216
- item4.json[' '];
217
- await collection.get(myDocument);
218
- }
219
- else if (operation === 'import') {
220
- item = items[itemIndex];
221
- await collection.insert(id, item);
222
- }
223
- else if (operation === 'query') {
224
- const queryResult = await bucket
225
- .scope(myScope)
226
- .query(myNewQuery);
227
- console.log('Query Results:');
228
- queryResult.rows.forEach((row) => {
229
- console.log(row);
230
- });
231
- readJson = JSON.stringify(queryResult.rows);
232
- console.log('Get Result in String:', readJson);
233
- item5 = items[itemIndex];
234
- item5.json[''] = queryResult.rows;
235
- }
236
- }
237
- catch (error) {
238
- if (this.continueOnFail()) {
239
- items.push({ json: this.getInputData(itemIndex)[0].json, error, pairedItem: itemIndex });
240
- }
241
- else {
242
- if (error.context) {
243
- error.context.itemIndex = itemIndex;
244
- throw error;
245
- }
246
- throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, {
247
- itemIndex,
248
- });
249
- }
250
- }
251
- }
252
- return this.prepareOutputData(items);
253
- }
254
- }
255
- exports.CouchbaseNode = CouchbaseNode;
256
- //# sourceMappingURL=CouchbaseNode.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CouchbaseNode.node.js","sourceRoot":"","sources":["../../../nodes/CouchbaseNode/CouchbaseNode.node.ts"],"names":[],"mappings":";;;AACA,+CAKsB;AAEtB,yCAMoB;AAEpB,MAAa,aAAa;IAA1B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,qBAAqB;YAC3B,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,8DAA8D;YAC3E,QAAQ,EAAE;gBACT,IAAI,EAAE,WAAW;aACjB;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,cAAc;oBACpB,QAAQ,EAAE,KAAK;iBACf;aACD;YACD,UAAU,EAAE;gBACX;oBACa,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACL;4BACI,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;4BACf,WAAW,EAAE,8BAA8B;4BAC3C,MAAM,EAAE,8BAA8B;yBACzC;wBAChB;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;4BACf,WAAW,EAAE,8BAA8B;4BAC3C,MAAM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