"use strict";var __extends=this&&this.__extends||function(){var r=function(e,t){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var a in o)if(Object.prototype.hasOwnProperty.call(o,a))n[a]=o[a]};return r(e,t)};return function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(exports,"__esModule",{value:true});exports.RenameCommand=void 0;var AbstractCommand_1=require("../AbstractCommand");var RenameCommand=function(r){__extends(e,r);function e(t){var n=r.call(this)||this;n.name=t;return n}Object.defineProperty(e.prototype,"operator",{get:function(){return"$rename"},enumerable:false,configurable:true});e.prototype.stringify=function(){return this.name};return e}(AbstractCommand_1.UpdateCommand);exports.RenameCommand=RenameCommand;