UNPKG

wip-backup-manager

Version:

This utility enables backup & restore of Kentico Kontent projects

19 lines (18 loc) 1.33 kB
import { ContentItemContracts, ContentTypeContracts, ContentTypeSnippetContracts, LanguageVariantContracts, TaxonomyContracts, AssetContracts, LanguageContracts, AssetFolderContracts, ProjectContracts } from '@kentico/kontent-management'; import { IExportAllResult, IExportConfig } from './export.models'; export declare class ExportService { private config; private readonly client; constructor(config: IExportConfig); exportAllAsync(): Promise<IExportAllResult>; exportProjectValidationAsync(): Promise<ProjectContracts.IProjectReportResponseContract>; exportAssetsAsync(): Promise<AssetContracts.IAssetModelContract[]>; exportAssetFoldersAsync(): Promise<AssetFolderContracts.IAssetFolderContract[]>; exportLanguagesAsync(): Promise<LanguageContracts.ILanguageModelContract[]>; exportTaxonomiesAsync(): Promise<TaxonomyContracts.ITaxonomyContract[]>; exportContentTypeSnippetsAsync(): Promise<ContentTypeSnippetContracts.IContentTypeSnippetContract[]>; exportContentTypesAsync(): Promise<ContentTypeContracts.IContentTypeContract[]>; exportContentItemsAsync(): Promise<ContentItemContracts.IContentItemModelContract[]>; exportLanguageVariantsAsync(typeIds: string[]): Promise<LanguageVariantContracts.ILanguageVariantModelContract[]>; private processItem; }