From 1d938bec9965f4592664037d97161b8f4f8ca98c Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 16 Aug 2018 23:08:47 +0200 Subject: [PATCH] fix introspect --- libnymea-core/jsonrpc/jsontypes.cpp | 1 + tests/auto/api.json | 1 + 2 files changed, 2 insertions(+) diff --git a/libnymea-core/jsonrpc/jsontypes.cpp b/libnymea-core/jsonrpc/jsontypes.cpp index 17f1676c..d99a0f63 100644 --- a/libnymea-core/jsonrpc/jsontypes.cpp +++ b/libnymea-core/jsonrpc/jsontypes.cpp @@ -448,6 +448,7 @@ QVariantMap JsonTypes::allTypes() allTypes.insert("NetworkDeviceState", networkDeviceState()); allTypes.insert("UserError", userError()); allTypes.insert("TagError", tagErrorRef()); + allTypes.insert("CloudConnectionState", cloudConnectionStateRef()); allTypes.insert("StateType", stateTypeDescription()); allTypes.insert("StateDescriptor", stateDescriptorDescription()); diff --git a/tests/auto/api.json b/tests/auto/api.json index db87fb1f..f72b9111 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1084,6 +1084,7 @@ "o:repeating": "$ref:RepeatingOption", "o:startTime": "Time" }, + "CloudConnectionState": "$ref:CloudConnectionState", "ConfigurationError": [ "ConfigurationErrorNoError", "ConfigurationErrorInvalidTimeZone",