@configurator/ravendb
Version:
RavenDB client for Node.js
21 lines • 618 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteCompareExchangeCommandData = void 0;
class DeleteCompareExchangeCommandData {
constructor(key, index) {
this.id = key;
this._index = index;
}
get type() {
return "CompareExchangePUT";
}
serialize(conventions) {
return {
Id: this.id,
Index: this._index,
Type: "CompareExchangeDELETE"
};
}
}
exports.DeleteCompareExchangeCommandData = DeleteCompareExchangeCommandData;
//# sourceMappingURL=DeleteCompareExchangeCommandData.js.map