Changeset

11785:b1381e302cab

mod_pubsub/pubsub.lib: Export config forms for use by other modules In this case I need them for 227 import/export.
author Matthew Wild <mwild1@gmail.com>
date Sat, 11 Sep 2021 13:59:35 +0100
parents 11784:f0971a9eba88
children 11786:39164ea2ab9e
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Sun Sep 12 11:47:22 2021 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Sat Sep 11 13:59:35 2021 +0100
@@ -158,6 +158,7 @@
 		value = true;
 	};
 };
+_M.node_config_form = node_config_form;
 
 local subscribe_options_form = dataform {
 	{
@@ -171,6 +172,7 @@
 		label = "Receive message body in addition to payload?";
 	};
 };
+_M.subscribe_options_form = subscribe_options_form;
 
 local node_metadata_form = dataform {
 	{
@@ -199,6 +201,7 @@
 		name = "pubsub#publish_model";
 	};
 };
+_M.node_metadata_form = node_metadata_form;
 
 local service_method_feature_map = {
 	add_subscription = { "subscribe", "subscription-options" };