@sap-cloud-sdk/odata-v4
Version:
SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.
17 lines • 723 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomField = void 0;
const internal_1 = require("@sap-cloud-sdk/odata-common/internal");
class CustomField extends internal_1.CustomField {
edmDate() {
return this.fieldBuilder.buildEdmTypeField(this._fieldName, 'Edm.Date', this._fieldOptions.isNullable);
}
edmDuration() {
return this.fieldBuilder.buildEdmTypeField(this._fieldName, 'Edm.Duration', this._fieldOptions.isNullable);
}
edmTimeOfDay() {
return this.fieldBuilder.buildEdmTypeField(this._fieldName, 'Edm.TimeOfDay', this._fieldOptions.isNullable);
}
}
exports.CustomField = CustomField;
//# sourceMappingURL=custom-field.js.map