kitten-cloud-function
Version:
用于编程猫源码云功能(云变量、云列表等)的客户端工具
12 lines (11 loc) • 368 B
JavaScript
import { KittenCloudVariableSetCommand } from "./kitten-cloud-variable-set-command";
export class KittenCloudPublicVariableSetCommand extends KittenCloudVariableSetCommand {
toCloudJSON() {
return {
action: "set",
cvid: this.variable.cvid,
value: this.value,
param_type: typeof this.value
};
}
}