@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
17 lines (16 loc) • 490 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PropertyBinding = void 0;
class PropertyBinding {
constructor(typeDef, bindingId, displayName) {
if (typeDef.id) {
this.propertyDefinitionId = typeDef.id;
}
else {
this.propertyDefinitionId = new typeDef().id;
}
this.bindingId = bindingId;
this.displayName = displayName || {};
}
}
exports.PropertyBinding = PropertyBinding;