furystack-core
Version:
FuryStack framework, Core package
80 lines • 4.15 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* OData v4 specified primitive types
* http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part3-csdl.html
*/
var EdmType;
(function (EdmType) {
/**
* Not set
*/
EdmType[EdmType["Unknown"] = 0] = "Unknown";
/** Binary data */
EdmType[EdmType["Binary"] = 1] = "Binary";
/** Binary-valued logic */
EdmType[EdmType["Boolean"] = 2] = "Boolean";
/** Unsigned 8-bit integer */
EdmType[EdmType["Byte"] = 3] = "Byte";
/** Date without a time-zone offset */
EdmType[EdmType["DateTime"] = 4] = "DateTime";
/** Date and time with a time-zone offset, no leap seconds */
EdmType[EdmType["DateTimeOffset"] = 5] = "DateTimeOffset";
/** Numeric values with fixed precision and scale */
EdmType[EdmType["Decimal"] = 6] = "Decimal";
/** IEEE 754 binary64 floating-point number (15-17 decimal digits) */
EdmType[EdmType["Double"] = 7] = "Double";
/** Signed duration in days, hours, minutes, and (sub)seconds */
EdmType[EdmType["Duration"] = 8] = "Duration";
/** 16-byte (128-bit) unique identifier */
EdmType[EdmType["Guid"] = 9] = "Guid";
/** Signed 16-bit integer */
EdmType[EdmType["Int16"] = 10] = "Int16";
/** Signed 32-bit integer */
EdmType[EdmType["Int32"] = 11] = "Int32";
/** Signed 64-bit integer */
EdmType[EdmType["Int64"] = 12] = "Int64";
/** Signed 8-bit integer */
EdmType[EdmType["SByte"] = 13] = "SByte";
/** IEEE 754 binary32 floating-point number (6-9 decimal digits) */
EdmType[EdmType["Single"] = 14] = "Single";
/** Binary data stream */
EdmType[EdmType["Stream"] = 15] = "Stream";
/** Sequence of UTF-8 characters */
EdmType[EdmType["String"] = 16] = "String";
/** Clock time 00:00-23:59:59.999999999999 */
EdmType[EdmType["TimeOfDay"] = 17] = "TimeOfDay";
/** Abstract base type for all Geography types */
EdmType[EdmType["Geography"] = 18] = "Geography";
/** A point in a round-earth coordinate system */
EdmType[EdmType["GeographyPoint"] = 19] = "GeographyPoint";
/** Line string in a round-earth coordinate system */
EdmType[EdmType["GeographyLineString"] = 20] = "GeographyLineString";
/** Polygon in a round-earth coordinate system */
EdmType[EdmType["GeographyPolygon"] = 21] = "GeographyPolygon";
/** Collection of points in a round-earth coordinate system */
EdmType[EdmType["GeographyMultiPoint"] = 22] = "GeographyMultiPoint";
/** Collection of line strings in a round-earth coordinate system */
EdmType[EdmType["GeographyMultiLineString"] = 23] = "GeographyMultiLineString";
/** Collection of polygons in a round-earth coordinate system */
EdmType[EdmType["GeographyMultiPolygon"] = 24] = "GeographyMultiPolygon";
/** Collection of arbitrary Geography values */
EdmType[EdmType["GeographyCollection"] = 25] = "GeographyCollection";
/** Abstract base type for all Geometry types */
EdmType[EdmType["Geometry"] = 26] = "Geometry";
/** Point in a flat-earth coordinate system */
EdmType[EdmType["GeometryPoint"] = 27] = "GeometryPoint";
/** Line string in a flat-earth coordinate system */
EdmType[EdmType["GeometryLineString"] = 28] = "GeometryLineString";
/** Polygon in a flat-earth coordinate system */
EdmType[EdmType["GeometryPolygon"] = 29] = "GeometryPolygon";
/** Collection of points in a flat-earth coordinate system */
EdmType[EdmType["GeometryMultiPoint"] = 30] = "GeometryMultiPoint";
/** Collection of line strings in a flat-earth coordinate system */
EdmType[EdmType["GeometryMultiLineString"] = 31] = "GeometryMultiLineString";
/** Collection of polygons in a flat-earth coordinate system */
EdmType[EdmType["GeometryMultiPolygon"] = 32] = "GeometryMultiPolygon";
/** Collection of arbitrary Geometry values */
EdmType[EdmType["GeometryCollection"] = 33] = "GeometryCollection";
})(EdmType = exports.EdmType || (exports.EdmType = {}));
//# sourceMappingURL=EdmTypes.js.map