UNPKG

@umbraco/json-models-builders

Version:
47 lines (46 loc) 1.58 kB
export declare class PackageBuilder { name: string; contentNodeId: string; contentLoadChildNodes: boolean; mediaIds: string[]; mediaLoadChildNodes: boolean; documentTypes: string[]; mediaTypes: string[]; dataTypes: string[]; templates: string[]; partialViews: string[]; stylesheets: string[]; scripts: string[]; languages: string[]; dictionaryItems: string[]; withName(name: string): this; withContentNodeId(contentNodeId: string): this; withLoadContentChildNodes(contentLoadChildNodes: boolean): this; withMediaIds(mediaIds: string[]): this; withLoadMediaChildNodes(mediaLoadChildNodes: boolean): this; withDocumentTypes(documentTypes: string[]): this; withMediaTypes(mediaTypes: string[]): this; withDataTypes(dataTypes: string[]): this; withTemplates(templates: string[]): this; withPartialViews(partialViews: string[]): this; withStylesheets(stylesheets: string[]): this; withScripts(scripts: string[]): this; withLanguages(languages: string[]): this; withDictionaryItems(dictionaryItems: string[]): this; build(): { name: string; contentNodeId: string; contentLoadChildNodes: boolean; mediaIds: string[]; mediaLoadChildNodes: boolean; documentTypes: string[]; mediaTypes: string[]; dataTypes: string[]; templates: string[]; partialViews: string[]; stylesheets: string[]; scripts: string[]; languages: string[]; dictionaryItems: string[]; }; }