@telefonica/confluence-sync
Version:
Creates/updates/deletes Confluence pages based on a list of objects containing the page contents. Supports nested pages and attachments upload
13 lines (12 loc) • 677 B
JavaScript
;
// SPDX-FileCopyrightText: 2025 Telefónica Innovación Digital
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidSyncModeException = void 0;
const ConfluenceSyncPages_types_1 = require("../ConfluenceSyncPages.types");
class InvalidSyncModeException extends Error {
constructor(syncMode, options) {
super(`Invalid sync mode "${syncMode}". Please use one of "${ConfluenceSyncPages_types_1.SyncModes.FLAT}", "${ConfluenceSyncPages_types_1.SyncModes.TREE}" or "${ConfluenceSyncPages_types_1.SyncModes.ID}"`, options);
}
}
exports.InvalidSyncModeException = InvalidSyncModeException;