Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

3.5 KB
Raw Blame
/**
 * This file was auto-generated by openapi-typescript.
 * Do not make direct changes to the file.
 */

export type paths = Record<string, never>;
export type webhooks = Record<string, never>;
export interface components {
  schemas: {
    Cell: {
      code_hash: string | null;
      console: (
        | components["schemas"]["StreamOutput"]
        | components["schemas"]["StreamMediaOutput"]
      )[];
      id: string;
      outputs: (
        | components["schemas"]["ErrorOutput"]
        | components["schemas"]["DataOutput"]
      )[];
    };
    DataOutput: {
      code?: string;
      data: {
        [key: string]: unknown;
      };
      /** @enum {string} */
      type: "data";
    };
    ErrorOutput: {
      code?: string;
      ename: string;
      evalue: string;
      traceback: string[];
      /** @enum {string} */
      type: "error";
    };
    NotebookSessionMetadata: {
      marimo_version: string | null;
      script_metadata_hash: string | null;
    };
    NotebookSessionV1: {
      cells: components["schemas"]["Cell"][];
      metadata: components["schemas"]["NotebookSessionMetadata"];
      version: string;
    };
    StreamMediaOutput: {
      code?: string;
      data: string;
      /** @enum {string} */
      mimetype:
        | "application/json"
        | "application/vnd.marimo+error"
        | "application/vnd.marimo+traceback"
        | "application/vnd.marimo+mimebundle"
        | "application/vnd.vega.v5+json"
        | "application/vnd.vegalite.v5+json"
        | "application/vnd.vega.v6+json"
        | "application/vnd.vegalite.v6+json"
        | "application/vnd.jupyter.widget-view+json"
        | "image/png"
        | "image/svg+xml"
        | "image/tiff"
        | "image/avif"
        | "image/bmp"
        | "image/gif"
        | "image/jpeg"
        | "video/mp4"
        | "video/mpeg"
        | "text/html"
        | "text/plain"
        | "text/password"
        | "text/markdown"
        | "text/latex"
        | "text/csv";
      /** @enum {string} */
      name: "media";
      /** @enum {string} */
      traceback_format?: "text" | "html";
      /** @enum {string} */
      type: "streamMedia";
    };
    StreamOutput: {
      code?: string;
      /** @enum {string|null} */
      mimetype:
        | "application/json"
        | "application/vnd.marimo+error"
        | "application/vnd.marimo+traceback"
        | "application/vnd.marimo+mimebundle"
        | "application/vnd.vega.v5+json"
        | "application/vnd.vegalite.v5+json"
        | "application/vnd.vega.v6+json"
        | "application/vnd.vegalite.v6+json"
        | "application/vnd.jupyter.widget-view+json"
        | "image/png"
        | "image/svg+xml"
        | "image/tiff"
        | "image/avif"
        | "image/bmp"
        | "image/gif"
        | "image/jpeg"
        | "video/mp4"
        | "video/mpeg"
        | "text/html"
        | "text/plain"
        | "text/password"
        | "text/markdown"
        | "text/latex"
        | "text/csv"
        | null;
      /** @enum {string} */
      name: "stdout" | "stderr";
      text: string;
      /** @enum {string} */
      traceback_format?: "text" | "html";
      /** @enum {string} */
      type: "stream";
    };
    TimeMetadata: {
      completed: string | null;
      duration: number | null;
      started: string | null;
    };
  };
  responses: never;
  parameters: never;
  requestBodies: never;
  headers: never;
  pathItems: never;
}
export type $defs = Record<string, never>;
export type operations = Record<string, never>;