Skip to main content

StructFieldConfig

Configures an individual field of a "struct" custom field. The individual fields share the same API as the top-level custom fields, with the exception that they do not support the readonly, internal, nullable, unique and requiresPermission options.

Example

Ts
const customFields: CustomFields = {  Product: [    {      name: 'specifications',      type: 'struct',      fields: [        { name: 'processor', type: 'string' },        { name: 'ram', type: 'string' },        { name: 'screenSize', type: 'float' },      ],    },  ],};
Signature
type StructFieldConfig = | StringStructFieldConfig    | TextStructFieldConfig    | IntStructFieldConfig    | FloatStructFieldConfig    | BooleanStructFieldConfig    | DateTimeStructFieldConfig
Was this chapter helpful?
Report Issue
Edited Feb 2, 2026·Edit this page