Docs/API reference

FieldType · Node.js

Select string, integer, float or boolean validation.

Download .md
Developers2 min read8 sections
Source reference · Match your SDK version. Availability and known issues
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,
}
typescript6 lines · copy-ready

Members

MemberKindReturn / value typeSource status
StringvariantFieldType.StringPresent in source
IntegervariantFieldType.IntegerPresent in source
FloatvariantFieldType.FloatPresent in source
BooleanvariantFieldType.BooleanPresent in source

String

Named enum member; use the symbol rather than a numeric literal.

Returns / value: FieldType.String.

String = 0
typescript1 lines · copy-ready

Integer

Named enum member; use the symbol rather than a numeric literal.

Returns / value: FieldType.Integer.

Integer = 1
typescript1 lines · copy-ready

Float

Named enum member; use the symbol rather than a numeric literal.

Returns / value: FieldType.Float.

Float = 2
typescript1 lines · copy-ready

Boolean

Named enum member; use the symbol rather than a numeric literal.

Returns / value: FieldType.Boolean.

Boolean = 3
typescript1 lines · copy-ready

Errors 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.