UNPKG

@persona/layout-editor-remote-module

Version:

Shared manifest format, Vite plugin, and host/iframe bridge for remotely-defined dashboard layout modules in Persona dashboard apps.

17 lines (15 loc) • 495 B
import { z } from "zod"; //#region src/types.d.ts type Json = boolean | JsonObject | JsonValue[] | null | number | string; /** * Loose JSON Schema object. Deliberately not a full JSON Schema type system — * this package only needs to carry what `z.toJSONSchema()` emits for consumers * to validate or render. */ type JsonSchemaObject = Record<string, unknown>; type JsonObject = { [key: string]: Json; }; type JsonValue = Json; //#endregion export { JsonSchemaObject as n, Json as t };