Skip to content
1 min read · 53 words

Type Alias: MediaArgValue

ts
type MediaArgValue = MediaArgScalar | MediaArgScalar[] | MediaArgJson;

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

The value space of a single verb arg in the IR.

Remarks

Flat lists (types=image,font['image','font']) are MediaArgScalar[]. Whether a value parsed from quoted JSON or a flat token is decided by the verb's arg schema — the IR stores the final shape only.