@seamapi/blueprint
Version:
Build tools for the Seam API using this blueprint.
10 lines (9 loc) • 341 B
TypeScript
import { z } from 'zod';
declare const LiteralSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
type Literal = z.infer<typeof LiteralSchema>;
export type Json = Literal | {
[key: string]: Json;
} | Json[];
export type NonNullJson = Exclude<Json, null>;
export declare const JsonSchema: z.ZodType<Json>;
export {};