UNPKG

@omnia/fx-models

Version:
21 lines (20 loc) 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserDataSourceProperty = void 0; const DataSourceProperty_1 = require("./DataSourceProperty"); class UserDataSourceProperty extends DataSourceProperty_1.DataSourceProperty { constructor(dataSourceId, enterprisePropertyBindingId, userPropertyBindingId, builtInId, builtInInternalName) { super(dataSourceId); this.enterprisePropertyBindingId = enterprisePropertyBindingId; this.userPropertyBindingId = userPropertyBindingId; this.builtInId = builtInId; this.builtInInternalName = builtInInternalName; this.isEqual = (property) => { return this.dataSourceId == property.dataSourceId && this.enterprisePropertyBindingId == property.enterprisePropertyBindingId && this.userPropertyBindingId == property.userPropertyBindingId && this.builtInInternalName == property.builtInInternalName; }; } } exports.UserDataSourceProperty = UserDataSourceProperty;