API / @aionbuilders/nabu

FieldSpec

Type Stability: stable

Definition

TypeScript
import type { FieldSpec } from '@aionbuilders/nabu';
TypeScript
interface FieldSpec {
  kind: FieldKind;
  name: string;
  values?: string[];
}

Properties

Properties of FieldSpec
PropertyTypeDescription
kindFieldKindn/a
namestringn/a
valuesoptionalstring[]

the allowed values of an enum

Source: src/lib/blocks/region/types.js:19