Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / cli / DetailField

Type Alias: DetailField

DetailField = [string, DetailValue] | DetailFieldObject

Defined in: packages/b2c-tooling-sdk/src/cli/details.ts:26

A single label / value pair. Tuple form is supported as a shorthand — ['Login', 'user@example.com'] is equivalent to {label: 'Login', value: 'user@example.com'}.

Values that are null or undefined are skipped entirely (the row is not rendered). This matches the common shape of optional fields in OpenAPI responses where missing data is null.

Released under the Apache-2.0 License.