@umbraco/json-models-builders
Version:
Builders and models for Umbraco Sites
47 lines (46 loc) • 1.58 kB
TypeScript
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[];
};
}