Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deco/engine/manifest/manifestBuilder.ts>ManifestBuilder

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface ManifestBuilder
import { type ManifestBuilder } from "https://deno.land/x/deco@1.57.30/engine/manifest/manifestBuilder.ts";

Type Parameters

optional
TManifest extends AppManifest = AppManifest

Properties

mergeWith: (def: TManifest[]) => ManifestBuilder
equal: (other: ManifestBuilder) => boolean
data: ManifestData
toJSONString: () => string
addImports: (...imports: Import[]) => ManifestBuilder
addManifestValues: (...vals: [string, JSONValue][]) => ManifestBuilder
addValuesOnManifestKey: (key: string, ...vals: [string, JSONValue][]) => ManifestBuilder
addExports: (...exports: Export[]) => ManifestBuilder
addExportDefault: (dfs: ExportDefault) => ManifestBuilder
addStatements: (...statements: Statement[]) => ManifestBuilder

Methods

build(): string