"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    SortDirection: function() {
        return SortDirection;
    },
    parseSortDirection: function() {
        return parseSortDirection;
    }
});
var SortDirection;
(function(SortDirection) {
    SortDirection[SortDirection["NONE"] = 0] = "NONE";
    SortDirection[SortDirection["ASC"] = 1] = "ASC";
    SortDirection[SortDirection["DESC"] = 2] = "DESC";
})(SortDirection || (SortDirection = {}));
function parseSortDirection(direction) {
    const value = parseInt(direction.toString());
    switch(value){
        case 0:
            return 0;
        case 1:
            return 1;
        case 2:
            return 0;
        default:
            return undefined;
    }
}

//# sourceMappingURL=types.js.map