ravendb
Version:
RavenDB client for Node.js
20 lines • 493 B
JavaScript
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