mirror of https://github.com/Hypfer/Valetudo.git
25 lines
629 B
JavaScript
25 lines
629 B
JavaScript
const Capability = require("./Capability");
|
|
const NotImplementedError = require("../NotImplementedError");
|
|
|
|
/**
|
|
* @template {import("../ValetudoRobot")} T
|
|
* @extends Capability<T>
|
|
*/
|
|
class MapSegmentRenameCapability extends Capability {
|
|
/**
|
|
* @param {import("../../entities/core/ValetudoMapSegment")} segment
|
|
* @param {string} name
|
|
*/
|
|
async renameSegment(segment, name) {
|
|
throw new NotImplementedError();
|
|
}
|
|
|
|
getType() {
|
|
return MapSegmentRenameCapability.TYPE;
|
|
}
|
|
}
|
|
|
|
MapSegmentRenameCapability.TYPE = "MapSegmentRenameCapability";
|
|
|
|
module.exports = MapSegmentRenameCapability;
|