Skip to content
1 min read · 43 words

Type Alias: MediaArgJson

ts
type MediaArgJson =
  | string
  | number
  | boolean
  | null
  | MediaArgJson[]
  | {
      [key: string]: MediaArgJson;
    };

Defined in: src/batteries/media/plan.ts:51

A structured (JSON-shaped) arg value. In the pipe surface these are written as quoted JSON (updates='[{"address":"B2","value":3}]'); in ops they are plain JSON. null is legal only inside structured values (cell values), never as a top-level scalar.