Skip to main content

LocalizedStringArray

LocalizedStringArray

An array of string values in a given LanguageCode, used to define human-readable string values. The ui property can be used in conjunction with the Vendure Admin UI to specify a custom form input component.

Example

const title: LocalizedStringArray = [
{ languageCode: LanguageCode.en, value: 'English Title' },
{ languageCode: LanguageCode.de, value: 'German Title' },
{ languageCode: LanguageCode.zh, value: 'Chinese Title' },
]
Signature
type LocalizedStringArray = Array<Omit<LocalizedString, '__typename'>>