SPB Git

Repository Public

types.ts 318 B 5 lines typescript

1import type { BlockOf } from "@/schema";23/** What a chart needs to be drawn: the chart block without its identity. Simulations produce the same shape. */4export type ChartSpec = Pick<BlockOf<"chart">, "kind" | "dataKind" | "x" | "y" | "series"> & Partial<Pick<BlockOf<"chart">, "title" | "caption" | "annotations">>;5
Files main
Menu

Theme