n8n-nodes-nextcloud-deck
Version:
n8n Node für die Integration mit Nextcloud Deck - AI Agent Tool Support
40 lines (39 loc) • 1.51 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NextcloudDeckApi = void 0;
class NextcloudDeckApi {
constructor() {
this.name = 'nextcloudDeckApi';
this.displayName = 'Nextcloud Deck API';
this.documentationUrl = 'https://deck.readthedocs.io/en/latest/API/';
this.properties = [
{
displayName: 'Nextcloud URL',
name: 'serverUrl',
type: 'string',
default: 'https://cloud.example.com',
placeholder: 'https://ihre-nextcloud-instanz.de',
description: 'Die URL Ihrer Nextcloud-Instanz (ohne /index.php/apps/deck/api/)',
},
{
displayName: 'Benutzername',
name: 'username',
type: 'string',
default: '',
placeholder: 'max.mustermann',
description: 'Ihr Nextcloud Benutzername',
},
{
displayName: 'Passwort oder App Passwort',
name: 'password',
type: 'string',
typeOptions: {
password: true,
},
default: '',
description: 'Ihr Nextcloud Passwort oder ein App-Passwort (empfohlen). Bei 401-Fehlern erstellen Sie ein App-Passwort unter Einstellungen > Sicherheit > App-Passwörter.',
},
];
}
}
exports.NextcloudDeckApi = NextcloudDeckApi;