Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

808 B
Raw Blame
/**
 * Generated by orval v8.14.0 🍺
 * Do not edit manually.
 * PostHog API - 1 ops
 * OpenAPI spec version: 1.0.0
 */
import { z as zod } from 'zod'

export const notebookWidgetConfigNotebookShortIdOneMax = 128

export const NotebookWidgetConfig = /* @__PURE__ */ zod.object({
    notebookShortId: zod
        .union([zod.string().min(1).max(notebookWidgetConfigNotebookShortIdOneMax), zod.null()])
        .optional()
        .describe('Source notebook short ID.'),
    snapshotId: zod
        .union([zod.uuid(), zod.null()])
        .optional()
        .describe("Immutable notebook widget snapshot. Add one from a notebook widget's menu."),
})

export type NotebookWidgetConfig = zod.input<typeof NotebookWidgetConfig>
export type NotebookWidgetConfigOutput = zod.output<typeof NotebookWidgetConfig>