Home > @i2analyze/i2connect > utility > LogicalTypeValueTypeMap
utility.LogicalTypeValueTypeMap type
A map of logical type to value types for a particular property type.
Signature:
type LogicalTypeValueTypeMap<TPropertyType extends schema.IPropertyType> = {
singleLineString: string;
multipleLineString: string;
suggestedFromList: PropertyValuesFromPossibleValues<TPropertyType> | string;
selectedFromList: PropertyValuesFromPossibleValues<TPropertyType>;
date: data.ILocalDate;
time: data.ILocalTime;
decimal: data.IDecimal;
integer: number;
double: number;
boolean: boolean;
dateAndTime: data.IZonedDateTime;
geospatial: data.IGeoPoint;
};
References: schema.IPropertyType, PropertyValuesFromPossibleValues, data.ILocalDate, data.ILocalTime, data.IDecimal, data.IZonedDateTime, data.IGeoPoint
Introduced: API version 2.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TPropertyType | extends schema.IPropertyType | The property type to evaluate. |