UNPKG

ravendb

Version:
20 lines 493 B
import { throwError } from "../../../Exceptions/index.js"; export class ForceRevisionCommandData { id; name; changeVector; type = "ForceRevisionCreation"; constructor(id) { if (!id) { throwError("InvalidArgumentException", "Id cannot be null"); } this.id = id; } serialize(conventions) { return { Id: this.id, Type: this.type }; } } //# sourceMappingURL=ForceRevisionCommandData.js.map