nestjs-graphql-relay
Version:
@nestjs/graphql + graphql-relay + typeorm
28 lines • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderByInput = exports.OrderByDirection = void 0;
const tslib_1 = require("tslib");
const graphql_1 = require("@nestjs/graphql");
var OrderByDirection;
(function (OrderByDirection) {
OrderByDirection["ASC"] = "ASC";
OrderByDirection["DESC"] = "DESC";
})(OrderByDirection || (exports.OrderByDirection = OrderByDirection = {}));
(0, graphql_1.registerEnumType)(OrderByDirection, { name: "OrderByDirection" });
let OrderByInput = class OrderByInput {
createdAt;
updatedAt;
};
exports.OrderByInput = OrderByInput;
tslib_1.__decorate([
(0, graphql_1.Field)(() => OrderByDirection, { nullable: true }),
tslib_1.__metadata("design:type", String)
], OrderByInput.prototype, "createdAt", void 0);
tslib_1.__decorate([
(0, graphql_1.Field)(() => OrderByDirection, { nullable: true }),
tslib_1.__metadata("design:type", String)
], OrderByInput.prototype, "updatedAt", void 0);
exports.OrderByInput = OrderByInput = tslib_1.__decorate([
(0, graphql_1.InputType)()
], OrderByInput);
//# sourceMappingURL=orderBy.input.js.map