/*** * * SaaSquatch Type Definitions * * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. * * Generated on 2026-03-20T21:11:42.771Z * ***/ /*** * HtmlWidget.schema.json * Generated on 2026-03-20T21:11:42.921Z * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. ***/ /** * Raw HTML content that can use web components. */ export type HTMLTemplate = string /** * Whether this widget should automatically popup on page load */ export type AutoPopup = boolean /** * Defines a web-component based widget template that uses vanilla HTML. */ export interface HTMLWidgetTemplateSchema { meta?: TemplateMeta htmlTemplate: HTMLTemplate autoPopup?: AutoPopup brandingConfig?: BrandingConfig } export interface TemplateMeta { /** * A list of NPM resources to load into the widget */ dependencies?: NpmDependency[] /** * A list of component editors used in editing the widget */ plugins?: NpmDependency[] } /** * This interface was referenced by `HTMLWidgetTemplateSchema`'s JSON-Schema * via the `definition` "npmDependency". */ export interface NpmDependency { /** * An NPM package name or scoped package */ package: string /** * An NPM version string, such as Patch releases: 1.0 or 1.0.x or ~1.0.4 Minor releases: 1 or 1.x or ^1.0.4 Major releases: * or x */ version: string /** * The path to a resource in the specified package */ filePath?: string [k: string]: unknown } export interface BrandingConfig { [k: string]: unknown }