ValueType - TypeScript SDK

ValueType type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

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>