76 lines
2.9 KiB
JavaScript
76 lines
2.9 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.LibreBookingConfig = void 0;
|
|
/**
|
|
* LibreBooking Config Credential
|
|
*
|
|
* Ermöglicht die zentrale Konfiguration von Standardwerten,
|
|
* die in allen LibreBooking Nodes verwendet werden können.
|
|
*/
|
|
class LibreBookingConfig {
|
|
constructor() {
|
|
this.name = 'libreBookingConfig';
|
|
this.displayName = 'LibreBooking Config';
|
|
this.documentationUrl = 'https://librebooking.org';
|
|
this.properties = [
|
|
{
|
|
displayName: 'Hinweis',
|
|
name: 'notice',
|
|
type: 'notice',
|
|
default: '',
|
|
description: 'Dieser Config-Node speichert Standardwerte für LibreBooking Operationen. Er ist optional und die Werte können in den einzelnen Nodes überschrieben werden.',
|
|
},
|
|
{
|
|
displayName: 'Standard Nutzungsbedingungen Akzeptiert',
|
|
name: 'defaultTermsAccepted',
|
|
type: 'boolean',
|
|
default: true,
|
|
description: 'Standardwert für die Akzeptanz der Nutzungsbedingungen bei Reservierungen',
|
|
},
|
|
{
|
|
displayName: 'Standard Teilnahme Erlauben',
|
|
name: 'defaultAllowParticipation',
|
|
type: 'boolean',
|
|
default: false,
|
|
description: 'Standardwert für die Teilnahme-Erlaubnis bei Reservierungen',
|
|
},
|
|
{
|
|
displayName: 'Standard Ressourcen-ID',
|
|
name: 'defaultResourceId',
|
|
type: 'number',
|
|
default: 0,
|
|
description: 'Standard-Ressourcen-ID für Reservierungen (0 = keine Standardressource)',
|
|
},
|
|
{
|
|
displayName: 'Standard Benutzer-ID',
|
|
name: 'defaultUserId',
|
|
type: 'number',
|
|
default: 0,
|
|
description: 'Standard-Benutzer-ID für Reservierungen (0 = angemeldeter Benutzer)',
|
|
},
|
|
{
|
|
displayName: 'Standard Zeitplan-ID',
|
|
name: 'defaultScheduleId',
|
|
type: 'number',
|
|
default: 0,
|
|
description: 'Standard-Zeitplan-ID für Ressourcen-Erstellung (0 = keine Standard-Zeitplan)',
|
|
},
|
|
{
|
|
displayName: 'Standard Zeitzone',
|
|
name: 'defaultTimezone',
|
|
type: 'string',
|
|
default: 'Europe/Berlin',
|
|
description: 'Standard-Zeitzone für neue Benutzer',
|
|
},
|
|
{
|
|
displayName: 'Standard Sprache',
|
|
name: 'defaultLanguage',
|
|
type: 'string',
|
|
default: 'de_de',
|
|
description: 'Standard-Sprache für neue Benutzer',
|
|
},
|
|
];
|
|
}
|
|
}
|
|
exports.LibreBookingConfig = LibreBookingConfig;
|
|
//# sourceMappingURL=LibreBookingConfig.credentials.js.map
|