@codelytv/primitives-type
Version:
Type entity primitives from value objects
15 lines • 378 B
JavaScript
var Step = (function () {
function Step(name, publishedAt) {
this.name = name;
this.publishedAt = publishedAt;
}
Step.prototype.toPrimitives = function () {
return {
name: this.name,
publishedAt: this.publishedAt.toISOString(),
};
};
return Step;
}());
export { Step };
//# sourceMappingURL=Step.js.map