mise API - v0.0.0
    Preparing search index...

    Function envelope_ok

    • Creates a successful envelope.

      Parameters

      • rendered: string

        Accumulated printable output of the command.

      • Optionalmodel: { data: unknown; kind: string }

        Optional typed result.

      Returns {
          errors?: { message: string; type: "error" | "warning" }[];
          model?: { data: unknown; kind: string };
          rendered: string;
          renderedErr?: string;
          status: "error" | "ok";
          trace?: {
              executed?: string;
              input: string;
              proposed: string;
              validated: boolean;
          };
      }

      An envelope with ok status.