UNPKG

ts-db-helper

Version:
16 lines 681 B
import * as tslib_1 from "tslib"; import { FieldSerializer } from './field-serializer'; var ComputedFieldSerializer = /** @class */ (function (_super) { tslib_1.__extends(ComputedFieldSerializer, _super); function ComputedFieldSerializer(fieldName, jsonKey, config) { var _this = _super.call(this, fieldName, jsonKey, config) || this; _this.rules.isReadonly = true; return _this; } ComputedFieldSerializer.prototype.checkFieldRules = function (data) { return null; }; return ComputedFieldSerializer; }(FieldSerializer)); export { ComputedFieldSerializer }; //# sourceMappingURL=computed.field-serializer.js.map