n8n-nodes-appwriten8n
Advanced tools
Comparing version 0.3.1 to 0.3.3
@@ -5,2 +5,5 @@ "use strict"; | ||
const n8n_workflow_1 = require("n8n-workflow"); | ||
const DocumentDescription_1 = require("./DocumentDescription"); | ||
const StorageDescription_1 = require("./StorageDescription"); | ||
const FunctionDescription_1 = require("./FunctionDescription"); | ||
const AppwriteFunctions_1 = require("./AppwriteFunctions"); | ||
@@ -40,86 +43,20 @@ const node_appwrite_1 = require("node-appwrite"); | ||
}, | ||
], | ||
default: 'document', | ||
description: 'Resource or operation to utilize', | ||
}, | ||
{ | ||
displayName: 'Operation', | ||
name: 'operation', | ||
noDataExpression: true, | ||
type: 'options', | ||
displayOptions: { | ||
show: { | ||
resource: ['document'], | ||
} | ||
}, | ||
default: 'createDoc', | ||
options: [ | ||
{ | ||
name: 'Create', | ||
value: 'createDoc', | ||
action: 'Create document', | ||
name: 'Function', | ||
value: 'function', | ||
}, | ||
{ | ||
name: 'Delete', | ||
value: 'deleteDoc', | ||
action: 'Delete document', | ||
name: 'Storage', | ||
value: 'storage', | ||
}, | ||
], | ||
default: 'document', | ||
description: 'Resource or operation to utilize', | ||
}, | ||
{ | ||
displayName: 'Database ID', | ||
name: 'databaseId', | ||
type: 'string', | ||
required: true, | ||
default: '', | ||
description: 'Database ID in which transaction will be performed', | ||
displayOptions: { | ||
show: { | ||
resource: [ | ||
'document' | ||
], | ||
operation: [ | ||
'createDoc', | ||
'deleteDoc', | ||
], | ||
}, | ||
}, | ||
}, | ||
{ | ||
displayName: 'Collection ID', | ||
name: 'collectionId', | ||
type: 'string', | ||
required: true, | ||
default: '', | ||
description: 'Collection to list/create documents in', | ||
displayOptions: { | ||
show: { | ||
resource: [ | ||
'document' | ||
], | ||
operation: [ | ||
'createDoc', | ||
'deleteDoc', | ||
], | ||
}, | ||
}, | ||
}, | ||
{ | ||
displayName: 'Document ID', | ||
name: 'documentId', | ||
type: 'string', | ||
default: 'unique', | ||
description: 'ID for collection | For creating, unique is used for generating unique ID, it can be modified for custom document ID', | ||
displayOptions: { | ||
show: { | ||
resource: [ | ||
'document' | ||
], | ||
operation: [ | ||
'createDoc', | ||
'deleteDoc', | ||
], | ||
}, | ||
}, | ||
}, | ||
...DocumentDescription_1.documentOperations, | ||
...DocumentDescription_1.documentFields, | ||
...StorageDescription_1.storageOperations, | ||
...StorageDescription_1.storageFields, | ||
...FunctionDescription_1.functionOperations, | ||
...FunctionDescription_1.functionFields, | ||
], | ||
@@ -126,0 +63,0 @@ }; |
{ | ||
"name": "n8n-nodes-appwriten8n", | ||
"version": "0.3.1", | ||
"version": "0.3.3", | ||
"description": "N8N Nodes for Appwrite starting at 1.4.X and up, will be updated.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "n8n-nodes-appwriten8n", | ||
"version": "0.3.1", | ||
"version": "0.3.3", | ||
"description": "N8N Nodes for Appwrite starting at 1.4.X and up, will be updated.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144610
1183