Skip to main content
Module

x/gustwind/types.ts>BuildWorkerEvent

🐳💨 – Deno powered JSON oriented site generator
Go to Latest
type alias BuildWorkerEvent
import { type BuildWorkerEvent } from "https://deno.land/x/gustwind@v0.32.2/types.ts";
definition:
| { type: "init"; payload: { components: Components; projectMeta: ProjectMeta; }; }
| { type: "build"; payload: { layout: Component | Component[]; route: Route; pagePath: string; dir: string; url: string; }; }
| { type: "writeFile"; payload: { dir: string; file: string; data: string; }; }
| { type: "writeScript"; payload: { outputDirectory: string; scriptName: string; scriptPath?: string; }; }
| { type: "writeAssets"; payload: { outputPath: string; assetsPath: ProjectMeta["paths"]["assets"]; }; }