@fluxhub/fluxhub-lib 19.0.216 → 19.0.217

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -249,6 +249,18 @@ export declare abstract class FHWorkflowForm {
249
249
  * `tasks_all_done=true` e avanza il primo autore che apre la pratica.
250
250
  */
251
251
  close_task(task: any, nota: string | null): boolean;
252
+ /**
253
+ * Segnala a exec_wkf che un task e' stato chiuso, cosi' che possa gestire gli
254
+ * effetti collaterali: i task che dipendevano da questo sono ora sbloccati, i loro
255
+ * esecutori vanno messi tra i `lettori` del documento e vanno inviate le notifiche
256
+ * configurate su quei task.
257
+ *
258
+ * La CHIUSURA resta nel frontend (UPDATE atomico con `preso_da`): serve un esito
259
+ * sincrono per sapere chi ha vinto la corsa. Qui passiamo solo l'evento.
260
+ * exec_wkf ricava i figli dal DB (`depends_on = uiid_task`): non gli mandiamo una
261
+ * lista, cosi' non possiamo sbagliarla.
262
+ */
263
+ notify_task_closed(uiid_task: string): void;
252
264
  /**
253
265
  * Riapre un task chiuso, azzerando anche la presa in carico. Ammesso a chiunque
254
266
  * abbia i ruoli del task, finche' il documento e' ancora in quello step (dopo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "19.0.216",
3
+ "version": "19.0.217",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",