Home > @i2analyze/i2connect > records > LogicalTypeValueTypeMap
records.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.ISO8601Date;
time: data.ISO8601Time;
decimal: data.DecimalString;
integer: number;
double: number;
boolean: boolean;
dateAndTime: data.DateTime;
geospatial: data.IGeoJsonPoint;
};
References: schema.IPropertyType, PropertyValuesFromPossibleValues, data.ISO8601Date, data.ISO8601Time, data.DecimalString, data.DateTime, data.IGeoJsonPoint
Introduced: API version 1.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TPropertyType | extends schema.IPropertyType | The property type for which to look up the types. |