UNPKG

umbraco-cypress-testhelpers

Version:

Test helpers for making Cypress tests for Umbraco solutions

68 lines (67 loc) 2.31 kB
import DocumentTypeGroupBuilder from './documentTypeGroupBuilder'; import DocumentTypeTabBuilder from './documentTypeTabBuilder'; export declare class DocumentTypeBuilder { compositeContentTypes: any; isContainer: any; allowAsRoot: any; allowedTemplates: any; allowedContentTypes: any; alias: any; description: any; thumbnail: any; name: any; id: any; icon: any; trashed: any; key: any; parentId: any; path: any; allowCultureVariant: any; isElement: any; defaultTemplate: any; lockedCompositeContentTypes: any[]; historyCleanupPreventCleanup: any; historyCleanupKeepAllVersionsNewerThanDays: any; historyCleanupKeepLatestVersionPerDayForDays: any; documentTypeGroupBuilders: any; documentTypeHistoryCleanupBuilder: any; constructor(); withHistoryCleanup(preventCleanup: any, keepAllVersionsNewerThanDays: any, keepLatestVersionPerDayForDays: any): this; withAllowAsRoot(allowAsRoot: any): this; withDefaultTemplate(defaultTemplate: any): this; withAlias(alias: any): this; withName(name: any): this; withAllowedContentTypes(id: number): this; withLockedCompositeContentTypes(types: any[]): this; addGroup(documentTypeGroupBuilder?: DocumentTypeGroupBuilder): DocumentTypeGroupBuilder; addTab(documentTypeTabBuilder?: DocumentTypeTabBuilder): DocumentTypeTabBuilder; withId(id: number): this; withAllowCultureVariation(allowCultureVariant: any): this; build(): { compositeContentTypes: any; isContainer: any; allowAsRoot: any; allowedTemplates: any; allowedContentTypes: any; alias: any; description: any; thumbnail: any; name: any; id: any; icon: any; trashed: any; key: any; parentId: any; path: any; allowCultureVariant: any; isElement: any; defaultTemplate: any; lockedCompositeContentTypes: any[]; groups: any; historyCleanup: { historyCleanupPreventCleanup: any; historyCleanupKeepAllVersionsNewerThanDays: any; historyCleanupKeepLatestVersionPerDayForDays: any; }; }; }