UNPKG

@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) 625 B
"use strict"; // SPDX-FileCopyrightText: 2024 Telefónica Innovación Digital // SPDX-License-Identifier: Apache-2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.NotAncestorsExpectedValidationError = void 0; const Pages_1 = require("../support/Pages"); class NotAncestorsExpectedValidationError extends Error { constructor(pagesWithAncestors, options) { super(`Pages with ancestors are not supported in FLAT sync mode: ${(0, Pages_1.getPagesTitlesCommaSeparated)(pagesWithAncestors)}`, options); } } exports.NotAncestorsExpectedValidationError = NotAncestorsExpectedValidationError;