diff sat/bridge/bridge_constructor/bridge_template.ini @ 4041:2594e1951cf7

core (bridge): `action_new` now use serialised dict for extra data.
author Goffi <goffi@goffi.org>
date Mon, 15 May 2023 16:20:45 +0200
parents 524856bd7b19
children
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/bridge_template.ini	Mon May 15 16:20:38 2023 +0200
+++ b/sat/bridge/bridge_constructor/bridge_template.ini	Mon May 15 16:20:45 2023 +0200
@@ -120,10 +120,10 @@
 [action_new]
 type=signal
 category=core
-sig_in=a{ss}sis
+sig_in=ssis
 doc=A frontend action is requested
-doc_param_0=action_data: a dict where key can be:
-    - xmlui: a XMLUI need to be displayed
+doc_param_0=action_data: a serialised dict where key can be:
+    - xmlui: a XMLUI describing the action
     - progress: a progress id
     - meta_*: meta information on the action, used to make automation more easy,
         some are defined below
@@ -761,8 +761,8 @@
 async=
 type=method
 category=core
-sig_in=sa{ss}s
-sig_out=a{ss}
+sig_in=sss
+sig_out=s
 param_2_default="@DEFAULT@"
 doc=Launch a registred action
 doc_param_0=callback_id: id of the registred callback
@@ -775,7 +775,7 @@
 type=method
 category=core
 sig_in=s
-sig_out=a(a{ss}si)
+sig_out=a(ssi)
 param_0_default="@DEFAULT@"
 doc=Get all not yet answered actions
 doc_param_0=%(doc_profile_key)s