Valetudo/backend/lib/core/capabilities/KeyLockCapability.js

16 lines
363 B
JavaScript

const SimpleToggleCapability = require("./SimpleToggleCapability");
/**
* @template {import("../ValetudoRobot")} T
* @extends SimpleToggleCapability<T>
*/
class KeyLockCapability extends SimpleToggleCapability {
getType() {
return KeyLockCapability.TYPE;
}
}
KeyLockCapability.TYPE = "KeyLockCapability";
module.exports = KeyLockCapability;