1*0ec8b83dSEd Tanous #pragma once 2*0ec8b83dSEd Tanous #include <nlohmann/json.hpp> 3*0ec8b83dSEd Tanous 4*0ec8b83dSEd Tanous namespace action_info 5*0ec8b83dSEd Tanous { 6*0ec8b83dSEd Tanous // clang-format off 7*0ec8b83dSEd Tanous 8*0ec8b83dSEd Tanous enum class ParameterTypes{ 9*0ec8b83dSEd Tanous Invalid, 10*0ec8b83dSEd Tanous Boolean, 11*0ec8b83dSEd Tanous Number, 12*0ec8b83dSEd Tanous NumberArray, 13*0ec8b83dSEd Tanous String, 14*0ec8b83dSEd Tanous StringArray, 15*0ec8b83dSEd Tanous Object, 16*0ec8b83dSEd Tanous ObjectArray, 17*0ec8b83dSEd Tanous }; 18*0ec8b83dSEd Tanous 19*0ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(ParameterTypes, { 20*0ec8b83dSEd Tanous {ParameterTypes::Invalid, "Invalid"}, 21*0ec8b83dSEd Tanous {ParameterTypes::Boolean, "Boolean"}, 22*0ec8b83dSEd Tanous {ParameterTypes::Number, "Number"}, 23*0ec8b83dSEd Tanous {ParameterTypes::NumberArray, "NumberArray"}, 24*0ec8b83dSEd Tanous {ParameterTypes::String, "String"}, 25*0ec8b83dSEd Tanous {ParameterTypes::StringArray, "StringArray"}, 26*0ec8b83dSEd Tanous {ParameterTypes::Object, "Object"}, 27*0ec8b83dSEd Tanous {ParameterTypes::ObjectArray, "ObjectArray"}, 28*0ec8b83dSEd Tanous }); 29*0ec8b83dSEd Tanous 30*0ec8b83dSEd Tanous } 31*0ec8b83dSEd Tanous // clang-format on 32