Body, Mind & Soul — API Reference
    Preparing search index...

    "Import Trigger" dialog — lets a user copy a system-generated prompt describing this system's trigger JSON schema, paste it (plus their own request) into an external LLM, then paste the LLM's JSON response back in to validate and append it as one or more real triggers on the target document.

    Not wired into any sheet yet — instantiate directly: new ImportTriggerDialog({ document, surface: "standard" }).render(true) new ImportTriggerDialog({ document, surface: "swing", extra: { swingIndex: 0, triggersKey: "triggers" } }).render(true) new ImportTriggerDialog({ document, surface: "stage", extra: { threshold: "50" } }).render(true)

    Hierarchy

    • any
      • default
    Index
    • Parameters

      • options: {} = {}

      Returns default

    consumerType: string
    document: any
    errors: any[]
    extra: any
    surface: any
    DEFAULT_OPTIONS: {
        actions: {
            copyPrompt: (event: any, target: any) => Promise<void>;
            validateImport: (event: any, target: any) => Promise<void>;
        };
        position: { height: string; width: number };
        tag: string;
        window: { icon: string; resizable: boolean; title: string };
    } = ...
    errors:
        | { field: string; message: string }[]
        | { field: string; message: any }[]
        | undefined
    PARTS: { form: { template: string } } = ...
    pastedJson: any
    • Parameters

      • options: any

      Returns Promise<any>

    • Parameters

      • event: any
      • target: any

      Returns Promise<void>

    • Parameters

      • event: any
      • target: any

      Returns Promise<void>