SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    ScriptEvent: Message<"soulfire.v1.ScriptEvent"> & {
        event:
            | { case: "nodeStarted"; value: NodeStarted }
            | { case: "nodeCompleted"; value: NodeCompleted }
            | { case: "nodeError"; value: NodeError }
            | { case: "scriptCompleted"; value: ScriptCompleted }
            | { case: "scriptStarted"; value: ScriptStarted }
            | { case: "scriptLog"; value: ScriptLog }
            | { case: "executionStats"; value: ExecutionStats }
            | { case: undefined; value?: undefined };
    }

    Union type for all script execution events. Streamed to clients during script activation to provide real-time feedback. Events represent individual trigger chain executions, not script lifecycle.

    Type Declaration

    • event:
          | { case: "nodeStarted"; value: NodeStarted }
          | { case: "nodeCompleted"; value: NodeCompleted }
          | { case: "nodeError"; value: NodeError }
          | { case: "scriptCompleted"; value: ScriptCompleted }
          | { case: "scriptStarted"; value: ScriptStarted }
          | { case: "scriptLog"; value: ScriptLog }
          | { case: "executionStats"; value: ExecutionStats }
          | { case: undefined; value?: undefined }

      The specific event that occurred.

      from oneof soulfire.v1.ScriptEvent.event

    from message soulfire.v1.ScriptEvent