@wocart/theme / index / FieldValue
Type Alias: FieldValue<F>
FieldValue<
F> =Fextendsobject?number:Fextendsobject?boolean:Fextendsobject?Option:Fextendsobject?ResolvedImage:Fextendsobject?StyleValue:Fextendsobject?ColorScheme[] :Fextendsobject?string[] :Fextendsobject?RichTextDocument:Fextendsobject? (... & ...)[] :string
The value type one field resolves to. A select narrows to its option
literals; a list resolves to its items, each { id } plus its own fields.
Type Parameters
F
F extends FieldDefinition