@htmlbricks/hb-bundle
Version:
Single IIFE loader for all HTML Bricks hb-* web components from the jsDelivr CDN, with optional Subresource Integrity; includes agent/LLM docs and theme CSS variables.
15 lines (12 loc) • 408 B
TypeScript
import type { FormSchema } from "../form/webcomponent.type";
export type Component = {
id?: string;
style?: string;
/** From HTML: `yes` / `no` / `true` / `""` are coerced in `$effect`. */
debug?: boolean | string;
/** From HTML: JSON string parsed in `$effect` into `FormSchema`. */
output_schema?: string | FormSchema;
};
export type Events = {
done: { schema: FormSchema; id: string };
};