FieldType · Node.js
Select string, integer, float or boolean validation.
In this guide
Purpose and lifecycle
Node enum values are String=0, Integer=1, Float=2, Boolean=3. Python enum members wrap the native enum.
Validation does not turn string-valued job exports into typed JSON numbers or booleans.
Definition and availability
Source snapshot: 1.0.0-alpha.3. Package export. Declared in source; this is not a runtime test result.
Signatures and source locations are generated from the SDK wrappers. Clean snapshots link to the recorded commit. Modified snapshots link to main, which may differ; file hashes identify the local inputs.
export enum FieldType {
String = 0,
Integer = 1,
Float = 2,
Boolean = 3,
}Members
| Member | Kind | Return / value type | Source status |
|---|---|---|---|
| String | variant | FieldType.String | Present in source |
| Integer | variant | FieldType.Integer | Present in source |
| Float | variant | FieldType.Float | Present in source |
| Boolean | variant | FieldType.Boolean | Present in source |
String
Named enum member; use the symbol rather than a numeric literal.
Returns / value: FieldType.String.
String = 0Integer
Named enum member; use the symbol rather than a numeric literal.
Returns / value: FieldType.Integer.
Integer = 1Float
Named enum member; use the symbol rather than a numeric literal.
Returns / value: FieldType.Float.
Float = 2Boolean
Named enum member; use the symbol rather than a numeric literal.
Returns / value: FieldType.Boolean.
Boolean = 3Errors and operational limits
Use the named enum members; arbitrary numeric values are not a portable contract.
Source availability, package publication and runtime validation are separate facts. These pages describe the source snapshot, not a claim that all platforms or every API path have passed production acceptance.