ValueType - TypeScript SDK

ValueType type definition

Whether the operator expects a single value or an array

Example Usage

1import { ValueType } from "@openrouter/sdk/models/operations";
2
3let value: ValueType = "scalar";
4
5// Open enum: unrecognized values are captured as Unrecognized<string>

Values

1"scalar" | "array" | Unrecognized<string>