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) 637 B
"use strict"; // SPDX-FileCopyrightText: 2024 Telefónica Innovación Digital // SPDX-License-Identifier: Apache-2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.PendingPagesToSyncError = void 0; const Pages_1 = require("../support/Pages"); class PendingPagesToSyncError extends Error { constructor(pendingPagesToSync, options) { super(`There still are ${pendingPagesToSync.length} pages to create after sync: ${(0, Pages_1.getPagesTitlesCommaSeparated)(pendingPagesToSync)}, check if they have their ancestors created.`, options); } } exports.PendingPagesToSyncError = PendingPagesToSyncError;